        /* CSS Variables for Easy Theme Management */
        :root {
            /* Primary Colors - Modern Sophisticated Blue */
            --primary-50: #f0f7ff;
            --primary-100: #e0efff;
            --primary-200: #c7e0ff;
            --primary-300: #a5ccff;
            --primary-400: #7bb0ff;
            --primary-500: #5b99ff;
            --primary-600: #4080ff;
            --primary-700: #2563eb;
            --primary-800: #1d4fc5;
            --primary-900: #1a3d8f;
            
            /* Secondary Colors - Sophisticated Teal */
            --secondary-50: #f0fdfa;
            --secondary-100: #ccfbf1;
            --secondary-200: #99f6e4;
            --secondary-300: #5eead4;
            --secondary-400: #2dd4bf;
            --secondary-500: #14b8a6;
            --secondary-600: #0d9488;
            --secondary-700: #0f766e;
            --secondary-800: #115e59;
            --secondary-900: #134e4a;
            
            /* Accent Colors - Premium Indigo */
            --accent-50: #f5f3ff;
            --accent-100: #ede9fe;
            --accent-200: #ddd6fe;
            --accent-300: #c4b5fd;
            --accent-400: #a78bfa;
            --accent-500: #8b5cf6;
            --accent-600: #7c3aed;
            --accent-700: #6d28d9;
            --accent-800: #5b21b6;
            --accent-900: #4c1d95;
            
            /* Neutral Colors - Modern Slate */
            --gray-50: #f8fafc;
            --gray-100: #f1f5f9;
            --gray-200: #e2e8f0;
            --gray-300: #cbd5e1;
            --gray-400: #94a3b8;
            --gray-500: #64748b;
            --gray-600: #475569;
            --gray-700: #334155;
            --gray-800: #1e293b;
            --gray-900: #0f172a;
            
            /* Success, Warning, Error */
            --success-500: #10b981;
            --success-600: #059669;
            --warning-500: #f59e0b;
            --warning-600: #d97706;
            --error-500: #ef4444;
            --error-600: #dc2626;
            
            /* Background Colors */
            --bg-primary: #ffffff;
            --bg-secondary: #fafbfc;
            --bg-tertiary: #f6f8fa;
            --bg-hero: linear-gradient(135deg, var(--primary-50) 0%, var(--gray-50) 50%, var(--secondary-50) 100%);
            --bg-dark: var(--gray-900);
            
            /* Text Colors */
            --text-primary: var(--gray-900);
            --text-secondary: var(--gray-700);
            --text-tertiary: var(--gray-600);
            --text-muted: var(--gray-500);
            --text-inverse: #ffffff;
            
            /* Typography */
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-display: 'Sora', 'Inter', sans-serif;
            --font-alt: 'Space Grotesk', 'Inter', sans-serif;
            --font-mono: 'Space Mono', monospace;
            
            /* Border Colors */
            --border-light: var(--gray-200);
            --border-default: var(--gray-300);
            --border-dark: var(--gray-400);
            
            /* Shadow Colors - Refined */
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
            --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
            --shadow-xl: 0 20px 40px -8px rgba(0, 0, 0, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.06);
            --primary-rgb: 91, 153, 255;
            --shadow-primary: 0 20px 40px -8px rgba(var(--primary-rgb), 0.24);
            --shadow-glow: 0 0 40px rgba(var(--primary-rgb), 0.15);
            
            /* Gradient Combinations - Modern */
            --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
            --gradient-secondary: linear-gradient(135deg, var(--secondary-400) 0%, var(--secondary-600) 100%);
            --gradient-accent: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-600) 100%);
            --gradient-hero-subtle: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
            --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
            --gradient-mesh: radial-gradient(at 40% 20%, var(--primary-100) 0px, transparent 50%),
                           radial-gradient(at 80% 0%, var(--secondary-100) 0px, transparent 50%),
                           radial-gradient(at 0% 50%, var(--accent-100) 0px, transparent 50%);
            
            /* Modern Gradients */
            --gradient-brand: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
            --gradient-vibrant: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
            --gradient-subtle: linear-gradient(180deg, rgba(240, 247, 255, 0.5) 0%, rgba(248, 250, 252, 0) 100%);
            --gradient-hero: linear-gradient(135deg, #479ff7 0%, #1e88e5 50%, #1565c0 100%);
            
            /* Dynamic viewport helper */
            --viewport-height: 100vh;
        }
        
        * {
            font-family: var(--font-sans);
            -webkit-tap-highlight-color: transparent;
            box-sizing: border-box;
        }
        
        /* Modern Typography System */
        h1, h2, h3 {
            font-family: var(--font-display), var(--font-sans), sans-serif;
            letter-spacing: -0.02em;
            font-weight: 700;
        }
        
        h4, h5, h6 {
            font-family: var(--font-alt), var(--font-sans), sans-serif;
            letter-spacing: -0.01em;
            font-weight: 600;
        }
        
        .display-font {
            font-family: var(--font-display), sans-serif;
        }
        
        .mono-font {
            font-family: var(--font-mono), monospace;
        }
        
        html {
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            overflow-x: hidden;
            width: 100%;
            max-width: 100%;
            scroll-padding-top: 80px; /* Account for fixed navigation */
        }
        
        body {
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
            width: 100%;
            max-width: 100%;
            position: relative;
        }
        
        /* Prevent horizontal scroll on all sections */
        section {
            overflow-x: hidden;
            max-width: 100vw;
        }
        
        /* Ensure no element can cause horizontal scroll */
        * {
            max-width: 100vw;
        }
        
        
        
        /* Prevent text size adjustment on mobile */
        body {
            -webkit-text-size-adjust: 100%;
            -moz-text-size-adjust: 100%;
            -ms-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }
        
        .gradient-text {
            background: var(--gradient-brand);
            -webkit-background-clip: text;
            -moz-background-clip: text;
            -webkit-text-fill-color: transparent;
            -moz-text-fill-color: transparent;
            background-clip: text;
            font-weight: 800;
            /* text-fill-color is only supported with vendor prefix */
        }

        .gradient-text-hero {
            background: var(--gradient-hero);
            -webkit-background-clip: text;
            -moz-background-clip: text;
            -webkit-text-fill-color: transparent;
            -moz-text-fill-color: transparent;
            background-clip: text;
            font-weight: 800;
        }

        /* Modern Glass Effect */
        .glass {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
        }
        
        .glass-dark {
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }
        
        .hero-gradient {
            background: var(--bg-hero);
            overflow-x: hidden;
            position: relative;
        }
        
        .hero-gradient::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-mesh);
            opacity: 0.4;
            z-index: 0;
        }
        
        .hero-gradient > * {
            position: relative;
            z-index: 1;
        }
        
        .card-hover {
            -webkit-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            -moz-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            -o-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            will-change: transform, box-shadow;
            position: relative;
            overflow: hidden;
        }
        
        .card-hover::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.6s ease;
        }
        
        .card-hover:hover {
            -webkit-transform: translateY(-6px) scale(1.01);
            -moz-transform: translateY(-6px) scale(1.01);
            -ms-transform: translateY(-6px) scale(1.01);
            -o-transform: translateY(-6px) scale(1.01);
            transform: translateY(-6px) scale(1.01);
            box-shadow: var(--shadow-xl), var(--shadow-glow);
        }
        
        .card-hover:hover::before {
            left: 100%;
        }
        
        .feature-icon {
            background: var(--gradient-vibrant);
            color: var(--text-inverse);
            width: 56px;
            height: 56px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            box-shadow: var(--shadow-primary);
            transition: all 0.3s ease;
        }
        
        .feature-icon::after {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: 16px;
            padding: 1px;
            background: linear-gradient(135deg, var(--primary-400), var(--accent-400));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .feature-icon:hover {
            transform: rotate(-5deg) scale(1.05);
        }
        
        .feature-icon:hover::after {
            opacity: 1;
        }
        
        .workflow-step {
            position: relative;
            padding: 0;
        }
        
        
        .workflow-number {
            width: 88px;
            height: 88px;
            background: var(--gradient-vibrant);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 2rem;
            position: relative;
            box-shadow: 0 12px 40px rgba(91, 153, 255, 0.25),
                        inset 0 1px 3px rgba(255, 255, 255, 0.4);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .workflow-number::before {
            content: '';
            position: absolute;
            inset: -3px;
            background: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-300) 100%);
            border-radius: 50%;
            z-index: -1;
            opacity: 0.5;
            filter: blur(10px);
            animation: pulse 2s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.1); opacity: 0.8; }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-fadeInUp {
            animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        @keyframes slideInScale {
            from {
                opacity: 0;
                transform: translateY(30px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .animate-slideInScale {
            animation: slideInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        @keyframes progressBar {
            to {
                width: 100%;
            }
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0) translateX(0) rotate(0deg);
            }
            25% {
                transform: translateY(-20px) translateX(10px) rotate(2deg);
            }
            50% {
                transform: translateY(10px) translateX(-10px) rotate(-1deg);
            }
            75% {
                transform: translateY(-10px) translateX(20px) rotate(1deg);
            }
        }
        
        .animate-float {
            animation: float 8s ease-in-out infinite;
        }
        
        @keyframes glow {
            0%, 100% {
                box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.1);
            }
            50% {
                box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.3);
            }
        }
        
        .animate-glow {
            animation: glow 3s ease-in-out infinite;
        }
        
        
        .workflow-icon {
            font-size: 2rem;
            color: white;
            font-weight: 300;
        }
        
        .workflow-title {
            font-size: 1.5rem;
            font-weight: 700;
            font-family: var(--font-display), sans-serif;
            background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-600) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 1rem;
            text-align: center;
            letter-spacing: -0.02em;
        }
        
        .workflow-description {
            color: var(--text-tertiary);
            line-height: 1.6;
            text-align: center;
            font-size: 0.95rem;
        }
        
        /* Mobile responsiveness */
        @media (max-width: 1024px) {
            
            .workflow-number {
                width: 60px;
                height: 60px;
                margin-bottom: 1rem;
            }
            
            .workflow-icon {
                font-size: 1.5rem;
            }
            
            .workflow-title {
                font-size: 1.25rem;
            }
        }
        
        @media (max-width: 640px) {
            
            .workflow-number {
                width: 50px;
                height: 50px;
                box-shadow: 0 5px 20px rgba(91, 153, 255, 0.2);
            }
            
            .workflow-icon {
                font-size: 1.25rem;
            }
            
            .workflow-title {
                font-size: 1.1rem;
                margin-bottom: 0.75rem;
            }
            
            .workflow-description {
                font-size: 0.875rem;
                line-height: 1.5;
            }
            
            /* Hide floating dots on mobile for better performance */
            .animate-float {
                display: none;
            }
            
        }
        
        
        .stat-card {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.6);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .stat-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, var(--primary-100) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
            border-color: var(--primary-200);
        }
        
        .stat-card:hover::before {
            opacity: 0.6;
        }
        
        @media (min-width: 640px) {
            .stat-card {
                border-radius: 20px;
                padding: 36px;
            }
        }
        
        .testimonial-card {
            background: var(--gradient-glass);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: 24px;
            padding: 40px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.4);
            position: relative;
            transition: all 0.4s ease;
        }
        
        .testimonial-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
        }
        
        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 20px;
            left: 32px;
            font-size: 72px;
            background: var(--gradient-vibrant);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 900;
            opacity: 0.2;
        }
        
        @-webkit-keyframes float {
            0%, 100% { -webkit-transform: translateY(0px); transform: translateY(0px); }
            50% { -webkit-transform: translateY(-20px); transform: translateY(-20px); }
        }
        
        @-moz-keyframes float {
            0%, 100% { -moz-transform: translateY(0px); transform: translateY(0px); }
            50% { -moz-transform: translateY(-20px); transform: translateY(-20px); }
        }
        
        @keyframes float {
            0%, 100% { 
                -webkit-transform: translateY(0px);
                -moz-transform: translateY(0px);
                -ms-transform: translateY(0px);
                -o-transform: translateY(0px);
                transform: translateY(0px); 
            }
            50% { 
                -webkit-transform: translateY(-20px);
                -moz-transform: translateY(-20px);
                -ms-transform: translateY(-20px);
                -o-transform: translateY(-20px);
                transform: translateY(-20px); 
            }
        }
        
        .float-animation {
            -webkit-animation: float 6s ease-in-out infinite;
            -moz-animation: float 6s ease-in-out infinite;
            -o-animation: float 6s ease-in-out infinite;
            animation: float 6s ease-in-out infinite;
        }
        
        .nav-item {
            position: relative;
            padding: 8px 16px;
            font-weight: 500;
            color: var(--gray-600);
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            -o-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }
        
        .nav-item::before {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            width: 0;
            height: 3px;
            background: var(--gradient-vibrant);
            border-radius: 2px;
            -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            -webkit-transform: translateX(-50%);
            -moz-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
            -o-transform: translateX(-50%);
            transform: translateX(-50%);
        }
        
        .nav-item:hover {
            color: var(--primary-600);
        }
        
        .nav-item:hover::before {
            width: 100%;
        }
        
        .badge {
            background: var(--gradient-accent);
            color: var(--text-inverse);
            padding: 6px 16px;
            border-radius: 24px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
            display: inline-flex;
            align-items: center;
            gap: 4px;
            position: relative;
            overflow: hidden;
        }
        
        .badge::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.6s ease;
        }
        
        .badge:hover::before {
            left: 100%;
        }
        
        .badge-success {
            background: linear-gradient(135deg, var(--success-500) 0%, var(--success-600) 100%);
        }
        
        @media (min-width: 640px) {
            .badge {
                font-size: 12px;
                padding: 8px 20px;
            }
        }
        
        /* Button Group Toggle - Modern unified design */
        .button-group-toggle {
            display: inline-flex;
            background: var(--bg-secondary);
            padding: 6px;
            border-radius: 50px;
            border: 2px solid var(--primary-200);
            box-shadow: 0 4px 12px rgba(91, 153, 255, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        /* Sliding background indicator */
        .button-group-toggle::before {
            content: '';
            position: absolute;
            top: 6px;
            left: 6px;
            height: calc(100% - 12px);
            width: calc(50% - 9px);
            background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
            border-radius: 50px;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 0;
            box-shadow: 0 2px 8px rgba(30, 136, 229, 0.3);
        }
        
        .button-group-toggle.posters-active::before {
            transform: translateX(calc(100% + 6px));
        }
        
        /* Tab Pills - Redesigned for button group */
        .tab-pill {
            background: transparent;
            color: var(--gray-600);
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.3px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            position: relative;
            z-index: 1;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            cursor: pointer;
            min-width: 110px;
            justify-content: center;
        }
        
        .tab-pill:hover:not(.active) {
            color: var(--gray-700);
        }
        
        .tab-pill.active {
            color: white;
            font-weight: 600;
        }
        
        /* Remove individual pill backgrounds and shadows */
        .tab-pill:hover {
            transform: none;
            box-shadow: none;
        }
        
        .tab-pill::before {
            display: none;
        }
        
        .tab-pill .material-symbols-outlined {
            font-size: 18px;
            transition: transform 0.3s ease;
        }
        
        .tab-pill.active .material-symbols-outlined {
            transform: scale(1.1);
        }
        
        @media (min-width: 640px) {
            .button-group-toggle {
                padding: 8px;
                border-radius: 50px;
            }
            
            .button-group-toggle::before {
                top: 8px;
                left: 8px;
                height: calc(100% - 16px);
                width: calc(50% - 12px);
            }
            
            .button-group-toggle.posters-active::before {
                transform: translateX(calc(100% + 8px));
            }
            
            .tab-pill {
                font-size: 14px;
                padding: 10px 24px;
                min-width: 130px;
            }
            
            .tab-pill .material-symbols-outlined {
                font-size: 20px;
            }
        }
        
        .scene-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 2px dashed rgba(91, 153, 255, 0.3);
            border-radius: 20px;
            text-align: center;
            -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            -moz-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            -o-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 400px;
        }
        
        .scene-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--gradient-subtle);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .scene-card:hover {
            border-color: var(--primary-500);
            border-style: solid;
            background: rgba(255, 255, 255, 0.9);
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 12px 32px rgba(91, 153, 255, 0.12);
        }
        
        .scene-card:hover::before {
            opacity: 1;
        }
        
        .scene-card > * {
            position: relative;
            z-index: 1;
        }
        
        /* Mobile responsive adjustments for scene cards */
        @media (max-width: 768px) {
            .scene-card {
                height: 280px;
            }
            
            .scene-card h4 {
                font-size: 12px;
                line-height: 1.3;
            }
        }
        
        @media (max-width: 480px) {
            .scene-card {
                height: 240px;
            }
            
            .scene-card h4 {
                font-size: 11px;
                line-height: 1.2;
            }
            
            .scene-card .px-2 {
                padding-left: 0.375rem;
                padding-right: 0.375rem;
            }
            
            .scene-card .py-1 {
                padding-top: 0.125rem;
                padding-bottom: 0.125rem;
            }
        }
        
        /* Ensure minimum touch target size on mobile */
        @media (max-width: 768px) {
            button, a {
                min-height: 44px;
                min-width: 44px;
            }
        }
        
        /* Fix for iOS Safari button appearance */
        button, input[type="button"], input[type="submit"] {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }
        
        /* Smooth scrolling for anchor links */
        html:not([data-scroll='0']) {
            scroll-padding-top: 80px;
        }
        
        /* Enhanced card styles for videos and posters */
        .media-card {
            position: relative;
            border: 2px solid var(--border-light);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
        }
        
        .media-card::before {
            content: '';
            position: absolute;
            inset: -2px;
            background: linear-gradient(135deg, var(--primary-400) 0%, var(--secondary-400) 50%, var(--accent-400) 100%);
            border-radius: inherit;
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: -1;
        }
        
        .media-card:hover {
            border-color: var(--primary-400);
            box-shadow: 0 12px 24px rgba(91, 153, 255, 0.15), 0 0 0 2px var(--primary-100);
            transform: translateY(-4px) scale(1.02);
        }
        
        .media-card:hover::before {
            opacity: 0.3;
        }
        
        /* Video card specific styles */
        .video-card {
            overflow: hidden;
            background: var(--bg-tertiary);
        }
        
        .video-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(91, 153, 255, 0.05) 100%);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .video-card:hover::after {
            opacity: 1;
        }
        
        /* Poster card specific styles */
        .poster-card {
            overflow: hidden;
            background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
        }
        
        .poster-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent 0%, rgba(91, 153, 255, 0.03) 100%);
            pointer-events: none;
        }
        
        /* Enhanced play button with ultra-transparent glossy effect */
        .play-button-enhanced {
            background: rgba(255, 255, 255, 0.04);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 
                0 2px 8px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
            position: relative;
            overflow: hidden;
            /* Very minimal shadow for visibility */
            filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.2));
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* Ultra-subtle glossy highlight effect */
        .play-button-enhanced::before {
            content: '';
            position: absolute;
            top: 0;
            left: -50%;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }
        
        .play-button-enhanced:hover {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow: 
                0 4px 12px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 0 0 1px rgba(var(--primary-rgb), 0.15);
            transform: scale(1.02);
            filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
        }
        
        /* Animate glossy highlight on hover */
        .play-button-enhanced:hover::before {
            transform: translateX(100%);
        }
        
        /* Card corner accents */
        .media-card::after {
            content: '';
            position: absolute;
            top: -1px;
            right: -1px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-400) 0%, transparent 50%);
            opacity: 0.3;
            transition: all 0.4s ease;
            pointer-events: none;
        }
        
        .media-card:hover::after {
            width: 80px;
            height: 80px;
            opacity: 0.5;
        }
        
        /* Bottom accent strip for cards */
        .card-accent-strip {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-500) 0%, var(--secondary-500) 50%, var(--accent-500) 100%);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .media-card:hover .card-accent-strip {
            transform: scaleX(1);
        }
        
        /* Improved poster background pattern */
        .poster-card-bg {
            position: absolute;
            inset: 0;
            background: 
                repeating-linear-gradient(
                    45deg,
                    transparent,
                    transparent 10px,
                    rgba(91, 153, 255, 0.02) 10px,
                    rgba(91, 153, 255, 0.02) 20px
                );
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }
        
        .poster-card:hover .poster-card-bg {
            opacity: 1;
        }
        
        /* Simple pop-out carousel styles */
        .pop-out-section {
            position: relative;
            margin: 20px 0;
        }
        
        .pop-out-container {
            position: relative;
            border-radius: 16px;
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.12),
                0 10px 20px rgba(91, 153, 255, 0.08);
            padding: 20px;
            background: transparent;
            overflow: visible;
        }
        
        /* Remove the background accent as it's not needed */
        .pop-out-bg-accent {
            display: none;
        }
        
        /* Navigation backdrop filter fallback */
        @supports not (backdrop-filter: blur(20px)) {
            nav {
                background-color: rgba(255, 255, 255, 0.95) !important;
            }
            
            #mobile-menu > div {
                background-color: rgba(255, 255, 255, 0.98) !important;
            }
        }
        
        /* Modern Button Styles */
        .btn-primary {
            background: var(--gradient-vibrant);
            color: white;
            font-weight: 600;
            padding: 12px 28px;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(91, 153, 255, 0.25);
        }
        
        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.6s ease;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(91, 153, 255, 0.35);
        }
        
        .btn-primary:hover::before {
            left: 100%;
        }
        
        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: var(--primary-600);
            font-weight: 600;
            padding: 12px 28px;
            border-radius: 12px;
            border: 1px solid rgba(91, 153, 255, 0.2);
            transition: all 0.3s ease;
        }
        
        .btn-secondary:hover {
            background: rgba(91, 153, 255, 0.1);
            border-color: var(--primary-500);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(91, 153, 255, 0.15);
        }
        
        /* Better flexbox support for older browsers */
        .flex {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
        }
        
        .flex-col {
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
            flex-direction: column;
        }
        
        /* Mobile menu dropdown styles */
        #mobile-menu {
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            will-change: transform, opacity;
            transform: translateY(-100%);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 55 !important;
        }
        
        #mobile-menu.open {
            transform: translateY(0) !important;
            opacity: 1 !important;
            visibility: visible !important;
        }
        
        /* Mobile menu backdrop with enhanced blur */
        #mobile-menu-backdrop {
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        /* Mobile menu container animations */
        #mobile-menu > div {
            transform: translateY(-20px);
            opacity: 0;
            transition: all 0.3s ease-out;
        }
        
        #mobile-menu.open > div {
            transform: translateY(0);
            opacity: 1;
            transition-delay: 0.1s;
        }
        
        /* Mobile menu items smooth staggered animation */
        #mobile-menu nav a {
            transform: translateY(-15px);
            opacity: 0;
            transition: all 0.3s ease-out;
        }
        
        #mobile-menu.open nav a {
            transform: translateY(0);
            opacity: 1;
        }
        
        /* Enhanced staggered animation with smoother timing */
        #mobile-menu.open nav a:nth-child(1) { transition-delay: 0.2s; }
        #mobile-menu.open nav a:nth-child(2) { transition-delay: 0.25s; }
        #mobile-menu.open nav a:nth-child(3) { transition-delay: 0.3s; }
        #mobile-menu.open nav a:nth-child(4) { transition-delay: 0.35s; }
        #mobile-menu.open nav a:nth-child(5) { transition-delay: 0.4s; }
        #mobile-menu.open nav a:nth-child(6) { transition-delay: 0.45s; }
        #mobile-menu.open nav a:nth-child(7) { transition-delay: 0.5s; }
        
        /* CTA button animation */
        #mobile-menu .btn-primary {
            transform: translateY(15px);
            opacity: 0;
            transition: all 0.3s ease-out;
        }
        
        #mobile-menu.open .btn-primary {
            transform: translateY(0);
            opacity: 1;
            transition-delay: 0.6s;
        }
        
        /* Mobile menu button enhanced animation */
        #mobile-menu-btn {
            z-index: 60;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            overflow: hidden;
        }
        
        /* Ensure clean reset of transforms */
        #mobile-menu-btn:not(:hover):not(:active):not(:focus) {
            transform: none;
        }
        
        #mobile-menu-btn:hover {
            background-color: var(--primary-50);
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
        }
        
        /* Remove hover effects on touch devices to prevent stuck states */
        @media (hover: none) and (pointer: coarse) {
            #mobile-menu-btn:hover {
                background-color: initial;
                transform: none;
                box-shadow: none;
            }
        }
        
        #mobile-menu-btn:active {
            transform: scale(0.95);
        }
        
        /* Focus state for accessibility */
        #mobile-menu-btn:focus {
            outline: 2px solid var(--primary-500);
            outline-offset: 2px;
        }
        
        /* Touch feedback for mobile devices */
        @media (hover: none) and (pointer: coarse) {
            #mobile-menu-btn:active {
                background-color: var(--primary-100);
                transform: scale(0.98);
            }
        }
        
        /* Menu button icon rotation animation */
        #mobile-menu-btn .material-symbols-outlined {
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        /* Prevent body scroll when menu is open */
        body.menu-open {
            overflow: hidden;
        }
        
        /* Enhanced hover effects for menu items */
        #mobile-menu nav a {
            position: relative;
            overflow: hidden;
        }
        
        #mobile-menu nav a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.1), transparent);
            transition: left 0.6s ease-in-out;
        }
        
        #mobile-menu nav a:hover::before {
            left: 100%;
        }
        
        /* Smooth shadow animation for menu container */
        #mobile-menu > div {
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            transition: box-shadow 0.3s ease-in-out;
        }
        
        #mobile-menu.open > div {
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
        }
        
        /* Utility Classes for CSS Variables */
        .bg-gradient-primary {
            background: var(--gradient-primary) !important;
        }
        
        .bg-gradient-secondary {
            background: var(--gradient-secondary) !important;
        }
        
        .bg-gradient-accent {
            background: var(--gradient-accent) !important;
        }
        
        .text-primary {
            color: var(--text-primary) !important;
        }
        
        .text-secondary {
            color: var(--text-secondary) !important;
        }
        
        .text-tertiary {
            color: var(--text-tertiary) !important;
        }
        
        .text-muted {
            color: var(--text-muted) !important;
        }
        
        .text-success-500 { color: var(--success-500) !important; }
        .text-success-600 { color: var(--success-600) !important; }
        .text-warning-500 { color: var(--warning-500) !important; }
        .text-warning-600 { color: var(--warning-600) !important; }
        .text-error-500 { color: var(--error-500) !important; }
        .text-error-600 { color: var(--error-600) !important; }

        .bg-primary {
            background-color: var(--bg-primary) !important;
        }
        
        .bg-secondary {
            background-color: var(--bg-secondary) !important;
        }
        
        .bg-tertiary {
            background-color: var(--bg-tertiary) !important;
        }
        
        .border-light {
            border-color: var(--border-light) !important;
        }
        
        .border-default {
            border-color: var(--border-default) !important;
        }
        
        .border-dark {
            border-color: var(--border-dark) !important;
        }
        
        /* Primary Color Classes */
        .bg-primary-50 { background-color: var(--primary-50) !important; }
        .bg-primary-100 { background-color: var(--primary-100) !important; }
        .bg-primary-200 { background-color: var(--primary-200) !important; }
        .bg-primary-300 { background-color: var(--primary-300) !important; }
        .bg-primary-400 { background-color: var(--primary-400) !important; }
        .bg-primary-500 { background-color: var(--primary-500) !important; }
        .bg-primary-600 { background-color: var(--primary-600) !important; }
        .bg-primary-700 { background-color: var(--primary-700) !important; }
        .bg-primary-800 { background-color: var(--primary-800) !important; }
        .bg-primary-900 { background-color: var(--primary-900) !important; }
        
        .text-primary-50 { color: var(--primary-50) !important; }
        .text-primary-100 { color: var(--primary-100) !important; }
        .text-primary-200 { color: var(--primary-200) !important; }
        .text-primary-300 { color: var(--primary-300) !important; }
        .text-primary-400 { color: var(--primary-400) !important; }
        .text-primary-500 { color: var(--primary-500) !important; }
        .text-primary-600 { color: var(--primary-600) !important; }
        .text-primary-700 { color: var(--primary-700) !important; }
        .text-primary-800 { color: var(--primary-800) !important; }
        .text-primary-900 { color: var(--primary-900) !important; }
        
        .border-primary-100 { border-color: var(--primary-100) !important; }
        .border-primary-200 { border-color: var(--primary-200) !important; }
        .border-primary-300 { border-color: var(--primary-300) !important; }
        .border-primary-400 { border-color: var(--primary-400) !important; }
        .border-primary-500 { border-color: var(--primary-500) !important; }
        .border-primary-600 { border-color: var(--primary-600) !important; }
        .border-primary-700 { border-color: var(--primary-700) !important; }
        
        .from-primary-50 { --tw-gradient-from: var(--primary-50) !important; }
        .from-primary-100 { --tw-gradient-from: var(--primary-100) !important; }
        .from-primary-200 { --tw-gradient-from: var(--primary-200) !important; }
        .from-primary-300 { --tw-gradient-from: var(--primary-300) !important; }
        .from-primary-400 { --tw-gradient-from: var(--primary-400) !important; }
        .from-primary-500 { --tw-gradient-from: var(--primary-500) !important; }
        .from-primary-600 { --tw-gradient-from: var(--primary-600) !important; }
        .from-primary-700 { --tw-gradient-from: var(--primary-700) !important; }
        
        .to-primary-50 { --tw-gradient-to: var(--primary-50) !important; }
        .to-primary-100 { --tw-gradient-to: var(--primary-100) !important; }
        .to-primary-200 { --tw-gradient-to: var(--primary-200) !important; }
        .to-primary-300 { --tw-gradient-to: var(--primary-300) !important; }
        .to-primary-400 { --tw-gradient-to: var(--primary-400) !important; }
        .to-primary-500 { --tw-gradient-to: var(--primary-500) !important; }
        .to-primary-600 { --tw-gradient-to: var(--primary-600) !important; }
        .to-primary-700 { --tw-gradient-to: var(--primary-700) !important; }
        
        .via-primary-200 { --tw-gradient-stops: var(--tw-gradient-from), var(--primary-200), var(--tw-gradient-to) !important; }
        .via-primary-300 { --tw-gradient-stops: var(--tw-gradient-from), var(--primary-300), var(--tw-gradient-to) !important; }
        .via-primary-400 { --tw-gradient-stops: var(--tw-gradient-from), var(--primary-400), var(--tw-gradient-to) !important; }
        .via-primary-500 { --tw-gradient-stops: var(--tw-gradient-from), var(--primary-500), var(--tw-gradient-to) !important; }
        
        /* Secondary Color Classes */
        .bg-secondary-50 { background-color: var(--secondary-50) !important; }
        .bg-secondary-100 { background-color: var(--secondary-100) !important; }
        .bg-secondary-200 { background-color: var(--secondary-200) !important; }
        .bg-secondary-300 { background-color: var(--secondary-300) !important; }
        .bg-secondary-400 { background-color: var(--secondary-400) !important; }
        .bg-secondary-500 { background-color: var(--secondary-500) !important; }
        .bg-secondary-600 { background-color: var(--secondary-600) !important; }
        
        .text-secondary-50 { color: var(--secondary-50) !important; }
        .text-secondary-100 { color: var(--secondary-100) !important; }
        .text-secondary-200 { color: var(--secondary-200) !important; }
        .text-secondary-300 { color: var(--secondary-300) !important; }
        .text-secondary-400 { color: var(--secondary-400) !important; }
        .text-secondary-500 { color: var(--secondary-500) !important; }
        .text-secondary-600 { color: var(--secondary-600) !important; }
        
        .from-secondary-50 { --tw-gradient-from: var(--secondary-50) !important; }
        .to-secondary-50 { --tw-gradient-to: var(--secondary-50) !important; }
        
        /* Accent Color Classes */
        .bg-accent-50 { background-color: var(--accent-50) !important; }
        .bg-accent-100 { background-color: var(--accent-100) !important; }
        .bg-accent-400 { background-color: var(--accent-400) !important; }
        .bg-accent-500 { background-color: var(--accent-500) !important; }
        .bg-accent-600 { background-color: var(--accent-600) !important; }
        
        .text-accent-300 { color: var(--accent-300) !important; }
        .text-accent-400 { color: var(--accent-400) !important; }
        .text-accent-500 { color: var(--accent-500) !important; }
        .text-accent-600 { color: var(--accent-600) !important; }
        .text-accent-700 { color: var(--accent-700) !important; }
        .text-accent-800 { color: var(--accent-800) !important; }
        .text-accent-900 { color: var(--accent-900) !important; }
        
        .bg-accent-200 { background-color: var(--accent-200) !important; }
        .bg-accent-300 { background-color: var(--accent-300) !important; }
        .bg-accent-700 { background-color: var(--accent-700) !important; }
        .bg-accent-800 { background-color: var(--accent-800) !important; }
        .bg-accent-900 { background-color: var(--accent-900) !important; }
        
        .border-accent-200 { border-color: var(--accent-200) !important; }
        
        /* Success Color Classes */
        .from-success-500 { --tw-gradient-from: var(--success-500) !important; }
        .from-success-600 { --tw-gradient-from: var(--success-600) !important; }
        .to-success-500 { --tw-gradient-to: var(--success-500) !important; }
        .to-success-600 { --tw-gradient-to: var(--success-600) !important; }
        
        /* Accent Gradient Classes */
        .from-accent-50 { --tw-gradient-from: var(--accent-50) !important; }
        .from-accent-100 { --tw-gradient-from: var(--accent-100) !important; }
        .to-accent-50 { --tw-gradient-to: var(--accent-50) !important; }
        .to-accent-100 { --tw-gradient-to: var(--accent-100) !important; }
        
        /* Additional gradient classes for consistency */
        .from-primary-50 { --tw-gradient-from: var(--primary-50) !important; }
        .from-primary-100 { --tw-gradient-from: var(--primary-100) !important; }
        .to-primary-100 { --tw-gradient-to: var(--primary-100) !important; }
        .to-primary-200 { --tw-gradient-to: var(--primary-200) !important; }
        .from-secondary-100 { --tw-gradient-from: var(--secondary-100) !important; }
        .to-secondary-100 { --tw-gradient-to: var(--secondary-100) !important; }
        .to-secondary-200 { --tw-gradient-to: var(--secondary-200) !important; }
        .border-secondary-200 { border-color: var(--secondary-200) !important; }
        
        /* Hover states */
        .hover\\:bg-primary-50:hover { background-color: var(--primary-50) !important; }
        .hover\\:bg-primary-100:hover { background-color: var(--primary-100) !important; }
        .hover\\:opacity-90:hover { opacity: 0.9 !important; }
        
        /* Mobile-specific hero adjustments */
        @media (max-width: 640px) {
            .hero-gradient {
                background: var(--bg-hero);
            }
            
            /* Ensure video container doesn't overflow on mobile */
            video {
                max-height: 50vh;
            }
            
            /* Better mobile typography */
            h1 {
                line-height: 1.15;
            }
            
            /* Fix navigation padding on mobile */
            nav {
                padding-top: 0.75rem;
                padding-bottom: 0.75rem;
            }
            
            /* Reduce font sizes on mobile for better readability */
            .text-3xl {
                font-size: 1.75rem;
            }
            
            .text-base {
                font-size: 0.9375rem;
            }
            
            /* Better spacing for mobile content */
            section {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            
            /* Ensure containers use full width */
            .container,
            .max-w-7xl,
            .max-w-6xl,
            .max-w-5xl,
            .max-w-4xl,
            .max-w-3xl,
            .max-w-2xl,
            .max-w-xl {
                width: 100%;
                max-width: 100%;
            }
            
            
            /* Ensure proper box-sizing */
            *, *::before, *::after {
                box-sizing: border-box;
            }
        }
        
        
        
        @keyframes fadeIn {
            to { opacity: 1; }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Hero Timeline Styles - Blue Theme */
        .hero-timeline-container {
            position: relative;
            padding: 3rem 0;
            background: radial-gradient(ellipse at top, rgba(91, 153, 255, 0.03) 0%, transparent 50%);
        }
        
        .hero-timeline-item {
            position: relative;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out forwards;
        }
        
        .hero-timeline-item:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .hero-timeline-item:nth-child(3) {
            animation-delay: 0.4s;
        }
        
        .hero-timeline-item:nth-child(4) {
            animation-delay: 0.6s;
        }
        
        /* Enhanced Timeline Node Styling */
        .hero-node {
            position: relative;
            z-index: 10;
        }
        
        .hero-node > div {
            position: relative;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px rgba(91, 153, 255, 0.15), 
                        0 0 0 6px rgba(91, 153, 255, 0.05),
                        0 0 0 12px rgba(91, 153, 255, 0.02);
        }
        
        .hero-node:hover > div {
            transform: scale(1.15) rotate(5deg);
            box-shadow: 0 8px 30px rgba(91, 153, 255, 0.25),
                        0 0 0 8px rgba(91, 153, 255, 0.1),
                        0 0 0 16px rgba(91, 153, 255, 0.05);
        }
        
        /* Glowing pulse animation */
        .hero-node::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 120%;
            height: 120%;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(91, 153, 255, 0.4) 0%, transparent 70%);
            animation: pulseGlow 3s ease-in-out infinite;
            z-index: -1;
        }
        
        @keyframes pulseGlow {
            0%, 100% {
                transform: translate(-50%, -50%) scale(0.8);
                opacity: 0.6;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.4);
                opacity: 0;
            }
        }
        
        /* Enhanced Content Cards */
        .hero-timeline-item .bg-white {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid rgba(91, 153, 255, 0.1);
        }
        
        .hero-timeline-item .bg-white::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(91, 153, 255, 0.08) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: -1;
        }
        
        .hero-timeline-item .bg-white:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(91, 153, 255, 0.15);
            border-color: rgba(91, 153, 255, 0.2);
        }
        
        .hero-timeline-item .bg-white:hover::before {
            opacity: 1;
        }
        
        /* Enhanced Image Wrappers */
        .hero-image-wrapper {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        
        .hero-image-wrapper::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent 40%, rgba(91, 153, 255, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .hero-timeline-item:hover .hero-image-wrapper {
            transform: scale(1.02) translateY(-3px);
        }
        
        .hero-timeline-item:hover .hero-image-wrapper::after {
            opacity: 1;
        }
        
        /* Connecting dots between steps */
        .hero-timeline-item:not(:last-child)::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: -2rem;
            transform: translateX(-50%);
            width: 8px;
            height: 8px;
            background: rgba(91, 153, 255, 0.3);
            border-radius: 50%;
            display: none;
        }
        
        @media (min-width: 1024px) {
            .hero-timeline-item:not(:last-child)::after {
                display: block;
                animation: dotPulse 2s ease-in-out infinite;
            }
        }
        
        @keyframes dotPulse {
            0%, 100% {
                transform: translateX(-50%) scale(1);
                opacity: 0.3;
            }
            50% {
                transform: translateX(-50%) scale(1.5);
                opacity: 0.6;
            }
        }
        
        /* Mobile-specific Hero Timeline Styles */
        @media (max-width: 1024px) {
            .hero-timeline-container {
                padding: 2rem 0;
                background: linear-gradient(180deg, rgba(91, 153, 255, 0.02) 0%, transparent 100%);
            }
            
            .hero-timeline-item {
                margin-bottom: 3rem !important;
            }
            
            .hero-timeline-item:last-child {
                margin-bottom: 1rem !important;
            }
            
            /* Stack layout on mobile/tablet */
            .hero-timeline-item .flex {
                flex-direction: column !important;
                gap: 1.5rem !important;
            }
            
            .hero-content-left,
            .hero-content-right {
                width: 100% !important;
                order: 2 !important;
                padding: 0 !important;
            }
            
            .hero-content-left .bg-white-90,
            .hero-content-right .bg-white-90 {
                padding: 1.25rem !important;
                margin-bottom: 0;
            }
            
            /* Mobile image wrapper - full width, prominent */
            .hero-image-wrapper {
                border-radius: 1rem !important;
                padding: 0.5rem !important;
                order: 1 !important;
                width: 100% !important;
            }
            
            .hero-image-wrapper img,
            .hero-image-wrapper > div {
                border-radius: 0.75rem !important;
                min-height: 200px;
            }
            
            /* Remove desktop timeline line */
            .hero-timeline-container > div:first-child {
                display: none !important;
            }
            
            /* Mobile step indicators */
            .hero-timeline-item .bg-gradient-primary {
                width: 2rem !important;
                height: 2rem !important;
            }
            
            .hero-timeline-item .bg-gradient-primary span {
                font-size: 0.875rem !important;
            }
            
            /* Better mobile typography */
            .hero-timeline-item h4 {
                font-size: 1rem !important;
                margin-bottom: 0.5rem !important;
            }
            
            .hero-timeline-item p {
                font-size: 0.875rem !important;
                line-height: 1.5 !important;
                margin-bottom: 0.75rem !important;
            }
            
            /* Mobile tags */
            .hero-timeline-item .flex.gap-1_5 {
                gap: 0.375rem !important;
            }
            
            .hero-timeline-item .rounded-full {
                padding: 0.25rem 0.5rem !important;
                font-size: 0.75rem !important;
            }
        }
        
        /* Split Path Timeline Styles */
        .split-path-container {
            position: relative;
            padding: 2rem 0;
        }
        
        .timeline-step {
            position: relative;
        }
        
        .animate-fadeInUp {
            animation: fadeInUp 0.8s ease-out forwards;
        }
        
        .animate-fadeInLeft {
            animation: fadeInLeft 0.8s ease-out forwards;
        }
        
        .animate-fadeInRight {
            animation: fadeInRight 0.8s ease-out forwards;
        }
        
        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        /* Timeline Nodes */
        .timeline-step .bg-gradient-to-br {
            position: relative;
            z-index: 10;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .timeline-step .bg-gradient-to-br:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }
        
        /* Pulsing effect for numbered nodes */
        .timeline-step .rounded-full::before {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
            animation: pulse 2s ease-in-out infinite;
            z-index: -1;
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                opacity: 0.5;
            }
            50% {
                transform: scale(1.2);
                opacity: 0;
            }
        }
        
        /* Path Step Cards */
        .path-step {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .path-step:hover {
            transform: translateY(-2px);
        }
        
        /* Path Step Cards */
        .path-step .bg-white {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .path-step:hover .bg-white {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }
        
        /* Split paths container */
        .split-paths {
            position: relative;
        }
        
        
        /* Path containers */
        .path-container {
            position: relative;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 1rem;
            backdrop-filter: blur(10px);
        }
        
        /* Result boxes glow effect */
        .path-container > div:last-child {
            position: relative;
            overflow: hidden;
        }
        
        .path-container > div:last-child::before {
            content: '';
            position: absolute;
            inset: -2px;
            background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
            animation: shimmer 3s ease-in-out infinite;
        }
        
        @keyframes shimmer {
            0% {
                transform: translateX(-100%);
            }
            100% {
                transform: translateX(100%);
            }
        }
        
        /* Hide scrollbar for Chrome, Safari and Opera */
        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }
        
        /* Hide scrollbar for IE, Edge and Firefox */
        .scrollbar-hide {
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }

        /* Premium Result Section with Glassmorphism */
        .result-premium {
            position: relative;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: 
                0 8px 32px rgba(91, 153, 255, 0.12),
                0 2px 16px rgba(139, 92, 246, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
            overflow: hidden;
        }

        .result-premium::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.1),
                transparent
            );
            transition: left 0.6s ease-in-out;
        }

        .result-premium:hover {
            transform: translateY(-8px) scale(1.02);
            background: rgba(255, 255, 255, 0.25);
            border-color: rgba(91, 153, 255, 0.3);
            box-shadow: 
                0 20px 60px rgba(91, 153, 255, 0.2),
                0 8px 32px rgba(139, 92, 246, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
        }

        .result-premium:hover::before {
            left: 100%;
        }

        .result-premium-primary {
            background: linear-gradient(135deg, 
                rgba(91, 153, 255, 0.15) 0%, 
                rgba(139, 92, 246, 0.15) 100%);
        }

        .result-premium-accent {
            background: linear-gradient(135deg, 
                rgba(139, 92, 246, 0.15) 0%, 
                rgba(168, 139, 250, 0.15) 100%);
        }

        /* Enhanced Check Icon with Animation */
        .result-check-premium {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
            border-radius: 50%;
            box-shadow: 0 4px 16px rgba(91, 153, 255, 0.3);
            transition: all 0.3s ease;
        }

        .result-check-premium:hover {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 6px 24px rgba(91, 153, 255, 0.4);
        }

        .result-check-premium::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border: 2px solid var(--primary-400);
            border-radius: 50%;
            opacity: 0;
            transform: scale(0);
            animation: checkPulse 2s ease-in-out infinite;
        }

        @keyframes checkPulse {
            0% {
                transform: scale(0);
                opacity: 1;
            }
            70% {
                transform: scale(1.4);
                opacity: 0;
            }
            100% {
                transform: scale(1.6);
                opacity: 0;
            }
        }

        .result-check-premium .material-symbols-outlined {
            color: white;
            font-size: 20px;
            font-weight: 600;
        }

        /* Result Title Animation */
        .result-title-premium {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 1.125rem;
            background: linear-gradient(135deg, var(--primary-700) 0%, var(--accent-600) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: textShimmer 3s ease-in-out infinite;
        }

        @keyframes textShimmer {
            0%, 100% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
        }

        /* Floating Particles Effect */
        .result-premium::after {
            content: '';
            position: absolute;
            top: 10%;
            right: 15%;
            width: 4px;
            height: 4px;
            background: var(--primary-400);
            border-radius: 50%;
            opacity: 0.6;
            animation: floatingParticle 4s ease-in-out infinite;
        }

        @keyframes floatingParticle {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
                opacity: 0.6;
            }
            25% {
                transform: translateY(-10px) rotate(90deg);
                opacity: 0.8;
            }
            50% {
                transform: translateY(-5px) rotate(180deg);
                opacity: 0.4;
            }
            75% {
                transform: translateY(-15px) rotate(270deg);
                opacity: 0.9;
            }
        }

        /* One Platform Hero Section */
        .platform-hero {
            position: relative;
            background: linear-gradient(135deg, 
                var(--primary-50) 0%, 
                var(--secondary-50) 30%,
                var(--accent-50) 70%,
                var(--primary-50) 100%);
            border-radius: 32px;
            padding: 3rem 2rem;
            overflow: hidden;
            box-shadow: 
                0 20px 60px rgba(91, 153, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
            transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
        }

        .platform-hero::before {
            content: '';
            position: absolute;
            top: -25%;
            left: -25%;
            width: 150%;
            height: 150%;
            background: radial-gradient(
                circle,
                rgba(91, 153, 255, 0.06) 0%,
                transparent 60%
            );
            animation: backgroundPulseOptimized 12s ease-in-out infinite;
            z-index: -1;
            will-change: opacity;
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        @keyframes backgroundPulseOptimized {
            0%, 100% {
                opacity: 0.3;
            }
            50% {
                opacity: 0.6;
            }
        }

        .platform-hero:hover {
            transform: scale(1.02);
            box-shadow: 
                0 30px 80px rgba(91, 153, 255, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }

        /* Kinetic Typography for Platform Title - Performance Optimized */
        .platform-title-kinetic {
            font-family: var(--font-display);
            font-weight: 800;
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            line-height: 1.2;
            background: linear-gradient(
                135deg,
                var(--primary-600) 0%,
                var(--accent-500) 50%,
                var(--primary-700) 100%
            );
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientShiftOptimized 8s ease-in-out infinite;
            text-align: center;
            will-change: background-position;
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        @keyframes gradientShiftOptimized {
            0%, 100% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
        }

        /* Enhanced Icon with Glow - Performance Optimized */
        .platform-icon-enhanced {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-500) 100%);
            border-radius: 50%;
            box-shadow: 
                0 8px 32px rgba(91, 153, 255, 0.25),
                0 0 0 4px rgba(255, 255, 255, 0.8),
                0 0 0 8px rgba(91, 153, 255, 0.08);
            animation: iconGlowOptimized 6s ease-in-out infinite;
            will-change: box-shadow;
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        @keyframes iconGlowOptimized {
            0%, 100% {
                box-shadow: 
                    0 8px 32px rgba(91, 153, 255, 0.25),
                    0 0 0 4px rgba(255, 255, 255, 0.8),
                    0 0 0 8px rgba(91, 153, 255, 0.08);
            }
            50% {
                box-shadow: 
                    0 12px 40px rgba(91, 153, 255, 0.35),
                    0 0 0 4px rgba(255, 255, 255, 0.9),
                    0 0 0 10px rgba(91, 153, 255, 0.12);
            }
        }

        .platform-icon-enhanced .material-symbols-outlined {
            color: white;
            font-size: 28px;
            font-weight: 600;
        }

        /* Floating Elements for Visual Interest - Performance Optimized */
        .platform-floating-element {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            will-change: transform;
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        .platform-floating-element:nth-child(1) {
            top: 20%;
            left: 10%;
            width: 16px;
            height: 16px;
            animation: floatOptimized 8s ease-in-out infinite;
        }

        .platform-floating-element:nth-child(2) {
            top: 60%;
            right: 15%;
            width: 12px;
            height: 12px;
            animation: floatOptimized 10s ease-in-out infinite reverse;
        }

        .platform-floating-element:nth-child(3) {
            bottom: 25%;
            left: 20%;
            width: 14px;
            height: 14px;
            animation: floatOptimized 12s ease-in-out infinite;
            animation-delay: -4s;
        }

        @keyframes floatOptimized {
            0%, 100% {
                transform: translateY(0) translateZ(0);
            }
            50% {
                transform: translateY(-15px) translateZ(0);
            }
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .platform-hero {
                padding: 2rem 1.5rem;
                border-radius: 24px;
            }
            
            .result-premium {
                padding: 1rem;
                border-radius: 16px;
                margin-top: 1rem;
            }
            
            .result-check-premium {
                width: 32px;
                height: 32px;
            }
            
            .result-check-premium .material-symbols-outlined {
                font-size: 16px;
            }

            .platform-title-kinetic {
                font-size: clamp(1.25rem, 5vw, 1.75rem);
                line-height: 1.3;
            }

            .platform-icon-enhanced {
                width: 48px;
                height: 48px;
                box-shadow: 
                    0 6px 24px rgba(91, 153, 255, 0.3),
                    0 0 0 3px rgba(255, 255, 255, 0.8),
                    0 0 0 6px rgba(91, 153, 255, 0.1);
            }

            .platform-icon-enhanced .material-symbols-outlined {
                font-size: 24px;
            }

            /* Reduce floating elements on mobile for performance */
            .platform-floating-element:nth-child(3) {
                display: none;
            }
        }

        /* Small mobile adjustments */
        @media (max-width: 480px) {
            .platform-hero {
                padding: 1.5rem 1rem;
                border-radius: 20px;
                margin-bottom: 1rem;
            }
            
            .result-premium {
                padding: 0.875rem;
                border-radius: 14px;
            }

            .result-title-premium {
                font-size: 1rem;
            }

            .platform-title-kinetic {
                font-size: 1.125rem;
                margin-bottom: 0.75rem;
            }

            .platform-hero p {
                font-size: 0.875rem;
            }
        }

        /* Accessibility Enhancements */
        /* Respect user's reduced motion preference */
        @media (prefers-reduced-motion: reduce) {
            .result-premium,
            .result-premium::before,
            .result-premium::after,
            .result-check-premium,
            .result-check-premium::after,
            .platform-hero,
            .platform-hero::before,
            .platform-icon-enhanced,
            .platform-floating-element,
            .platform-title-kinetic {
                animation: none !important;
                transition: none !important;
            }

            .result-premium:hover,
            .platform-hero:hover {
                transform: none !important;
            }
        }

        /* Enhanced focus states for accessibility */
        .result-premium:focus-within,
        .platform-hero:focus-within {
            outline: 3px solid var(--primary-500);
            outline-offset: 2px;
            border-radius: 20px;
        }

        .result-premium:focus-within {
            box-shadow: 
                0 0 0 3px var(--primary-200),
                0 8px 32px rgba(91, 153, 255, 0.15);
        }

        .platform-hero:focus-within {
            box-shadow: 
                0 0 0 3px var(--primary-200),
                0 20px 60px rgba(91, 153, 255, 0.12);
        }

        /* High contrast mode support */
        @media (prefers-contrast: high) {
            .result-premium {
                border: 2px solid var(--primary-600);
                background: var(--bg-primary);
            }

            .result-premium-accent {
                border-color: var(--accent-600);
            }

            .result-title-premium {
                color: var(--primary-900) !important;
                -webkit-text-fill-color: var(--primary-900) !important;
            }

            .platform-hero {
                border: 2px solid var(--primary-600);
                background: var(--bg-primary);
            }

            .platform-title-kinetic {
                color: var(--primary-900) !important;
                -webkit-text-fill-color: var(--primary-900) !important;
            }
        }

        /* Ensure proper color contrast ratios */
        .result-premium p,
        .platform-hero p {
            color: var(--text-secondary);
            font-weight: 500;
        }

        /* Premium Infinity Symbol Gradient */
        .infinity-gradient {
            background: linear-gradient(
                135deg,
                #8B5CF6 0%,    /* Rich Purple */
                #3B82F6 20%,   /* Premium Blue */
                #06B6D4 35%,   /* Cyan Accent */
                #8B5CF6 50%,   /* Purple Return */
                #1E40AF 65%,   /* Deep Blue */
                #7C3AED 80%,   /* Violet */
                #3B82F6 100%   /* Blue Finish */
            );
            background-size: 300% 300%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: infinityShimmerPremium 6s ease-in-out infinite;
            will-change: background-position;
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        @keyframes infinityShimmerPremium {
            0%, 100% {
                background-position: 0% 50%;
            }
            33% {
                background-position: 100% 30%;
            }
            66% {
                background-position: 30% 100%;
            }
        }

        /* Clean Typewriter Effect - No Cursor */
        .typewriter-container {
            display: inline-block;
            position: relative;
        }

        .typewriter-text {
            white-space: nowrap;
            display: inline-block;
            height: 1.2em; /* Fixed height to prevent layout shift */
            line-height: 1.2em; /* Match height for proper text alignment */
            /* Ensure text is visible - override gradient text issues */
            color: transparent !important;
            background: var(--gradient-hero) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }

        /* Print styles for enterprise documentation */
        @media print {
            .result-premium,
            .platform-hero {
                background: white !important;
                border: 1px solid #000 !important;
                box-shadow: none !important;
                page-break-inside: avoid;
            }

            .result-premium::before,
            .result-premium::after,
            .platform-hero::before,
            .platform-floating-element {
                display: none !important;
            }

            .result-title-premium,
            .platform-title-kinetic {
                color: black !important;
                -webkit-text-fill-color: black !important;
            }
        }
        
        /* Mobile adjustments */
        @media (max-width: 768px) {
            .split-path-container {
                padding: 1rem 0;
            }
            
            .timeline-step {
                margin-bottom: 1.5rem !important;
            }
            
            .split-paths {
                gap: 2rem !important;
            }
            
            .path-container {
                padding: 1rem;
                margin-bottom: 1.5rem;
            }
            
            .path-step {
                margin-bottom: 1rem;
            }
            
            .path-step .bg-white {
                padding: 1rem;
            }
            
            /* Stack path labels vertically on mobile */
            .path-header {
                margin-bottom: 1rem !important;
            }
            
            /* Make the Choose Your Path button full width on mobile */
            .timeline-step > div:last-child > div {
                width: 100%;
                max-width: 300px;
                margin: 0 auto;
            }
        }
        
        /* Smooth transitions for all interactive elements */
        .timeline-step .bg-white,
        .path-step,
        .split-path-container button,
        .split-path-container a {
            transition: all 0.3s ease;
        }
        
        /* Enhanced hover states */
            .timeline-step .bg-white:hover {
                border-color: rgba(91, 153, 255, 0.3);
            }
        
        /* Connector lines animation */
        .split-path-container > div > div:last-child > div {
            position: relative;
            overflow: hidden;
        }
        
        .split-path-container > div > div:last-child > div::after {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            width: 2px;
            height: 100%;
            background: linear-gradient(to bottom, transparent, currentColor, transparent);
            animation: flowDown 2s linear infinite;
            opacity: 0.3;
        }
        
        @keyframes flowDown {
            0% {
                transform: translateY(-100%);
            }
            100% {
                transform: translateY(100%);
            }
        }

        /* Carousel switching styles - Industry standard toggle */
        .carousel-content {
            transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
            display: block;
        }
        
        .carousel-content.hidden {
            display: none !important;
        }
        
        .carousel-content:not(.hidden) {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Smooth fade-in animation for active carousel */
        .carousel-content.fade-in {
            animation: fadeInCarousel 0.4s ease-out forwards;
        }
        
        @keyframes fadeInCarousel {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Enhanced Modal Styles for Mobile */
        #videoModal, #posterModal {
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            min-height: var(--viewport-height);
            padding-bottom: env(safe-area-inset-bottom, 0px);
        }
        
        #videoModal video {
            border-radius: 0;
            max-height: calc(var(--viewport-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        }
        
        #posterModal img {
            max-height: calc(var(--viewport-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        }
        
        /* Mobile-specific video modal styles */
        @media (max-width: 768px) {
            #videoModal {
                padding: 0;
                z-index: 60 !important;
            }
            
            #videoModal video {
                width: 100vw !important;
                height: var(--viewport-height) !important;
                max-width: 100vw !important;
                max-height: calc(var(--viewport-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
                object-fit: contain;
                border-radius: 0;
            }
            
            #videoModal .absolute.top-4.right-4 {
                top: env(safe-area-inset-top, 1rem);
                right: env(safe-area-inset-right, 1rem);
                z-index: 70;
            }
        }
        
        /* iOS-specific video modal styles */
        @supports (-webkit-touch-callout: none) {
            #videoModal {
                z-index: 60 !important;
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                width: 100vw !important;
                height: var(--viewport-height) !important;
                background: black !important;
            }
            
            #videoModal video {
                position: absolute;
                top: 0;
                left: 0;
                width: 100vw !important;
                height: var(--viewport-height) !important;
                object-fit: contain;
                z-index: 61;
                /* Force inline playback on iOS */
                -webkit-playsinline: true;
                /* Prevent fullscreen button */
                -webkit-video-fullscreen-button: none;
                /* Disable airplay */
                -webkit-airplay: disabled;
            }
            
            #videoModal .absolute {
                position: fixed !important;
                top: env(safe-area-inset-top, 20px) !important;
                right: env(safe-area-inset-right, 20px) !important;
                z-index: 70 !important;
            }
            
            /* Hide navigation when video modal is open on iOS */
            body.video-modal-open nav {
                z-index: 40 !important;
                opacity: 0 !important;
                pointer-events: none !important;
                transition: opacity 0.3s ease !important;
            }
            
            /* Prevent iOS double-tap zoom on video */
            #videoModal video {
                touch-action: manipulation;
                user-select: none;
                -webkit-user-select: none;
                -webkit-touch-callout: none;
            }
        }
        
        /* Mobile-specific poster modal styles */
        @media (max-width: 768px) {
            #posterModal {
                padding: 0;
                z-index: 60 !important;
            }
            
            #posterModal .relative.w-full.h-full {
                padding: 1rem;
            }
            
            #posterModal img {
                width: 100vw !important;
                height: 100vh !important;
                max-width: calc(100vw - 2rem) !important;
                max-height: calc(100vh - 2rem) !important;
                object-fit: contain;
                border-radius: 0;
            }
            
            #posterModal .absolute.top-4.right-4 {
                top: env(safe-area-inset-top, 1rem);
                right: env(safe-area-inset-right, 1rem);
                z-index: 70;
            }
        }
        
        /* iOS-specific poster modal styles */
        @supports (-webkit-touch-callout: none) {
            #posterModal {
                z-index: 60 !important;
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                width: 100vw !important;
                height: 100vh !important;
                background: rgba(0, 0, 0, 0.95) !important;
            }
            
            #posterModal img {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                max-width: calc(100vw - 2rem) !important;
                max-height: calc(100vh - 2rem) !important;
                object-fit: contain;
                z-index: 61;
                touch-action: manipulation;
                user-select: none;
                -webkit-user-select: none;
                -webkit-touch-callout: none;
            }
            
            #posterModal .absolute {
                position: fixed !important;
                top: env(safe-area-inset-top, 20px) !important;
                right: env(safe-area-inset-right, 20px) !important;
                z-index: 70 !important;
            }
            
            /* Hide navigation when poster modal is open on iOS */
            body.poster-modal-open nav {
                z-index: 40 !important;
                opacity: 0 !important;
                pointer-events: none !important;
                transition: opacity 0.3s ease !important;
            }
        }
        
        /* Prevent body scroll when modals are open */
        body.video-modal-open, body.poster-modal-open {
            overflow: hidden;
        }

        html.modal-open {
            overflow: hidden;
            height: 100%;
            -webkit-overflow-scrolling: auto;
        }

        body.modal-scroll-locked {
            position: fixed;
            width: 100%;
            left: 0;
            right: 0;
            height: 100vh;
            max-height: 100vh;
            overscroll-behavior: contain;
            touch-action: none;
        }

        body.modal-scroll-locked > * {
            pointer-events: none;
        }

        body.modal-scroll-locked #videoModal,
        body.modal-scroll-locked #posterModal {
            pointer-events: auto;
        }
        
        /* Enhanced close button visibility */
        #videoModal button, #posterModal button {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
        }
        
        #videoModal button:hover, #posterModal button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
        }
        
        /* Video controls enhancement for mobile */
        @media (max-width: 768px) {
            #videoModal video::-webkit-media-controls-panel {
                background-color: rgba(0, 0, 0, 0.8);
            }
            
            #videoModal video::-webkit-media-controls {
                background-color: rgba(0, 0, 0, 0.1);
            }
        }
        
        /* Video Carousel Mobile Responsive Fixes */
        @media (max-width: 640px) {
            /* Mobile video carousel container adjustments */
            #videos-carousel {
                gap: 1rem !important;
                padding-left: 1rem !important;
                padding-right: 1rem !important;
            }
            
            /* Mobile video card sizing - fit within screen */
            .video-card {
                width: calc(100vw - 3rem) !important;
                max-width: 320px !important;
                height: 180px !important;
            }
            
            /* Adjust carousel navigation buttons for mobile */
            #videos-content .absolute.left-4 {
                left: 0.5rem !important;
                width: 2.5rem !important;
                height: 2.5rem !important;
            }
            
            #videos-content .absolute.right-4 {
                right: 0.5rem !important;
                width: 2.5rem !important;
                height: 2.5rem !important;
            }
            
            #videos-content .absolute .material-symbols-outlined {
                font-size: 1.25rem !important;
            }
        }
        
        /* Mobile Touch Behavior */
        @media (max-width: 768px) {
            #videos-carousel, #posters-carousel {
                touch-action: pan-x pan-y !important;
                -webkit-overflow-scrolling: touch !important;
            }
            
            /* Ensure body allows vertical scrolling */
            body {
                touch-action: pan-y !important;
                -webkit-overflow-scrolling: touch !important;
            }
        }
        
        /* Video Loader Styles */
        .video-loader {
            background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
            border-radius: 1rem;
            transition: opacity 0.3s ease;
            z-index: 1;
        }
        
        .video-loader.hidden {
            opacity: 0;
            pointer-events: none;
        }
        
        /* Simple Spinner */
        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid rgba(91, 153, 255, 0.2);
            border-top: 3px solid var(--primary-500);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Video loaded state */
        .video-with-loader.loaded {
            z-index: 2;
        }
        
        /* Ensure play button stays on top of loaded videos */
        .video-card .absolute.inset-0.flex.items-center.justify-center {
            z-index: 3;
        }
        
        /* iOS Safari specific fixes */
        @supports (-webkit-touch-callout: none) {
            /* This targets iOS Safari specifically */
            .video-card video {
                transform: translateZ(0);
                -webkit-transform: translateZ(0);
                backface-visibility: hidden;
                -webkit-backface-visibility: hidden;
            }
            
            #videos-content {
                transform: translateZ(0);
                -webkit-transform: translateZ(0);
                will-change: transform;
            }
            
            /* Fix iOS Safari video display issues */
            .video-card {
                isolation: isolate;
            }
            
            /* iOS-specific carousel hiding fixes */
            .carousel-content.hidden {
                display: none !important;
                visibility: hidden !important;
                height: 0 !important;
                margin: 0 !important;
                padding: 0 !important;
                overflow: hidden !important;
                position: absolute !important;
                left: -9999px !important;
                opacity: 0 !important;
            }
            
            /* Ensure visible carousels override the hidden state */
            .carousel-content:not(.hidden) {
                display: block !important;
                visibility: visible !important;
                height: auto !important;
                position: relative !important;
                left: auto !important;
                opacity: 1 !important;
            }
        }
        
        /* Poster Carousel Mobile Responsive Fixes */
        @media (max-width: 640px) {
            /* Mobile poster carousel container adjustments */
            #posters-carousel {
                gap: 1rem !important;
                padding-left: 1rem !important;
                padding-right: 1rem !important;
                padding-bottom: 1rem !important; /* Reduce bottom padding to match video carousel visual spacing */
            }
            
            /* Mobile poster card sizing - fit within screen */
            .poster-card {
                width: calc(100vw - 3rem) !important;
                max-width: 200px !important;
                height: 300px !important;
            }
            
            /* Adjust carousel navigation buttons for mobile */
            #posters-content .absolute.left-4 {
                left: 0.5rem !important;
                width: 2.5rem !important;
                height: 2.5rem !important;
            }
            
            #posters-content .absolute.right-4 {
                right: 0.5rem !important;
                width: 2.5rem !important;
                height: 2.5rem !important;
            }
            
            #posters-content .absolute .material-symbols-outlined {
                font-size: 1.25rem !important;
            }
        }
        
        @media (max-width: 480px) {
            /* Extra small mobile devices */
            .video-card {
                width: calc(100vw - 2.5rem) !important;
                max-width: 280px !important;
                height: 160px !important;
            }
            
            #videos-carousel {
                gap: 0.75rem !important;
                padding-left: 0.75rem !important;
                padding-right: 0.75rem !important;
            }
            
            /* Extra small mobile poster adjustments */
            .poster-card {
                width: calc(100vw - 2.5rem) !important;
                max-width: 180px !important;
                height: 270px !important;
            }
            
            #posters-carousel {
                gap: 0.75rem !important;
                padding-left: 0.75rem !important;
                padding-right: 0.75rem !important;
                padding-bottom: 0.75rem !important; /* Reduce bottom padding for extra small mobile */
            }
        }
        
        @media (min-width: 641px) and (max-width: 1024px) {
            /* Tablet sizing */
            .video-card {
                width: 400px !important;
                height: 200px !important;
            }
            
            .poster-card {
                width: 240px !important;
                height: 360px !important;
            }
        }
        
        /* Flexibility section: center single flow and increase card sizes/typography */
        #flexibility .split-paths {
            place-items: center;
        }
        
        /* Smooth transitions for flow containers */
        #flexibility .path-container {
            transition: opacity 0.3s ease-in-out;
        }
        
        #flexibility .path-container.hidden {
            opacity: 0;
            pointer-events: none;
        }
        
        #flexibility .path-container:not(.hidden) {
            opacity: 1;
            pointer-events: auto;
        }
        
        
        /* Enhanced toggle styling for flexibility section */
        #flexibility .button-group-toggle {
            box-shadow: 0 6px 20px rgba(91, 153, 255, 0.15);
            border: 2px solid var(--primary-100);
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
        }
        
        #flexibility .tab-pill {
            font-weight: 600;
            letter-spacing: 0.025em;
            min-width: 120px;
            padding: 12px 20px;
            font-size: 13px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        #flexibility .tab-pill .material-symbols-outlined {
            font-size: 20px;
            font-weight: 500;
        }
        
        #flexibility .tab-pill.active .material-symbols-outlined {
            transform: scale(1.05);
        }
        
        /* Mobile responsive adjustments for flexibility toggle */
        @media (max-width: 640px) {
            #flexibility .tab-pill {
                min-width: 100px;
                padding: 10px 16px;
                font-size: 12px;
            }
            
            #flexibility .tab-pill .material-symbols-outlined {
                font-size: 18px;
            }
        }
        
        /* Workflow Toggle Styles - Stable loading with no transitions during initialization */
        .workflow-toggle-group {
            display: flex;
            background: var(--bg-secondary);
            padding: 6px;
            border-radius: 50px;
            border: 2px solid var(--primary-200);
            box-shadow: 0 4px 12px rgba(91, 153, 255, 0.1);
            position: relative;
            overflow: hidden;
            max-width: 100%;
            width: auto;
            /* Ensure stable initial rendering - no transitions during CSS loading */
            opacity: 1;
            visibility: visible;
            /* Prevent layout shift during loading */
            contain: layout;
            will-change: auto;
        }
        
        /* Mobile vertical layout - stable loading */
        @media (max-width: 640px) {
            .workflow-toggle-group {
                flex-direction: column;
                border-radius: 20px;
                padding: 4px;
                max-width: 280px;
                margin: 0 auto;
                /* Stable height to prevent layout shift */
                min-height: 200px;
                /* No transitions during initial load - will be added via JS when ready */
                transition: none;
            }
            
            /* Only enable transitions after CSS is fully loaded */
            .workflow-toggle-group.css-loaded {
                transition: all 0.2s ease-out;
            }
        }
        
        /* Sliding background indicator for 4 buttons */
        .workflow-toggle-group::before {
            content: '';
            position: absolute;
            top: 6px;
            left: 6px;
            height: calc(100% - 12px);
            width: calc(25% - 9px);
            background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
            border-radius: 50px;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 0;
            box-shadow: 0 2px 8px rgba(30, 136, 229, 0.3);
        }
        
        .workflow-toggle-group.step2-active::before {
            transform: translateX(calc(100% + 6px));
        }
        
        .workflow-toggle-group.step3-active::before {
            transform: translateX(calc(200% + 12px));
        }
        
        .workflow-toggle-group.step4-active::before {
            transform: translateX(calc(300% + 18px));
        }
        
        /* Mobile vertical indicator - with loading safety */
        @media (max-width: 640px) {
            .workflow-toggle-group::before {
                top: 4px;
                left: 4px;
                height: calc(25% - 6px);
                width: calc(100% - 8px);
                border-radius: 16px;
                /* Prevent flicker during loading */
                will-change: transform;
                backface-visibility: hidden;
            }
            
            .workflow-toggle-group.step2-active::before {
                transform: translateY(calc(100% + 4px));
            }
            
            .workflow-toggle-group.step3-active::before {
                transform: translateY(calc(200% + 8px));
            }
            
            .workflow-toggle-group.step4-active::before {
                transform: translateY(calc(300% + 12px));
            }
        }
        
        /* Workflow tabs - Match tab-pill styles exactly */
        .workflow-tab {
            background: transparent;
            color: var(--gray-600);
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.3px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            position: relative;
            z-index: 1;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            cursor: pointer;
            flex: 1;
            justify-content: center;
            white-space: nowrap;
            min-width: 0;
        }
        
        .workflow-tab:hover:not(.active) {
            color: var(--gray-700);
        }
        
        .workflow-tab.active {
            color: white;
            font-weight: 600;
        }
        
        /* Remove individual tab backgrounds and shadows */
        .workflow-tab:hover {
            transform: none;
            box-shadow: none;
        }
        
        /* Remove hover effects on icon backgrounds to prevent white background appearance */
        
        .workflow-tab::before {
            display: none;
        }
        
        .workflow-tab .material-symbols-outlined {
            font-size: 18px;
            transition: transform 0.3s ease;
        }
        
        .workflow-tab.active .material-symbols-outlined {
            transform: scale(1.1);
        }
        
        /* Workflow step transitions */
        .workflow-step {
            transition: opacity 0.3s ease-in-out;
        }
        
        .workflow-step.hidden {
            opacity: 0;
            pointer-events: none;
            position: absolute;
            left: -9999px;
        }
        
        .workflow-step:not(.hidden) {
            opacity: 1;
            pointer-events: auto;
            position: relative;
            left: auto;
        }
        
        @media (min-width: 640px) {
            .workflow-toggle-group {
                padding: 8px;
                border-radius: 50px;
            }
            
            .workflow-toggle-group::before {
                top: 8px;
                left: 8px;
                height: calc(100% - 16px);
                width: calc(25% - 12px);
            }
            
            .workflow-toggle-group.step2-active::before {
                transform: translateX(calc(100% + 8px));
            }
            
            .workflow-toggle-group.step3-active::before {
                transform: translateX(calc(200% + 16px));
            }
            
            .workflow-toggle-group.step4-active::before {
                transform: translateX(calc(300% + 24px));
            }
            
            .workflow-tab {
                font-size: 14px;
                padding: 10px 18px;
                gap: 6px;
            }
            
            .workflow-tab .material-symbols-outlined {
                font-size: 20px;
            }
        }
        
        @media (max-width: 640px) {
            .workflow-tab {
                font-size: 14px;
                padding: 12px 16px;
                gap: 8px;
                justify-content: flex-start;
                text-align: left;
                border-radius: 16px;
                width: 100%;
            }
            
            .workflow-tab .material-symbols-outlined {
                font-size: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .workflow-toggle-group {
                max-width: 260px;
            }
            
            .workflow-tab {
                font-size: 13px;
                padding: 10px 14px;
            }
            
            .workflow-tab .material-symbols-outlined {
                font-size: 18px;
            }
        }
        
        #flexibility .path-container {
            width: 100%;
            max-width: 880px;
        }
        
        #flexibility .path-step .bg-white {
            padding: 1.75rem;
        }
        
        #flexibility .path-step h5 {
            line-height: 1.4;
        }
        
        #flexibility .path-step p.text-sm {
            line-height: 1.6;
        }
        
        /* Result box padding bump */
        #flexibility .path-container > div:last-child {
            padding: 1.25rem;
        }
        
        /* Slightly larger section helper text */
        #flexibility .path-header p {
            font-size: 0.95rem;
            line-height: 1.6;
        }
        
        @media (min-width: 1024px) {
            #flexibility .path-container {
                max-width: 960px;
            }
            #flexibility .path-step .bg-white {
                padding: 2rem;
            }
            #flexibility .path-step h5 {
                line-height: 1.4;
            }
            #flexibility .path-step p.text-sm {
                line-height: 1.6;
            }
            #flexibility .path-container > div:last-child {
                padding: 1.5rem;
            }
        }
