﻿/* Base & Resets */
        body {
            background-color: #ffffff;
            color: #111827;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        body.locked { overflow: hidden; }

        .text-white { color: #ffffff; }
        .text-ayur-carbon { color: #111827; }
        .text-ayur-slate { color: #374151; }
        .text-ayur-emerald { color: #10b981; }
        .bg-white { background-color: #ffffff; }
        .bg-ayur-carbon { background-color: #111827; }
        .bg-ayur-cream { background-color: #f9fafb; }
        .bg-ayur-emerald { background-color: #10b981; }
        .border-ayur-carbon { border-color: #111827; }
        .border-ayur-emerald { border-color: #10b981; }
        .hover\:bg-ayur-emerald:hover { background-color: #10b981; }
        .hover\:bg-ayur-carbon:hover { background-color: #111827; }
        .hover\:text-white:hover { color: #ffffff; }
        .hover\:text-ayur-emerald:hover { color: #10b981; }
        #btn-enter,
        a.bg-ayur-carbon {
            background-color: #111827;
            color: #ffffff;
        }
        #btn-enter:not(:disabled):hover,
        a.hover\:bg-ayur-emerald:hover {
            background-color: #10b981;
            color: #ffffff;
        }
        #btn-enter:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        button,
        a {
            color: inherit;
        }

        .site-logo {
            width: auto;
            object-fit: contain;
        }
        .site-logo-nav {
            height: auto;
            width: clamp(7.125rem, 9.75vw, 9rem);
            max-width: none;
        }
        .site-logo-modal {
            height: auto;
            width: clamp(12rem, 24vw, 18rem);
            max-width: none;
        }
        .site-logo-footer {
            height: auto;
            width: clamp(10rem, 16vw, 14rem);
            max-width: none;
        }
        #navbar .hidden.md\:flex a,
        #navbar .hidden.md\:block a {
            font-size: 0.8125rem;
            line-height: 1.25rem;
        }

        .eula-panel {
            max-height: calc(100vh - 2rem);
            display: flex;
            flex-direction: column;
        }
        .eula-scroll {
            max-height: min(34vh, 22rem);
            overflow-y: auto;
            padding: 1rem;
            border: 1px solid #e5e7eb;
            border-radius: 0.75rem;
            background: #f9fafb;
        }
        .eula-scroll:focus {
            outline: 2px solid rgba(16, 185, 129, 0.35);
            outline-offset: 2px;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar { width: 8px; height: 8px; }
        ::-webkit-scrollbar-track { background: #f9fafb; }
        ::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: #10b981; }

        /* Scroll Reveal Animation */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-delay-1 { transition-delay: 150ms; }
        .reveal-delay-2 { transition-delay: 300ms; }

        /* Background Canvas */
        #bg-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            opacity: 0.6;
        }

        /* Glassmorphism utilities for light theme */
        .glass-light {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.4);
            box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
        }

        /* Marquee Animation */
        .marquee-container {
            display: flex;
            width: max-content;
            animation: scroll 30s linear infinite;
        }
        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* Product Image Glow Effects */
        .vial-wrapper {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            height: clamp(340px, 32vw, 420px);
            z-index: 1;
            overflow: hidden;
            isolation: isolate;
            background-color: #ffffff !important;
        }
        .vial-wrapper::before {
            content: '';
            position: absolute;
            inset: 14%;
            border-radius: 9999px;
            background: radial-gradient(circle, rgba(255,255,255,0.98), rgba(255,255,255,0) 64%);
            z-index: 0;
            pointer-events: none;
        }
        .vial-glow {
            position: absolute;
            width: clamp(190px, 20vw, 260px);
            height: clamp(190px, 20vw, 260px);
            border-radius: 50%;
            filter: blur(54px);
            opacity: 0.16;
            transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 0;
        }
        .product-card:hover .vial-glow {
            transform: scale(1.22) translateY(8px);
            opacity: 0.28;
        }
        .product-img {
            max-height: clamp(285px, 27vw, 350px);
            max-width: 92%;
            object-fit: contain;
            filter: drop-shadow(0 24px 34px rgba(17, 24, 39, 0.16));
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 2;
            position: relative;
        }
        .product-card:hover .product-img {
            transform: translateY(-10px) scale(1.07);
        }

        /* Deep-Dive Vial Styles */
        .dive-vial-wrapper {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: clamp(460px, 46vw, 620px);
            isolation: isolate;
        }
        .dive-vial-glow {
            position: absolute;
            width: clamp(360px, 38vw, 520px);
            height: clamp(360px, 38vw, 520px);
            border-radius: 50%;
            filter: blur(92px);
            opacity: 0.2;
            z-index: 0;
        }
        .dive-vial-img {
            max-height: clamp(470px, 44vw, 600px);
            max-width: 94%;
            object-fit: contain;
            filter: drop-shadow(0 34px 48px rgba(17, 24, 39, 0.18));
            position: relative;
            z-index: 1;
        }

        .comparison-motion-wrap {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            width: min(92vw, 980px);
            min-height: clamp(360px, 58vw, 820px);
            isolation: isolate;
        }
        .comparison-img {
            position: relative;
            z-index: 2;
            max-height: min(78vw, 760px);
            width: min(92vw, 820px);
            filter: drop-shadow(0 28px 60px rgba(17, 24, 39, 0.14));
        }

        .motion-orbit {
            position: absolute;
            pointer-events: none;
            object-fit: cover;
            mix-blend-mode: normal;
            opacity: 0.34;
            z-index: 0;
        }
        .motion-orbit-hero {
            width: min(72vw, 560px);
            height: min(72vw, 560px);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        .motion-orbit-comparison {
            width: min(96vw, 880px);
            height: min(96vw, 880px);
            opacity: 0.2;
        }

        /* Pathway Card */
        .pathway-card {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .pathway-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        /* Stat Pill */
        .stat-pill {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 1rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* Floating Animation */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }
        .hero-float {
            animation: float 5s ease-in-out infinite;
        }
        .dive-float {
            animation: float 6s ease-in-out infinite;
        }

        /* Buttons */
        .btn-premium {
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        .btn-premium::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: currentColor;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .btn-premium:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

        /* Accordion transition */
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out;
        }

        @media (max-width: 767px) {
            #top {
                padding-top: 9.5rem !important;
            }
            .site-logo-nav {
                width: clamp(5.625rem, 25.5vw, 7.125rem);
                max-width: none;
            }
            .site-logo-modal {
                width: clamp(10rem, 52vw, 14rem);
            }
            #navbar .hidden.md\:flex a,
            #navbar .hidden.md\:block a {
                font-size: 0.75rem;
            }
            .eula-panel {
                padding: 1.25rem;
            }
            .eula-scroll {
                max-height: 30vh;
            }
            .vial-wrapper {
                height: 320px;
            }
            .product-img {
                max-height: 275px;
            }
            .dive-vial-wrapper {
                min-height: 380px;
            }
            .dive-vial-img {
                max-height: 370px;
            }
            .comparison-motion-wrap {
                min-height: 360px;
            }
            .comparison-img {
                width: min(96vw, 620px);
                max-height: 520px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .motion-orbit {
                display: none;
            }
            .marquee-container,
            .hero-float,
            .dive-float {
                animation: none !important;
            }
            .reveal,
            .product-img,
            .vial-glow,
            .btn-premium,
            .faq-answer {
                transition: none !important;
            }
        }
