/* ============================================
   INNER AUTHORITY PROJECT — DESIGN SYSTEM FINAL
   Wellness meets Tech | Sacred Calm × Intelligent Precision
   ============================================ */

:root {
    /* ============================================
       BRAND CORE COLORS
       ============================================ */
    --deep-teal: #0E5B57;
    --warm-gold: #C08B3E;
    --radiant-gold: #EFCB7A;
    --lavender-blue: #B2B7E4;
    
    /* ============================================
       LIGHT SURFACE SYSTEM
       ============================================ */
    --ivory: #F8F6F2;
    --blush-sand: #E9D9CF;
    --soft-neutral-white: #F4F1EB;
    --gold-mist: #F7E6C7;
    
    /* ============================================
       DARK SYSTEM
       ============================================ */
    --deep-ink: #1A2332;
    --tech-obsidian: #0F1419;
    --midnight-teal: #133C42;
    
    /* ============================================
       NEUTRALS
       ============================================ */
    --gray-200: #E7E9ED;
    --gray-700: #3A3F46;
    --black: #1A1B1B;
    --white: #FFFFFF;
    
    /* ============================================
       GRADIENTS
       ============================================ */
    --hero-gradient: linear-gradient(135deg, #0E5B57 0%, #1A2332 60%, #0F1419 100%);
    --light-wellness-gradient: linear-gradient(135deg, #F8F6F2 0%, #F7E6C7 40%, #E9D9CF 100%);
    --tech-wellness-glow: linear-gradient(135deg, #B2B7E4 0%, #0E5B57 60%, #C08B3E 100%);
    --aura-highlight: radial-gradient(circle, #EFCB7A 0%, rgba(192,139,62,0.25) 40%, rgba(14,91,87,0.15) 70%, transparent 100%);
    
    /* ============================================
       SHADOWS
       ============================================ */
    --shadow-primary: 0px 8px 24px rgba(14, 91, 87, 0.25);
    --shadow-elevated: 0 20px 60px rgba(26, 35, 50, 0.15);
    --shadow-soft: 0 4px 16px rgba(26, 35, 50, 0.08);
    
    /* ============================================
       MOTION TIMING
       ============================================ */
    --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
    --duration-fast: 200ms;
    --duration-standard: 300ms;
    
    /* ============================================
       BORDER RADIUS
       ============================================ */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-full: 9999px;
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    line-height: 1.67;
    color: var(--deep-ink);
    background: var(--ivory);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--deep-teal);
}

h1 {
    font-size: 56px;
}

h2 {
    font-size: 40px;
    line-height: 1.2;
}

h3 {
    font-size: 28px;
    line-height: 1.3;
}

h4 {
    font-size: 22px;
    line-height: 1.4;
}

/* Body Text */
p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.67;
}

/* Section Labels (Eyebrow Text) */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--warm-gold);
}

/* Quotes & Reflections (v3 Typography - Serif) */
.quote-text,
.reflection-text,
.testimonial-quote {
    font-family: 'Lora', 'Merriweather', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    line-height: 1.75;
    color: var(--deep-ink);
}

.quote-text {
    font-size: 22px;
}

.reflection-text {
    font-size: 18px;
}

.testimonial-quote {
    font-size: 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 246, 242, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(231, 233, 237, 0.5);
    z-index: 1000;
    transition: all var(--duration-standard) var(--ease-standard);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-right: 64px;
    background: var(--deep-teal);
    padding: 8px 16px;
    border-radius: var(--r-md);
    transition: all var(--duration-standard) var(--ease-standard);
}

.nav-logo:hover {
    background: var(--midnight-teal);
    transform: translateY(-1px);
}

.logo-image {
    height: 48px;
    width: auto;
    transition: transform var(--duration-standard) var(--ease-standard);
    animation: logoPulse 12s ease-in-out infinite;
}

.nav-logo:hover .logo-image {
    transform: scale(1.05);
    animation: none;
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 2px rgba(229, 194, 122, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(229, 194, 122, 0.5));
    }
}

/* Legacy logo-symbol styles (kept for backward compatibility) */
.logo-symbol {
    width: 40px;
    height: 40px;
    background: var(--deep-teal);
    border: 2px solid var(--radiant-gold);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    transition: transform var(--duration-standard) var(--ease-standard);
}

.logo-symbol:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: white;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}



.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--deep-ink);
    text-decoration: none;
    position: relative;
    transition: color var(--duration-fast) var(--ease-standard);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--deep-teal);
    transition: width var(--duration-standard) var(--ease-standard);
}

.nav-link:hover {
    color: var(--deep-teal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--deep-teal);
    color: white;
    padding: 12px 24px;
    border-radius: var(--r-full);
    border: 2px solid var(--radiant-gold);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--duration-standard) var(--ease-standard);
    box-shadow: var(--shadow-primary);
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0px 12px 32px rgba(14, 91, 87, 0.35);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    background: var(--deep-teal);
    color: var(--white);
    padding: 18px 40px;
    border-radius: var(--r-md);
    border: 2px solid var(--radiant-gold);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-standard) var(--ease-standard);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0px 12px 32px rgba(14, 91, 87, 0.35);
}

.btn-secondary {
    background: var(--ivory);
    color: var(--deep-teal);
    padding: 18px 40px;
    border-radius: var(--r-md);
    border: 2px solid var(--deep-teal);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-standard) var(--ease-standard);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--deep-teal);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   SECTIONS & CONTAINERS
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 40px;
    color: var(--deep-teal);
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--deep-ink);
    opacity: 0.85;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--ivory);
    padding: 40px;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--duration-standard) var(--ease-standard);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.card-elevated {
    background: white;
    box-shadow: var(--shadow-elevated);
}

/* ============================================
   ICONS
   ============================================ */

.icon {
    stroke: var(--deep-teal);
    fill: none;
    stroke-width: 2px;
}

.icon-glow {
    filter: drop-shadow(0 0 12px var(--radiant-gold));
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--tech-obsidian);
    color: var(--soft-neutral-white);
    padding: 80px 80px 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-tagline {
    font-family: 'Lora', 'Merriweather', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    color: var(--radiant-gold);
    opacity: 0.95;
    margin-bottom: 12px;
}

.footer-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--soft-neutral-white);
    opacity: 0.8;
    margin-bottom: 24px;
}

.footer-social h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-neutral-white);
    font-size: 18px;
    text-decoration: none;
    transition: all var(--duration-standard) var(--ease-standard);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-links a:hover {
    background: var(--radiant-gold);
    color: var(--deep-ink);
    transform: translateY(-3px) scale(1.05);
    border-color: var(--radiant-gold);
    box-shadow: 0 4px 12px rgba(229, 194, 122, 0.3);
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--soft-neutral-white);
    opacity: 0.8;
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-standard);
}

.footer-links a:hover {
    color: var(--radiant-gold);
    opacity: 1;
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--soft-neutral-white);
    opacity: 0.6;
}

/* ============================================
   FORMS
   ============================================ */

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--r-md);
    border: 2px solid var(--gray-200);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--deep-ink);
    transition: all var(--duration-fast) var(--ease-standard);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--deep-teal);
    box-shadow: 0 0 0 3px rgba(14, 91, 87, 0.1);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: var(--gray-700);
    opacity: 0.5;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

*:focus-visible {
    outline: 2px solid var(--deep-teal);
    outline-offset: 2px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes auraGlow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.aura-glow {
    animation: auraGlow 6s ease-in-out infinite;
}

@keyframes pulseRing {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(14, 91, 87, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 24px rgba(14, 91, 87, 0.6));
    }
}

.pulse-ring {
    animation: pulseRing 3s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .nav-container {
        padding: 20px 40px;
    }
    
    .nav-logo {
        margin-right: 32px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    h1 {
        font-size: 44px;
    }
    
    h2, .section-title {
        font-size: 32px;
    }
    
    .footer {
        padding: 80px 40px 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .nav-logo {
        margin-right: 0;
        padding: 4px 8px;
        flex: 0 0 auto;
    }
    
    .logo-image {
        height: 28px;
    }
    
    .logo-text {
        font-size: 11px;
    }
    
    .nav-menu {
        gap: 8px;
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 4px 6px;
    }
    
    .nav-cta {
        padding: 6px 12px;
        font-size: 12px;
        flex: 1 1 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 16px 20px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .nav-logo {
        margin-right: 0;
        padding: 6px 12px;
        flex: 0 0 auto;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    .nav-menu {
        gap: 12px;
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .nav-cta {
        padding: 8px 16px;
        font-size: 13px;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2, .section-title {
        font-size: 28px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .footer {
        padding: 64px 24px 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .social-links {
        justify-content: center;
    }
}
