/* ------------------------------------------------------------------
   NoMore portal styles. Palette mirrors the loader's ImGui theme
   (theme.h): #191919 background, #1e1e1ed2 cards, #ff69b4 accent.
------------------------------------------------------------------ */

:root {
    --bg:           #191919;
    --bg-deep:      #121212;
    --card:         rgba(30, 30, 30, 0.95);
    --card-border:  rgba(255, 255, 255, 0.08);
    --control-bg:   #2c2c2c;
    --control-bg-2: #313131;

    --text:         #f0f0f0;
    --text-muted:   #b8b8b8;
    --text-faint:   #7a7a7a;

    --accent:       #ff69b4;
    --accent-soft:  rgba(255, 105, 180, 0.18);
    --accent-very:  rgba(255, 105, 180, 0.08);
    --accent-press: #f04ea0;

    --ok:           #78dc82;
    --warn:         #f4b860;
    --err:          #dc5050;

    --radius:       10px;
    --radius-lg:    14px;

    --shadow-card:  0 8px 30px rgba(0, 0, 0, 0.45);
    --shadow-key:   0 0 0 1px rgba(255, 105, 180, 0.4),
                    0 0 24px rgba(255, 105, 180, 0.12);
}

* { box-sizing: border-box; }

/* `display: flex/grid/etc.` on a class beats the default `[hidden]
   { display: none }`, so we need an explicit override. */
[hidden] { display: none !important; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: -apple-system, "Segoe UI", system-ui, "Inter",
                 "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(ellipse at top, #1e1820 0%, #161616 50%, var(--bg-deep) 100%);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-press); }

/* ---------- Layout ---------- */

.shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.5px;
    color: var(--text);
}
.brand .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}
.brand small {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

/* ---------- Card ---------- */

.card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 28px;
    width: 100%;
    max-width: 380px;
}

.card.wide { max-width: 540px; }

.card h1 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 600;
}
.card p.lead {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-size: 14px;
}

/* ---------- Tabs ---------- */

.tabs {
    display: inline-flex;
    background: var(--control-bg-2);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 22px;
    gap: 4px;
}
.tabs button {
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 13px;
    padding: 7px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    transition: color 120ms, background 120ms;
}
.tabs button:hover { color: var(--text); }
.tabs button.active {
    background: var(--accent);
    color: #fff;
}

/* ---------- Form ---------- */

.field {
    display: block;
    margin-bottom: 14px;
}
.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-muted);
}
.field input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    background: var(--control-bg);
    color: var(--text);
    font-size: 14px;
    transition: border 120ms, background 120ms;
    font-family: inherit;
}
.field input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--control-bg-2);
}
.field input::placeholder { color: var(--text-faint); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 120ms, transform 80ms;
    font-family: inherit;
}
.btn:hover  { background: var(--accent-press); }
.btn:active { transform: translateY(1px); }
.btn:disabled {
    background: var(--control-bg);
    color: var(--text-faint);
    cursor: not-allowed;
}

.btn.secondary {
    background: var(--control-bg-2);
    color: var(--text);
}
.btn.secondary:hover { background: var(--control-bg); }

.btn.danger { background: var(--err); }
.btn.danger:hover { background: #c73a3a; }

.btn.row-narrow { width: auto; padding: 8px 16px; font-size: 13px; }

/* ---------- Status / errors ---------- */

.status {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    line-height: 1.45;
    background: var(--accent-very);
    color: var(--text-muted);
    border: 1px solid var(--card-border);
}
.status.error {
    background: rgba(220, 80, 80, 0.12);
    color: var(--err);
    border-color: rgba(220, 80, 80, 0.4);
}
.status.ok {
    background: rgba(120, 220, 130, 0.10);
    color: var(--ok);
    border-color: rgba(120, 220, 130, 0.30);
}
.status.warn {
    background: rgba(244, 184, 96, 0.10);
    color: var(--warn);
    border-color: rgba(244, 184, 96, 0.32);
}

/* ---------- Dashboard ---------- */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    border-bottom: 1px solid var(--card-border);
}

.dash-grid {
    width: 100%;
    max-width: 720px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 720px) {
    .dash-grid { grid-template-columns: 1fr 1fr; }
    .dash-grid .span-2 { grid-column: 1 / span 2; }
}

.tile {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
}
.tile h3 {
    margin: 0 0 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    font-weight: 600;
}
.tile .big {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}
.tile .sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.kv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    font-size: 14px;
}
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--text-muted); }
.kv .v { color: var(--text); font-weight: 500; }

.key-display {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}
.key-display input {
    flex: 1;
    padding: 11px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    background: var(--bg-deep);
    color: var(--text);
    font-family: "Consolas", "Menlo", monospace;
    font-size: 13px;
    box-shadow: var(--shadow-key);
}
.key-display button {
    flex: 0 0 auto;
}

.actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* ---------- Download tile ---------- */

.download-tile h3 {
    /* The download tile leads the dashboard, so a slightly stronger
       header reads better than the default tile h3. */
    font-size: 14px;
    color: var(--text);
}
.download-tile .sub {
    margin-bottom: 14px;
}
.download-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.download-btn {
    width: auto;
    padding: 12px 22px;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(255, 105, 180, 0.20);
}
.download-btn:hover { color: #fff; }

/* ---------- Footer ---------- */

footer {
    text-align: center;
    padding: 20px;
    color: var(--text-faint);
    font-size: 12px;
}

/* ---------- Footer support links ---------- */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 13px;
}
.footer-links a {
    color: var(--text-faint);
    text-decoration: none;
    border-bottom: 1px dotted transparent;
    transition: color 120ms ease, border-color 120ms ease;
}
.footer-links a:hover {
    color: var(--accent, #ff69b4);
    border-bottom-color: currentColor;
}
.footer-links .sep {
    opacity: 0.5;
}
.footer-brand {
    font-size: 12px;
    color: var(--text-faint);
    opacity: 0.8;
}

/* ==================================================================
   Landing page (index.html)
   Adds: peach complementary palette, top nav with pill CTA, hero,
   video showcase / carousel, feature cards.
================================================================== */

:root {
    --peach:        #ffb385;
    --peach-soft:   rgba(255, 179, 133, 0.18);
    --peach-deep:   #f59a64;

    /* Nice pink<->peach gradient for hero CTA / accents. */
    --grad-pp:      linear-gradient(135deg, #ff69b4 0%, #ffb385 100%);
    --grad-pp-rev:  linear-gradient(135deg, #ffb385 0%, #ff69b4 100%);
}

/* ---------- Top navigation ---------- */

.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    border-bottom: 1px solid var(--card-border);
    background: rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.topnav .brand {
    text-decoration: none;
}
.topnav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.navlink {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    transition: color 120ms ease, background 120ms ease;
}
.navlink:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}
.btn-pill {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--grad-pp);
    color: #1a0d14;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    box-shadow: 0 6px 22px rgba(255, 105, 180, 0.22);
    transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(255, 179, 133, 0.28);
    color: #1a0d14;
}

/* ---------- Hero ---------- */

.hero {
    text-align: center;
    padding: 64px 24px 36px;
}
.hero-icon {
    display: block;
    margin: 0 auto 22px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    box-shadow:
        0 0 0 1px rgba(255, 179, 133, 0.25),
        0 8px 40px rgba(255, 105, 180, 0.25);
    background: var(--peach-soft);
}
.hero-title {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 auto 12px;
    max-width: 820px;
    background: var(--grad-pp);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}
.hero-sub {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-muted);
    margin: 0 auto 28px;
    max-width: 620px;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--grad-pp);
    color: #1a0d14;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 10px 38px rgba(255, 105, 180, 0.30);
    transition: transform 120ms ease, box-shadow 120ms ease, background 200ms ease;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(255, 179, 133, 0.34);
    background: var(--grad-pp-rev);
    color: #1a0d14;
}
.cta-arrow {
    transition: transform 200ms ease;
    font-weight: 700;
}
.btn-cta:hover .cta-arrow { transform: translateX(3px); }

.hero-foot {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-faint);
}

/* ---------- Video showcase / carousel ---------- */

.showcase {
    max-width: 960px;
    margin: 24px auto 0;
    padding: 0 20px;
}
.showcase-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.showcase-tab {
    background: var(--control-bg-2);
    color: var(--text-muted);
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    transition: color 120ms, background 120ms, border-color 120ms;
}
.showcase-tab:hover {
    color: var(--text);
    border-color: var(--card-border);
}
.showcase-tab.active {
    background: var(--grad-pp);
    color: #1a0d14;
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(255, 105, 180, 0.25);
}

.showcase-stage {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    box-shadow:
        0 0 0 1px rgba(255, 179, 133, 0.10),
        0 20px 80px rgba(0, 0, 0, 0.55);
}
.showcase-stage video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
    object-fit: cover;
}
.showcase-hint {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--peach);
    font-size: 12px;
    letter-spacing: 0.4px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 179, 133, 0.30);
    pointer-events: none;
}

.showcase-desc {
    text-align: center;
    margin-top: 18px;
    padding: 0 12px;
}
.showcase-desc h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.3px;
}
.showcase-desc p {
    margin: 0 auto;
    max-width: 620px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}
.showcase-desc kbd {
    display: inline-block;
    padding: 1px 7px;
    margin: 0 2px;
    background: var(--control-bg-2);
    border: 1px solid var(--card-border);
    border-bottom-width: 2px;
    border-radius: 5px;
    font-family: "Consolas", "Menlo", monospace;
    font-size: 12px;
    color: var(--peach);
}

/* ---------- Features ---------- */

.features {
    max-width: 980px;
    margin: 56px auto 36px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}
.feature {
    padding: 22px 22px 20px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    transition: transform 200ms ease, border-color 200ms ease;
}
.feature:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 179, 133, 0.30);
}
.feature-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    margin-bottom: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    letter-spacing: 0.5px;
}
.feature-num.peach {
    background: var(--peach-soft);
    color: var(--peach);
}
.feature h4 {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--text);
    font-weight: 600;
}
.feature p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 600px) {
    .topnav { padding: 14px 16px; }
    .topnav-right { gap: 8px; }
    .navlink { font-size: 13px; padding: 5px 8px; }
    .btn-pill { padding: 7px 14px; font-size: 12px; }

    .hero { padding: 40px 16px 24px; }
    .hero-icon { width: 76px; height: 76px; }

    .showcase { padding: 0 12px; }
    .showcase-tab { padding: 8px 16px; font-size: 12px; }
    .showcase-hint { font-size: 11px; padding: 5px 10px; }
}

/* =============================================================
   Referral banner (top of landing page, shown when ?ref=...).
   ============================================================= */
.ref-banner {
    margin: 12px 24px 0;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(255,105,180,0.12), rgba(255,179,133,0.12));
    border: 1px solid rgba(255,105,180,0.35);
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    flex-wrap: wrap;
}
.ref-banner .ref-emoji { font-size: 22px; }
.ref-banner .ref-text  { flex: 1; min-width: 240px; }
.ref-banner .ref-text strong { color: var(--accent); }
.ref-banner .ref-cta {
    color: #fff;
    background: var(--accent);
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.15s;
}
.ref-banner .ref-cta:hover { opacity: 0.85; }

/* Signup-form ref banner (smaller, inside the card). */
.signup-ref-banner {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,105,180,0.10);
    border: 1px solid rgba(255,105,180,0.35);
    font-size: 13px;
    line-height: 1.5;
}
.signup-ref-banner strong { color: var(--accent); }

/* =============================================================
   Pricing section
   ============================================================= */
.pricing {
    padding: 40px 24px 16px;
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-head { text-align: center; margin-bottom: 28px; }
.pricing-title {
    font-size: 28px;
    margin: 0 0 8px;
    background: linear-gradient(90deg, var(--accent), var(--peach));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pricing-sub { color: var(--muted); font-size: 14px; margin: 0; }
.pricing-sub a { color: var(--accent); text-decoration: none; }
.pricing-sub a:hover { text-decoration: underline; }

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}
.pricing-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 22px;
    text-align: center;
    transition: transform 0.15s, border-color 0.15s;
}
.pricing-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,105,180,0.45);
}
.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(255,105,180,0.08), var(--card));
}
.pricing-badge {
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.pricing-duration {
    font-size: 14px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.pricing-price { margin-bottom: 10px; }
.pricing-amount {
    font-size: 44px;
    font-weight: 700;
    color: var(--text);
}
.pricing-currency { font-size: 22px; color: var(--muted); }
.pricing-desc {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 18px;
    min-height: 36px;
}
.pricing-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 999px;
    background: var(--card-elev, #2a2c33);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s, border-color 0.15s;
}
.pricing-btn:hover {
    background: #34373f;
    border-color: var(--accent);
}
.pricing-btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pricing-btn-primary:hover {
    background: #ff7eaf;
    border-color: #ff7eaf;
}
.pricing-trial-badge {
    text-align: center;
    margin: 10px auto 18px;
    padding: 10px 18px;
    background: rgba(255,179,133,0.10);
    border: 1px solid rgba(255,179,133,0.35);
    color: var(--peach, #ffb385);
    border-radius: 999px;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
}
.pricing { text-align: center; }
.pricing-referral {
    text-align: left;
    max-width: 720px;
    margin: 20px auto 0;
    padding: 14px 18px;
    background: rgba(255,105,180,0.06);
    border: 1px solid rgba(255,105,180,0.20);
    border-radius: 12px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
}
.pricing-referral strong { color: var(--text); }
.pricing-ref-link {
    color: var(--accent);
    text-decoration: none;
    margin-left: 6px;
    white-space: nowrap;
}
.pricing-ref-link:hover { text-decoration: underline; }

@media (max-width: 800px) {
    .pricing-cards { grid-template-columns: 1fr; }
    .pricing-card { padding: 22px 18px; }
}

/* =============================================================
   FAQ page
   ============================================================= */
.faq-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 30px 24px 40px;
}
.faq-h1 {
    font-size: 32px;
    margin: 0 0 4px;
    background: linear-gradient(90deg, var(--accent), var(--peach));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.faq-sub {
    color: var(--muted);
    margin: 0 0 24px;
}
.faq-sub a { color: var(--accent); }
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 0;
    transition: border-color 0.15s;
}
.faq-item[open] { border-color: rgba(255,105,180,0.35); }
.faq-item > summary {
    cursor: pointer;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
    position: relative;
    padding-right: 40px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
    content: '+';
    position: absolute;
    right: 18px; top: 14px;
    font-size: 20px;
    color: var(--muted);
    transition: transform 0.15s;
}
.faq-item[open] > summary::after { content: '−'; color: var(--accent); }
.faq-item p,
.faq-item ol,
.faq-item table { margin: 8px 18px 14px; line-height: 1.55; font-size: 14px; }
.faq-item ol { padding-left: 22px; }
.faq-item ol li { margin-bottom: 4px; }
.faq-item a { color: var(--accent); }
.faq-table {
    width: calc(100% - 36px);
    border-collapse: collapse;
    font-size: 14px;
}
.faq-table th,
.faq-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
}
.faq-table th { color: var(--muted); font-weight: 600; }
.faq-cta {
    margin-top: 32px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}
.faq-cta p { margin: 0 0 12px; color: var(--muted); }

/* =============================================================
   Dashboard nav extensions
   ============================================================= */
.topbar { display: flex; align-items: center; gap: 16px; }
.topbar-left { display: flex; align-items: center; gap: 16px; flex: 1; }
.topbar-left .brand { text-decoration: none; }
.dash-navlink {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}
.dash-navlink:hover { color: var(--text); background: var(--card-elev, #2a2c33); }

/* =============================================================
   Dashboard referral block
   ============================================================= */
.ref-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}
.ref-stat {
    background: var(--card-elev, rgba(255,255,255,0.04));
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.ref-stat-num {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
}
.ref-stat-lbl {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
@media (max-width: 600px) {
    .ref-stats { grid-template-columns: 1fr; }
    .topbar-left { flex-wrap: wrap; gap: 8px; }
    .dash-navlink { font-size: 12px; padding: 4px 8px; }
}
