        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --bg: #0f1117;
            --bg-card: #1a1d2e;
            --bg-card-hover: #22263a;
            --accent: #8b5cf6;
            --accent-hover: #a78bfa;
            --accent-glow: rgba(139, 92, 246, 0.15);
            --text: #f1f5f9;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --border: rgba(255, 255, 255, 0.06);
            --radius: 16px;
            --radius-sm: 10px;
            --max-width: 1200px;
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        /* ── Nav ── */
        nav {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(15, 17, 23, 0.75);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
        }
        .nav-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .nav-logo {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-logo span { color: var(--accent); }
        .nav-links { display: flex; gap: 32px; align-items: center; }
        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: color 0.2s;
        }
        .nav-links a:hover { color: var(--text); }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text);
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* ── Hero ── */
        .hero {
            text-align: center;
            padding: 100px 24px 80px;
            position: relative;
            overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: -40%;
            left: 50%;
            transform: translateX(-50%);
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
                        radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
            pointer-events: none;
        }
        .hero h1 {
            font-size: clamp(2.2rem, 5vw, 3.6rem);
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 16px;
            letter-spacing: -0.02em;
        }
        .hero h1 .highlight {
            background: linear-gradient(135deg, var(--accent), #6366f1, #3b82f6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero p {
            color: var(--text-secondary);
            font-size: clamp(1rem, 2vw, 1.2rem);
            max-width: 560px;
            margin: 0 auto 40px;
        }

        /* Search */
        .search-box {
            max-width: 520px;
            margin: 0 auto;
            position: relative;
        }
        .search-box input {
            width: 100%;
            padding: 16px 20px 16px 52px;
            border-radius: 50px;
            border: 1px solid var(--border);
            background: var(--bg-card);
            color: var(--text);
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .search-box input::placeholder { color: var(--text-muted); }
        .search-box input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-glow);
        }
        .search-box svg {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
        }

        /* ── Section ── */
        .section {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }
        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 32px;
            text-align: center;
        }

        /* ── Category Cards ── */
        .categories {
            display: grid;

            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 20px;
            padding-bottom: 80px;
        }
        .cat-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 32px;
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            gap: 16px;
            transition: transform 0.25s, background 0.25s, border-color 0.25s;
        }
        .cat-card:hover {
            transform: translateY(-4px);
            background: var(--bg-card-hover);
            border-color: rgba(139, 92, 246, 0.3);
        }
        .cat-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background: var(--accent-glow);
            display: flex;
            align-items: center;

            font-size: 1.5rem;
            flex-shrink: 0;
        }
        .cat-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
        }
        .cat-card .cat-count {
            font-size: 0.8rem;
            color: var(--accent);
            font-weight: 600;
            margin-top: -8px;
        }
        .cat-card p {
            color: var(--text-secondary);
            font-size: 0.92rem;
            line-height: 1.5;
        }
        .cat-arrow {
            margin-top: auto;
            color: var(--text-muted);
            font-size: 1.1rem;
            transition: transform 0.2s, color 0.2s;
        }
        .cat-card:hover .cat-arrow {
            transform: translateX(4px);
            color: var(--accent);
        }

        /* ── Features ── */
        .features {
            padding: 40px 0 100px;
        }
        .features-grid {
            display: grid;

            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 20px;
        }
        .feat-card {
            text-align: center;
            padding: 36px 24px;
            border-radius: var(--radius);
            background: var(--bg-card);
            border: 1px solid var(--border);
            transition: transform 0.25s;
        }
        .feat-card:hover { transform: translateY(-3px); }
        .feat-card .feat-icon {
            font-size: 2rem;
            margin-bottom: 16px;
        }
        .feat-card h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .feat-card p {
            color: var(--text-secondary);
            font-size: 0.88rem;
            line-height: 1.5;
        }


        /* ── Trust Signals ── */
        .trust-signals {
            padding: 60px 0 80px;
            text-align: center;
        }
        .trust-grid {
            display: grid;

            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 20px;
            max-width: 1000px;
            margin: 0 auto;
        }
        .trust-card {
            text-align: center;
            padding: 32px 20px;
            border-radius: var(--radius);
            background: var(--bg-card);
            border: 1px solid var(--border);
            transition: transform 0.25s, box-shadow 0.25s;
        }
        .trust-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(139, 92, 246, 0.1);
        }
        .trust-card .trust-icon {
            font-size: 2.2rem;
            margin-bottom: 14px;
        }
        .trust-card .trust-number {
            font-size: 2.2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--accent), #6366f1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 4px;
        }
        .trust-card h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 6px;
        }
        .trust-card p {
            color: var(--text-secondary);
            font-size: 0.88rem;
            line-height: 1.5;
        }

        /* ── Footer ── */
        footer {
            border-top: 1px solid var(--border);
            padding: 40px 24px;
            text-align: center;
        }
        .footer-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
        }
        .footer-links {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;

        }
        .footer-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.2s;
        }
        .footer-links a:hover { color: var(--text); }
        .footer-copy {
            color: var(--text-muted);
            font-size: 0.82rem;
        }

        /* ── Mobile ── */
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-toggle { display: block; }
            .nav-links.open {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 64px;
                left: 0;
                right: 0;
                background: rgba(15, 17, 23, 0.95);
                backdrop-filter: blur(20px);
                padding: 24px;
                gap: 20px;
                border-bottom: 1px solid var(--border);
            }
            .hero { padding: 60px 20px 50px; }
            .categories { grid-template-columns: 1fr; }
            .features-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 420px) {
            .features-grid { grid-template-columns: 1fr; }
        }

        /* ── Browse by Category ── */
        .cat-grid { display: grid;
 grid-template-columns: repeat(6, 1fr); gap: 12px; }
        .cat-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 10px; background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.15); border-radius: 14px; text-decoration: none; color: var(--text); transition: all 0.25s ease; cursor: pointer; }
        .cat-card:hover { background: rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.4); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(139,92,246,0.15); }
        .cat-card .cat-emoji { font-size: 1.6rem; margin-bottom: 6px; }
        .cat-card .cat-name { font-size: 0.82rem; font-weight: 600; text-align: center; white-space: nowrap; }
        .cat-card .cat-count { font-size: 0.72rem; color: #8b5cf6; margin-top: 2px; }
        @media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
        @media (max-width: 600px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .cat-card { padding: 14px 6px; } }

        /* ── Featured Tools Grid ── */
        .featured-grid {
            display: grid;

            grid-template-columns: repeat(4, 1fr);
            gap: 14px;
        }
        .ft-card {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            text-decoration: none;
            color: inherit;
            transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
        }
        .ft-card:hover {
            transform: translateY(-2px);
            background: var(--bg-card-hover);
            border-color: rgba(139, 92, 246, 0.3);
            box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
        }
        .ft-icon {
            width: 42px;
            height: 42px;
            border-radius: 10px;
            background: var(--accent-glow);
            display: flex;
            align-items: center;

            font-size: 1.2rem;
            flex-shrink: 0;
        }
        .ft-info { min-width: 0; }
        .ft-name {
            font-size: 0.88rem;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .ft-desc {
            font-size: 0.78rem;
            color: var(--text-secondary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-top: 2px;
        }
        @media (max-width: 900px) {
            .featured-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 600px) {
            .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .ft-card { padding: 12px; gap: 10px; }
            .ft-icon { width: 36px; height: 36px; font-size: 1rem; }
            .ft-name { font-size: 0.82rem; }
            .ft-desc { font-size: 0.72rem; }
        }

        /* ── Search Dropdown ── */
        .search-box { position: relative; }
        .search-results {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            max-height: 400px;
            overflow-y: auto;
            display: none;
            z-index: 200;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }
        .search-results.active { display: block; }
        .search-results .sr-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            cursor: pointer;
            transition: background 0.15s;
            text-decoration: none;
            color: var(--text);
        }
        .search-results .sr-item:hover,
        .search-results .sr-item.active { background: var(--bg-card-hover); }
        .search-results .sr-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
        .search-results .sr-item:last-child { border-radius: 0 0 var(--radius) var(--radius); }
        .search-results .sr-icon {
            width: 36px; height: 36px; border-radius: 10px;
            background: var(--accent-glow);
            display: flex; align-items: center; justify-content: center;
            font-size: 0.85rem; flex-shrink: 0; color: var(--accent);
            font-weight: 700;
        }
        .search-results .sr-info { flex: 1; min-width: 0; }
        .search-results .sr-name { font-size: 0.92rem; font-weight: 600; }
        .search-results .sr-name mark { background: none; color: var(--accent); font-weight: 700; }
        .search-results .sr-desc { font-size: 0.8rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .search-results .sr-empty { padding: 24px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
        @media (max-width: 600px) {
            .search-results { max-height: 60vh; }
        }
    
        /* ── Latest Blog ── */
        .blog-section {
            padding: 60px 0 80px;
            background: linear-gradient(135deg, #0f1117 0%, #161222 100%);
        }
        .blog-grid {
            display: grid;

            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .blog-card {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(139,92,246,0.15);
            border-radius: 12px;
            padding: 24px;
            transition: all 0.3s ease;
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .blog-card:hover {
            border-color: rgba(139,92,246,0.4);
            background: rgba(139,92,246,0.08);
            transform: translateY(-2px);
        }
        .blog-card h3 {
            font-size: 1rem;
            font-weight: 600;
            margin: 0 0 10px;
            color: var(--text);
            line-height: 1.4;
        }
        .blog-card p {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin: 0;
        }
        .blog-card .blog-tag {
            display: inline-block;
            font-size: 0.7rem;
            color: #a78bfa;
            background: rgba(139,92,246,0.15);
            padding: 2px 8px;
            border-radius: 4px;
            margin-bottom: 10px;
        }
        .blog-cta {
            text-align: center;
            margin-top: 30px;
        }
        .blog-cta a {
            color: #a78bfa;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }
        .blog-cta a:hover { color: #c4b5fd; }
        @media (max-width: 768px) {
            .blog-grid { grid-template-columns: 1fr; }
        }
        @media (min-width: 769px) and (max-width: 1024px) {
            .blog-grid { grid-template-columns: repeat(2, 1fr); }
        }

        
    /* ── Site Stats Counter ── */
    .site-stats { padding: 60px 20px; text-align: center; }
    .site-stats-grid {
        display: grid;
 grid-template-columns: repeat(4, 1fr); gap: 24px;
        max-width: 900px; margin: 0 auto;
    }
    .stat-item { padding: 20px 10px; }
    .stat-number {
        font-size: 3rem; font-weight: 800; color: #8b5cf6;
        line-height: 1.1; margin-bottom: 8px;
    }
    .stat-label { font-size: 0.95rem; color: var(--text-secondary); }
    @media (max-width: 640px) {
        .site-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
        .stat-number { font-size: 2.2rem; }
    }


/* ── FAQ Section ── */
.faq-section { padding: 60px 20px 40px; max-width: 820px; margin: 0 auto; }
.faq-section h2 { text-align: center; font-size: 1.8rem; margin-bottom: 8px; color: var(--text); }
.faq-section .faq-sub { text-align: center; color: var(--text-secondary); margin-bottom: 32px; font-size: 0.95rem; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: var(--accent); }
.faq-item.active { border-color: var(--accent); }
.faq-question { width: 100%; background: var(--bg-secondary); color: var(--text); border: none; padding: 16px 20px; font-size: 1rem; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: inherit; line-height: 1.5; }
.faq-question:hover { background: rgba(139,92,246,0.06); }
.faq-item.active .faq-question { background: rgba(139,92,246,0.1); color: var(--accent); }
.faq-icon { font-size: 1.2rem; transition: transform 0.3s; flex-shrink: 0; color: var(--accent); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 20px; background: var(--bg-secondary); }
.faq-answer-inner { padding: 0 0 16px; color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
@media(max-width:640px) { .faq-section h2 { font-size: 1.4rem; } .faq-question { padding: 14px 16px; font-size: 0.93rem; } .faq-section { padding: 40px 16px 30px; } }

