/* ═══════════════════════════════════════════════════════════════
   Go23 Design System — main.css
   Philosophy: Apple + Stripe + Linear + Vercel
   ═══════════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────────────── */
:root {
    --bg:         #FAFBFC;
    --white:      #FFFFFF;
    --primary:    #217FBF;
    --primary-dk: #1565A0;
    --accent:     #00C2FF;
    --success:    #22C55E;
    --warning:    #F59E0B;
    --error:      #EF4444;
    --dark:       #1B1B1B;
    --muted:      #6B7280;
    --border:     #E5E7EB;
    --border-dk:  #D1D5DB;
    --surface:    #FFFFFF;
    --surface-2:  #F3F4F6;
    --radius:     18px;
    --radius-sm:  10px;
    --radius-xs:  6px;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow:     0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:  0 12px 40px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
    --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:  'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    --nav-h:      64px;
    --max-w:      1160px;
    --trans:      0.18s ease;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg:       #111318;
        --white:    #1C1F26;
        --surface:  #1C1F26;
        --surface-2:#242730;
        --dark:     #F0F2F5;
        --muted:    #9CA3AF;
        --border:   #2E3240;
        --border-dk:#394050;
        --shadow-sm:0 1px 3px rgba(0,0,0,.30);
        --shadow:   0 4px 12px rgba(0,0,0,.40);
        --shadow-lg:0 12px 40px rgba(0,0,0,.50);
    }
}
[data-theme="dark"] {
    --bg:       #111318;
    --white:    #1C1F26;
    --surface:  #1C1F26;
    --surface-2:#242730;
    --dark:     #F0F2F5;
    --muted:    #9CA3AF;
    --border:   #2E3240;
    --border-dk:#394050;
    --shadow-sm:0 1px 3px rgba(0,0,0,.30);
    --shadow:   0 4px 12px rgba(0,0,0,.40);
    --shadow-lg:0 12px 40px rgba(0,0,0,.50);
}
[data-theme="light"] {
    --bg:      #FAFBFC;
    --white:   #FFFFFF;
    --surface: #FFFFFF;
    --dark:    #1B1B1B;
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ─── Typography ─────────────────────────────────────────────────── */
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);    font-weight: 700; line-height: 1.2;  letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--muted); line-height: 1.7; }
.text-dark { color: var(--dark); }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-sm  { font-size: .875rem; }
.text-xs  { font-size: .75rem; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.font-mono { font-family: var(--font-mono); }

/* ─── Layout ─────────────────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 112px 0; }

/* ─── Navigation ─────────────────────────────────────────────────── */
.g23-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(250,251,252,0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}
[data-theme="dark"] .g23-nav {
    background: rgba(17,19,24,0.85);
}
.g23-nav .container {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
}
.g23-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.03em;
    flex-shrink: 0;
}
.g23-logo:hover { text-decoration: none; color: var(--dark); }
.g23-logo span { color: var(--primary); }

.g23-logo-img {
    height: calc(var(--nav-h) - 34px);
    max-height: 30px;
    width: auto;
    display: block;
    object-fit: contain;
}
.g23-logo-img-footer {
    height: 40px;
    /* Invert to white on dark footer background */
    filter: brightness(0) invert(1);
}

/* Mega menu nav */
.g23-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.g23-nav-item {
    position: relative;
}
.g23-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--dark);
    border-radius: var(--radius-xs);
    transition: background var(--trans), color var(--trans);
    cursor: pointer;
    border: none;
    background: none;
}
.g23-nav-link:hover, .g23-nav-link:focus { background: var(--surface-2); color: var(--primary); text-decoration: none; }
.g23-nav-link svg { width: 12px; height: 12px; transition: transform var(--trans); }
.g23-nav-item.open .g23-nav-link svg,
.g23-nav-item:focus-within .g23-nav-link svg { transform: rotate(180deg); }

/* Mega dropdown */
.g23-mega {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 640px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease;
}
.g23-nav-item.open .g23-mega,
.g23-nav-item:focus-within .g23-mega {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.g23-mega-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 500;
    color: var(--dark);
    transition: background var(--trans);
}
.g23-mega-item:hover { background: var(--surface-2); text-decoration: none; color: var(--dark); }
.g23-mega-item .g23-cat-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Nav right */
.g23-nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* Search bar in nav */
.g23-nav-search {
    position: relative;
}
.g23-nav-search input {
    height: 36px;
    width: 220px;
    padding: 0 62px 0 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .875rem;
    color: var(--dark);
    outline: none;
    transition: border-color var(--trans), width var(--trans);
}
.g23-nav-search input:focus { border-color: var(--primary); width: 280px; }
.g23-nav-search input::placeholder { color: var(--muted); }
.g23-nav-search-icons {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 2px;
}
.g23-nav-search-icon {
    width: 15px;
    height: 15px;
    color: var(--muted);
    pointer-events: none;
    flex-shrink: 0;
}
.g23-nav-mic-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    padding: 3px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: background var(--trans);
}
.g23-nav-mic-btn:hover { background: rgba(33,127,191,.1); }
.g23-nav-mic-btn.listening { color: #ef4444; animation: g23-pulse 1s infinite; }

/* Dark mode toggle */
.g23-theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background var(--trans), transform var(--trans);
}
.g23-theme-btn:hover { background: var(--border); transform: rotate(15deg); }

/* Mobile hamburger */
.g23-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
    margin-left: auto;
}
.g23-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--trans);
}

/* Mobile nav drawer */
.g23-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--surface);
    padding: 24px;
    overflow-y: auto;
    flex-direction: column;
    gap: 8px;
}
.g23-mobile-nav.open { display: flex; }
.g23-mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    padding: 4px;
    margin-bottom: 16px;
}
.g23-mobile-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    color: var(--dark);
    font-weight: 500;
    transition: background var(--trans);
}
.g23-mobile-cat:hover { background: var(--surface-2); text-decoration: none; }

/* ─── Search Results Dropdown ───────────────────────────────────── */
.g23-search-results {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 360px;
    max-height: 420px;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}
.g23-sr-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: background var(--trans);
    cursor: pointer;
}
.g23-sr-item:last-child { border-bottom: none; }
.g23-sr-item:hover { background: var(--surface-2); text-decoration: none; }
.g23-sr-icon { font-size: 1.2rem; }
.g23-sr-info .g23-sr-name { font-size: .9rem; font-weight: 500; color: var(--dark); }
.g23-sr-info .g23-sr-cat  { font-size: .75rem; color: var(--muted); }
.g23-sr-empty { padding: 24px; text-align: center; color: var(--muted); font-size: .875rem; }

/* ─── Hero Section ───────────────────────────────────────────────── */
.g23-hero {
    padding: 96px 0 80px;
    text-align: center;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.g23-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(33,127,191,0.10) 0%, transparent 70%);
    pointer-events: none;
}
.g23-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(33,127,191,.10);
    color: var(--primary);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(33,127,191,.20);
}
.g23-hero h1 { margin-bottom: 20px; }
.g23-hero-sub {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 40px;
}
.g23-hero-search {
    display: flex;
    gap: 0;
    max-width: 540px;
    margin: 0 auto 16px;
    background: var(--surface);
    border: 1.5px solid var(--border-dk);
    border-radius: 999px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: border-color var(--trans), box-shadow var(--trans);
}
.g23-hero-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33,127,191,.15), var(--shadow);
}
.g23-hero-search input {
    flex: 1;
    height: 52px;
    padding: 0 20px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--dark);
}
.g23-hero-search input::placeholder { color: var(--muted); }
.g23-hero-search button {
    height: 52px;
    padding: 0 14px;
    background: transparent;
    color: var(--primary);
    border: none;
    border-radius: 0;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--trans);
    display: flex;
    align-items: center;
    justify-content: center;
}
.g23-hero-search button:hover { background: transparent; color: var(--primary-dk); }
.g23-hero-search button:last-of-type { border-radius: 0 999px 999px 0; padding-right: 18px; }
.g23-hero-hints {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .8rem;
    color: var(--muted);
}
.g23-hero-hints span { font-weight: 500; }
.g23-hint-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--trans), border-color var(--trans);
}
.g23-hint-chip:hover { background: var(--surface-2); border-color: var(--primary); }

/* ─── Category Grid ───────────────────────────────────────────────── */
.g23-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.g23-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
    text-align: center;
    cursor: pointer;
}
.g23-cat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    text-decoration: none;
}
.g23-cat-card .g23-cat-emoji { font-size: 2rem; }
.g23-cat-card .g23-cat-name  { font-size: .875rem; font-weight: 600; color: var(--dark); }
.g23-cat-card .g23-cat-count { font-size: .75rem; color: var(--muted); }

/* ─── Tool Cards ─────────────────────────────────────────────────── */
.g23-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.g23-tool-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
    position: relative;
}
.g23-tool-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    text-decoration: none;
}
.g23-tool-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.g23-tool-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.g23-tool-name { font-size: .95rem; font-weight: 600; color: var(--dark); }
.g23-tool-desc { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.g23-tool-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.g23-tool-badge.new     { background: rgba(34,197,94,.15);  color: #16A34A; }
.g23-tool-badge.trending { background: rgba(245,158,11,.15); color: #D97706; }
.g23-tool-badge.popular  { background: rgba(33,127,191,.15); color: var(--primary); }

/* ─── Section Headers ────────────────────────────────────────────── */
.g23-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}
.g23-section-header h2 { font-size: 1.5rem; }
.g23-section-header a  { font-size: .875rem; color: var(--primary); font-weight: 500; white-space: nowrap; }

/* ─── Breadcrumb ──────────────────────────────────────────────────── */
.g23-breadcrumb { padding: 16px 0; margin-bottom: 8px; }
.g23-breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.g23-breadcrumb li { display: flex; align-items: center; }
.g23-breadcrumb a  { font-size: .85rem; color: var(--muted); }
.g23-breadcrumb a:hover { color: var(--primary); }
.g23-breadcrumb [aria-current="page"] { font-size: .85rem; color: var(--dark); font-weight: 500; }
.g23-bc-sep { padding: 0 8px; color: var(--border-dk); font-size: .8rem; }

/* ─── Tool Page Layout ───────────────────────────────────────────── */
.g23-tool-page { padding-top: 40px; }
.g23-tool-hero { margin-bottom: 40px; }
.g23-tool-hero h1 { margin-bottom: 8px; }
.g23-tool-hero p { font-size: 1rem; color: var(--muted); max-width: 600px; }

.g23-tool-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.g23-tool-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: var(--muted);
}
.g23-tool-meta-item svg { width: 14px; height: 14px; }

/* Tool UI box */
.g23-tool-ui {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 40px;
}
.g23-tool-ui-inner { padding: 28px; }

/* ─── Form Elements ───────────────────────────────────────────────── */
.g23-label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}
.g23-input, .g23-select, .g23-textarea {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: var(--bg);
    border: 1.5px solid var(--border-dk);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    color: var(--dark);
    outline: none;
    transition: border-color var(--trans), box-shadow var(--trans);
}
.g23-input:focus, .g23-select:focus, .g23-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33,127,191,.12);
}
.g23-textarea { resize: vertical; min-height: 140px; }

.g23-form-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.g23-form-col { flex: 1; min-width: 180px; }

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--trans);
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-dk); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: rgba(33,127,191,.08); }
.btn-ghost {
    background: transparent;
    color: var(--dark);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #16A34A; color: #fff; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: .8rem; border-radius: var(--radius-xs); }
.btn-icon { width: 38px; height: 38px; padding: 0; }
.btn-full { width: 100%; }

/* ─── Result Box ─────────────────────────────────────────────────── */
.g23-result {
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-family: var(--font-mono);
    font-size: .9rem;
    line-height: 1.6;
    word-break: break-all;
    color: var(--dark);
    position: relative;
    min-height: 52px;
}
.g23-result-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

/* ─── Stat Boxes (tool page sidebar) ───────────────────────────── */
.g23-stat-row { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.g23-stat-box {
    flex: 1;
    min-width: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    text-align: center;
}
.g23-stat-box .g23-stat-val { font-size: 1.4rem; font-weight: 700; color: var(--dark); }
.g23-stat-box .g23-stat-lbl { font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* ─── Ads ─────────────────────────────────────────────────────────── */
.g23-ad-wrap {
    display: flex;
    justify-content: center;
    padding: 24px 0;
    min-height: 90px;
}
.g23-ad-wrap.g23-ad-rect { min-height: 250px; }
.g23-ad-label {
    text-align: center;
    font-size: .65rem;
    color: var(--muted);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

/* ─── FAQ — Apple-style minimalist ────────────────────────────────── */
.g23-faq {
    display: flex;
    flex-direction: column;
}
.g23-faq-item {
    border-top: 1px solid var(--border);
}
.g23-faq-item:last-child {
    border-bottom: 1px solid var(--border);
}
.g23-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 22px 0;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    color: var(--dark);
    gap: 24px;
    line-height: 1.45;
    transition: color .18s;
}
.g23-faq-q:hover { color: var(--primary); }
/* Pure-CSS plus → minus icon */
.g23-faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    color: var(--muted);
    transition: color .2s;
}
.g23-faq-q:hover .g23-faq-icon,
.g23-faq-item.open .g23-faq-icon { color: var(--primary); }
.g23-faq-icon::before,
.g23-faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s ease;
}
.g23-faq-icon::before {
    width: 14px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}
.g23-faq-icon::after {
    width: 1.5px;
    height: 14px;
    transform: translate(-50%, -50%);
}
.g23-faq-item.open .g23-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}
/* Answer */
.g23-faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    font-size: .9375rem;
    color: var(--muted);
    line-height: 1.82;
    opacity: 0;
    transition: max-height .38s cubic-bezier(.4,0,.2,1),
                opacity .3s ease,
                padding .38s cubic-bezier(.4,0,.2,1);
}
.g23-faq-item.open .g23-faq-a {
    padding-bottom: 26px;
    opacity: 1;
}

/* ─── Related Tools ──────────────────────────────────────────────── */
.g23-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.g23-related-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 500;
    color: var(--dark);
    transition: border-color var(--trans), background var(--trans);
}
.g23-related-card:hover { border-color: var(--primary); background: rgba(33,127,191,.04); text-decoration: none; color: var(--dark); }
.g23-related-card .g23-ri { font-size: 1.1rem; }

/* ─── Toast Notification ─────────────────────────────────────────── */
.g23-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--dark);
    color: var(--bg);
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    animation: g23-slide-in .22s ease;
    pointer-events: none;
}
@keyframes g23-slide-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.g23-toast.hidden { display: none; }

/* ─── Colorful Section ───────────────────────────────────────────── */
.g23-color-section {
    background: linear-gradient(135deg, #217FBF 0%, #00C2FF 100%);
    border-radius: var(--radius);
    padding: 56px 40px;
    color: #fff;
    text-align: center;
}
.g23-color-section h2 { color: #fff; }
.g23-color-section p  { color: rgba(255,255,255,.85); }

/* ─── Info Cards (Why, How, etc.) ───────────────────────────────── */
.g23-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.g23-info-card {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.g23-info-card h3 { margin-bottom: 8px; font-size: 1rem; }
.g23-info-card p  { font-size: .875rem; }
.g23-info-icon { font-size: 1.6rem; margin-bottom: 12px; }

/* ─── Footer ──────────────────────────────────────────────────────── */
.g23-footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding: 64px 0 32px;
    margin-top: 80px;
}
[data-theme="dark"] .g23-footer { background: #0C0E12; }
.g23-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}
.g23-footer-brand .g23-logo {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.g23-footer-brand p { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.6; }
.g23-footer-col h4 { color: #fff; font-size: .875rem; margin-bottom: 16px; }
.g23-footer-col a {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: .85rem;
    margin-bottom: 10px;
    transition: color var(--trans);
}
.g23-footer-col a:hover { color: #fff; text-decoration: none; }
.g23-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.g23-footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }
.g23-footer-bottom a { color: rgba(255,255,255,.5); font-size: .8rem; }
.g23-footer-bottom a:hover { color: #fff; }

/* ─── Utility ─────────────────────────────────────────────────────── */
.g23-divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.g23-center  { text-align: center; }
.g23-hide    { display: none !important; }
.g23-flex    { display: flex; align-items: center; gap: 12px; }
.g23-mt-sm   { margin-top: 16px; }
.g23-mt      { margin-top: 32px; }
.g23-mt-lg   { margin-top: 56px; }
.g23-mb-sm   { margin-bottom: 16px; }
.g23-mb      { margin-bottom: 32px; }
.sr-only     { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .g23-cat-grid { grid-template-columns: repeat(4, 1fr); }
    .g23-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-h: 56px; }
    .g23-nav-links, .g23-nav-search { display: none; }
    .g23-hamburger { display: flex; }
    .g23-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .g23-hero { padding: 64px 0 56px; }
    .g23-hero-search { max-width: 100%; }
    .g23-mega { display: none; }
    .g23-tools-grid { grid-template-columns: 1fr; }
    .g23-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .g23-footer-brand { grid-column: 1 / -1; }
    .section { padding: 56px 0; }
    .g23-form-row { flex-direction: column; }
    .g23-search-results { width: 100%; right: -8px; }
    .container { padding: 0 16px; }
}

@media (max-width: 480px) {
    .g23-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .g23-footer-grid { grid-template-columns: 1fr; }
    .g23-footer-bottom { flex-direction: column; align-items: flex-start; }
    .g23-tool-ui-inner { padding: 18px; }
    .g23-hero { padding: 48px 0 40px; }
}

/* ─── Print ────────────────────────────────────────────────────────── */
@media print {
    .g23-nav, .g23-footer, .g23-ad-wrap, .g23-mobile-nav { display: none; }
    body { background: #fff; color: #000; }
}
