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

        :root {
            --page-bg: #000000;
            --page-text: #f3f4f6;
            --muted-text: #a1a1aa;
            --surface-bg: rgba(255, 255, 255, 0.08);
            --surface-border: rgba(255, 255, 255, 0.18);
            --strong-bg: #09090b;
            --footer-bg: #000000;
            --overlay-bg: linear-gradient(to right, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.68) 42%, rgba(9, 9, 11, 0.92) 100%);
            --card-preview-bg: #09090b;
        }

        html[data-theme='light'] {
            --page-bg: #eef2ff;
            --page-text: #0f172a;
            --muted-text: #334155;
            --surface-bg: rgba(255, 255, 255, 0.8);
            --surface-border: rgba(15, 23, 42, 0.14);
            --strong-bg: #e2e8f0;
            --footer-bg: #cbd5e1;
            --overlay-bg: linear-gradient(to right, rgba(248, 250, 252, 0.9) 0%, rgba(248, 250, 252, 0.62) 42%, rgba(226, 232, 240, 0.9) 100%);
            --card-preview-bg: #f8fafc;
        }

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

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

        .glass {
            background: var(--surface-bg);
            backdrop-filter: blur(24px);
            border: 1px solid var(--surface-border);
        }

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

        .hero-bg {
            background:
                radial-gradient(circle at 30% 40%, rgba(168, 85, 247, 0.25) 0%, transparent 60%),
                radial-gradient(circle at 75% 65%, rgba(34, 211, 238, 0.20) 0%, transparent 60%);
        }

        /* FULL-WIDTH COLLAGE BACKGROUND â€“ logos scattered across ENTIRE hero */
        .logo-bg {
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            opacity: 0.88;
        }

        .logo-bg img {
            position: absolute;
            border-radius: 20px;
            padding: 14px;
            background: rgba(15, 15, 23, 0.65);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
            transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .logo-bg img:hover {
            transform: scale(1.25) rotate(7deg);
            z-index: 10;
        }

        /* Balanced full-width floating positions â€“ NO congestion, full coverage */
        .l1 {
            top: 12%;
            left: 7%;
            width: 88px;
            animation: float1 26s infinite ease-in-out;
        }

        .l2 {
            top: 24%;
            left: 23%;
            width: 112px;
            animation: float2 31s infinite ease-in-out;
        }

        .l3 {
            top: 68%;
            left: 11%;
            width: 76px;
            animation: float3 19s infinite ease-in-out;
        }

        .l4 {
            top: 38%;
            left: 46%;
            width: 128px;
            animation: float4 33s infinite ease-in-out;
        }

        .l5 {
            top: 57%;
            left: 71%;
            width: 92px;
            animation: float5 24s infinite ease-in-out;
        }

        .l6 {
            top: 19%;
            left: 81%;
            width: 69px;
            animation: float6 28s infinite ease-in-out;
        }

        .l7 {
            top: 79%;
            left: 34%;
            width: 98px;
            animation: float1 37s infinite ease-in-out;
        }

        .l8 {
            top: 29%;
            right: 12%;
            width: 105px;
            animation: float2 22s infinite ease-in-out;
        }

        .l9 {
            top: 51%;
            right: 27%;
            width: 81px;
            animation: float3 29s infinite ease-in-out;
        }

        .l10 {
            top: 73%;
            right: 8%;
            width: 119px;
            animation: float4 25s infinite ease-in-out;
        }

        .l11 {
            top: 15%;
            right: 48%;
            width: 72px;
            animation: float5 34s infinite ease-in-out;
        }

        .l12 {
            bottom: 18%;
            left: 58%;
            width: 85px;
            animation: float6 21s infinite ease-in-out;
        }

        @keyframes float1 {

            0%,
            100% {
                transform: translate(0, 0) rotate(-6deg)
            }

            50% {
                transform: translate(38px, -48px) rotate(10deg)
            }
        }

        @keyframes float2 {

            0%,
            100% {
                transform: translate(0, 0) rotate(7deg)
            }

            50% {
                transform: translate(-34px, 42px) rotate(-9deg)
            }
        }

        @keyframes float3 {

            0%,
            100% {
                transform: translate(0, 0) rotate(-4deg)
            }

            50% {
                transform: translate(29px, 31px) rotate(8deg)
            }
        }

        @keyframes float4 {

            0%,
            100% {
                transform: translate(0, 0) rotate(9deg)
            }

            50% {
                transform: translate(-26px, -41px) rotate(-8deg)
            }
        }

        @keyframes float5 {

            0%,
            100% {
                transform: translate(0, 0) rotate(-11deg)
            }

            50% {
                transform: translate(31px, 35px) rotate(12deg)
            }
        }

        @keyframes float6 {

            0%,
            100% {
                transform: translate(0, 0) rotate(5deg)
            }

            50% {
                transform: translate(-29px, -26px) rotate(-7deg)
            }
        }

        .overlay {
            position: absolute;
            inset: 0;
            background: var(--overlay-bg);
            z-index: 2;
        }

        .headline {
            font-size: 5.6rem;
            line-height: 1.01;
            letter-spacing: -5px;
        }

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

        .search-glass:focus-within {
            transform: scale(1.03);
            box-shadow: 0 0 0 22px rgba(168, 85, 247, 0.3);
        }

        .hero-search-shell {
            max-width: 860px;
        }

        .hero-search-panel {
            background: rgba(9, 9, 11, 0.72);
            border-radius: 26px;
        }

        .quick-pills-wrap {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 18px;
        }

        .quick-pill-btn {
            padding: 12px 18px;
            border-radius: 999px;
            font-size: 0.82rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            line-height: 1;
            transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
        }

        .quick-pill-btn::before {
            content: '';
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: linear-gradient(135deg, #a855f7, #22d3ee);
            box-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
        }

        .quick-pill-btn:hover {
            transform: translateY(-1px);
            border-color: rgba(34, 211, 238, 0.4);
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 24px;
        }

        .feature-card-pro {
            min-height: 100%;
            border-radius: 28px;
            padding: 36px 30px;
        }

        .feature-card-pro h3 {
            font-size: clamp(1.4rem, 2vw, 1.9rem);
            line-height: 1.1;
        }

        .feature-card-pro p {
            font-size: 0.95rem;
            line-height: 1.7;
        }

        .vault-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 48px;
        }

        .vault-browse-link {
            white-space: nowrap;
            padding: 12px 18px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.03);
        }

        .format-badge-row {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            justify-content: flex-start;
            position: absolute;
            top: 10px;
            left: 10px;
            z-index: 2;
        }

        .vault-format-badge {
            font-size: 10px;
            padding: 5px 9px;
            border-radius: 999px;
            background: rgba(9, 9, 11, 0.72);
            border: 1px solid rgba(255, 255, 255, 0.12);
            line-height: 1;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .vault-card-name {
            font-size: 0.95rem;
            line-height: 1.2;
        }

        .vault-card-meta {
            font-size: 0.68rem;
            letter-spacing: 0.02em;
        }

        html[data-theme='light'] .hero-search-panel {
            background: rgba(255, 255, 255, 0.86);
        }

        html[data-theme='light'] .vault-browse-link,
        html[data-theme='light'] .vault-format-badge {
            background: rgba(255, 255, 255, 0.82);
            border-color: rgba(15, 23, 42, 0.1);
        }

        .theme-toggle-btn {
            width: 44px;
            height: 44px;
            border-radius: 999px;
            border: 1px solid var(--surface-border);
            background: var(--surface-bg);
            color: var(--page-text);
            font-size: 1rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s ease, border-color 0.2s ease;
        }

        .theme-toggle-btn:hover {
            transform: translateY(-1px);
            border-color: rgba(34, 211, 238, 0.55);
        }

        html[data-theme='light'] .bg-zinc-950,
        html[data-theme='light'] .bg-zinc-900,
        html[data-theme='light'] .bg-black {
            background-color: var(--strong-bg) !important;
        }

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

        html[data-theme='light'] .heading-font,
        html[data-theme='light'] h1,
        html[data-theme='light'] h2,
        html[data-theme='light'] h3,
        html[data-theme='light'] .font-semibold,
        html[data-theme='light'] .font-bold {
            color: var(--page-text) !important;
        }

        html[data-theme='light'] .logo-bg img {
            background: rgba(255, 255, 255, 0.72);
            box-shadow: 0 18px 34px -14px rgba(15, 23, 42, 0.25);
        }

        html[data-theme='light'] #gallery .logo-card .h-40 {
            background: var(--card-preview-bg) !important;
            border: 1px solid rgba(15, 23, 42, 0.09);
        }

        html[data-theme='light'] footer {
            background: var(--footer-bg) !important;
        }

        @media (max-width: 1279px) {
            .headline {
                font-size: clamp(2.6rem, 8vw, 4.6rem);
                letter-spacing: -2px;
            }
        }

        @media (max-width: 1024px) {
            .hero {
                min-height: auto;
                padding-bottom: 56px;
            }

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

            .vault-header {
                align-items: flex-start;
                flex-direction: column;
            }

            .logo-bg {
                opacity: 0.5;
            }

            .logo-bg img {
                width: 64px !important;
                padding: 10px;
            }
        }

        @media (max-width: 768px) {
            nav .max-w-screen-2xl,
            .max-w-screen-2xl {
                padding-left: 16px !important;
                padding-right: 16px !important;
            }

            nav .max-w-screen-2xl {
                padding-top: 14px !important;
                padding-bottom: 14px !important;
                gap: 10px;
            }

            .theme-toggle-btn {
                width: 40px;
                height: 40px;
            }

            .headline {
                font-size: clamp(2rem, 11vw, 2.9rem);
                letter-spacing: -1px;
            }

            .hero-search-shell {
                margin-top: 32px !important;
            }

            #heroSearch .flex {
                flex-direction: column;
            }

            .hero-search-panel {
                border-radius: 22px;
            }

            #heroSearch button {
                width: calc(100% - 16px);
                margin: 8px;
                border-radius: 18px;
                justify-content: center;
                font-size: 0.9rem;
                padding: 12px 14px;
            }

            #heroInput {
                font-size: 1.1rem !important;
                padding: 16px 18px !important;
                min-height: 68px;
            }

            .quick-pills-wrap {
                gap: 8px;
            }

            .quick-pill-btn {
                padding: 10px 14px;
                font-size: 0.76rem;
            }

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

            .feature-card-pro {
                padding: 24px 20px;
            }

            #gallery {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
                gap: 12px !important;
            }

            #gallery .logo-card {
                border-radius: 16px !important;
                padding: 14px !important;
            }

            #gallery .logo-card .h-40 {
                height: 108px !important;
            }

            .vault-browse-link {
                width: 100%;
                justify-content: center;
                display: inline-flex;
            }

            .vault-card-name {
                font-size: 0.82rem;
            }

            .vault-card-meta {
                font-size: 0.62rem;
            }

            .format-badge-row {
                top: 8px;
                left: 8px;
            }

            .logo-bg img {
                display: none;
            }

            .l1,
            .l4,
            .l7,
            .l10 {
                display: block !important;
                width: 56px !important;
            }

            .l1 {
                top: 14%;
                left: 8%;
            }

            .l4 {
                top: 30%;
                left: 66%;
            }

            .l7 {
                top: 68%;
                left: 14%;
            }

            .l10 {
                top: 78%;
                left: 74%;
            }
        }

        @media (max-width: 480px) {
            .quick-pills-wrap {
                overflow-x: auto;
                flex-wrap: nowrap;
                padding-bottom: 4px;
                margin-right: -4px;
            }

            .quick-pill-btn {
                flex: 0 0 auto;
            }

            #gallery .logo-card {
                padding: 12px !important;
            }

            #gallery .logo-card .font-semibold.text-lg {
                font-size: 0.95rem !important;
            }

            .vault-format-badge {
                font-size: 9px;
                padding: 5px 7px;
            }

            #heroSearch button {
                font-size: 0.82rem;
                padding: 11px 12px;
            }
        }
