/* =====================================================
   JWARDMUSCLE - Built By Ward
   Royal Blue, Black, Grey, White Color Theme
   ===================================================== */

/* CSS Variables - Design Tokens */
:root {
    /* ==================== NEW DESIGN TOKENS ==================== */

    /* Background Colors (Dark Theme) */
    --bg-900: #0C1117;       /* Deepest background */
    --bg-800: #131A22;       /* Card backgrounds */
    --bg-700: #1A2330;       /* Hover/elevated states */

    /* Brand Colors */
    --brand-600: #2D5BFF;    /* Primary brand - darker */
    --brand-500: #3B82F6;    /* Primary brand - standard */
    --brand-300: #93C5FD;    /* Focus rings, accents */

    /* Text Colors - High Contrast */
    --text-hi: #E6EBF3;      /* Primary text */
    --text-med: #A4B1C4;     /* Secondary text */
    --text-low: #738199;     /* Muted/caption text */

    /* Shadows - S1/S2/Glow System */
    --shadow-s1: 0 1px 0 #0B1320 inset, 0 2px 12px rgba(0,0,0,.35);
    --shadow-s2: 0 8px 24px rgba(8,30,70,.35);
    --shadow-glow: 0 0 0 1.5px rgba(59,130,246,.45), 0 0 24px rgba(59,130,246,.25);

    /* Motion Timing */
    --duration-fast: 120ms;
    --duration-normal: 180ms;
    --duration-slow: 240ms;
    --duration-slower: 400ms;
    --ease-standard: cubic-bezier(.4,0,.2,1);
    --ease-decel: cubic-bezier(.0,0,.2,1);

    /* ==================== LEGACY TOKENS (for compatibility) ==================== */

    /* Primary Colors */
    --royal-blue: #1e40af;
    --royal-blue-light: #3b82f6;
    --royal-blue-dark: #1e3a8a;
    --royal-blue-vivid: #2563eb;
    --focus-ring: var(--brand-300);

    /* Neutral Colors - WCAG AA Compliant */
    --black: var(--bg-900);
    --black-soft: var(--bg-800);
    --grey-dark: var(--bg-700);
    --grey: #374151;
    --grey-medium: var(--text-low);
    --grey-light: #e5e7eb;
    --grey-lighter: var(--text-med);
    --white: #ffffff;
    --white-off: #fafafa;

    /* Text Colors - Mapped to new tokens */
    --text-primary: var(--text-hi);
    --text-secondary: var(--text-med);
    --text-muted: var(--text-low);

    /* Accent Colors */
    --accent-gold: #F8C24E;
    --success: #22c55e;
    --error: #EF4444;

    /* Gradients */
    --gradient-primary: linear-gradient(35deg, #1E3A8A, #1F59D2);
    --gradient-dark: linear-gradient(180deg, var(--bg-900) 0%, var(--bg-800) 100%);
    --gradient-hero: linear-gradient(35deg, #1E3A8A, #1F59D2);

    /* Typography Scale - H1:40/48, H2:28/36, H3:22/28, Body:16/26, Caption:13/20 */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 0.8125rem;    /* 13px - Caption */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px - Body */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.375rem;    /* 22px - H3 */
    --text-3xl: 1.75rem;     /* 28px - H2 */
    --text-4xl: 2.5rem;      /* 40px - H1 */
    --text-5xl: 3rem;        /* 48px */

    /* Line Heights */
    --line-height-tight: 1.2;    /* 48px for 40px */
    --line-height-normal: 1.29;  /* 36px for 28px */
    --line-height-relaxed: 1.625; /* 26px for 16px */
    --line-height-caption: 1.54; /* 20px for 13px */

    --letter-spacing-tight: -0.2px;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.4px;

    /* Spacing Scale - 4/8/12/16/24/32/48/64/96 */
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-6: 1.5rem;       /* 24px */
    --space-8: 2rem;         /* 32px */
    --space-12: 3rem;        /* 48px */
    --space-16: 4rem;        /* 64px */
    --space-20: 5rem;        /* 80px - Section padding */
    --space-24: 6rem;        /* 96px */

    /* Legacy spacing (for compatibility) */
    --spacing-xs: var(--space-2);
    --spacing-sm: var(--space-4);
    --spacing-md: var(--space-6);
    --spacing-lg: var(--space-8);
    --spacing-xl: var(--space-12);
    --spacing-2xl: var(--space-16);
    --spacing-3xl: var(--space-24);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows - Legacy mappings */
    --shadow-sm: var(--shadow-s1);
    --shadow-md: var(--shadow-s1);
    --shadow-lg: var(--shadow-s2);
    --shadow-xl: var(--shadow-s2);
    --shadow-glow-strong: 0 0 40px rgba(37, 99, 235, 0.6);

    /* Transitions - Using new motion tokens */
    --transition-fast: var(--duration-fast) var(--ease-standard);
    --transition-normal: var(--duration-normal) var(--ease-standard);
    --transition-slow: var(--duration-slow) var(--ease-standard);

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
    --gutter: 1.5rem;        /* 24px gutters */

    /* Button sizes */
    --btn-height: 48px;
    --btn-height-sm: 46px;
    --btn-height-lg: 52px;
    --btn-min-tap: 44px;

    /* Navbar */
    --navbar-height: 64px;
    --navbar-height-mobile: 56px;

    /* Card border */
    --card-border: 1px solid rgba(255,255,255,.06);
    --card-border-hover: 1px solid rgba(255,255,255,.12);
    --card-border-featured: 1.5px solid var(--brand-500);
}

/* =====================================================
   GLOBAL DIMENSIONAL BACKGROUND & PARTICLE SYSTEM
   ===================================================== */

/* Base body with dimensional depth */
body {
    position: relative;
    overflow-x: hidden;
}

/* Global Background Container */
.global-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
}

/* Deep Space Gradient Layer */
.global-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Radial glow from center-top */
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(30, 64, 175, 0.25) 0%, transparent 50%),
        /* Secondary glow bottom-right */
        radial-gradient(ellipse 60% 60% at 90% 90%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
        /* Tertiary glow bottom-left */
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(30, 58, 138, 0.15) 0%, transparent 35%),
        /* Ambient center glow */
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(45, 91, 255, 0.05) 0%, transparent 50%),
        /* Base gradient */
        linear-gradient(180deg,
            var(--bg-900) 0%,
            #0a0e14 25%,
            #080c12 50%,
            #0a0e14 75%,
            var(--bg-900) 100%
        );
    z-index: 1;
}

/* Animated Gradient Mesh Layer */
.gradient-mesh {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.6;
}

.gradient-mesh::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background:
        radial-gradient(circle at 20% 30%, rgba(30, 64, 175, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.25) 0%, transparent 25%),
        radial-gradient(circle at 40% 80%, rgba(37, 99, 235, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 70% 20%, rgba(30, 58, 138, 0.25) 0%, transparent 30%);
    animation: meshMove 30s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 3%) rotate(1deg); }
    50% { transform: translate(-1%, 2%) rotate(-1deg); }
    75% { transform: translate(1%, -2%) rotate(0.5deg); }
}

/* Dimensional Grid Layer */
.dimensional-grid {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* Floating Orbs Layer */
.floating-orbs {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.5) 0%, transparent 70%);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
    animation-duration: 20s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
    bottom: 20%;
    left: 15%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.3) 0%, transparent 70%);
    top: 30%;
    right: 5%;
    animation-delay: -7s;
    animation-duration: 28s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, 30px) scale(1.05);
        opacity: 0.35;
    }
}

/* Global Particle Canvas */
#globalParticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    pointer-events: none;
    opacity: 0.8;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Vignette Effect */
.vignette {
    position: absolute;
    inset: 0;
    z-index: 6;
    background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Scan Lines Effect (subtle) */
.scan-lines {
    position: absolute;
    inset: 0;
    z-index: 7;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    opacity: 0.5;
}

/* Ambient Light Pulses */
.ambient-light {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 8;
    pointer-events: none;
}

.light-pulse {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: lightPulse 10s ease-in-out infinite;
}

.light-pulse-1 {
    width: 600px;
    height: 600px;
    background: rgba(59, 130, 246, 0.08);
    top: -10%;
    left: 30%;
    animation-delay: 0s;
}

.light-pulse-2 {
    width: 500px;
    height: 500px;
    background: rgba(30, 64, 175, 0.06);
    bottom: -10%;
    right: 20%;
    animation-delay: -5s;
}

@keyframes lightPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Section backgrounds should be semi-transparent */
section {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Override specific section backgrounds for transparency */
.about,
.features,
.programs,
.pricing,
.results,
.testimonials,
.process,
.faq,
.contact {
    background: rgba(12, 17, 23, 0.7);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Alternating section depth */
.features,
.pricing,
.process,
.contact {
    background: rgba(19, 26, 34, 0.75);
}

/* =====================================================
   ULTRA-SMOOTH FUTURISTIC SCI-FI PRELOADER
   Hardware Accelerated for Buttery 60fps Performance
   Enhanced with particle effects, holographic HUD, energy rings
   ===================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1729 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* CRITICAL: Hardware acceleration for ultra-smooth 60fps rendering */
    will-change: opacity, visibility;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    /* Anti-aliasing for crisp edges and smooth animations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Force GPU acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Background Animation Layers */
.preloader-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Hexagonal Grid Pattern */
.preloader-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(30deg, rgba(59, 130, 246, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.05) 87.5%, rgba(59, 130, 246, 0.05)),
        linear-gradient(150deg, rgba(59, 130, 246, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.05) 87.5%, rgba(59, 130, 246, 0.05)),
        linear-gradient(30deg, rgba(59, 130, 246, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.05) 87.5%, rgba(59, 130, 246, 0.05)),
        linear-gradient(150deg, rgba(59, 130, 246, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.05) 87.5%, rgba(59, 130, 246, 0.05)),
        linear-gradient(60deg, rgba(59, 130, 246, 0.03) 25%, transparent 25.5%, transparent 75%, rgba(59, 130, 246, 0.03) 75%, rgba(59, 130, 246, 0.03)),
        linear-gradient(60deg, rgba(59, 130, 246, 0.03) 25%, transparent 25.5%, transparent 75%, rgba(59, 130, 246, 0.03) 75%, rgba(59, 130, 246, 0.03));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    animation: hexMove 30s linear infinite, hexPulse 4s ease-in-out infinite;
}

@keyframes hexMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 140px); }
}

@keyframes hexPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Pulsing Energy Rings */
.preloader-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 30%),
        radial-gradient(circle, rgba(139, 92, 246, 0.2) 20%, transparent 50%),
        radial-gradient(circle, rgba(59, 130, 246, 0.15) 40%, transparent 70%);
    animation: energyRings 6s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes energyRings {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3) rotate(180deg);
    }
}

/* Preloader Content with Holographic Effect */
.preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    animation: holographicFlicker 3s ease-in-out infinite;
}

@keyframes holographicFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
    52% { opacity: 1; }
    54% { opacity: 0.97; }
}

/* Holographic Logo with Scan Lines */
.preloader-logo-wrapper {
    text-align: center;
    position: relative;
    padding: 1.5rem 2rem;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 30px rgba(59, 130, 246, 0.2),
        inset 0 0 20px rgba(59, 130, 246, 0.05);
    animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% {
        border-color: rgba(59, 130, 246, 0.3);
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.2), inset 0 0 20px rgba(59, 130, 246, 0.05);
    }
    50% {
        border-color: rgba(59, 130, 246, 0.6);
        box-shadow: 0 0 50px rgba(59, 130, 246, 0.4), inset 0 0 30px rgba(59, 130, 246, 0.1);
    }
}

/* Scan Line Effect Overlay */
.preloader-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), transparent);
    animation: scanLine 2s linear infinite;
    z-index: 10;
}

@keyframes scanLine {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Enhanced Logo with Neon Glow */
.preloader-logo {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
}

.preloader-logo .logo-text {
    color: var(--text-hi);
    animation: neonGlow 2s ease-in-out infinite;
    text-shadow:
        0 0 10px rgba(59, 130, 246, 0.5),
        0 0 20px rgba(59, 130, 246, 0.3),
        0 0 30px rgba(59, 130, 246, 0.2);
}

.preloader-logo .logo-accent {
    color: var(--brand-500);
    animation: neonGlow 2s ease-in-out infinite 0.3s;
    text-shadow:
        0 0 10px rgba(59, 130, 246, 0.8),
        0 0 20px rgba(59, 130, 246, 0.5),
        0 0 40px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.2);
}

@keyframes neonGlow {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(59, 130, 246, 0.5),
            0 0 20px rgba(59, 130, 246, 0.3),
            0 0 30px rgba(59, 130, 246, 0.2);
    }
    50% {
        text-shadow:
            0 0 15px rgba(59, 130, 246, 0.8),
            0 0 30px rgba(59, 130, 246, 0.6),
            0 0 50px rgba(59, 130, 246, 0.4),
            0 0 70px rgba(59, 130, 246, 0.2);
    }
}

/* Animated Energy Underline */
.logo-underline {
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--brand-500), var(--brand-300), transparent);
    margin: 1rem auto 0;
    animation: underlineExpand 1.5s ease-out 0.5s forwards, underlinePulse 1.5s ease-in-out 2s infinite;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6), 0 0 20px rgba(59, 130, 246, 0.3);
    border-radius: 2px;
}

@keyframes underlineExpand {
    to { width: 100%; }
}

@keyframes underlinePulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.6), 0 0 20px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 40px rgba(59, 130, 246, 0.5);
    }
}

/* Enhanced Dumbbell Icon with Energy Effect */
.preloader-icon {
    width: 140px;
    height: 70px;
    margin: 1.5rem 0;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}

/* Energy Aura Around Icon */
.preloader-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 90px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15), transparent 70%);
    animation: iconAura 2s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes iconAura {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.dumbbell-svg {
    width: 100%;
    height: 100%;
    animation: dumbbellLift 1.5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.dumbbell-bar {
    fill: var(--text-med);
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.dumbbell-weight {
    fill: var(--brand-500);
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.8));
}

.dumbbell-weight.left-outer,
.dumbbell-weight.right-outer {
    animation: weightPulse 1.5s ease-in-out infinite, weightGlow 2s ease-in-out infinite;
}

.dumbbell-weight.left-inner,
.dumbbell-weight.right-inner {
    animation: weightPulse 1.5s ease-in-out infinite 0.2s, weightGlow 2s ease-in-out infinite 0.3s;
}

@keyframes dumbbellLift {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
    }
    25% {
        transform: translateY(-8px) rotate(-3deg);
        filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.6));
    }
    75% {
        transform: translateY(-8px) rotate(3deg);
        filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.6));
    }
}

@keyframes weightPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes weightGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 1));
    }
}

/* Futuristic Progress Bar with Holographic HUD */
.preloader-progress {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

/* Progress Container with HUD Frame */
.progress-track {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.3), rgba(59, 130, 246, 0.15), rgba(30, 58, 138, 0.3));
    border-radius: 6px;
    overflow: visible;
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.2),
        inset 0 0 10px rgba(59, 130, 246, 0.1);
    animation: trackPulse 2s ease-in-out infinite;
}

@keyframes trackPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.2), inset 0 0 10px rgba(59, 130, 246, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.4), inset 0 0 15px rgba(59, 130, 246, 0.2);
    }
}

/* Animated Energy Fill */
.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
        var(--brand-600),
        var(--brand-500),
        var(--brand-400),
        var(--brand-300),
        var(--brand-500)
    );
    background-size: 200% 100%;
    border-radius: 6px;
    transition: width 0.3s ease-out;
    position: relative;
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.6),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    animation: energyFlow 2s linear infinite;
}

@keyframes energyFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Leading Edge Glow */
.progress-fill::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    width: 8px;
    height: calc(100% + 4px);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(59, 130, 246, 0.6), transparent);
    border-radius: 50%;
    animation: edgePulse 1s ease-in-out infinite;
    filter: blur(2px);
}

@keyframes edgePulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Scanning Energy Wave */
.progress-glow {
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: calc(100% + 12px);
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
    animation: scanningWave 3s ease-in-out infinite;
    pointer-events: none;
    filter: blur(8px);
}

@keyframes scanningWave {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(200%);
        opacity: 0;
    }
}

/* Holographic Percentage Display */
.progress-text {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--text-hi);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.progress-percent {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--brand-400);
    font-weight: 700;
    text-shadow:
        0 0 10px rgba(59, 130, 246, 0.8),
        0 0 20px rgba(59, 130, 246, 0.5),
        0 0 30px rgba(59, 130, 246, 0.3);
    animation: percentGlow 1.5s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes percentGlow {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(59, 130, 246, 0.8),
            0 0 20px rgba(59, 130, 246, 0.5),
            0 0 30px rgba(59, 130, 246, 0.3);
    }
    50% {
        text-shadow:
            0 0 20px rgba(59, 130, 246, 1),
            0 0 30px rgba(59, 130, 246, 0.7),
            0 0 50px rgba(59, 130, 246, 0.5);
    }
}

/* Holographic Status Display */
.preloader-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--brand-400);
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    animation: statusFlicker 2.5s ease-in-out infinite;
}

@keyframes statusFlicker {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }
    50% {
        opacity: 0.95;
        text-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
    }
    52% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }
}

/* Animated Status Dots with Energy Effect */
.status-dots {
    display: flex;
    gap: 0.3rem;
}

.status-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-500);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
    animation: dotPulse 1.5s ease-in-out infinite, dotGlow 2s ease-in-out infinite;
    opacity: 0;
}

.status-dots span:nth-child(1) {
    animation-delay: 0s, 0s;
}

.status-dots span:nth-child(2) {
    animation-delay: 0.3s, 0.3s;
}

.status-dots span:nth-child(3) {
    animation-delay: 0.6s, 0.6s;
}

@keyframes dotPulse {
    0%, 60%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes dotGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 1), 0 0 30px rgba(59, 130, 246, 0.6);
    }
}

/* Futuristic HUD Corner Brackets with Energy Nodes */
.preloader-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(59, 130, 246, 0.4);
    box-shadow:
        0 0 15px rgba(59, 130, 246, 0.3),
        inset 0 0 10px rgba(59, 130, 246, 0.1);
    animation: cornerPulse 3s ease-in-out infinite;
}

/* Energy Node at Corner Intersection */
.preloader-corner::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(59, 130, 246, 0.6), transparent);
    border-radius: 50%;
    box-shadow:
        0 0 15px rgba(59, 130, 246, 0.8),
        0 0 25px rgba(59, 130, 246, 0.4);
    animation: energyNode 2s ease-in-out infinite;
}

/* Scanning Energy Line */
.preloader-corner::after {
    content: '';
    position: absolute;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.8), transparent);
    animation: scanBorder 3s linear infinite;
}

@keyframes cornerPulse {
    0%, 100% {
        border-color: rgba(59, 130, 246, 0.4);
        box-shadow:
            0 0 15px rgba(59, 130, 246, 0.3),
            inset 0 0 10px rgba(59, 130, 246, 0.1);
    }
    50% {
        border-color: rgba(59, 130, 246, 0.8);
        box-shadow:
            0 0 30px rgba(59, 130, 246, 0.6),
            0 0 50px rgba(59, 130, 246, 0.3),
            inset 0 0 20px rgba(59, 130, 246, 0.2);
    }
}

@keyframes energyNode {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
        box-shadow:
            0 0 15px rgba(59, 130, 246, 0.8),
            0 0 25px rgba(59, 130, 246, 0.4);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
        box-shadow:
            0 0 25px rgba(59, 130, 246, 1),
            0 0 40px rgba(59, 130, 246, 0.6),
            0 0 60px rgba(59, 130, 246, 0.3);
    }
}

/* Top-Left Corner Bracket */
.preloader-corner.top-left {
    top: 30px;
    left: 30px;
    border-right: none;
    border-bottom: none;
    animation: cornerFadeIn 1s ease-out 0.2s forwards, cornerPulse 3s ease-in-out infinite;
    opacity: 0;
}

.preloader-corner.top-left::before {
    top: -6px;
    left: -6px;
}

.preloader-corner.top-left::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    animation: scanBorderHorizontal 3s linear infinite;
}

/* Top-Right Corner Bracket */
.preloader-corner.top-right {
    top: 30px;
    right: 30px;
    border-left: none;
    border-bottom: none;
    animation: cornerFadeIn 1s ease-out 0.4s forwards, cornerPulse 3s ease-in-out infinite 0.5s;
    opacity: 0;
}

.preloader-corner.top-right::before {
    top: -6px;
    right: -6px;
}

.preloader-corner.top-right::after {
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    animation: scanBorderVertical 3s linear infinite 0.5s;
}

/* Bottom-Left Corner Bracket */
.preloader-corner.bottom-left {
    bottom: 30px;
    left: 30px;
    border-right: none;
    border-top: none;
    animation: cornerFadeIn 1s ease-out 0.6s forwards, cornerPulse 3s ease-in-out infinite 1s;
    opacity: 0;
}

.preloader-corner.bottom-left::before {
    bottom: -6px;
    left: -6px;
}

.preloader-corner.bottom-left::after {
    bottom: 0;
    left: 0;
    width: 3px;
    height: 100%;
    animation: scanBorderVertical 3s linear infinite 1s;
}

/* Bottom-Right Corner Bracket */
.preloader-corner.bottom-right {
    bottom: 30px;
    right: 30px;
    border-left: none;
    border-top: none;
    animation: cornerFadeIn 1s ease-out 0.8s forwards, cornerPulse 3s ease-in-out infinite 1.5s;
    opacity: 0;
}

.preloader-corner.bottom-right::before {
    bottom: -6px;
    right: -6px;
}

.preloader-corner.bottom-right::after {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 3px;
    animation: scanBorderHorizontal 3s linear infinite 1.5s;
}

@keyframes cornerFadeIn {
    to { opacity: 1; }
}

@keyframes scanBorderHorizontal {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateX(200%);
        opacity: 0;
    }
}

@keyframes scanBorderVertical {
    0%, 100% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(200%);
        opacity: 0;
    }
}

/* Enhanced Sci-Fi Exit Animation with Energy Dissipation */
.preloader.fade-out {
    animation: preloaderFadeOut 1s ease-in-out forwards;
}

.preloader.fade-out .preloader-content {
    animation: contentDissolve 0.8s ease-in-out forwards;
}

.preloader.fade-out .preloader-grid,
.preloader.fade-out .preloader-glow {
    animation: energyDissipate 0.9s ease-out forwards;
}

.preloader.fade-out .preloader-corner {
    animation: cornerCollapse 0.7s ease-in forwards;
}

@keyframes preloaderFadeOut {
    0% {
        opacity: 1;
        background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1729 100%);
    }
    70% {
        opacity: 0.3;
        background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1729 100%);
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        background: transparent;
    }
}

@keyframes contentDissolve {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
        opacity: 0.5;
        filter: blur(0px);
    }
    100% {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
        filter: blur(10px);
    }
}

@keyframes energyDissipate {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(40px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
        filter: blur(80px);
    }
}

@keyframes cornerCollapse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* Responsive Preloader - Optimized for Mobile */
@media (max-width: 768px) {
    /* Smaller logo for mobile */
    .preloader-logo {
        font-size: 2.5rem;
    }

    .preloader-logo-wrapper {
        padding: 1rem 1.5rem;
    }

    /* Reduced icon size */
    .preloader-icon {
        width: 100px;
        height: 50px;
    }

    /* Smaller energy aura for performance */
    .preloader-icon::before {
        width: 140px;
        height: 70px;
    }

    /* Narrower progress bar */
    .preloader-progress {
        width: 220px;
    }

    .progress-track {
        height: 6px;
    }

    /* Smaller corner brackets */
    .preloader-corner {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    /* Smaller energy nodes */
    .preloader-corner::before {
        width: 8px;
        height: 8px;
    }

    .preloader-corner.top-left,
    .preloader-corner.top-right {
        top: 20px;
    }

    .preloader-corner.bottom-left,
    .preloader-corner.bottom-right {
        bottom: 20px;
    }

    .preloader-corner.top-left,
    .preloader-corner.bottom-left {
        left: 20px;
    }

    .preloader-corner.top-right,
    .preloader-corner.bottom-right {
        right: 20px;
    }

    /* Adjust energy node positions for smaller corners */
    .preloader-corner.top-left::before {
        top: -4px;
        left: -4px;
    }

    .preloader-corner.top-right::before {
        top: -4px;
        right: -4px;
    }

    .preloader-corner.bottom-left::before {
        bottom: -4px;
        left: -4px;
    }

    .preloader-corner.bottom-right::before {
        bottom: -4px;
        right: -4px;
    }

    /* Reduce hexagonal grid movement for performance */
    .preloader-grid {
        background-size: 60px 105px;
        background-position: 0 0, 0 0, 30px 52.5px, 30px 52.5px, 0 0, 30px 52.5px;
    }

    @keyframes hexMove {
        0% { transform: translate(0, 0); }
        100% { transform: translate(60px, 105px); }
    }

    /* Smaller status display */
    .preloader-status {
        font-size: 0.85rem;
        letter-spacing: 2px;
        padding: 0.6rem 1.2rem;
    }

    /* Reduce glow intensity for better mobile performance */
    .preloader-glow {
        width: 600px;
        height: 600px;
        filter: blur(30px);
    }
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--text-primary);
    font-size: var(--text-base);
    line-height: var(--line-height-relaxed);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--royal-blue-vivid);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: var(--space-4);
}

/* Typography - Clear Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: var(--line-height-tight);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-tight);
    color: var(--white);
}

h1 {
    font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
    font-weight: 700;
}
h2 {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
    font-weight: 600;
}
h3 {
    font-size: var(--text-xl);
    font-weight: 600;
}
h4 {
    font-size: var(--text-lg);
    font-weight: 600;
}

p {
    color: var(--text-primary);
    line-height: var(--line-height-relaxed);
}

/* Secondary/Muted Text */
.text-secondary, .text-muted {
    color: var(--text-secondary);
}

/* Keyboard Focus Styles */
*:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Buttons - Clear Hierarchy */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    min-width: 44px;
    padding: 0 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-standard),
                transform var(--duration-fast) var(--ease-standard),
                box-shadow var(--duration-fast) var(--ease-standard),
                border-color var(--duration-fast) var(--ease-standard);
    position: relative;
}

.btn:focus-visible {
    outline: 2px solid var(--brand-300);
    outline-offset: 2px;
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Primary Button - Filled, Brand Color */
.btn-primary {
    background: var(--brand-600);
    color: #fff;
    border-color: var(--brand-600);
    box-shadow: var(--shadow-s1);
}

.btn-primary:hover {
    background: var(--brand-500);
    border-color: var(--brand-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-s1);
}

/* Secondary Button - Outline */
.btn-secondary,
.btn-outline {
    background: transparent;
    color: var(--text-hi);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover,
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary:active,
.btn-outline:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.05);
}

/* Tertiary Button - Text Only */
.btn-tertiary,
.btn-text {
    background: transparent;
    color: var(--brand-300);
    border: none;
    padding: 0 12px;
    height: 40px;
}

.btn-tertiary:hover,
.btn-text:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Ghost Button - Subtle */
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
}

.btn-large {
    min-height: 56px;
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-small {
    min-height: var(--btn-height-sm);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

/* Button with glow effect */
.btn-glow {
    box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
    box-shadow: var(--shadow-glow-strong);
}

/* Button icon spacing */
.btn i,
.btn svg {
    font-size: 1em;
    transition: transform var(--transition-fast);
}

.btn:hover i,
.btn:hover svg {
    transform: translateX(2px);
}

/* Section Styles - Consistent Rhythm */
section {
    padding: var(--space-24) 0;  /* 96px vertical padding */
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);  /* 64px */
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--royal-blue-light);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
}

.section-title {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: 18px;
    line-height: 28px;
    color: var(--text-med);
    max-width: 600px;
    margin: 0 auto;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--royal-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image Placeholder */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--grey-dark) 0%, var(--grey) 100%);
    border: 2px dashed var(--grey-medium);
    border-radius: var(--radius-md);
    color: var(--grey-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.image-placeholder i {
    font-size: 2.5rem;
    color: var(--grey-medium);
}

/* =====================================================
   NAVIGATION - 64px height desktop, 56px mobile
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    background: rgba(10, 14, 20, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--duration-normal) var(--ease-standard),
                backdrop-filter var(--duration-normal) var(--ease-standard);
    will-change: transform;
}

.navbar.scrolled {
    background: rgba(10, 14, 20, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-s2);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-text {
    color: var(--white);
}

.logo-accent {
    color: var(--royal-blue-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: var(--text-med);
    transition: color var(--duration-fast) var(--ease-standard);
    position: relative;
    padding: 10px 12px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 12px;
    right: 12px;
    width: auto;
    height: 2px;
    background: var(--brand-500);
    transform: scaleX(0);
    transition: transform var(--duration-fast) var(--ease-standard);
}

.nav-link:hover {
    color: var(--text-hi);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--text-hi);
}

.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
    border-radius: 4px;
}

/* High-contrast CTA button in navbar */
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 16px;
    background: var(--brand-600);
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-s1);
    transition: background var(--duration-fast) var(--ease-standard),
                transform var(--duration-fast) var(--ease-standard),
                box-shadow var(--duration-fast) var(--ease-standard);
}

.nav-cta:hover {
    background: var(--brand-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-cta:active {
    transform: translateY(0);
    box-shadow: var(--shadow-s1);
}

.nav-cta:focus-visible {
    outline: 2px solid var(--brand-300);
    outline-offset: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition-normal);
    border-radius: 2px;
}
/* =====================================================
   FITMAS-STYLE HEADER - Two-tier navigation
   ===================================================== */

/* Header Container */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* ---------- Header Top Bar ---------- */
.header-top {
    background: linear-gradient(90deg, rgba(30, 64, 175, 0.95), rgba(59, 130, 246, 0.85));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    position: relative;
    z-index: 1001;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    max-height: 60px;
    opacity: 1;
    overflow: hidden;
}

.header-top-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-links ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-links li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.header-links li i {
    color: var(--brand-300);
    font-size: 14px;
}

.header-links li a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.header-links li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 8px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--brand-500);
    transform: translateY(-2px);
}

/* ---------- Sticky Wrapper ---------- */
.sticky-wrapper {
    transition: all 0.3s ease-in-out;
}

.sticky-wrapper .navbar {
    position: relative;
    background: rgba(10, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

/* Enhanced navbar appearance when scrolled */
.nav-header.scrolled .sticky-wrapper .navbar {
    background: rgba(10, 14, 20, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ---------- Main Menu Area ---------- */
.menu-area {
    height: auto;
    padding: 0;
}

.menu-area .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Header Logo */
.header-logo {
    flex-shrink: 0;
}

.header-logo .logo {
    display: flex;
    align-items: center;
    padding: 16px 0;
}

/* Main Menu Wrapper */
.main-menu-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-menu-wrapper .main-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu-wrapper .main-menu li {
    position: relative;
}

.main-menu-wrapper .main-menu .nav-link {
    display: block;
    padding: 24px 14px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-med);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
    position: relative;
}

.main-menu-wrapper .main-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--brand-500);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-menu-wrapper .main-menu .nav-link:hover {
    color: var(--brand-400);
}

.main-menu-wrapper .main-menu .nav-link:hover::after {
    transform: scaleX(1);
}

.main-menu-wrapper .main-menu .nav-link.active {
    color: var(--brand-400);
}

.main-menu-wrapper .main-menu .nav-link.active::after {
    transform: scaleX(1);
}

/* ---------- Navbar Right Section ---------- */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.navbar-right-desc {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-400);
    padding: 20px 0;
    position: relative;
}

.navbar-right-desc::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(10deg);
}

.navbar-right-desc i {
    font-size: 18px;
    transform: rotate(-30deg);
    color: var(--brand-400);
}

.navbar-right-desc a {
    color: var(--text-hi);
    transition: color 0.3s ease;
}

.navbar-right-desc a:hover {
    color: var(--brand-400);
}

/* Header Button */
.header-button .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.header-button .btn:hover {
    background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

/* ---------- Responsive Styles ---------- */

/* Large devices */
@media (max-width: 1199px) {
    .main-menu-wrapper .main-menu .nav-link {
        padding: 20px 10px;
        font-size: 14px;
    }

    .navbar-right-desc {
        display: none;
    }

    .header-button .btn {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* Medium devices - Show hamburger */
@media (max-width: 991px) {
    .header-top {
        display: none;
    }

    .sticky-wrapper .navbar {
        padding: 10px 0;
    }

    .main-menu-wrapper {
        position: relative;
        pointer-events: none;
    }


    .navbar-right {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile Menu Styles */
    .nav-menu {
        position: fixed;
        display: flex;
        top: 0;
        pointer-events: auto;
        right: -100%;
        width: 100%;
        max-width: 350px;
        height: 100vh;
        background: rgba(10, 14, 20, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.4s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-menu .nav-link {
        display: block;
        width: 100%;
        padding: 16px 0;
        font-size: 16px;
        color: var(--text-med);
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--brand-400);
    }
}

/* Small devices */
@media (max-width: 575px) {
    .header-top-container {
        flex-direction: column;
        gap: 8px;
    }

    .header-links ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .social-links span {
        display: none;
    }
}

/* Collapse header-top on scroll for clean sticky navbar */
.nav-header.scrolled .header-top {
    max-height: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative !important;
    min-height: clamp(500px, 90vh, 900px);
    display: grid;
    place-items: center;
    padding: clamp(100px, 12vh, 140px) 0 80px;
    background: var(--bg-900);
    overflow: hidden;
    width: 100%;
    top: auto !important;
    height: auto !important;
}

/* Override parallax-bg for hero - it should not be absolute positioned */
.hero.parallax-bg {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    top: auto !important;
    background-attachment: scroll;
}

/* Background image layer - resilient approach */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/trainer-hero.png') center top/cover no-repeat;
    opacity: 0.65;
    z-index: 0;
    pointer-events: none;
}

/* Gradient overlay layer - subtle blue accent */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(12, 17, 23, 0.3) 0%, rgba(12, 17, 23, 0.6) 100%),
        radial-gradient(ellipse at 80% 50%, rgba(45, 91, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

/* Legacy overlay and particles - hidden by default */
.hero-overlay,
.hero-particles {
    display: none;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 640px);
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.hero-content {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(45, 91, 255, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--brand-300);
    margin-bottom: 24px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 0 20px 2px rgba(59, 130, 246, 0.2); }
}

.hero-title {
    margin-bottom: 24px;
    line-height: 1.3;
    font-size: clamp(2.25rem, 5vw, 3rem);
    color: var(--text-hi);
    font-weight: 700;
}

.hero-title .title-line {
    display: block;
    white-space: nowrap;
}

.text-accent {
    color: var(--brand-300);
    position: relative;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-med);
    margin-bottom: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* Trust Stats Bar */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 32px;
    padding: 24px 32px;
    background: rgba(19, 26, 34, 0.8);
    border-radius: 16px;
    border: var(--card-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-hi);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-low);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-trainer-img {
    max-height: 850px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    transform: rotate(90deg) scale(1.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-placeholder {
    min-height: 500px;
    border-radius: var(--radius-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--grey-medium);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
/* About is now first section - needs padding for fixed header */
.about {
    background: var(--black-soft);
    padding-top: 180px; /* Account for fixed header (header-top ~48px + navbar ~80px + extra spacing) */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-coach-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

.about-placeholder {
    min-height: 450px;
    border-radius: var(--radius-lg);
}

.about-decoration {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: var(--radius-lg);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(22, 59, 122, 0.4) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(41, 81, 131, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(72, 108, 144, 0.2) 0%, transparent 40%);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background-image: linear-gradient(44deg, rgb(30,58,138) 19%, #4c6cd6 61%, #aab7bf 81%, rgba(170,183,191,0.66) 99%);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    z-index: 412;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    color: var(--grey-lighter);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content {
    max-width: 550px;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.about-text {
    margin-bottom: var(--spacing-lg);
}

.credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--spacing-sm);
    background: var(--grey-dark);
    border-radius: var(--radius-md);
}

.credential i {
    font-size: 1.25rem;
    color: var(--royal-blue-light);
}

.credential span {
    font-size: 0.9rem;
    color: var(--grey-lighter);
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features {
    background: var(--bg-900);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 24px;
    background: var(--bg-700);
    border: var(--card-border);
    border-radius: 16px;
    transition: border-color var(--duration-normal) var(--ease-standard),
                transform var(--duration-normal) var(--ease-standard),
                box-shadow var(--duration-normal) var(--ease-standard);
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: var(--shadow-s2);
}

.feature-card:focus-within {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(45, 91, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
}

.feature-icon i {
    font-size: 1.25rem;
    color: var(--brand-300);
}

.feature-card h3 {
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-hi);
}

.feature-card p {
    font-size: 16px;
    line-height: 26px;
    color: var(--text-med);
}

/* =====================================================
   PROGRAMS SECTION
   ===================================================== */
.programs {
    background: var(--bg-800);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.program-card {
    position: relative;
    background: var(--bg-700);
    border: var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color var(--duration-normal) var(--ease-standard),
                transform var(--duration-normal) var(--ease-standard),
                box-shadow var(--duration-normal) var(--ease-standard);
}

.program-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: var(--shadow-s2);
}

.program-card.featured {
    border: var(--card-border-featured);
}

.program-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: var(--brand-600);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    z-index: 1;
}

.program-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.program-image .image-placeholder {
    border-radius: 0;
    min-height: 100%;
    height: 100%;
}

.program-image .program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.program-content {
    padding: 24px;
}

.program-content h3 {
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-hi);
}

.program-content > p {
    font-size: 16px;
    line-height: 26px;
    color: var(--text-med);
    margin-bottom: 16px;
}

.program-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--grey-lighter);
    font-size: 0.9rem;
}

.program-features i {
    color: var(--royal-blue-light);
    font-size: 0.8rem;
}

/* =====================================================
   PRICING SECTION
   ===================================================== */
.pricing {
    background: var(--bg-900);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 340px));
    gap: 24px;
    margin-bottom: 64px;
    align-items: stretch;
    justify-content: center;
}

/* 1-on-1 Training card - centered below premium */
.pricing-card.in-person {
    grid-column: 2 / 3;
    justify-self: center;
    width: 100%;
    max-width: 340px;
}

.pricing-card {
    position: relative;
    padding: 32px 24px;
    background: var(--bg-700);
    border: var(--card-border);
    border-radius: 16px;
    text-align: center;
    transition: border-color var(--duration-normal) var(--ease-standard),
                transform var(--duration-normal) var(--ease-standard),
                box-shadow var(--duration-normal) var(--ease-standard);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: var(--shadow-s2);
}

.pricing-card:focus-within {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

.pricing-card.featured {
    border: var(--card-border-featured);
    background: linear-gradient(180deg, var(--bg-700) 0%, rgba(45, 91, 255, 0.08) 100%);
}

.pricing-card.in-person {
    border-color: #10b981;
    background: linear-gradient(180deg, var(--bg-700) 0%, rgba(16, 185, 129, 0.08) 100%);
}

.pricing-card.in-person .pricing-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--brand-600);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    color: var(--text-hi);
    margin-bottom: 8px;
}

.pricing-description {
    font-size: 14px;
    line-height: 22px;
    color: var(--text-med);
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--grey);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--grey-lighter);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--grey-medium);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-6);
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--grey-lighter);
}

.pricing-features li i {
    font-size: 0.75rem;
}

.pricing-features li .fa-check {
    color: var(--royal-blue-light);
}

.pricing-features li.disabled {
    color: var(--grey-medium);
}

.pricing-features li.disabled i {
    color: var(--grey-medium);
}

.pricing-commitment {
    padding: var(--spacing-sm);
    background: var(--grey);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.85rem;
    color: var(--grey-lighter);
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid var(--royal-blue);
    border-radius: var(--radius-lg);
    text-align: left;
}

.pricing-guarantee i {
    font-size: 2.5rem;
    color: var(--royal-blue-light);
}

.pricing-guarantee h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.pricing-guarantee p {
    font-size: 0.9rem;
    margin: 0;
}

/* =====================================================
   RESULTS SECTION
   ===================================================== */
.results {
    background: var(--bg-800);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.result-card {
    background: var(--bg-700);
    border: var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color var(--duration-normal) var(--ease-standard),
                transform var(--duration-normal) var(--ease-standard),
                box-shadow var(--duration-normal) var(--ease-standard);
}

.result-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: var(--shadow-s2);
}

.result-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    aspect-ratio: 2/1;
}

.result-before, .result-after {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.result-before .image-placeholder,
.result-after .image-placeholder {
    min-height: 180px;
    border-radius: 0;
}

.result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--duration-slow) var(--ease-standard);
}

.result-card:hover .result-img {
    transform: scale(1.05);
}

/* Before/After divider line */
.result-before::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--brand-300) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-standard);
}

.result-card:hover .result-before::after {
    opacity: 1;
}

.image-label {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-info {
    padding: var(--spacing-md);
    text-align: center;
}

.result-info h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.result-stats {
    font-size: 0.95rem;
    color: var(--royal-blue-light);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.result-program {
    font-size: 0.8rem;
    color: var(--grey-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.results-cta {
    text-align: center;
}

.results-cta p {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials {
    background: var(--bg-900);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-700);
    border: var(--card-border);
    border-radius: 16px;
    position: relative;
    transition: border-color var(--duration-normal) var(--ease-standard),
                transform var(--duration-normal) var(--ease-standard),
                box-shadow var(--duration-normal) var(--ease-standard);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--brand-500);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: var(--shadow-s2);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #3b82f6;
    font-size: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 26px;
    font-style: italic;
    color: var(--text-med);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(55, 65, 81, 0.5);
}

.author-avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--brand-500);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.author-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-placeholder {
    min-height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.avatar-placeholder i {
    font-size: var(--text-xl);
}

.author-info h4 {
    font-size: var(--text-base);
    color: var(--white);
    margin-bottom: var(--space-1);
    text-transform: none;
    font-weight: 600;
}

.author-info p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    background: var(--grey);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
}

.indicator.active {
    background: var(--royal-blue-light);
    width: 30px;
    border-radius: 5px;
}

/* =====================================================
   PROCESS SECTION - How It Works
   ===================================================== */
.process {
    background: var(--bg-800);
    overflow: hidden;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 64px;
    counter-reset: step-counter;
    position: relative;
}

/* Connecting line behind steps */
.process-line {
    display: none; /* Hide the HTML element, use CSS pseudo-elements instead */
}

.process-step {
    text-align: center;
    position: relative;
    padding: 32px 24px;
    background: rgba(26, 35, 48, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(30px);
}

/* Visible state for animation */
.process-step.visible,
.process-step.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.process-step:nth-child(2) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.2s; }
.process-step:nth-child(4) { transition-delay: 0.3s; }
.process-step:nth-child(5) { transition-delay: 0.4s; }

.process-step:hover {
    background: rgba(26, 35, 48, 0.95);
    border-color: var(--brand-500);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.15);
}

/* Connecting arrows between steps */
.process-step::after {
    content: '';
    position: absolute;
    top: 60px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
    opacity: 0;
    transition: opacity 0.5s ease 0.3s;
    z-index: 1;
}

.process-step.visible::after,
.process-step.reveal-visible::after {
    opacity: 1;
}

.process-step:last-child::after {
    display: none;
}

/* Arrow head */
.process-step::before {
    content: '';
    position: absolute;
    top: 56px;
    right: -24px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid var(--brand-400);
    opacity: 0;
    transition: opacity 0.5s ease 0.4s;
    z-index: 2;
}

.process-step.visible::before,
.process-step.reveal-visible::before {
    opacity: 1;
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

/* Pulsing ring effect */
.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--brand-400);
    opacity: 0;
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.15); opacity: 0.5; }
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5), 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.step-content h3 {
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 600;
}

.step-content p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
}

.process-cta {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.5s;
}

.process-cta.visible,
.process-cta.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq {
    background: var(--bg-900);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-700);
    border: var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--duration-normal) var(--ease-standard),
                box-shadow var(--duration-normal) var(--ease-standard);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-item.active {
    border-color: rgba(45, 91, 255, 0.3);
    box-shadow: var(--shadow-s1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-hi);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    text-align: left;
    cursor: pointer;
    transition: color var(--duration-fast) var(--ease-standard),
                background var(--duration-fast) var(--ease-standard);
}

.faq-question:hover {
    color: var(--brand-300);
    background: rgba(255, 255, 255, 0.02);
}

/* Focus state for accessibility */
.faq-question:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--brand-500);
}

.faq-question:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--brand-500);
}

.faq-question i,
.faq-question .faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 14px;
    color: var(--brand-300);
    transition: transform var(--duration-normal) var(--ease-standard),
                color var(--duration-fast) var(--ease-standard);
    flex-shrink: 0;
}

.faq-item.active .faq-question i,
.faq-item.active .faq-question .faq-icon {
    transform: rotate(45deg);
    color: var(--brand-500);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-standard),
                padding var(--duration-slow) var(--ease-standard);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-med);
}

/* ARIA hidden state styling */
.faq-answer[aria-hidden="true"] {
    visibility: hidden;
}

.faq-answer[aria-hidden="false"] {
    visibility: visible;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    background: var(--black-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: var(--spacing-sm);
}

.contact-info > p {
    margin-bottom: var(--spacing-lg);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--grey-lighter);
}

.contact-method i {
    font-size: 1.25rem;
    color: var(--royal-blue-light);
    width: 30px;
}

.contact-method:hover {
    color: var(--royal-blue-light);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--grey-dark);
    border: 1px solid var(--grey);
    border-radius: 50%;
    color: var(--grey-lighter);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    color: var(--white);
}

.contact-form-wrapper {
    padding: var(--spacing-xl);
    background: var(--grey-dark);
    border: 1px solid var(--grey);
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey-lighter);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    background: var(--grey);
    border: 1px solid var(--grey-medium);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--royal-blue-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--grey-medium);
}

/* =====================================================
   FINAL CTA SECTION
   ===================================================== */
.final-cta {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--grey-lighter);
    margin-bottom: var(--spacing-lg);
}

.cta-note {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--grey-lighter);
    opacity: 0.8;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--black);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--grey-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-tagline {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--grey-dark);
    border-radius: 50%;
    color: var(--grey-lighter);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--royal-blue);
    color: var(--white);
}

.footer-links h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--grey-light);
}

.footer-links a:hover {
    color: var(--royal-blue-light);
}

.footer-newsletter h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-newsletter > p {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-xs);
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--grey-dark);
    border: 1px solid var(--grey);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--royal-blue);
}

.newsletter-form button {
    padding: 0.75rem 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-form button:hover {
    background: var(--royal-blue-light);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--grey-dark);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: var(--spacing-xs);
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--grey-medium);
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* =====================================================
   ADVANCED ANIMATIONS - DRAMATICALLY ENHANCED
   ===================================================== */

/* ============ CORE KEYFRAME ANIMATIONS ============ */

/* Fade In Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============ ADVANCED KEYFRAME ANIMATIONS ============ */

/* Elastic Scale - Bouncy entrance */
@keyframes elasticScale {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 3D Flip In */
@keyframes flipInX {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateX(-90deg);
    }
    40% {
        transform: perspective(1000px) rotateX(20deg);
    }
    60% {
        transform: perspective(1000px) rotateX(-10deg);
    }
    80% {
        transform: perspective(1000px) rotateX(5deg);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateX(0);
    }
}

@keyframes flipInY {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(-90deg);
    }
    40% {
        transform: perspective(1000px) rotateY(20deg);
    }
    60% {
        transform: perspective(1000px) rotateY(-10deg);
    }
    80% {
        transform: perspective(1000px) rotateY(5deg);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0);
    }
}

/* Rotate In */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-200deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Zoom In Bounce */
@keyframes zoomInBounce {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Text Reveal - Character by character */
@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(100%);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Typewriter Cursor */
@keyframes typewriterCursor {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--royal-blue-light); }
}

/* Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow Pulse */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5),
                    0 0 20px rgba(59, 130, 246, 0.3),
                    0 0 40px rgba(59, 130, 246, 0.1);
    }
    50% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.8),
                    0 0 30px rgba(59, 130, 246, 0.5),
                    0 0 60px rgba(59, 130, 246, 0.3);
    }
}

/* Shimmer Wave */
@keyframes shimmerWave {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Gradient Flow */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Float Animation - Enhanced */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-20px) rotate(-2deg);
    }
}

/* Parallax Float */
@keyframes parallaxFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    25% {
        transform: translate3d(10px, -20px, 0);
    }
    50% {
        transform: translate3d(-5px, -10px, 0);
    }
    75% {
        transform: translate3d(-15px, -25px, 0);
    }
}

/* Pulse Scale */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.9;
    }
}

/* Heartbeat */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    56% { transform: scale(1); }
}

/* Morph Shape */
@keyframes morphShape {
    0%, 100% {
        border-radius: 50%;
    }
    25% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    75% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Slide Reveal from Left */
@keyframes slideRevealLeft {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
        opacity: 0;
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }
}

/* Slide Reveal from Right */
@keyframes slideRevealRight {
    0% {
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
        opacity: 0;
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }
}

/* Slide Reveal from Bottom */
@keyframes slideRevealUp {
    0% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
        opacity: 0;
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }
}

/* Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Shake */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Swing */
@keyframes swing {
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* Bounce Enhanced */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Particle Float */
@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -50px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(60px, 0) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(30px, 50px) rotate(270deg);
        opacity: 0.7;
    }
}

/* Neon Flicker */
@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow:
            0 0 5px rgba(59, 130, 246, 0.8),
            0 0 10px rgba(59, 130, 246, 0.6),
            0 0 20px rgba(59, 130, 246, 0.4),
            0 0 40px rgba(59, 130, 246, 0.2);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* Border Trace */
@keyframes borderTrace {
    0% {
        background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%;
    }
    25% {
        background-position: 100% 0%, 100% 100%, 0% 100%, 0% 0%;
    }
    50% {
        background-position: 100% 100%, 0% 100%, 0% 0%, 100% 0%;
    }
    75% {
        background-position: 0% 100%, 0% 0%, 100% 0%, 100% 100%;
    }
    100% {
        background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%;
    }
}

/* ============ ANIMATION CLASSES ============ */

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-elastic {
    animation: elasticScale 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.animate-flip-x {
    animation: flipInX 1s ease-out forwards;
}

.animate-flip-y {
    animation: flipInY 1s ease-out forwards;
}

.animate-rotate-in {
    animation: rotateIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-zoom-bounce {
    animation: zoomInBounce 0.8s ease-out forwards;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
}

.animate-slide-reveal-left {
    animation: slideRevealLeft 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.animate-slide-reveal-right {
    animation: slideRevealRight 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.animate-slide-reveal-up {
    animation: slideRevealUp 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* Continuous Animations */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

.animate-heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.animate-morph {
    animation: morphShape 8s ease-in-out infinite;
}

.animate-swing {
    animation: swing 1s ease-out;
    transform-origin: top center;
}

.animate-neon {
    animation: neonFlicker 1.5s ease-in-out infinite;
}

/* ============ STAGGER ANIMATION DELAYS ============ */

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }
.stagger-9 { animation-delay: 0.9s; }
.stagger-10 { animation-delay: 1.0s; }

/* Fast stagger for lists */
.stagger-fast-1 { animation-delay: 0.05s; }
.stagger-fast-2 { animation-delay: 0.1s; }
.stagger-fast-3 { animation-delay: 0.15s; }
.stagger-fast-4 { animation-delay: 0.2s; }
.stagger-fast-5 { animation-delay: 0.25s; }
.stagger-fast-6 { animation-delay: 0.3s; }

/* ============ SCROLL REVEAL SYSTEM ============ */

/*
 * Progressive Enhancement: Content visible by default
 * JavaScript adds .js-ready class to html/body when animations are initialized
 * Only then do we hide elements for reveal animations
 */

/* Base reveal state - VISIBLE BY DEFAULT */
.reveal {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Only hide elements when JavaScript is ready to animate them */
.js-ready .reveal {
    opacity: 0;
}

.js-ready .reveal.revealed,
.reveal.revealed {
    opacity: 1;
}

/* Reveal Variants - Only apply transforms when JS is ready */
.js-ready .reveal-up {
    transform: translateY(60px);
}

.js-ready .reveal-up.revealed,
.reveal-up.revealed {
    transform: translateY(0);
}

.js-ready .reveal-down {
    transform: translateY(-60px);
}

.js-ready .reveal-down.revealed,
.reveal-down.revealed {
    transform: translateY(0);
}

.js-ready .reveal-left {
    transform: translateX(-60px);
}

.js-ready .reveal-left.revealed,
.reveal-left.revealed {
    transform: translateX(0);
}

.js-ready .reveal-right {
    transform: translateX(60px);
}

.js-ready .reveal-right.revealed,
.reveal-right.revealed {
    transform: translateX(0);
}

.js-ready .reveal-scale {
    transform: scale(0.85);
}

.js-ready .reveal-scale.revealed,
.reveal-scale.revealed {
    transform: scale(1);
}

.js-ready .reveal-rotate {
    transform: rotate(-10deg) scale(0.9);
}

.js-ready .reveal-rotate.revealed,
.reveal-rotate.revealed {
    transform: rotate(0) scale(1);
}

.js-ready .reveal-blur {
    filter: blur(10px);
}

.js-ready .reveal-blur.revealed,
.reveal-blur.revealed {
    filter: blur(0);
}

/* ============ ENHANCED HOVER EFFECTS ============ */

/* 3D Card Hover */
.hover-3d {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hover-3d:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateZ(20px);
}

/* Lift with Glow */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(30, 64, 175, 0.35),
                0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Glow Effect */
.hover-glow {
    transition: box-shadow 0.4s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6),
                0 0 40px rgba(59, 130, 246, 0.3),
                0 0 60px rgba(59, 130, 246, 0.1);
}

/* Scale with Rotate */
.hover-scale-rotate {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-scale-rotate:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Border Glow */
.hover-border-glow {
    position: relative;
    transition: all 0.3s ease;
}

.hover-border-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--royal-blue), var(--royal-blue-light), var(--royal-blue));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.hover-border-glow:hover::before {
    opacity: 1;
}

/* Shine Sweep */
.hover-shine {
    position: relative;
    overflow: hidden;
}

.hover-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: none;
}

.hover-shine:hover::after {
    animation: shineSwipe 0.6s ease forwards;
}

@keyframes shineSwipe {
    to {
        left: 150%;
    }
}

/* Magnetic Hover (for buttons) */
.hover-magnetic {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============ BUTTON ANIMATIONS ============ */

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.5),
                0 0 40px rgba(59, 130, 246, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Ripple Effect for Buttons */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.btn-ripple:active::after {
    animation: ripple 0.6s ease-out;
}

/* ============ CARD ANIMATIONS ============ */

.feature-card,
.program-card,
.pricing-card,
.result-card,
.testimonial-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card.visible,
.program-card.visible,
.pricing-card.visible,
.result-card.visible,
.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card 3D Tilt Effect */
.card-3d-hover {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.card-3d-hover:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) scale(1.02);
}

/* Card Inner Glow */
.card-inner-glow {
    position: relative;
}

.card-inner-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(59, 130, 246, 0.15) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card-inner-glow:hover::before {
    opacity: 1;
}

/* ============ HERO SECTION ANIMATIONS ============ */
/* Progressive Enhancement: Visible by default, animation optional */

.hero-content {
    opacity: 1;
}

.hero-badge {
    opacity: 1;
}

.hero-title {
    opacity: 1;
}

.hero-title .text-accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--royal-blue-light), var(--royal-blue-vivid));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 3s ease infinite;
    background-size: 200% 200%;
}

.hero-subtitle {
    opacity: 1;
}

.hero-stats {
    opacity: 1;
}

/* Hero animations - only apply when user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
    }

    .hero-badge {
        animation: bounceIn 0.8s ease-out 0.3s both;
    }

    .hero-title {
        animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
    }

    .hero-subtitle {
        animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    }

    .hero-stats {
        animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
    }
}

.hero-stats .stat {
    transition: transform 0.3s ease;
}

.hero-stats .stat:hover {
    transform: scale(1.1);
}

.stat-number {
    background: linear-gradient(135deg, var(--white), var(--grey-lighter));
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

/* Animated Scroll Indicator */
.scroll-indicator {
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.scroll-indicator i {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

/* ============ SECTION HEADER ANIMATIONS ============ */

.section-header {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Section headers with reveal - only hide when JS is ready */
.js-ready .section-header.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.js-ready .section-header.reveal.revealed,
.section-header.reveal.revealed,
.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    display: inline-block;
    position: relative;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--royal-blue-light);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header.visible .section-tag::after {
    width: 100%;
}

/* ============ COUNTER ANIMATION ============ */

.stat-number[data-count] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-number[data-count].counted {
    opacity: 1;
    transform: translateY(0);
}

/* ============ PROCESS STEP ANIMATIONS ============ */

.process-step {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(30, 64, 175, 0.5);
}

/* Connecting Line Animation */
.process-step::after {
    background: linear-gradient(90deg, var(--royal-blue), transparent);
    opacity: 0;
    transition: opacity 0.6s ease 0.3s;
}

.process-step.visible::after {
    opacity: 1;
}

/* ============ FAQ ANIMATIONS ============ */

.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(30, 64, 175, 0.05);
}

.faq-question {
    transition: all 0.3s ease;
}

.faq-question i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.active .faq-question i {
    transform: rotate(135deg);
}

.faq-answer {
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease,
                padding 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

/* ============ TESTIMONIAL SLIDER ============ */

.testimonial-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-rating i {
    opacity: 0;
    transform: scale(0);
    animation: starPop 0.4s ease forwards;
}

.testimonial-rating i:nth-child(1) { animation-delay: 0.1s; }
.testimonial-rating i:nth-child(2) { animation-delay: 0.15s; }
.testimonial-rating i:nth-child(3) { animation-delay: 0.2s; }
.testimonial-rating i:nth-child(4) { animation-delay: 0.25s; }
.testimonial-rating i:nth-child(5) { animation-delay: 0.3s; }

@keyframes starPop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    70% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* ============ PRICING CARD ANIMATIONS ============ */

.pricing-card.featured {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.3);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    animation: glowPulse 3s ease-in-out infinite;
}

.pricing-badge {
    animation: bounceIn 0.6s ease-out 0.5s forwards;
    opacity: 0;
}

.pricing-card.visible .pricing-badge {
    opacity: 1;
}

.price-amount {
    transition: transform 0.3s ease;
}

.pricing-card:hover .price-amount {
    transform: scale(1.05);
}

/* ============ EXPERIENCE BADGE ANIMATION ============ */

.experience-badge {
    animation: float 4s ease-in-out infinite, morphShape 8s ease-in-out infinite;
}

.experience-badge:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

/* ============ BACK TO TOP BUTTON ============ */

.back-to-top {
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.back-to-top.visible {
    transform: translateY(0);
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.5);
}

.back-to-top i {
    animation: float 2s ease-in-out infinite;
}

/* ============ LOADING ANIMATIONS ============ */

.skeleton {
    background: linear-gradient(
        90deg,
        var(--grey-dark) 0%,
        var(--grey) 50%,
        var(--grey-dark) 100%
    );
    background-size: 200% 100%;
    animation: shimmerWave 1.5s infinite;
}

/* ============ PARALLAX BACKGROUNDS ============ */

.parallax-bg {
    position: absolute;
    width: 100%;
    height: 120%;
    top: -10%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Floating Particles */
.floating-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--royal-blue-light);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s ease-in-out infinite;
}

.floating-particle:nth-child(1) { animation-delay: 0s; left: 10%; top: 20%; }
.floating-particle:nth-child(2) { animation-delay: 2s; left: 20%; top: 60%; }
.floating-particle:nth-child(3) { animation-delay: 4s; left: 70%; top: 30%; }
.floating-particle:nth-child(4) { animation-delay: 6s; left: 80%; top: 70%; }
.floating-particle:nth-child(5) { animation-delay: 8s; left: 50%; top: 50%; }

/* ============ IMAGE HOVER EFFECTS ============ */

.image-hover-zoom {
    overflow: hidden;
}

.image-hover-zoom img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-hover-zoom:hover img {
    transform: scale(1.1);
}

.image-hover-shine {
    position: relative;
    overflow: hidden;
}

.image-hover-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    z-index: 1;
}

.image-hover-shine:hover::before {
    animation: shineSwipe 0.8s ease;
}

/* ============ TEXT ANIMATIONS ============ */

.text-gradient-animate {
    background: linear-gradient(
        270deg,
        var(--royal-blue),
        var(--royal-blue-light),
        var(--royal-blue-vivid),
        var(--royal-blue)
    );
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease infinite;
}

/* Underline animation */
.text-underline-animate {
    position: relative;
    display: inline-block;
}

.text-underline-animate::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--royal-blue-light);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-underline-animate:hover::after {
    width: 100%;
}

/* ============ SOCIAL LINK ANIMATIONS ============ */

.social-link {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.4);
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: rotate(360deg);
}

/* ============ NAV ANIMATIONS ============ */

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--royal-blue-light);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu animation */
.nav-menu {
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
}

.nav-menu.active {
    opacity: 1;
}

/* ============ FORM ANIMATIONS ============ */

.form-group input,
.form-group textarea,
.form-group select {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.2);
}

/* Label float animation */
.form-group.floating-label {
    position: relative;
}

.form-group.floating-label label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group.floating-label input:focus ~ label,
.form-group.floating-label input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.75rem;
    background: var(--grey-dark);
    padding: 0 0.5rem;
}

/* =====================================================
   FLUID TYPOGRAPHY & SPACING
   ===================================================== */

/* Fluid Font Sizes */
h1 {
    font-size: clamp(2rem, 5vw + 1rem, 4rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
}

p {
    font-size: clamp(0.9rem, 1vw + 0.5rem, 1.1rem);
}

/* Fluid Spacing */
section {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

.container {
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

/* =====================================================
   ENHANCED MOBILE TOUCH TARGETS
   ===================================================== */

/* Minimum touch target size of 44px */
.btn,
.nav-link,
.social-link,
button,
input[type="submit"],
a.nav-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Better tap feedback */
.btn:active,
.nav-link:active,
.pricing-card:active,
.program-card:active,
.feature-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* =====================================================
   IMPROVED CARD ANIMATIONS
   ===================================================== */

.pricing-card,
.program-card,
.feature-card,
.result-card,
.testimonial-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.pricing-card:nth-child(1),
.program-card:nth-child(1),
.feature-card:nth-child(1) { animation-delay: 0.1s; }

.pricing-card:nth-child(2),
.program-card:nth-child(2),
.feature-card:nth-child(2) { animation-delay: 0.2s; }

.pricing-card:nth-child(3),
.program-card:nth-child(3),
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card:nth-child(4),
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.pricing-card:nth-child(5),
.feature-card:nth-child(5) { animation-delay: 0.5s; }

.pricing-card:nth-child(6),
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* =====================================================
   MOTION SAFETY - Reduced Motion Preferences
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Disable transforms on hover */
    .btn:hover,
    .feature-card:hover,
    .program-card:hover,
    .pricing-card:hover,
    .result-card:hover,
    .testimonial-card:hover,
    .process-step:hover,
    .faq-item:hover {
        transform: none !important;
    }

    /* Keep essential state changes but without animation */
    .faq-answer {
        transition: none !important;
    }

    .faq-question i,
    .faq-question .faq-icon {
        transition: none !important;
    }

    /* Disable parallax and floating effects */
    .hero::before,
    .hero::after {
        animation: none !important;
    }

    /* Testimonial slider - no auto-scroll */
    .testimonials-slider {
        animation: none !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .testimonial-card {
        scroll-snap-align: start;
    }
}

/* =====================================================
   TOUCH DEVICE HANDLING
   ===================================================== */
/* Devices without hover capability */
@media (hover: none) {
    /* Remove hover transforms - touch devices don't have hover */
    .btn:hover {
        transform: none;
    }

    .feature-card:hover,
    .program-card:hover,
    .pricing-card:hover,
    .result-card:hover,
    .testimonial-card:hover,
    .process-step:hover {
        transform: none;
        border-color: var(--card-border);
    }

    /* Increase touch targets for better accessibility */
    .nav-link {
        padding: 14px 16px;
        min-height: 48px;
    }

    .btn {
        min-height: 48px;
        min-width: 48px;
    }

    .faq-question {
        min-height: 56px;
        padding: 16px 24px;
    }

    /* Enable touch scrolling for testimonials */
    .testimonials-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .testimonial-card {
        scroll-snap-align: center;
    }
}

/* Fine pointer devices (mouse, trackpad) */
@media (pointer: fine) {
    /* Enhanced hover states for precise pointers */
    .btn-primary:hover {
        box-shadow: var(--shadow-glow);
    }

    .nav-link:hover::after {
        width: 100%;
    }
}

/* Coarse pointer devices (touch) */
@media (pointer: coarse) {
    /* Larger touch targets */
    .nav-link {
        padding: 12px 16px;
    }

    /* Active state instead of hover */
    .btn:active {
        transform: scale(0.98);
    }

    .feature-card:active,
    .program-card:active,
    .pricing-card:active {
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: var(--shadow-s1);
    }
}

/* =====================================================
   RESPONSIVE DESIGN
   Breakpoints: 992px (tablet), 768px (mobile landscape), 576px (mobile)
   ===================================================== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content {
        max-width: 100%;
    }

    .credentials {
        max-width: 400px;
        margin: 0 auto var(--spacing-lg);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .programs-grid .program-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.in-person {
        grid-column: auto;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step::after {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-methods {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --spacing-xs: 0.375rem;
        --spacing-sm: 0.75rem;
        --spacing-md: 1.25rem;
        --spacing-lg: 1.75rem;
        --spacing-xl: 2.5rem;
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
    }

    /* Improved section spacing */
    section {
        padding: var(--spacing-2xl) 0;
    }

    /* Section headers mobile optimization */
    .section-header {
        margin-bottom: var(--spacing-xl);
        padding: 0 var(--spacing-sm);
    }

    .section-tag {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
        margin-bottom: var(--spacing-xs);
    }
    /* Ensure centered alignment on mobile */
    .hero-content,
    .section-header,
    .cta-section {
        text-align: center;
    }

    .section-title {
        margin-bottom: var(--spacing-sm);
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 var(--spacing-xs);
    }

    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        gap: var(--spacing-md);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        font-size: 1.1rem;
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-md);
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:active {
        background: rgba(59, 130, 246, 0.1);
        transform: translateX(8px);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero Section Mobile */
    .hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-title {
        line-height: 1.15;
        margin-bottom: var(--spacing-md);
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }

    .hero-title .title-line {
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: var(--spacing-lg);
        padding: 0 var(--spacing-xs);
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-md);
        justify-content: center;
        margin-bottom: var(--spacing-lg);
    }

    .hero-stats .stat {
        flex: 1 1 80px;
        min-width: 80px;
        padding: var(--spacing-sm);
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .hero-cta {
        gap: var(--spacing-sm);
    }

    /* Cards Mobile Optimization */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .feature-card {
        padding: var(--spacing-lg);
        text-align: center;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto var(--spacing-md);
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .programs-grid .program-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .program-card {
        margin: 0;
    }

    .program-content {
        padding: var(--spacing-lg);
    }

    /* Pricing Cards Mobile */
    .pricing-grid {
        gap: var(--spacing-lg);
    }

    .pricing-card {
        padding: var(--spacing-lg);
    }

    .pricing-card.in-person {
        grid-column: 1;
    }

    .pricing-price {
        margin: var(--spacing-md) 0;
    }

    .price-amount {
        font-size: 3rem;
    }

    .pricing-features {
        text-align: left;
        padding: 0 var(--spacing-sm);
    }

    .pricing-features li {
        padding: var(--spacing-xs) 0;
        font-size: 0.9rem;
    }

    /* Results Grid Mobile */
    .results-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .result-card {
        padding: var(--spacing-md);
    }

    /* Process Steps Mobile */
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .process-step {
        padding: var(--spacing-lg);
        text-align: center;
        opacity: 1;
        transform: none;
    }

    /* Hide connecting arrows on mobile */
    .process-step::after,
    .process-step::before {
        display: none;
    }

    .step-number {
        margin: 0 auto var(--spacing-md);
        width: 70px;
        height: 70px;
        font-size: 24px;
    }

    /* FAQ Mobile */
    .faq-item {
        margin-bottom: var(--spacing-sm);
    }

    .faq-question {
        padding: var(--spacing-md);
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 var(--spacing-md) var(--spacing-md);
        font-size: 0.9rem;
    }

    /* Contact Mobile */
    .contact-form {
        padding: var(--spacing-lg);
    }

    .form-group {
        margin-bottom: var(--spacing-md);
    }

    .form-group label {
        margin-bottom: var(--spacing-xs);
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: var(--spacing-sm);
        font-size: 1rem;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .footer-social,
    .newsletter-form {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    /* Testimonials Mobile */
    .testimonial-card {
        padding: var(--spacing-lg);
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* About Section Mobile - First section after header */
    .about {
        padding-top: 140px; /* Smaller header on mobile */
    }

    .about-content {
        padding: var(--spacing-md);
    }

    .about-lead {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-md);
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: var(--spacing-lg);
    }

    .credentials {
        gap: var(--spacing-sm);
    }

    .credential {
        padding: var(--spacing-sm);
        font-size: 0.85rem;
    }
}

/* Mobile portrait - 576px and below */
@media (max-width: 576px) {
    /* Typography scale for mobile */
    h1 {
        font-size: 28px;
        line-height: 36px;
    }

    h2 {
        font-size: 24px;
        line-height: 32px;
    }

    h3 {
        font-size: 18px;
        line-height: 24px;
    }

    .section-title {
        font-size: 24px;
        line-height: 32px;
    }

    /* Buttons - full width on mobile */
    .btn {
        width: 100%;
        padding: 0 16px;
    }

    /* Hero adjustments */
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 22px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    /* Cards - reduced padding */
    .feature-card,
    .program-card,
    .pricing-card,
    .result-card,
    .testimonial-card,
    .process-step {
        padding: 20px;
    }

    /* Credentials */
    .credentials {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        right: 0;
        bottom: -10px;
        width: 100px;
        height: 100px;
    }

    .badge-number {
        font-size: 28px;
    }

    /* FAQ */
    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 15px;
    }

    /* Pricing */
    .pricing-amount {
        font-size: 32px;
    }

    /* Process step numbers */
    .step-number {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }

    /* Container padding */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =====================================================
   ENHANCED HERO SECTION - Premium Layered Design
   Canvas particles + glass header + proper image handling
   ===================================================== */

/* ---------- Glass Header ---------- */
.navbar.scrolled {
    background: rgba(12, 17, 23, 0.75);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* ---------- Hero Stack Layout ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-900);
}

/* Canvas particles - behind everything */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Gradient overlay - layered visual depth */
.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        /* Dark fade at bottom for text contrast */
        linear-gradient(to top, rgba(12, 17, 23, 0.95) 0%, rgba(12, 17, 23, 0.4) 40%, transparent 70%),
        /* Subtle blue radial accents */
        radial-gradient(ellipse 80% 50% at 75% 40%, rgba(45, 91, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 25% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 45%);
}

/* Hero media container - proper image handling */
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Focus on upper body/face */
    opacity: 0.7;
    /* Soft fade at bottom for seamless blending */
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* Hero content - on top of everything */
.hero-content {
    position: relative;
    z-index: 10;
}

/* Remove old pseudo-element overlays (now handled by .hero-gradient) */
.hero::before,
.hero::after {
    display: none;
}

/* ---------- Enhanced CTA Buttons ---------- */
.hero-cta .btn-primary {
    background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
    box-shadow: var(--shadow-glow);
    transition: transform var(--duration-normal) var(--ease-standard),
                box-shadow var(--duration-normal) var(--ease-standard);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5), 0 8px 32px rgba(59, 130, 246, 0.35);
}

.hero-cta .btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    transition: all var(--duration-normal) var(--ease-standard);
}

.hero-cta .btn-outline:hover {
    border-color: var(--brand-500);
    background: rgba(59, 130, 246, 0.1);
}

/* ---------- Section Separators ---------- */
.section-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.3) 20%,
        rgba(59, 130, 246, 0.5) 50%,
        rgba(59, 130, 246, 0.3) 80%,
        transparent 100%);
    margin: 0;
}

/* ---------- Reduced Motion Support ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero-canvas {
        display: none;
    }

    .hero-img {
        opacity: 0.8;
    }

    .btn-primary,
    .btn-outline {
        transition: none;
    }
}

/* ---------- Mobile Optimizations ---------- */
@media (max-width: 768px) {
    .hero-img {
        object-position: center center;
        opacity: 0.55;
    }

    .hero-gradient {
        background:
            linear-gradient(to top, rgba(12, 17, 23, 0.98) 0%, rgba(12, 17, 23, 0.6) 50%, transparent 80%),
            radial-gradient(ellipse at center 60%, rgba(45, 91, 255, 0.1) 0%, transparent 60%);
    }
}

/* ============================================
   MOBILE HORIZONTAL OVERFLOW FIX
   ============================================ */
   
/* Prevent horizontal overflow on mobile */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Ensure all containers respect viewport width */
@media (max-width: 991px) {
    * {
        max-width: 100vw;
    }
    
    .container,
    .booking-container,
    .section {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Prevent calendar from causing horizontal scroll */
    .booking-calendar {
        overflow-x: hidden !important;
        max-width: 100%;
    }
    
    #calendar-grid {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    /* Tighten touch swipe threshold on mobile */
    body {
        touch-action: pan-y pinch-zoom;
        -ms-touch-action: pan-y pinch-zoom;
    }
}
