body {
    font-family: 'Inter', 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #FFFFFF;
    color: #111111;
}
.font-mono-tech {
    font-family: 'JetBrains Mono', monospace;
}
.lang-active {
    color: #F97316;
    font-weight: 700;
}
.lang-inactive {
    color: #888888;
    font-weight: 400;
}
.border-subtle {
    border-color: #E5E5E5;
}
.bg-surface {
    background-color: #F7F7F5;
}

/* Lightweight Section Reveal System: Calm Composition */
.section-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.section-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile: slightly faster transition (550ms) */
@media (max-width: 768px) {
    .section-reveal {
        transition-duration: 550ms;
    }
}

/* Section Transition Dividers: Type A, B, C */
.divider-type-a {
    border-bottom: 1px solid #EBEBEA;
}
.divider-type-b {
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
}
.divider-type-c {
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

/* Micro Interactions: Subtle, Grounded & Reduced Visual Intensity */
.card-lift {
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 220ms ease;
}
.card-lift:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.04);
}

/* Dark Card Micro-Lift */
.card-lift-dark {
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 220ms ease;
}
.card-lift-dark:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(249, 115, 22, 0.15);
}

/* AI Horizontal Flow Nodes */
.flow-node {
    transition: all 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.flow-node:hover {
    border-color: #F97316;
    background-color: #1A1A1A;
    transform: translateY(-1px);
}

/* Advisor Step Transition */
.step-transition {
    animation: stepFadeUp 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes stepFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Advisor Option Buttons Micro-Lift */
.advisor-btn {
    transition: all 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.advisor-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px -2px rgba(249, 115, 22, 0.08);
}

/* Smooth Scrolling & Anchor Scroll Margin */
html {
    scroll-behavior: smooth;
}
section[id] {
    scroll-margin-top: 88px;
}

/* Desktop Navigation Links */
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 72px;
    color: #666666;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 180ms cubic-bezier(0.16, 1, 0.3, 1), font-weight 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover {
    color: #111111;
}
/* Active State: Ligor Orange #F97316, slightly stronger font weight, 2px bottom indicator, no pill, no filled background */
.nav-link.is-active {
    color: #F97316 !important;
    font-weight: 600;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #F97316;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1), transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Mobile Navigation Links */
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.25rem;
    color: #555555;
    font-size: 0.9375rem;
    font-weight: 500;
    border-bottom: 1px solid #F5F5F4;
    transition: color 180ms ease, font-weight 180ms ease;
    text-decoration: none;
}
.mobile-nav-link:hover {
    color: #111111;
}
.mobile-nav-link.is-active {
    color: #F97316 !important;
    font-weight: 600;
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    .section-reveal,
    .component-settle,
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .nav-link::after {
        transition: none !important;
    }
    .card-lift, .card-lift-dark, .flow-node, .step-transition, .advisor-btn {
        transition: none !important;
        transform: none !important;
    }
}
