@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700;900&display=swap');

        :root {
            --bg-main: #09090b;
            --bg-elevated: #18181b;
            --text-main: #ffffff;
            --text-muted: #a1a1aa;
            --glass-bg: rgba(255, 255, 255, 0.06);
            --border-soft: rgba(255, 255, 255, 0.12);
            --hero-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.85) 100%);
            --hero-vignette: radial-gradient(circle at center, transparent 55%, rgba(0, 0, 0, 0.75) 100%);
            --nav-bg: rgba(0, 0, 0, 0.4);
            --section-grad: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(217, 70, 239, 0.08) 100%);
        }

        html[data-theme='light'] {
            --bg-main: #f5f7fb;
            --bg-elevated: #eef2f8;
            --text-main: #0f172a;
            --text-muted: #475569;
            --glass-bg: rgba(255, 255, 255, 0.8);
            --border-soft: rgba(15, 23, 42, 0.12);
            --hero-overlay: linear-gradient(to bottom, rgba(245, 247, 252, 0.65) 0%, rgba(235, 241, 250, 0.86) 100%);
            --hero-vignette: radial-gradient(circle at center, transparent 52%, rgba(211, 222, 239, 0.55) 100%);
            --nav-bg: rgba(255, 255, 255, 0.72);
            --section-grad: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(14, 165, 233, 0.08) 100%);
        }

        body {
            font-family: 'Inter', system-ui, sans-serif;
            background: var(--bg-main);
            color: var(--text-main);
            transition: background-color 0.25s ease, color 0.25s ease;
        }

        .heading-font {
            font-family: 'Space Grotesk', sans-serif;
        }

        .hero {
            height: 100vh;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        .hero-video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: contrast(1.12) saturate(1.3) brightness(0.92);
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: var(--hero-overlay);
            z-index: 2;
            transition: background 0.25s ease;
        }

        .hero-vignette {
            position: absolute;
            inset: 0;
            background: var(--hero-vignette);
            z-index: 3;
            pointer-events: none;
            transition: background 0.25s ease;
        }

        .floating-logo {
            position: absolute;
            z-index: 4;
            opacity: 0.75;
            transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .floating-logo:hover {
            opacity: 1;
            transform: scale(1.25) rotate(8deg) !important;
        }

        .content {
            position: absolute;
            top: 48%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            z-index: 10;
            max-width: 720px;
        }

        .headline {
            font-size: clamp(3.2rem, 8vw, 6.2rem);
            line-height: 1.05;
            letter-spacing: -4px;
        }

        .bottom-bar {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 20;
            background: rgba(15, 15, 23, 0.92);
            backdrop-filter: blur(32px);
            border-top: 1px solid rgba(255, 255, 255, 0.12);
        }

        .search-glass {
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .search-glass:focus-within {
            box-shadow: 0 0 0 16px rgba(168, 85, 247, 0.25);
        }

        .pill {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .pill:hover {
            transform: translateY(-3px);
            background-color: rgba(255, 255, 255, 0.15) !important;
        }

        .search-shell-box {
            background: var(--glass-bg);
            border: 1px solid var(--border-soft);
        }

        .search-input-field {
            color: var(--text-main);
        }

        .search-input-field::placeholder {
            color: var(--text-muted);
        }

        .quick-pills-wrap {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.6rem;
            margin-top: 1rem;
        }

        .quick-pills-wrap .label {
            color: var(--text-muted);
            font-size: 0.8rem;
            font-weight: 600;
            align-self: center;
            margin-right: 0.2rem;
        }

        .pill {
            background: var(--glass-bg);
            color: var(--text-main);
            border: 1px solid var(--border-soft);
        }

        .site-nav {
            background: var(--nav-bg);
            border-bottom-color: var(--border-soft);
        }

        .menu-link {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            transition: color 0.2s ease;
        }

        .menu-link:hover,
        .menu-link.active {
            color: var(--text-main);
        }

        .theme-toggle-btn,
        .menu-toggle-btn {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            border: 1px solid var(--border-soft);
            background: var(--glass-bg);
            color: var(--text-main);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .theme-toggle-btn:hover,
        .menu-toggle-btn:hover {
            border-color: rgba(124, 58, 237, 0.5);
            transform: translateY(-1px);
        }

        .menu-toggle-btn {
            display: none;
        }

        .mobile-menu {
            position: fixed;
            top: 84px;
            left: 24px;
            right: 24px;
            z-index: 49;
            border: 1px solid var(--border-soft);
            border-radius: 18px;
            background: var(--nav-bg);
            backdrop-filter: blur(16px);
            padding: 14px;
            display: none;
            flex-direction: column;
            gap: 10px;
        }

        .mobile-menu.open {
            display: flex;
        }

        .surface-main {
            background: var(--bg-main);
            border-color: var(--border-soft);
        }

        .surface-elevated {
            background: var(--bg-elevated);
            border-color: var(--border-soft);
        }

        .glass {
            background: var(--glass-bg);
            border: 1px solid var(--border-soft);
        }

        .tone-muted {
            color: var(--text-muted);
        }

        .features-band {
            background: var(--section-grad);
            border-top: 1px solid var(--border-soft);
            border-bottom: 1px solid var(--border-soft);
        }

        html[data-theme='light'] .text-white,
        html[data-theme='light'] .hero .text-white {
            color: var(--text-main) !important;
        }

        html[data-theme='light'] .text-zinc-400,
        html[data-theme='light'] .text-zinc-500,
        html[data-theme='light'] .text-zinc-300,
        html[data-theme='light'] .tone-muted {
            color: var(--text-muted) !important;
        }

        html[data-theme='light'] .bg-zinc-900\/80,
        html[data-theme='light'] .bg-zinc-950,
        html[data-theme='light'] .bg-black {
            background-color: transparent !important;
        }

        html[data-theme='light'] .pill {
            background-color: rgba(15, 23, 42, 0.04) !important;
            border-color: var(--border-soft) !important;
            color: var(--text-main) !important;
        }

        .value-props .value-title {
            font-size: clamp(1.2rem, 2.4vw, 1.9rem);
            line-height: 1.2;
        }

        .value-props .value-copy {
            font-size: clamp(0.92rem, 1.45vw, 1.08rem);
            line-height: 1.65;
            color: var(--text-muted);
        }

        .trending-heading {
            font-size: clamp(1.7rem, 5vw, 3.75rem);
            line-height: 1.05;
        }

        .gallery-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        @media (min-width: 768px) {
            .gallery-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (min-width: 1280px) {
            .gallery-grid {
                grid-template-columns: repeat(6, minmax(0, 1fr));
            }
        }

        @media (max-width: 1024px) {
            .hero {
                min-height: 94vh;
            }

            .content {
                max-width: 90%;
                top: 46%;
            }

            .headline {
                letter-spacing: -2px;
            }
        }

        @media (max-width: 900px) {
            .desktop-links {
                display: none;
            }

            .menu-toggle-btn {
                display: inline-flex;
            }
        }

        @media (max-width: 768px) {
            .site-nav .max-w-screen-2xl {
                padding-left: 16px;
                padding-right: 16px;
                padding-top: 14px;
                padding-bottom: 14px;
            }

            .content {
                top: 44%;
                max-width: 94%;
            }

            .hero {
                min-height: 100svh;
                height: auto;
                padding-bottom: 170px;
            }

            .bottom-bar {
                padding-top: 1rem;
                padding-bottom: 1rem;
            }

            .search-glass .flex {
                flex-direction: column;
                gap: 10px;
            }

            .search-glass input {
                width: 100%;
                border-radius: 20px;
                font-size: 1rem;
                padding: 0.95rem 1rem;
            }

            .search-glass button {
                width: 100%;
                justify-content: center;
                font-size: 1rem;
                padding: 0.95rem 1rem;
            }

            .quick-pills-wrap {
                justify-content: flex-start;
                gap: 0.45rem;
                margin-top: 0.75rem;
            }

            .quick-pills-wrap .label {
                width: 100%;
                margin-bottom: 0.2rem;
            }

            .gallery-grid {
                grid-template-columns: repeat(5, minmax(0, 1fr));
                gap: 0.5rem;
            }

            .logo-card {
                padding: 0.5rem !important;
                border-radius: 0.9rem !important;
            }

            .logo-card .h-40 {
                height: 72px;
                border-radius: 0.7rem !important;
            }

            .logo-card img {
                max-height: 38px !important;
            }

            .logo-card .mt-8 {
                margin-top: 0.45rem !important;
            }

            .logo-card .font-semibold {
                font-size: 0.66rem;
                line-height: 1.1;
            }

            .logo-card .text-xs {
                display: none;
            }

            .value-props {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .value-props .value-card {
                padding: 1.15rem;
            }

            .value-props .value-title {
                font-size: 1.15rem;
            }

            .value-props .value-copy {
                font-size: 0.9rem;
            }

            .feature-shell {
                padding-left: 16px;
                padding-right: 16px;
            }

            #trending .max-w-screen-2xl,
            #valueProps .max-w-screen-2xl,
            footer .max-w-screen-2xl {
                padding-left: 16px;
                padding-right: 16px;
            }

            .footer-shell {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 520px) {
            .floating-logo {
                display: none;
            }

            .site-nav .text-2xl {
                font-size: 1.1rem;
            }

            .headline {
                font-size: clamp(2.15rem, 13vw, 3rem);
            }

            .content .inline-flex {
                font-size: 0.64rem;
                padding: 0.5rem 0.7rem;
            }

            .content button,
            .content a {
                font-size: 1rem !important;
                padding: 0.95rem 1.15rem !important;
            }

            .mobile-menu {
                left: 12px;
                right: 12px;
                top: 76px;
            }

            .pill {
                font-size: 0.74rem;
                padding: 0.5rem 0.75rem;
            }

            .gallery-grid {
                grid-template-columns: repeat(5, minmax(0, 1fr));
                gap: 0.38rem;
            }

            .logo-card {
                padding: 0.38rem !important;
            }

            .logo-card .h-40 {
                height: 58px;
            }

            .logo-card img {
                max-height: 30px !important;
            }

            .logo-card .font-semibold {
                font-size: 0.6rem;
            }

            .value-props .value-title {
                font-size: 1.05rem;
            }

            .value-props .value-copy {
                font-size: 0.86rem;
            }
        }
