
        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background: #f6f8fc;
            color: #172033;
            scroll-behavior: smooth;
        }
        .glass-nav {
            background: rgba(255, 255, 255, 0.88);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(226, 232, 240, 0.8);
            box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
        }
        .hero-pattern {
            background-color: #0f172a;
            background-image: radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
        }
        #home-hero {
            isolation: isolate;
            min-height: 500px;
            padding-block: clamp(5rem, 9vw, 8rem);
            background-color: #0b1020;
            background-image:
                radial-gradient(ellipse at 18% 0%, rgba(99, 102, 241, 0.35), transparent 38%),
                radial-gradient(ellipse at 88% 18%, rgba(217, 70, 239, 0.23), transparent 34%),
                linear-gradient(135deg, #0b1020 15%, #151b36 58%, #17132d 100%);
        }
        #home-hero::after {
            position: absolute;
            z-index: -1;
            inset: 0;
            background-image: radial-gradient(rgba(255, 255, 255, 0.13) 0.7px, transparent 0.7px);
            background-size: 24px 24px;
            content: "";
            opacity: 0.18;
            pointer-events: none;
        }
        #home-hero h1 {
            max-width: 900px;
            margin-inline: auto;
            text-wrap: balance;
        }
        #searchInput {
            min-height: 68px;
            box-shadow: 0 18px 55px rgba(2, 6, 23, 0.28);
        }
        #searchInput:focus {
            box-shadow: 0 0 0 5px rgba(165, 180, 252, 0.24), 0 18px 55px rgba(2, 6, 23, 0.3);
        }
        #home-content-wrapper {
            align-items: flex-start;
        }
        .category-section {
            padding: clamp(1.1rem, 2.5vw, 2rem);
            border: 1px solid #e7ebf3;
            border-radius: 28px;
            background: linear-gradient(145deg, #ffffff 0%, #fbfcff 100%);
            box-shadow: 0 14px 40px rgba(15, 23, 42, 0.045);
        }
        .category-section > div:first-child {
            padding-bottom: 1.25rem;
            border-color: #e8edf5;
        }
        .category-section h2 {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            letter-spacing: -0.035em;
            text-wrap: balance;
        }
        .category-section h2::before {
            width: 5px;
            height: 1.65rem;
            flex: 0 0 auto;
            border-radius: 999px;
            background: linear-gradient(180deg, #6366f1, #c084fc);
            content: "";
        }
        .tool-card {
            position: relative;
            min-height: 205px;
            height: 100%;
            overflow: hidden;
            border-color: #e8edf5;
            box-shadow: 0 5px 16px rgba(15, 23, 42, 0.035);
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        }
        .tool-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 18px 35px rgba(43, 52, 94, 0.12);
            border-color: #c7d2fe;
        }
        .tool-card::after {
            position: absolute;
            top: 0;
            right: 1.5rem;
            left: 1.5rem;
            height: 2px;
            border-radius: 0 0 999px 999px;
            background: linear-gradient(90deg, #6366f1, #c084fc, #f0abfc);
            content: "";
            opacity: 0;
            transition: opacity 0.25s ease;
        }
        .tool-card:hover::after {
            opacity: 1;
        }
        .tool-card p {
            line-height: 1.6;
        }
        .icon-wrapper {
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }
        .tool-card:hover .icon-wrapper {
            transform: scale(1.07) rotate(3deg);
            box-shadow: 0 8px 18px rgba(99, 102, 241, 0.12);
        }
        .gradient-text {
            background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .ai-badge {
            background: linear-gradient(135deg, #FF0080 0%, #7928CA 100%);
            animation: pulse-glow 2s infinite;
        }
        @keyframes pulse-glow {
            0% { box-shadow: 0 0 0 0 rgba(121, 40, 202, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(121, 40, 202, 0); }
            100% { box-shadow: 0 0 0 0 rgba(121, 40, 202, 0); }
        }
        .nav-links {
            scrollbar-width: none;
        }
        .nav-links::-webkit-scrollbar {
            display: none;
        }
        @media (max-width: 640px) {
            #home-hero {
                min-height: 430px;
                padding-block: 4.5rem;
            }
            #home-hero h1 {
                font-size: clamp(2.35rem, 10vw, 3.25rem);
                line-height: 1.08;
            }
            #searchInput {
                min-height: 60px;
                font-size: 1rem;
            }
            .category-section {
                border-radius: 22px;
            }
            .tool-card {
                min-height: 180px;
            }
        }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                scroll-behavior: auto !important;
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }


        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .custom-scrollbar::-webkit-scrollbar { width: 6px; }
        .custom-scrollbar::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }
        .custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
        .speed-test__bar {
            background: linear-gradient(90deg, #4f46e5, #8b5cf6, #10b981);
            background-size: 200% 100%;
            transition: width 0.25s ease;
        }
        .speed-test__bar.is-active {
            animation: speed-test-shimmer 1s linear infinite;
        }
        @keyframes speed-test-shimmer {
            to { background-position: -200% 0; }
        }
        .speed-test__visual {
            --speed-accent: #a5b4fc;
            --speed-glow: rgba(99, 102, 241, 0.22);
            position: relative;
            isolation: isolate;
            width: 100%;
            max-width: 34rem;
            overflow: hidden;
            padding: 1rem 1.15rem 0.9rem;
            border: 1px solid rgba(148, 163, 184, 0.22);
            border-radius: 1.75rem;
            background:
                radial-gradient(ellipse at 50% 100%, var(--speed-glow), transparent 58%),
                linear-gradient(145deg, #10172b 0%, #171a36 52%, #111827 100%);
            color: #f8fafc;
            box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22), inset 0 1px rgba(255, 255, 255, 0.08);
            transition: background 0.4s ease, box-shadow 0.4s ease;
        }
        .speed-test__visual::before,
        .speed-test__visual::after {
            position: absolute;
            z-index: -1;
            inset: 0;
            pointer-events: none;
            content: "";
        }
        .speed-test__visual::before {
            inset: -45%;
            background: conic-gradient(from 25deg at 50% 50%, transparent 0 34%, rgba(129, 140, 248, 0.1) 40%, transparent 48% 72%, rgba(34, 211, 238, 0.08) 80%, transparent 87%);
            animation: speed-test-ambient 14s linear infinite;
        }
        .speed-test__visual::after {
            opacity: 0.16;
            background-image: radial-gradient(rgba(226, 232, 240, 0.5) 0.65px, transparent 0.65px);
            background-size: 15px 15px;
            mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
        }
        .speed-test__visual[data-stage="download"] {
            --speed-accent: #67e8f9;
            --speed-glow: rgba(6, 182, 212, 0.24);
        }
        .speed-test__visual[data-stage="upload"] {
            --speed-accent: #d8b4fe;
            --speed-glow: rgba(168, 85, 247, 0.26);
        }
        .speed-test__visual[data-stage="complete"] {
            --speed-accent: #6ee7b7;
            --speed-glow: rgba(16, 185, 129, 0.22);
        }
        .speed-test__visual[data-stage="error"] {
            --speed-accent: #fda4af;
            --speed-glow: rgba(244, 63, 94, 0.2);
        }
        .speed-test__visual-header,
        .speed-test__phase {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
        }
        .speed-test__visual-header {
            justify-content: space-between;
            gap: 1rem;
        }
        .speed-test__phase {
            gap: 0.55rem;
            color: var(--speed-accent);
            font-size: 0.72rem;
            font-weight: 900;
            letter-spacing: 0.14em;
        }
        .speed-test__phase-dot {
            width: 0.48rem;
            height: 0.48rem;
            border-radius: 50%;
            background: var(--speed-accent);
            box-shadow: 0 0 14px var(--speed-accent);
        }
        .speed-test__status {
            color: #aab5cb;
            font-size: 0.72rem;
            font-weight: 600;
            text-align: right;
        }
        .speed-test__gauge {
            position: relative;
            width: min(100%, 22rem);
            height: 9rem;
            margin: 0.35rem auto 0;
        }
        .speed-test__gauge svg {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            overflow: visible;
        }
        .speed-test__gauge-track,
        .speed-test__gauge-arc,
        .speed-test__gauge-ticks {
            fill: none;
        }
        .speed-test__gauge-track {
            stroke: rgba(148, 163, 184, 0.2);
            stroke-width: 8;
        }
        .speed-test__gauge-arc {
            stroke: url(#st-gauge-gradient);
            stroke-width: 8;
            stroke-linecap: round;
            stroke-dasharray: 100;
            stroke-dashoffset: 100;
            transition: stroke-dashoffset 0.2s ease-out;
        }
        .speed-test__gauge-ticks {
            stroke: rgba(203, 213, 225, 0.72);
            stroke-width: 3;
            stroke-dasharray: 1 7;
        }
        .speed-test__needle {
            position: absolute;
            bottom: 8%;
            left: calc(50% - 1.5px);
            z-index: 1;
            width: 3px;
            height: 59%;
            border-radius: 999px;
            background: linear-gradient(to top, var(--speed-accent), #f8fafc);
            box-shadow: 0 0 12px var(--speed-accent);
            transform: rotate(var(--speed-test-angle, -80deg));
            transform-origin: 50% calc(100% - 1px);
            transition: transform 0.2s ease-out, background 0.35s ease;
        }
        .speed-test__needle::before {
            position: absolute;
            top: -0.22rem;
            left: 50%;
            width: 0.42rem;
            height: 0.42rem;
            border: 2px solid #f8fafc;
            border-radius: 50%;
            background: var(--speed-accent);
            box-shadow: 0 0 12px var(--speed-accent);
            content: "";
            transform: translateX(-50%);
        }
        .speed-test__needle.is-scanning {
            animation: speed-test-scan 1.45s ease-in-out infinite alternate;
        }
        .speed-test__readout {
            position: absolute;
            top: 57%;
            right: 0;
            left: 0;
            z-index: 2;
            text-align: center;
            text-shadow: 0 2px 18px rgba(2, 6, 23, 0.75);
        }
        .speed-test__readout > div {
            display: flex;
            align-items: baseline;
            justify-content: center;
            gap: 0.45rem;
            line-height: 1;
        }
        .speed-test__readout #st-current-value {
            font-size: clamp(2.3rem, 8vw, 3.25rem);
            font-weight: 900;
            font-variant-numeric: tabular-nums;
            letter-spacing: -0.065em;
        }
        .speed-test__readout #st-current-unit {
            color: var(--speed-accent);
            font-size: 0.8rem;
            font-weight: 800;
        }
        .speed-test__readout #st-current-label {
            display: block;
            margin-top: 0.5rem;
            color: #cbd5e1;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }
        .speed-test__stages {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1fr 2rem 1fr;
            align-items: center;
            gap: 0.45rem;
        }
        .speed-test__step {
            display: flex;
            min-width: 0;
            align-items: center;
            justify-content: center;
            gap: 0.45rem;
            padding: 0.65rem 0.35rem;
            border: 1px solid rgba(148, 163, 184, 0.18);
            border-radius: 0.9rem;
            background: rgba(15, 23, 42, 0.52);
            color: #64748b;
            font-size: 0.65rem;
            font-weight: 900;
            letter-spacing: 0.06em;
            transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
        }
        .speed-test__step-number {
            color: #64748b;
            font-size: 0.58rem;
            font-variant-numeric: tabular-nums;
        }
        .speed-test__step.is-active,
        .speed-test__step.is-complete {
            border-color: rgba(165, 180, 252, 0.42);
            background: rgba(99, 102, 241, 0.16);
            color: var(--speed-accent);
            box-shadow: 0 0 22px var(--speed-glow);
        }
        .speed-test__step.is-active .speed-test__step-number,
        .speed-test__step.is-complete .speed-test__step-number {
            color: #e2e8f0;
        }
        .speed-test__step-connector {
            height: 2px;
            background: linear-gradient(90deg, rgba(100, 116, 139, 0.3), var(--speed-accent), rgba(100, 116, 139, 0.3));
            opacity: 0.45;
        }
        .speed-test__step-connector.is-active {
            opacity: 1;
            box-shadow: 0 0 10px var(--speed-accent);
        }
        .speed-test__orbit-ring {
            position: absolute;
            top: 51%;
            left: 50%;
            z-index: 0;
            width: 14rem;
            height: 14rem;
            border: 1px dashed rgba(165, 180, 252, 0.2);
            border-radius: 50%;
            opacity: 0;
            pointer-events: none;
            transform: translate(-50%, -50%);
        }
        .speed-test__orbit-ring::before,
        .speed-test__orbit-ring::after {
            position: absolute;
            width: 0.4rem;
            height: 0.4rem;
            border-radius: 50%;
            background: var(--speed-accent);
            box-shadow: 0 0 12px var(--speed-accent);
            content: "";
        }
        .speed-test__orbit-ring::before {
            top: 1.1rem;
            left: 2rem;
        }
        .speed-test__orbit-ring::after {
            right: 0.8rem;
            bottom: 3rem;
            width: 0.28rem;
            height: 0.28rem;
        }
        .speed-test__orbit-ring.is-active {
            opacity: 0.8;
            animation: speed-test-orbit 12s linear infinite;
        }
        @keyframes speed-test-ambient {
            to { transform: rotate(360deg); }
        }
        @keyframes speed-test-orbit {
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }
        @keyframes speed-test-scan {
            from { transform: rotate(-62deg); }
            to { transform: rotate(62deg); }
        }
        @media (max-width: 480px) {
            .speed-test__visual {
                padding: 1rem 0.8rem 0.9rem;
                border-radius: 1.4rem;
            }
            .speed-test__gauge {
                height: 10.5rem;
            }
            .speed-test__step {
                gap: 0.3rem;
                font-size: 0.58rem;
            }
        }
        @media (min-width: 768px) {
            .speed-test__visual[data-stage="download"]::before {
                animation-play-state: paused;
            }
        }
        .privacy-banner {
            position: relative;
            z-index: 2;
            max-width: 80rem;
            margin: -2rem auto 1rem;
            padding-inline: 1rem;
        }
        .privacy-banner__card {
            overflow: hidden;
            border: 1px solid rgba(199, 210, 254, 0.8);
            border-radius: 1.5rem;
            background: linear-gradient(115deg, #ffffff 0%, #f5f3ff 58%, #eef2ff 100%);
            box-shadow: 0 18px 50px rgba(49, 46, 129, 0.12);
        }
        .privacy-banner__main {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            padding: 1.5rem 1.75rem;
        }
        .privacy-banner__icon {
            display: grid;
            width: 3.5rem;
            height: 3.5rem;
            flex: 0 0 auto;
            place-items: center;
            border: 1px solid rgba(165, 180, 252, 0.5);
            border-radius: 1.1rem;
            background: linear-gradient(145deg, #eef2ff, #f5f3ff);
            color: #4f46e5;
            font-size: 1.4rem;
        }
        .privacy-banner__copy {
            flex: 1;
            min-width: 0;
        }
        .privacy-banner__eyebrow {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.3rem;
            color: #6366f1;
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 0.12em;
        }
        .privacy-banner__eyebrow span {
            width: 0.45rem;
            height: 0.45rem;
            border-radius: 50%;
            background: #22c55e;
            box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
        }
        .privacy-banner__copy h2 {
            margin: 0;
            color: #172033;
            font-size: clamp(1.05rem, 2vw, 1.35rem);
            font-weight: 800;
            letter-spacing: -0.035em;
        }
        .privacy-banner__copy > p:last-child {
            margin: 0.35rem 0 0;
            color: #64748b;
            font-size: 0.83rem;
            line-height: 1.55;
        }
        .privacy-banner__link {
            display: inline-flex;
            flex: 0 0 auto;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            border: 1px solid #e0e7ff;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.78);
            color: #4f46e5;
            font-size: 0.8rem;
            font-weight: 700;
            transition: background 0.2s ease, transform 0.2s ease;
        }
        .privacy-banner__link:hover {
            transform: translateY(-1px);
            background: #ffffff;
        }
        .privacy-banner__marquee {
            overflow: hidden;
            border-top: 1px solid rgba(199, 210, 254, 0.5);
            background: rgba(238, 242, 255, 0.6);
        }
        .privacy-banner__track {
            display: flex;
            width: max-content;
            animation: privacy-marquee 34s linear infinite;
        }
        .privacy-banner__group {
            display: flex;
            flex: 0 0 auto;
            align-items: center;
            gap: 2.75rem;
            padding: 0.65rem 1.4rem;
        }
        .privacy-banner__group span {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            color: #4f46e5;
            font-size: 0.72rem;
            font-weight: 700;
            white-space: nowrap;
        }
        .privacy-banner__group i {
            color: #818cf8;
        }
        @keyframes privacy-marquee {
            to { transform: translateX(-50%); }
        }
        @media (max-width: 640px) {
            .privacy-banner {
                margin-top: -1.25rem;
                margin-bottom: 0;
            }
            .privacy-banner__main {
                align-items: flex-start;
                flex-wrap: wrap;
                gap: 0.9rem;
                padding: 1.2rem;
            }
            .privacy-banner__icon {
                width: 2.9rem;
                height: 2.9rem;
                border-radius: 0.9rem;
            }
            .privacy-banner__copy {
                flex-basis: calc(100% - 4rem);
            }
            .privacy-banner__link {
                margin-left: 3.8rem;
            }
        }
        @media (prefers-reduced-motion: reduce) {
            .privacy-banner__track {
                animation: none;
                transform: none;
            }
            .privacy-banner__group[aria-hidden="true"] {
                display: none;
            }
        }
