/* ═══════════════════════════════════════════════════
   WORLD-CLASS DESIGN SYSTEM - Stripe-Level Polish
   ═══════════════════════════════════════════════════ */

:root {
    /* Dark Professional + Electric Teal Palette */
    --primary-50: #f0f9fc;
    --primary-100: #e0f2fe;
    --primary-500: #06b6d4;  /* Electric Teal - main accent */
    --primary-600: #0891b2;  /* Darker Teal */
    --primary-700: #0e7490;  /* Deep Teal */
    --primary-900: #0c4a6e;  /* Navy */
    
    /* Primary Brand Color - Navy */
    --brand-primary: #1e3a5f;      /* Navy Pro */
    --brand-secondary: #0f172a;    /* Charcoal Dark */
    --brand-accent: #ff6b35;       /* Warm Burnt Orange - Urgency/Action */
    --brand-teal: #06b6d4;         /* Electric Teal - Tech/Security */
    
    /* Neutrals - True Grays */
    --gray-50: #f8fafc;   --gray-100: #f1f5f9;  --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;  --gray-400: #94a3b8;  --gray-500: #64748b;
    --gray-600: #475569;  --gray-700: #334155;  --gray-800: #1e293b; --gray-900: #0f172a;
    
    /* Semantic */
    --success: #10b981;    /* Emerald - Trust */
    --warning: #f59e0b;    /* Amber - Attention */
    --error: #ff6b35;      /* Burnt Orange - Urgency */
    
    /* Spacing - 8px Grid */
    --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
    --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem;
    --s-16: 4rem; --s-20: 5rem; --s-24: 6rem; --s-32: 8rem;
    
    /* Typography */
    --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem;
    --text-lg: 1.125rem; --text-xl: 1.25rem; --text-2xl: 1.5rem;
    --text-3xl: 1.875rem; --text-4xl: 2.25rem; --text-5xl: 3rem;
    --text-6xl: 3.75rem; --text-7xl: 4.5rem;
    
    /* Shadows - Layered Depth */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-2xl: 0 35px 60px -15px rgb(0 0 0 / 0.3);
    
    /* Radius */
    --r-sm: 0.375rem; --r-md: 0.75rem; --r-lg: 1rem; --r-xl: 1.5rem; --r-2xl: 2rem;
    
    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-900);
    background: white;
    overflow-x: hidden;
}

::selection { background: var(--primary-100); color: var(--primary-900); }

/* ═══ GLASSMORPHIC NAVIGATION ═══ */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s var(--ease);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--s-4) var(--s-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: var(--text-xl);
    font-weight: 700;
    background: linear-gradient(135deg, #1e3a5f, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: transform 0.2s var(--ease);
}

.logo:hover { transform: scale(1.02); }

nav ul {
    display: flex;
    gap: var(--s-8);
    list-style: none;
}

nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    position: relative;
    padding: var(--s-2) 0;
    transition: color 0.25s var(--ease);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: #06b6d4;
    transition: transform 0.3s var(--ease);
}

nav a:hover { color: #06b6d4; }
nav a:hover::after { transform: translateX(-50%) scaleX(1); }

/* Mobile Nav */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--s-2);
    z-index: 1001;
    position: relative;
    width: 28px;
    height: 22px;
}

.mobile-nav-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gray-700);
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.mobile-nav-toggle span:nth-child(1) { top: 2px; }
.mobile-nav-toggle span:nth-child(2) { top: 10px; }
.mobile-nav-toggle span:nth-child(3) { top: 18px; }

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ═══ HERO - Cinematic Gradient ═══ */

.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #0a2847 100%);
    padding: var(--s-20) var(--s-6);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: white;
    margin-bottom: var(--s-6);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s var(--ease) both;
}

.hero .subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--s-4);
    animation: fadeInUp 0.8s var(--ease) 0.1s both;
}

.hero .tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--s-12);
    animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.cta-group {
    display: flex;
    gap: var(--s-4);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══ BUTTONS ═══ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: var(--s-4) var(--s-8);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--r-lg);
    transition: all 0.25s var(--ease);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: white;
    color: #06b6d4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 30px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ═══ SECTIONS ═══ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--s-6);
}

section {
    padding: var(--s-24) var(--s-6);
    position: relative;
}

section:nth-child(even) {
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: var(--s-6);
    text-align: center;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: var(--s-6);
    text-align: center;
}

h2.gradient-text {
    background: linear-gradient(135deg, #1e3a5f, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto var(--s-16);
    line-height: 1.7;
}

/* Avatar & contact info layout */
.contact-info {
    display: flex;
    align-items: flex-start;
    gap: var(--s-6);
    flex-wrap: wrap;
}

.contact-info .avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    flex: 0 0 auto;
}

.contact-info .contact-details {
    flex: 1 1 300px;
    min-width: 260px;
}

.photo-credit {
    font-size: var(--text-xs);
    color: var(--gray-500);
    margin-top: var(--s-2);
}

/* Legal pages: tighter, left-aligned hierarchy for readability */
.legal-page section {
    padding: var(--s-12) var(--s-6);
}

.legal-page h1 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    text-align: left;
    margin-bottom: var(--s-3);
    letter-spacing: -0.015em;
}

.legal-page .section-subtitle {
    text-align: left;
    margin: 0 0 var(--s-10) 0;
    max-width: 720px;
}

.legal-page h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    text-align: left;
    margin-top: var(--s-10);
    margin-bottom: var(--s-3);
    color: var(--gray-800);
}

.legal-page p,
.legal-page li {
    color: var(--gray-800);
}

/* ═══ PROBLEM SECTION ═══ */

.problem-section {
    background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
    border-top: 4px solid var(--warning);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--s-8);
}

.problem-item {
    background: white;
    padding: var(--s-8);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--ease);
    border-left: 4px solid #06b6d4;
}

.problem-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.problem-item h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--s-4);
    color: var(--gray-900);
}

/* ═══ SERVICES ═══ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--s-8);
    margin-top: var(--s-16);
}

.service-card {
    background: white;
    padding: var(--s-10);
    border-radius: var(--r-2xl);
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0 12px auto 12px;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #ff6b35);
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
    transform: scaleX(0);
    transition: transform 0.5s var(--ease);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.05));
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--s-6);
}

.service-card h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--s-4);
}

.service-card strong {
    color: #06b6d4;
}

/* ═══ PRICING TABLE ═══ */

.pricing-table {
    max-width: 1100px;
    margin: var(--s-16) auto 0;
    background: white;
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s var(--ease);
}

.pricing-row:hover {
    background: var(--gray-50);
}

.pricing-service {
    padding: var(--s-8);
    border-right: 1px solid var(--gray-100);
}

.pricing-service h4 {
    font-size: var(--text-xl);
    color: #06b6d4;
    margin-bottom: var(--s-2);
    font-weight: 600;
}

.pricing-amount {
    padding: var(--s-8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
}

.pricing-note {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    padding: var(--s-6) var(--s-8);
    text-align: center;
    color: var(--primary-900);
    font-size: var(--text-sm);
    font-style: italic;
}

/* ═══ PORTFOLIO ═══ */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--s-10);
    margin-top: var(--s-16);
}

.portfolio-item {
    background: white;
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease);
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.portfolio-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #06b6d4 100%);
    padding: var(--s-8);
    color: white;
}

.portfolio-url {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-bottom: var(--s-2);
}

.portfolio-header h3 {
    font-size: var(--text-xl);
    font-weight: 600;
}

.portfolio-content {
    padding: var(--s-8);
}

.problem-label, .solution-label, .result-label {
    font-weight: 700;
    font-size: var(--text-sm);
    margin-bottom: var(--s-2);
    margin-top: var(--s-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.problem-label { color: #ff6b35; }
.solution-label { color: var(--success); }
.result-label { color: #06b6d4; }

.portfolio-content ul {
    list-style: none;
    padding: 0;
    margin: var(--s-4) 0;
}

.portfolio-content li {
    padding: var(--s-2) 0;
    padding-left: var(--s-6);
    position: relative;
}

.portfolio-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #06b6d4;
    font-weight: 700;
}

/* ═══ TESTIMONIAL ═══ */

.testimonial {
    background: linear-gradient(135deg, #1e3a5f 0%, #06b6d4 50%, #0f172a 100%);
    color: white;
    text-align: center;
    padding: var(--s-24) var(--s-6);
}

.testimonial-quote {
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.6;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto var(--s-8);
}

.testimonial-author {
    font-weight: 700;
    font-size: var(--text-xl);
    margin-bottom: var(--s-2);
}

/* ═══ PROCESS STEPS ═══ */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--s-8);
    margin-top: var(--s-16);
}

.process-step {
    text-align: center;
    padding: var(--s-8);
    background: white;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
    border: 2px solid var(--gray-100);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #1e3a5f);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: 700;
    margin: 0 auto var(--s-6);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

/* ═══ CONTACT FORM ═══ */

.contact {
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
    color: var(--gray-900);
    padding-bottom: var(--s-24);
}

.contact h2, .contact .section-subtitle {
    color: var(--gray-900);
}

.contact .btn-primary {
    background: var(--brand-primary);
    color: white;
}

.contact .btn-primary:hover {
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.35);
}

.contact .btn-secondary {
    background: white;
    color: var(--brand-primary);
    border: 2px solid var(--gray-300);
}

.contact .btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.form-wrapper {
    max-width: 600px;
    margin: var(--s-12) auto 0;
}

.form-card {
    background: white;
    padding: var(--s-12);
    border-radius: var(--r-2xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: var(--s-6);
}

label {
    display: block;
    color: var(--gray-900);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--s-2);
}

input, textarea {
    width: 100%;
    padding: var(--s-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: var(--text-base);
    transition: all 0.3s var(--ease);
    background: var(--gray-50);
}

input:focus, textarea:focus {
    outline: none;
    border-color: #06b6d4;
    background: white;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    width: 100%;
    height: 50px;
    background: #06b6d4;
    color: white;
    font-weight: 700;
    font-size: var(--text-lg);
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
    background: #0891b2;
}

.contact-info {
    margin-top: var(--s-12);
    text-align: center;
}

.contact-info a {
    color: var(--brand-primary);
    text-decoration: underline;
    margin: 0 var(--s-4);
    font-weight: 600;
}

/* Dark variant when needed */
.contact.dark {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #0a2847 100%);
    color: white;
}

.contact.dark h2, .contact.dark .section-subtitle {
    color: white;
}

.contact.dark .btn-primary {
    background: white;
    color: #06b6d4;
}

.contact.dark .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* ═══ FOOTER ═══ */

footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--s-12) var(--s-6);
    text-align: center;
}

footer a {
    color: #06b6d4;
    text-decoration: none;
    margin: 0 var(--s-4);
    transition: color 0.2s var(--ease);
}

footer a:hover {
    color: #22d3ee;
}

/* ═══ MOBILE OPTIMIZATION ═══ */

@media (max-width: 768px) {
    :root {
        --s-24: 4rem;
        --s-20: 3.5rem;
        --s-16: 2.5rem;
    }
    
    nav ul {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--gray-200);
        padding: var(--s-4);
        box-shadow: var(--shadow-md);
        z-index: 1000;
    }
    
    nav ul.mobile-open {
        display: flex;
    }
    
    nav li {
        padding: var(--s-3) 0;
        border-bottom: 1px solid var(--gray-100);
    }
    
    nav a {
        font-size: var(--text-base);
        padding: var(--s-2);
        display: block;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    footer a {
        display: block;
        margin: var(--s-2) 0;
    }
    
    .hero {
        min-height: auto;
        padding: var(--s-16) var(--s-4);
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        min-height: 48px;
    }
    
    .problem-grid, .services-grid, .portfolio-grid, .process-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-service {
        border-right: none;
        border-bottom: 1px solid var(--gray-100);
    }
    
    section {
        padding: var(--s-16) var(--s-4);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══ ACCESSIBILITY ═══ */

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #06b6d4;
    color: white;
    padding: var(--s-3) var(--s-6);
    text-decoration: none;
    border-radius: var(--r-md);
    z-index: 2000;
}

.skip-link:focus {
    top: var(--s-4);
    left: var(--s-4);
}

*:focus-visible {
    outline: 3px solid #06b6d4;
    outline-offset: 2px;
}

/* ═══ SCROLL ANIMATIONS ═══ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger.visible > * {
    animation: fadeInUp 0.6s var(--ease) both;
}

.stagger.visible > *:nth-child(1) { animation-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { animation-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { animation-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { animation-delay: 0.2s; }
