/* ==========================================================================
   Tools That Help — Master Design System
   Sleek Electric Blue · Cyan Highlight · Deep Slate Navy
   Plus Jakarta Sans (headings) · IBM Plex Mono (code) · Inter (body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;0,800;1,600&family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
    /* Default: Light (White) Theme matching logo palette */
    --bg:          #f8fafc;
    --bg-card:     #ffffff;
    --bg-glass:    rgba(0, 0, 0, 0.03);
    --border:      #cbd5e1;
    --border-h:    #0066FF;

    /* Brand palette — extracted from Tools That Help logo */
    --brand-blue:  #0066FF;
    --brand-cyan:  #00C2FF;
    --brand-sky:   #0284C7;
    --brand-navy:  #0F172A;

    --rust:        #0066FF;
    --rust-d:      #0052CC;
    --green:       #059669;
    --amber:       #D97706;
    --cyan:        #0284C7;
    --pink:        #DB2777;
    --purple:      #7C3AED;

    --grad:        linear-gradient(135deg, #0066FF 0%, #00C2FF 100%);
    --grad-hover:  linear-gradient(135deg, #0052CC 0%, #00A3FF 100%);
    --glow:        0 0 24px rgba(0, 102, 255, 0.22);

    --text:        #0f172a; /* Deep Slate Navy - ultra sharp title text */
    --muted:       #1e293b; /* Dark Slate Charcoal - 100% crisp readable body text */
    --dim:         #334155; /* Slate Gray for secondary text */

    --shadow:      0 10px 30px rgba(15, 23, 42, 0.08);

    --font-h: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-b: 'Inter', system-ui, sans-serif;
    --font-m: 'IBM Plex Mono', 'Fira Code', monospace;

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 9999px;
}

/* ── DARK MODE OVERRIDES ── */
[data-theme="dark"] {
    --bg:          #090d16;
    --bg-card:     rgba(15, 23, 42, 0.85);
    --bg-glass:    rgba(255, 255, 255, 0.04);
    --border:      rgba(255, 255, 255, 0.10);
    --border-h:    rgba(0, 102, 255, 0.5);

    --brand-blue:  #0066FF;
    --brand-cyan:  #00C2FF;
    --rust:        #0066FF;
    --rust-d:      #0052CC;
    --green:       #10B981;
    --amber:       #F59E0B;
    --text:        #f8fafc;
    --muted:       #cbd5e1;
    --dim:         #94a3b8;

    --shadow:      0 16px 48px rgba(0, 0, 0, 0.65);
}

/* ── LIGHT MODE OVERRIDES ── */
[data-theme="light"] {
    --bg:          #f8fafc;
    --bg-card:     #ffffff;
    --bg-glass:    rgba(0, 0, 0, 0.03);
    --border:      #cbd5e1;
    --border-h:    #0066FF;
    --text:        #0f172a;
    --muted:       #1e293b;
    --dim:         #334155;
    --shadow:      0 10px 30px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.65;
    transition: background .2s, color .2s;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue);
}

/* Background Grid */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 194, 255, 0.06) 0%, transparent 50%),
        linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
}

[data-theme="dark"] .bg-grid {
    background:
        radial-gradient(circle at 15% 25%, rgba(0, 102, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 75%, rgba(0, 194, 255, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 44px 44px, 44px 44px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-h);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}

p, li {
    color: var(--muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all .2s;
}

/* ── HEADER & NAVBAR ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    transition: background .2s, border-color .2s;
}

[data-theme="dark"] .header {
    background: rgba(9, 13, 22, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
    flex-shrink: 0;
    text-decoration: none;
}

.logo span {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: -.3px;
    white-space: nowrap;
    line-height: 1;
}

.logo span .brand-highlight {
    color: var(--brand-blue);
}

[data-theme="dark"] .logo span .brand-highlight {
    color: var(--brand-cyan);
}

.logo img, .logo-img {
    height: 38px !important;
    width: 38px !important;
    max-height: 38px !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 102, 255, 0.25));
    transition: transform .25s ease;
    flex-shrink: 0;
}

.logo:hover img, .logo:hover .logo-img {
    transform: scale(1.06);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: nowrap;
}

.nav-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--muted);
    padding: .42rem .8rem;
    border-radius: var(--r-xl);
    white-space: nowrap;
    transition: all .2s;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--brand-blue);
    background: rgba(0, 102, 255, 0.06);
    border-color: rgba(0, 102, 255, 0.15);
}

[data-theme="dark"] .nav-link:hover {
    color: var(--brand-cyan);
    background: rgba(0, 194, 255, 0.08);
    border-color: rgba(0, 194, 255, 0.2);
}

.nav-link.active {
    color: #ffffff !important;
    background: var(--grad);
    border-color: rgba(0, 102, 255, .4);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.25);
}

/* ── SLEEK KO-FI BUY ME A COFFEE BUTTON ── */
.kofi-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .85rem;
    border-radius: var(--r-xl);
    background: rgba(255, 94, 91, 0.08);
    border: 1px solid rgba(255, 94, 91, 0.28);
    color: #E11D48 !important;
    font-family: var(--font-b);
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all .2s ease;
    text-decoration: none;
    margin-left: .35rem;
}

.kofi-btn i {
    font-size: 1.05rem;
    color: #E11D48;
    transition: transform .2s ease;
}

.kofi-btn:hover {
    background: rgba(255, 94, 91, 0.16);
    border-color: rgba(255, 94, 91, 0.5);
    color: #BE123C !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.15);
}

.kofi-btn:hover i {
    transform: scale(1.15) rotate(-5deg);
}

[data-theme="dark"] .kofi-btn {
    background: rgba(255, 94, 91, 0.14);
    border-color: rgba(255, 94, 91, 0.35);
    color: #FF6B6B !important;
}

[data-theme="dark"] .kofi-btn i {
    color: #FF6B6B;
}

[data-theme="dark"] .kofi-btn:hover {
    background: rgba(255, 94, 91, 0.24);
    border-color: rgba(255, 94, 91, 0.6);
    color: #FF8787 !important;
}

/* ── SLEEK THEME TOGGLE BUTTON ── */
.theme-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #d97706;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all .2s ease;
    flex-shrink: 0;
    margin-left: .3rem;
}

.theme-btn:hover {
    background: #e2e8f0;
    border-color: #0066FF;
    color: #0066FF;
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

[data-theme="dark"] .theme-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #00C2FF;
}

[data-theme="dark"] .theme-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #00C2FF;
    color: #38BDF8;
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(0, 194, 255, 0.25);
}

/* ── HERO SECTION ── */
.hero {
    max-width: 900px;
    margin: 110px auto 3rem;
    padding: 0 1.5rem;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--brand-blue);
    padding: .38rem 1.1rem;
    border-radius: var(--r-xl);
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.22);
    margin-bottom: 1.2rem;
    letter-spacing: .5px;
    text-transform: uppercase;
}

[data-theme="dark"] .hero-pill {
    color: var(--brand-cyan);
    background: rgba(0, 194, 255, 0.1);
    border-color: rgba(0, 194, 255, 0.25);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    color: #0f172a;
}

.hero h1 span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero h1 {
    color: #ffffff;
}

.hero p {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 2.2rem;
    line-height: 1.65;
}

/* Search bar */
.search-container {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.35rem;
    color: var(--dim);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 1.1rem 1.2rem 1.1rem 3.2rem;
    border-radius: var(--r-lg);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-family: var(--font-b);
    font-size: 1.02rem;
    outline: none;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: all .2s;
}

.search-input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.2);
}

.search-input::placeholder {
    color: #64748b;
}

[data-theme="dark"] .search-input {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
}

/* ── FAVORITES / RECENTLY USED TOOLS BAR ── */
#recent-tools-bar {
    max-width: 1320px; margin: 0 auto 2.5rem; padding: 0 1.5rem; display: none;
}
.recents-header {
    display: flex; align-items: center; gap: .5rem; font-size: .88rem;
    font-weight: 700; color: var(--muted); margin-bottom: .8rem;
    text-transform: uppercase; letter-spacing: .5px; font-family: var(--font-m);
}
.recents-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem;
}
.recent-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: .75rem 1rem;
    display: flex; align-items: center; gap: .75rem; text-decoration: none;
    color: var(--text); font-size: .85rem; font-weight: 600; transition: all .2s;
}
.recent-card i { font-size: 1.2rem; color: var(--brand-blue); flex-shrink: 0; }
[data-theme="dark"] .recent-card i { color: var(--brand-cyan); }
.recent-card:hover {
    border-color: var(--border-h); transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,102,255,0.2); color: #fff; background: var(--grad);
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .92rem;
    padding: .8rem 1.8rem;
    border-radius: var(--r-md);
    cursor: pointer;
    border: none;
    transition: all .25s;
    text-decoration: none;
}

.btn-primary {
    background: var(--grad);
    color: #fff !important;
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--grad-hover);
    box-shadow: 0 0 36px rgba(0, 102, 255, .5);
}

.btn-outline {
    background: var(--bg-glass);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: rgba(0, 0, 0, .04);
    border-color: var(--border-h);
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-outline:hover {
    background: rgba(255, 255, 255, .06);
}

.btn-sm {
    padding: .5rem 1.1rem;
    font-size: .82rem;
}

.btn[disabled] {
    opacity: .5;
    pointer-events: none;
}

/* ── TOOL CATEGORIES & GRID ── */
.cat-section {
    max-width: 1320px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.cat-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.2rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--border);
}

.cat-icon {
    font-size: 1.5rem;
    color: var(--brand-blue);
}

.cat-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
}

.cat-count {
    font-size: .78rem;
    font-weight: 700;
    color: var(--dim);
    margin-left: auto;
    background: var(--bg-glass);
    padding: .2rem .6rem;
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.1rem;
}

.tool-item {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--r-md);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #0f172a;
    transition: all .22s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

[data-theme="dark"] .tool-item {
    background: rgba(15, 23, 42, 0.78);
    border-color: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
}

.tool-item:hover {
    border-color: var(--brand-blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.15);
}

.tool-item-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .6rem;
}

.tool-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--brand-blue);
    flex-shrink: 0;
}

.tool-item h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
}

.tool-item p {
    font-size: .86rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ── SIDEBAR & WORKSPACE (TOOL SUITES) ── */
.sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.2rem;
    backdrop-filter: blur(20px);
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
}

.sidebar-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--dim);
    margin: 1.1rem 0 .4rem .4rem;
}

.tool-btn {
    display: flex;
    align-items: center;
    gap: .6rem;
    width: 100%;
    background: transparent;
    border: 1px solid transparent;
    color: #1e293b;
    padding: .62rem .8rem;
    border-radius: var(--r-sm);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-b);
    font-size: .88rem;
    font-weight: 600;
    transition: all .18s;
    margin-bottom: .25rem;
}

.tool-btn i {
    font-size: 1.15rem;
    color: var(--brand-blue);
    flex-shrink: 0;
}

.tool-btn:hover {
    background: rgba(0, 102, 255, .08);
    color: var(--brand-blue);
    border-color: rgba(0, 102, 255, .2);
}

.tool-btn.active {
    background: linear-gradient(135deg, #0066FF 0%, #00C2FF 100%) !important;
    border-color: rgba(0, 102, 255, .45);
    color: #fff !important;
    font-weight: 700;
}

.tool-btn.active i {
    color: #fff !important;
}

[data-theme="dark"] .tool-btn {
    color: #cbd5e1;
}

[data-theme="dark"] .tool-btn:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.06);
}

.workspace {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.pane {
    display: none;
    width: 100%;
    max-width: 850px;
    animation: fadeUp .3s ease;
}

.pane.active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pane h2 {
    font-size: 1.75rem;
    margin-bottom: .4rem;
    color: var(--text);
}

.pane > p {
    color: var(--muted);
    margin-bottom: 1.8rem;
    font-size: .93rem;
}

/* Form Controls */
.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: .5rem;
    letter-spacing: .3px;
    text-transform: uppercase;
    font-family: var(--font-m);
}

.input,
textarea.input,
select.input {
    width: 100%;
    padding: .8rem 1rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--r-sm);
    color: #0f172a;
    font-family: var(--font-b);
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

[data-theme="dark"] .input,
[data-theme="dark"] textarea.input,
[data-theme="dark"] select.input {
    background: rgba(15, 23, 42, 0.8) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .25);
}

textarea.input {
    resize: vertical;
    min-height: 120px;
}

.out-box {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--r-sm);
    padding: 1rem;
    font-family: var(--font-m);
    font-size: .95rem;
    color: #15803d;
    word-break: break-all;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

[data-theme="dark"] .out-box {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: #4ade80 !important;
}

.calc-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--r-md);
    padding: 1.2rem;
    margin-bottom: 1.2rem;
}

[data-theme="dark"] .calc-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.calc-card label {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: .6rem;
}

/* ── FAQ & CARDS ── */
.card, .content-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.faq-section {
    max-width: 1200px;
    margin: 4rem auto 2.5rem;
    padding: 0 1.5rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: .6rem;
}

.faq-header p {
    color: var(--muted);
    font-size: 1.02rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.5rem;
    transition: all .25s ease;
}

.faq-card:hover {
    border-color: var(--border-h);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .6rem;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
}

.faq-question i {
    color: var(--brand-blue);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.faq-answer {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.65;
}

/* ── FOOTER ── */
.footer {
    background: rgba(241, 245, 249, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding: 2rem;
    margin-top: 4rem;
    text-align: center;
    color: var(--dim);
    font-size: .83rem;
}

[data-theme="dark"] .footer {
    background: rgba(9, 13, 22, 0.94);
    border-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

/* ── TOAST NOTIFICATIONS ── */
#toast-container {
    position: fixed; bottom: 28px; right: 28px; z-index: 9999;
    display: flex; flex-direction: column; gap: .75rem; pointer-events: none;
}
.toast {
    background: rgba(255, 255, 255, 0.97); border: 1px solid var(--brand-blue);
    color: #0f172a; padding: .7rem 1.2rem; border-radius: var(--r-md);
    font-family: var(--font-b); font-weight: 600; font-size: .88rem;
    display: flex; align-items: center; gap: .6rem; backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12); animation: toastIn .3s ease;
}
[data-theme="dark"] .toast {
    background: rgba(15, 23, 42, 0.95); color: #fff;
    border-color: var(--brand-blue); box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
