:root {
            --surface-color: #EAEAE5;
        }

        body,
        html {
            background-color: var(--surface-color);
            color: #1C1917;
            font-family: 'Inter', sans-serif;
            margin: 0;
            padding: 0;
            overscroll-behavior: none;
            -webkit-font-smoothing: antialiased;
        }

        ::selection {
            background: #1C1917;
            color: white;
        }

        /* Lenis Setup */
        html.lenis {
            height: auto;
        }

        .lenis.lenis-smooth {
            scroll-behavior: auto;
        }

        .lenis.lenis-smooth [data-lenis-prevent] {
            overscroll-behavior: contain;
        }

        .lenis.lenis-stopped {
            overflow: hidden;
        }

        .lenis.lenis-scrolling iframe {
            pointer-events: none;
        }

        .scroll-container {
            height: 400vh;
        }

        .hero-sticky {
            position: sticky;
            top: 0;
            height: 100vh;
            width: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        .noise {
            position: absolute;
            inset: 0;
            z-index: 5;
            pointer-events: none;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
        }

        .btn-beam {
            position: relative;
            z-index: 10;
            overflow: hidden;
            display: inline-flex;
        }

        .btn-beam::before {
            content: "";
            position: absolute;
            inset: -2px;
            z-index: -1;
            background: conic-gradient(from 90deg at 50% 50%, #E2E8F0 0%, #000000 50%, #E2E8F0 100%);
            animation: spin 4s linear infinite;
            border-radius: inherit;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .btn-beam:hover::before {
            opacity: 1;
        }

        @keyframes spin {
            100% {
                transform: rotate(360deg);
            }
        }

        .btn-beam-content {
            background-color: #1c1917;
            color: white;
            position: relative;
            z-index: 10;
            width: 100%;
            height: 100%;
            border-radius: inherit;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .btn-beam:hover .btn-beam-content {
            background-color: #292524;
        }

        /* Canvas logic */
        #hero-canvas {
            will-change: transform;
            opacity: 0;
            transition: opacity 0.8s ease;
        }

        .char {
            transform: translateY(115%);
            transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .word {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            opacity: 0.5;
            transition: opacity 0.3s;
        }

        .scroll-indicator:hover {
            opacity: 1;
        }

        .scroll-line {
            width: 1px;
            height: 40px;
            background: linear-gradient(to bottom, #1C1917, transparent);
            animation: scrollLine 2s infinite ease-in-out;
        }

        @keyframes scrollLine {
            0% {
                transform: scaleY(0);
                transform-origin: top;
            }

            50% {
                transform: scaleY(1);
                transform-origin: top;
            }

            50.1% {
                transform: scaleY(1);
                transform-origin: bottom;
            }

            100% {
                transform: scaleY(0);
                transform-origin: bottom;
            }
        }

        /* Preloader */
        #preloader {
            position: fixed;
            inset: 0;
            z-index: 99999;
            background-color: #EAEAE5;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s ease;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 2px solid rgba(28, 25, 23, 0.1);
            border-top-color: #1c1917;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        .text-transparent-stroke {
            color: transparent;
            -webkit-text-stroke: 1px #1C1917;
        }

        .text-transparent-stroke-light {
            color: transparent;
            -webkit-text-stroke: 1px #44403c;
        }

        /* Marquee CTA */
        @keyframes marquee {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .animate-marquee-container {
            display: flex;
            width: 200%;
            animation: marquee 20s linear infinite;
        }

        /* Flashlight Effect Hover */
        .flashlight-card {
            position: relative;
            background: #FFFFFF;
            overflow: hidden;
            border: 1px solid #E7E5E4;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
        }

        .flashlight-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
        }

        .flashlight-card::before {
            content: "";
            position: absolute;
            inset: 0px;
            background: radial-gradient(700px circle at var(--mouse-x) var(--mouse-y),
                    rgba(0, 0, 0, 0.04),
                    transparent 40%);
            opacity: 0;
            transition: opacity 0.5s;
            pointer-events: none;
            z-index: 2;
        }

        .flashlight-card:hover::before {
            opacity: 1;
        }

        /* Special Glow Box */
        .glow-box-wrapper {
            position: relative;
            padding: 1px;
            border-radius: 20px;
            overflow: hidden;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0));
        }

        .glow-box-wrapper::before {
            content: "";
            position: absolute;
            inset: 0;
            padding: 1px;
            border-radius: inherit;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
            pointer-events: none;
        }

        .glow-box {
            background: rgba(23, 23, 23, 0.6);
            backdrop-filter: blur(20px);
            border-radius: inherit;
        }

        /* Text Reveal Pattern (Design System) */
        .text-reveal-wrapper {
            overflow: hidden;
            display: inline-block;
            vertical-align: bottom;
            line-height: 1.1;
            padding-bottom: 0.1em;
        }

        .text-reveal-content {
            display: inline-block;
            transform: translateY(115%);
            opacity: 0;
        }

        /* Floating Icon Animation */
        @keyframes float {
            0% {
                transform: translateY(0px) rotate(0deg);
            }

            50% {
                transform: translateY(-15px) rotate(2deg);
            }

            100% {
                transform: translateY(0px) rotate(0deg);
            }
        }

        .animate-float {
            animation: float 6s ease-in-out infinite;
        }