/* ═══════════════════════════════════════════════════════════════
   $CARDIO Wallet — Global Stylesheet
   Color palette: #00ff88 (neon green), #0a0a0a (deep black),
                  #111827 (dark card), #00ccff (ice blue accent),
                  #ff4444 (burn red)
═══════════════════════════════════════════════════════════════ */

/* ─────── RESET & BASE ─────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green:      #0d9488;
    --green-dim:  #0f766e;
    --blue:       #06b6d4;
    --red:        #ef4444;
    --bg:         #f8fafc;
    --bg-card:    #ffffff;
    --bg-card2:   #f1f5f9;
    --border:     rgba(15,23,42,.08);
    --border-2:   rgba(15,23,42,.05);
    --text:       #0b1220;
    --text-muted: #64748b;
    --text-dim:   #475569;
    --font:       'Inter', sans-serif;
    --font-head:  'Space Grotesk', sans-serif;
    --radius:     14px;
    --radius-sm:  8px;
    --shadow-g:   0 8px 32px rgba(13,148,136,.14);
    --shadow-b:   0 8px 32px rgba(6,182,212,.10);
    --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background:
        radial-gradient(900px circle at 12% -10%, rgba(13,148,136,.10) 0%, transparent 60%),
        radial-gradient(900px circle at 92% 0%, rgba(6,182,212,.07) 0%, transparent 58%),
        radial-gradient(900px circle at 50% 115%, rgba(20,184,166,.07) 0%, transparent 62%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 40%, #ffffff 100%);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─────── SCROLLBAR ─────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: rgba(13,148,136,.3); border-radius: 3px; }

/* ─────── GRADIENT TEXT ─────── */
.grad-text {
    background: linear-gradient(135deg, var(--green), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ════════════════════════════════════════
   LANDING PAGE
════════════════════════════════════════ */
.landing-body { overflow-x: hidden; }

/* Animated background */
.land-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13,148,136,.06) 0%, transparent 60%);
}
.land-orb {
    position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: 0.15; animation: drift 20s ease-in-out infinite;
}
.land-orb-1 { width: 600px; height: 600px; top: -200px; left: -100px; background: radial-gradient(circle, #0d9488, transparent 70%); animation-delay: 0s; }
.land-orb-2 { width: 500px; height: 500px; top: 20%; right: -150px; background: radial-gradient(circle, #06b6d4, transparent 70%); animation-delay: -7s; }
.land-orb-3 { width: 400px; height: 400px; bottom: 10%; left: 30%; background: radial-gradient(circle, #14b8a6, transparent 70%); animation-delay: -14s; opacity: .08; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -40px) scale(1.05); }
    66%       { transform: translate(-20px, 30px) scale(.95); }
}

.circuit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.land-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(13,148,136,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(13,148,136,.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ─── NAV ─── */
.land-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 24px;
    transition: background var(--transition), backdrop-filter var(--transition);
}
.land-nav.scrolled {
    background: rgba(255,255,255,.90);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(15,23,42,.06);
}
.land-nav-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.land-logo {
    display: flex; align-items: center; gap: 10px;
}
.land-logo-img {
    width: 38px; height: 38px; border-radius: 50%;
    object-fit: cover; border: 2px solid var(--green);
    box-shadow: 0 0 12px rgba(13,148,136,.25);
}
.land-logo-text {
    font-family: var(--font-head); font-size: 1.2rem; color: var(--text);
    letter-spacing: -.02em;
}
.land-logo-text strong { color: var(--green); }
.land-nav-links {
    display: flex; gap: 32px;
}
.land-nav-links a {
    font-size: .9rem; font-weight: 500; color: var(--text-dim);
    transition: color var(--transition);
}
.land-nav-links a:hover { color: var(--green); }
.land-nav-cta { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 20px; border-radius: 50px;
    background: var(--green); color: #fff; font-weight: 700;
    font-size: .85rem; transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(13,148,136,.25);
}
.btn-cta:hover { background: var(--green-dim); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(13,148,136,.35); }
.btn-cta-outline {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 20px; border-radius: 50px;
    border: 1.5px solid rgba(13,148,136,.3); color: var(--green);
    background: rgba(13,148,136,.05);
    font-size: .85rem; font-weight: 600; transition: all var(--transition);
}
.btn-cta-outline:hover { border-color: var(--green); background: rgba(13,148,136,.10); }

.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px; border-radius: 50px;
    background: var(--green); color: #fff; font-weight: 800;
    font-size: 1rem; font-family: var(--font-head);
    transition: all var(--transition);
    box-shadow: 0 8px 28px rgba(13,148,136,.30);
}
.btn-hero-primary:hover { background: var(--green-dim); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(13,148,136,.40); }
.btn-hero-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 30px; border-radius: 50px;
    border: 1.5px solid rgba(13,148,136,.4); color: var(--green);
    background: rgba(13,148,136,.06);
    font-weight: 700; font-size: 1rem; font-family: var(--font-head);
    transition: all var(--transition);
}
.btn-hero-outline:hover { background: rgba(13,148,136,.12); transform: translateY(-2px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
    display: none; flex-direction: column; gap: 0;
    background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 8px 0 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    padding: 14px 24px; color: var(--text-dim);
    font-weight: 500; border-bottom: 1px solid var(--border-2);
    transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--green); }
.mm-cta { padding: 16px 24px 0; }
.btn-full { display: block; text-align: center; }

/* ─── HERO ─── */
.hero {
    position: relative; z-index: 1;
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; padding: 120px 24px 80px;
}
.hero-inner {
    max-width: 1280px; margin: 0 auto; width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    gap: 60px;
}
.hero-content { flex: 1; max-width: 600px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 50px;
    border: 1px solid rgba(13,148,136,.3); background: rgba(13,148,136,.08);
    font-size: .8rem; font-weight: 600; color: var(--green);
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px;
}
.badge-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--green);
    animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13,148,136,.5); }
    50%       { box-shadow: 0 0 0 6px rgba(13,148,136,0); }
}

.hero-title {
    font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 900; line-height: 1.1; letter-spacing: -.04em;
    color: var(--text); margin-bottom: 20px;
}
.hero-desc { font-size: 1.05rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 28px; max-width: 520px; }
.hero-stats {
    display: flex; align-items: center; gap: 0;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 24px;
    margin-bottom: 28px;
}
.hs-item { flex: 1; text-align: center; }
.hs-val { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--green); }
.hs-label { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }
.hs-sep { width: 1px; height: 36px; background: var(--border); }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

/* Contract row */
.contract-row {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 50px; padding: 8px 16px;
}
.contract-label { font-size: .75rem; color: var(--text-muted); font-weight: 600; }
.contract-addr { font-size: .78rem; color: var(--text-dim); font-family: monospace; letter-spacing: .03em; }
.copy-mini {
    background: none; border: none; cursor: pointer;
    color: var(--green); font-size: .85rem; padding: 0 4px;
    transition: color var(--transition);
}
.copy-mini:hover { color: var(--blue); }

/* Hero visual */
.hero-visual {
    position: relative; flex: none;
    width: 420px; height: 420px;
    display: flex; align-items: center; justify-content: center;
}
.hero-glow {
    position: absolute; inset: -40px; border-radius: 50%;
    background: radial-gradient(circle, rgba(13,148,136,.14), transparent 70%);
    animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.08); opacity: .7; }
}
.hero-coin {
    position: relative; z-index: 2;
    width: 260px; height: 260px; border-radius: 50%; overflow: hidden;
    border: 3px solid var(--green);
    box-shadow: 0 0 50px rgba(13,148,136,.25), 0 0 100px rgba(13,148,136,.08);
    animation: float 4s ease-in-out infinite;
}
.hero-coin img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-16px); }
}

/* Orbiting pills */
.orbit {
    position: absolute; border-radius: 50%;
    display: flex; align-items: flex-start; justify-content: center;
}
.orbit-1 { width: 340px; height: 340px; animation: spin 12s linear infinite; }
.orbit-2 { width: 380px; height: 380px; animation: spin 18s linear infinite reverse; }
.orbit-3 { width: 410px; height: 410px; animation: spin 22s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.orbit-pill {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,.88); border: 1px solid rgba(13,148,136,.2);
    border-radius: 50px; padding: 5px 12px;
    font-size: .73rem; font-weight: 700; color: var(--green);
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(15,23,42,.08);
    animation: counter-spin 12s linear infinite;
}
.orbit-2 .orbit-pill { animation-duration: 18s; animation-direction: reverse; color: #0891b2; border-color: rgba(6,182,212,.2); }
.orbit-3 .orbit-pill { animation-duration: 22s; color: var(--text); border-color: var(--border); }
@keyframes counter-spin { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

/* Hero heartbeat SVG */
.hero-hb-wrap {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
    pointer-events: none;
}
.hero-hb-svg { width: 100%; height: 60px; }
.hb-hero-line {
    fill: none; stroke: var(--green); stroke-width: 2;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawLine 3s ease forwards 0.5s;
    filter: drop-shadow(0 0 4px rgba(13,148,136,.5));
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* ─── TICKER ─── */
.live-ticker {
    position: relative; z-index: 1;
    background: rgba(13,148,136,.05); border-top: 1px solid rgba(13,148,136,.12); border-bottom: 1px solid rgba(13,148,136,.12);
    overflow: hidden; padding: 10px 0;
}
.lt-track {
    display: flex; white-space: nowrap; align-items: center;
    animation: tickerScroll 40s linear infinite;
}
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lt-item { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text-dim); padding: 0 16px; }
.lt-item i { color: var(--green); }
.lt-item strong { color: var(--text); }
.lt-item .positive { color: var(--green); font-size: .8rem; }
.lt-sep { color: var(--green); opacity: .4; font-size: .6rem; }

/* ─── SECTIONS ─── */
.land-section { position: relative; z-index: 1; padding: 100px 24px; }
.land-section-alt { background: rgba(13,148,136,.03); border-top: 1px solid rgba(13,148,136,.08); border-bottom: 1px solid rgba(13,148,136,.08); }
.land-container { max-width: 1280px; margin: 0 auto; }
.section-label { font-size: .75rem; font-weight: 700; color: var(--green); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.section-h2 { font-family: var(--font-head); font-size: clamp(2rem,4vw,3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 14px; }
.section-sub { font-size: 1.05rem; color: var(--text-dim); max-width: 600px; }

/* ─── TOKENOMICS ─── */
.tknm-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.tknm-hero-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px;
}
.thc-badge {
    display: inline-block; padding: 4px 12px; border-radius: 50px;
    background: rgba(13,148,136,.10); color: var(--green);
    font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px;
}
.thc-title { font-size: .9rem; color: var(--text-dim); margin-bottom: 28px; }
.thc-visual { display: flex; align-items: center; gap: 32px; }
.thc-pie { flex: none; width: 160px; height: 160px; }
.donut-svg { width: 100%; height: 100%; }
.thc-legend { display: flex; flex-direction: column; gap: 16px; }
.tl-item { display: flex; align-items: flex-start; gap: 10px; }
.tl-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 3px; }
.tl-pct { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--text); }
.tl-name { font-size: .82rem; font-weight: 600; color: var(--text-dim); }
.tl-desc { font-size: .75rem; color: var(--text-muted); }

/* Platform fee card */
.platform-fee-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px;
    display: flex; flex-direction: column; justify-content: center;
}
.pfc-icon { font-size: 2rem; color: var(--blue); margin-bottom: 12px; }
.pfc-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.pfc-desc { font-size: .9rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 24px; }
.pfc-bar { display: flex; height: 28px; border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.pfc-fill { display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; }
.pfc-fill.consultant { background: var(--green); color: #fff; }
.pfc-fill.treasury { background: var(--blue); color: #fff; }
.pfc-labels { display: flex; gap: 20px; font-size: .8rem; color: var(--text-dim); }
.pfc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.pfc-dot.green { background: var(--green); }
.pfc-dot.teal { background: var(--blue); }

/* ─── RESEARCH ─── */
.research-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 48px 0 60px; }
.research-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    box-shadow: 0 4px 18px rgba(15,23,42,.05);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.research-card:hover { transform: translateY(-4px); border-color: rgba(13,148,136,.35); box-shadow: var(--shadow-g); }
.rc-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; margin-bottom: 12px; }
.rc-funded { font-size: .8rem; font-weight: 700; color: var(--green); margin-bottom: 6px; letter-spacing: .04em; }
.research-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.research-card p { font-size: .88rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; }
.rc-projects { font-size: .78rem; color: var(--text-muted); margin-bottom: 8px; }
.rc-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.rcb-fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--blue)); border-radius: 2px; }

/* Impact numbers */
.impact-numbers { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.in-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: 0 4px 16px rgba(15,23,42,.05); }
.in-val { font-family: var(--font-head); font-size: 2.2rem; font-weight: 900; color: var(--green); margin-bottom: 4px; }
.in-label { font-size: .82rem; color: var(--text-muted); }

/* ─── SECURITY ─── */
.security-showcase { display: flex; align-items: center; gap: 60px; margin: 48px 0 40px; }
.sec-coin { flex: none; width: 220px; height: 220px; border-radius: 50%; overflow: hidden; border: 3px solid var(--green); box-shadow: 0 0 50px rgba(13,148,136,.20); }
.sec-coin img { width: 100%; height: 100%; object-fit: cover; }
.sec-badges { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec-badge {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    box-shadow: 0 4px 16px rgba(15,23,42,.05);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.sec-badge:hover { border-color: rgba(13,148,136,.35); box-shadow: var(--shadow-g); }
.sb-icon { font-size: 1.4rem; color: var(--green); }
.sb-name { font-weight: 700; font-size: .9rem; }
.sb-status { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.sb-status.passed { background: rgba(13,148,136,.10); color: var(--green); }
.security-features { display: flex; flex-wrap: wrap; gap: 12px; }
.sf-item {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 50px;
    border: 1px solid var(--border); background: var(--bg-card);
    font-size: .85rem; color: var(--text-dim); font-weight: 500;
}
.sf-item i { color: var(--green); }

/* ─── UTILITIES ─── */
.utility-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 48px; }
.util-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    display: flex; flex-direction: column; gap: 10px;
    box-shadow: 0 4px 18px rgba(15,23,42,.05);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.util-card:hover { transform: translateY(-4px); border-color: rgba(13,148,136,.35); box-shadow: var(--shadow-g); }
.uc-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.data-icon     { background: rgba(13,148,136,.10); color: var(--green); }
.airtime-icon  { background: rgba(6,182,212,.10); color: var(--blue); }
.telemedicine-icon { background: rgba(239,68,68,.10); color: var(--red); }
.swap-icon-u   { background: rgba(245,158,11,.10); color: #d97706; }
.util-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.util-card p { font-size: .85rem; color: var(--text-dim); line-height: 1.6; flex: 1; }
.uc-btn {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
    font-size: .83rem; font-weight: 700; color: var(--green);
    transition: gap var(--transition);
}
.uc-btn:hover { gap: 10px; }

/* ─── CTA BANNER ─── */
.cta-banner { position: relative; z-index: 1; padding: 80px 24px; overflow: hidden; }
.cta-banner-inner {
    position: relative; max-width: 900px; margin: 0 auto;
    background: var(--bg-card); border: 1px solid rgba(13,148,136,.15);
    border-radius: 24px; padding: 60px 48px; text-align: center; overflow: hidden;
    box-shadow: 0 20px 60px rgba(13,148,136,.10);
}
.ctab-glow {
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(13,148,136,.12), transparent 70%);
    pointer-events: none;
}
.ctab-content { position: relative; z-index: 1; }
.ctab-title { font-family: var(--font-head); font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.ctab-sub { font-size: 1rem; color: var(--text-dim); margin-bottom: 28px; }
.ctab-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.land-footer { position: relative; z-index: 1; background: var(--bg-card); border-top: 1px solid var(--border); padding: 60px 24px 32px; box-shadow: 0 -4px 20px rgba(15,23,42,.04); }
.footer-top { display: flex; gap: 60px; margin-bottom: 40px; }
.footer-brand { flex: none; max-width: 260px; }
.footer-tagline { font-size: .88rem; color: var(--text-muted); margin: 10px 0 16px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
    color: var(--text-dim); font-size: .9rem;
    transition: all var(--transition);
}
.footer-socials a:hover { border-color: var(--green); color: var(--green); background: rgba(13,148,136,.08); }
.footer-links { display: flex; gap: 48px; flex: 1; }
.fl-group { display: flex; flex-direction: column; gap: 8px; }
.fl-title { font-size: .75rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.fl-group a { font-size: .88rem; color: var(--text-muted); transition: color var(--transition); }
.fl-group a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .82rem; color: var(--text-muted); }
.footer-disc { font-size: .78rem !important; }

/* ════════════════════════════════════════
   AUTH PAGES
════════════════════════════════════════ */
.auth-body {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: var(--bg); padding: 24px;
    position: relative; overflow: hidden;
}

/* Auth animated background */
.auth-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13,148,136,.06) 0%, transparent 60%);
}
.auth-bg .orb {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: .15;
}
.auth-bg .orb-1 { width: 500px; height: 500px; top: -150px; left: -100px; background: radial-gradient(circle, #0d9488, transparent 70%); animation: drift 18s ease-in-out infinite; }
.auth-bg .orb-2 { width: 400px; height: 400px; top: 30%; right: -120px; background: radial-gradient(circle, #06b6d4, transparent 70%); animation: drift 22s ease-in-out infinite reverse; }
.auth-bg .orb-3 { width: 300px; height: 300px; bottom: -100px; left: 40%; background: radial-gradient(circle, #14b8a6, transparent 70%); opacity: .08; animation: drift 15s ease-in-out infinite; }
.auth-bg .grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(13,148,136,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(13,148,136,.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.heartbeat-bg {
    position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
    opacity: .25;
}
.heartbeat-bg .hb-line {
    fill: none; stroke: var(--green); stroke-width: 1.5;
    stroke-dasharray: 2000; stroke-dashoffset: 2000;
    animation: drawLine 4s ease forwards 0.5s;
}

.auth-wrapper {
    position: relative; z-index: 1;
    width: 100%; max-width: 520px;
}

.auth-bg-orb-1 {
    position: fixed; top: -200px; left: -200px; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(13,148,136,.08), transparent 70%);
    pointer-events: none;
}
.auth-bg-orb-2 {
    position: fixed; bottom: -200px; right: -200px; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,.06), transparent 70%);
    pointer-events: none;
}
.auth-card {
    position: relative; z-index: 1;
    width: 100%; max-width: 520px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 20px; padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(15,23,42,.10);
}

/* Auth logo */
.auth-logo { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 24px; }
.logo-coin { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid var(--green); box-shadow: 0 0 20px rgba(13,148,136,.2); flex: none; }
.logo-coin img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 900; color: var(--green); line-height: 1.1; }
.logo-sub  { font-size: .78rem; color: var(--text-muted); font-weight: 500; }
.auth-title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 4px; }
.auth-desc  { font-size: .88rem; color: var(--text-dim); text-align: center; margin-bottom: 24px; }

/* Alert boxes */
.alert {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 14px; border-radius: var(--radius-sm); font-size: .85rem;
    margin-bottom: 16px;
}
.alert-error   { background: rgba(255,68,68,.1); border: 1px solid rgba(255,68,68,.3); color: var(--red); }
.alert-success { background: rgba(13,148,136,.08); border: 1px solid rgba(13,148,136,.25); color: var(--green); }
.alert-info    { background: rgba(6,182,212,.08); border: 1px solid rgba(6,182,212,.25); color: var(--blue); }

/* Input wrap with icon */
.input-wrap { position: relative; }
.input-wrap .input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: .85rem; pointer-events: none; }
.input-wrap .form-input { padding-left: 36px; }
.toggle-pw {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-muted); cursor: pointer;
    font-size: .85rem; padding: 0 4px; transition: color var(--transition);
}
.toggle-pw:hover { color: var(--green); }

/* Form row (two-column) */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Terms note */
.terms-note { font-size: .78rem; color: var(--text-muted); margin-bottom: 16px; }
.terms-note a { color: var(--green); }

/* Primary button */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: 50px;
    background: var(--green); color: #fff; font-weight: 800;
    font-family: var(--font-head); font-size: .95rem;
    transition: all var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--green-dim); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(13,148,136,.30); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-full { width: 100%; }
.auth-logo { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 28px; }
.auth-logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--green); box-shadow: 0 0 16px rgba(13,148,136,.25); }
.auth-logo-text { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; }
.auth-logo-text strong { color: var(--green); }
.auth-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 6px; }
.auth-sub { font-size: .9rem; color: var(--text-dim); text-align: center; margin-bottom: 28px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--text-dim); }
.form-input {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 11px 14px;
    color: var(--text); font-family: var(--font); font-size: .92rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}
.form-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,148,136,.12); }
.form-input::placeholder { color: var(--text-muted); }
.form-input-wrap { position: relative; }
.form-input-wrap .form-input { padding-right: 40px; }
.input-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: .9rem; cursor: pointer; transition: color var(--transition); }
.input-eye:hover { color: var(--green); }
.btn-submit {
    width: 100%; padding: 13px; border-radius: 50px;
    background: var(--green); color: #fff; font-weight: 800;
    font-family: var(--font-head); font-size: 1rem;
    transition: all var(--transition); margin-top: 8px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--green-dim); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(13,148,136,.30); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.auth-footer { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--text-muted); }
.auth-footer a { color: var(--green); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }
.form-error {
    background: rgba(255,68,68,.1); border: 1px solid rgba(255,68,68,.3);
    border-radius: var(--radius-sm); padding: 10px 14px;
    font-size: .85rem; color: var(--red); margin-bottom: 16px;
}
.form-success {
    background: rgba(13,148,136,.08); border: 1px solid rgba(13,148,136,.25);
    border-radius: var(--radius-sm); padding: 10px 14px;
    font-size: .85rem; color: var(--green); margin-bottom: 16px;
}
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider span { font-size: .78rem; color: var(--text-muted); }
.strength-bar { height: 4px; border-radius: 2px; background: var(--border); margin-top: 4px; overflow: hidden; }
.strength-fill { height: 100%; border-radius: 2px; transition: width .3s, background .3s; }

/* ═══════════════════════════════════════���
   DASHBOARD LAYOUT
════════════════════════════════════════ */
.dash-body {
    background: var(--bg); min-height: 100vh;
    padding-top: 64px; padding-bottom: 72px;
    position: relative; overflow-x: hidden;
}
.dash-bg-grid {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image: linear-gradient(rgba(13,148,136,.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(13,148,136,.03) 1px, transparent 1px);
    background-size: 48px 48px;
}
.dash-main { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 24px 16px 32px; }

/* ─── DASHBOARD HEADER ─── */
.dash-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 500;
    background: rgba(255,255,255,.90); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); height: 64px;
    box-shadow: 0 4px 20px rgba(15,23,42,.06);
}
.dash-header-inner {
    max-width: 960px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px;
}
.dash-logo { display: flex; align-items: center; gap: 8px; }
.dash-logo-coin { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 2px solid var(--green); flex: none; }
.dash-logo-coin img { width: 100%; height: 100%; object-fit: cover; }
.dash-logo-text { font-family: var(--font-head); font-size: 1rem; font-weight: 800; }
.dash-logo-text strong { color: var(--green); }

/* Header ticker */
.header-ticker { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: 50px; padding: 5px 12px; }
.ticker-label { font-size: .72rem; font-weight: 600; color: var(--text-muted); }
.ticker-price { font-size: .82rem; font-weight: 700; color: var(--text); font-family: monospace; }
.ticker-change { font-size: .72rem; font-weight: 700; }
.ticker-change.positive { color: var(--green); }
.ticker-change.negative { color: var(--red); }

/* Header right */
.header-right { display: flex; align-items: center; gap: 8px; }
.notif-btn {
    position: relative; width: 38px; height: 38px; border-radius: 50%;
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-dim); font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.notif-btn:hover { border-color: var(--green); color: var(--green); }
.notif-badge {
    position: absolute; top: -2px; right: -2px;
    min-width: 16px; height: 16px; border-radius: 50%;
    background: var(--red); color: #fff; font-size: .62rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg-card);
}

/* Profile dropdown */
.profile-menu { position: relative; }
.profile-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 50px; padding: 4px 10px 4px 4px;
    transition: border-color var(--transition);
}
.profile-btn:hover { border-color: var(--green); }
.profile-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--blue));
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 800; color: #fff; flex: none;
}
.chev { font-size: .7rem; color: var(--text-muted); }
.profile-dropdown {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 220px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: 0 12px 40px rgba(15,23,42,.12);
    overflow: hidden; z-index: 999;
}
.profile-dropdown.open { display: block; }
.dropdown-user { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.du-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; color: #fff; flex: none; }
.du-name  { font-size: .88rem; font-weight: 700; }
.du-email { font-size: .74rem; color: var(--text-muted); }
.dropdown-divider { height: 1px; background: var(--border); }
.dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px; color: var(--text-dim); font-size: .88rem;
    transition: background var(--transition), color var(--transition);
    width: 100%; text-align: left;
}
.dropdown-item i { width: 16px; text-align: center; color: var(--text-muted); }
.dropdown-item:hover { background: rgba(13,148,136,.06); color: var(--green); }
.dropdown-item.danger { color: var(--red); }
.dropdown-item.danger i { color: var(--red); }
.dropdown-item.danger:hover { background: rgba(255,68,68,.06); }

/* ─── BOTTOM NAV ─── */
.dash-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
    background: rgba(255,255,255,.92); backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    height: 64px; padding: 0 8px;
    box-shadow: 0 -4px 20px rgba(15,23,42,.06);
}
.dash-bottom-nav .nav-inner { max-width: 540px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-around; }
.nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: var(--text-muted); font-size: .67rem; font-weight: 600;
    padding: 8px 12px; border-radius: var(--radius-sm);
    transition: color var(--transition);
}
.nav-item i { font-size: 1.1rem; }
.nav-item.active { color: var(--green); }
.nav-item.active i { filter: drop-shadow(0 0 6px var(--green)); }
.center-nav { position: relative; margin-top: -16px; }
.center-btn {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--green); color: #fff; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 24px rgba(13,148,136,.35);
    border: 3px solid var(--bg);
}
.center-nav.active .center-btn { background: var(--green-dim); }

/* ─── NOTIFICATION PANEL ─── */
.notif-panel {
    position: fixed; top: 64px; right: 0; bottom: 0; width: 320px; z-index: 600;
    background: var(--bg-card2); border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform .3s;
}
.notif-panel.open { transform: translateX(0); }
.notif-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); font-weight: 700; }
.notif-panel-header button { color: var(--text-muted); font-size: 1rem; }
.notif-list { padding: 16px; }
.notif-empty { text-align: center; padding: 40px 0; color: var(--text-muted); }
.notif-empty i { font-size: 2rem; margin-bottom: 8px; display: block; }
.notif-overlay { display: none; position: fixed; inset: 0; z-index: 590; }
.notif-overlay.active { display: block; }

/* ─── BALANCE CARD (dashboard extended) ─── */
.glow-card {
    position: relative; overflow: hidden;
    box-shadow: 0 0 60px rgba(13,148,136,.10);
}
.balance-card-bg-fx {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(135deg, rgba(13,148,136,.06) 0%, transparent 60%);
}
.bc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.bc-symbol { font-size: .9rem; color: var(--green); font-weight: 700; }
.bc-token-img { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 70px; height: 70px; border-radius: 50%; overflow: hidden; opacity: .7; }
.bc-token-img img { width: 100%; height: 100%; object-fit: cover; }
.bal-toggle { background: none; color: var(--text-muted); font-size: 1rem; padding: 4px; transition: color var(--transition); }
.bal-toggle:hover { color: var(--green); }
.bc-amount.hidden::after, .bc-usd.hidden::after { content: '••••••'; }
.bc-amount.hidden, .bc-usd.hidden { color: transparent; text-shadow: 0 0 12px rgba(255,255,255,.3); user-select: none; }
.bc-heartbeat { margin: 12px -24px -24px; }
.bc-heartbeat svg { display: block; width: 100%; height: 50px; }
.hb-pulse { fill: none; stroke: rgba(13,148,136,.4); stroke-width: 1.5; filter: drop-shadow(0 0 4px rgba(13,148,136,.5)); stroke-dasharray: 600; animation: hbPulse 2s ease-in-out infinite; }
@keyframes hbPulse { 0%, 100% { stroke-dashoffset: 0; opacity: 1; } 50% { stroke-dashoffset: -50; opacity: .5; } }
.bc-action-btn {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 12px 20px;
    color: var(--text-dim); font-size: .75rem; font-weight: 600;
    transition: all var(--transition); flex: 1; text-align: center;
}
.bc-action-btn i { font-size: 1.1rem; }
.bc-action-btn:hover { border-color: var(--green); color: var(--green); background: rgba(13,148,136,.05); }
.bc-action-btn.send i  { color: var(--red); }
.bc-action-btn.receive i { color: var(--green); }
.bc-action-btn.swap i  { color: var(--blue); }
.bc-action-btn.history i { color: #ffc800; }

.dash-layout { display: flex; min-height: 100vh; background: var(--bg); }

/* Sidebar */
.dash-sidebar {
    width: 240px; flex: none;
    background: var(--bg-card); border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 200;
    transition: transform .3s;
}
.sidebar-logo { display: flex; align-items: center; gap: 10px; padding: 20px 20px 16px; border-bottom: 1px solid var(--border); }
.sidebar-logo img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--green); }
.sidebar-logo span { font-family: var(--font-head); font-size: 1rem; font-weight: 800; }
.sidebar-logo span strong { color: var(--green); }
.sidebar-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.nav-section-title { font-size: .68rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; padding: 10px 8px 4px; }
.nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: var(--radius-sm);
    color: var(--text-dim); font-size: .88rem; font-weight: 500;
    transition: all var(--transition);
}
.nav-link i { width: 18px; text-align: center; font-size: .95rem; }
.nav-link:hover { background: rgba(13,148,136,.06); color: var(--text); }
.nav-link.active { background: rgba(13,148,136,.10); color: var(--green); font-weight: 600; }
.nav-link.active i { color: var(--green); }
.sidebar-bottom { padding: 12px; border-top: 1px solid var(--border); }
.sidebar-user {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border-radius: var(--radius-sm); background: var(--bg);
    margin-bottom: 4px;
}
.su-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--blue));
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 800; color: #000; flex: none;
}
.su-name { font-size: .82rem; font-weight: 600; line-height: 1.2; }
.su-email { font-size: .72rem; color: var(--text-muted); }
.nav-logout {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: var(--radius-sm);
    color: var(--red); font-size: .85rem; font-weight: 500;
    transition: background var(--transition);
    width: 100%;
}
.nav-logout:hover { background: rgba(255,68,68,.08); }

/* Main content */
.dash-main { margin-left: 240px; flex: 1; padding: 28px 32px; min-height: 100vh; }

/* Top bar */
.dash-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.dash-page-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; }
.dash-page-sub { font-size: .85rem; color: var(--text-dim); margin-top: 2px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.tb-notif {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--bg-card);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim); font-size: .9rem; position: relative;
    transition: all var(--transition);
}
.tb-notif:hover { border-color: var(--green); color: var(--green); }
.tb-notif .notif-dot {
    position: absolute; top: 6px; right: 6px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--green);
    border: 2px solid var(--bg-card);
    animation: pulse 1.5s ease infinite;
}

/* Cards */
.dash-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
}
.dash-card-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.dash-card-title i { color: var(--green); }

/* Balance card */
.balance-card {
    background: linear-gradient(135deg, #0d1f0f 0%, var(--bg-card) 100%);
    border: 1px solid rgba(0,255,136,.25);
    border-radius: var(--radius); padding: 28px 24px;
    position: relative; overflow: hidden;
}
.balance-card::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,136,.12), transparent 70%);
}
.bc-label { font-size: .78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.bc-amount { font-family: var(--font-head); font-size: 2.4rem; font-weight: 900; color: var(--text); line-height: 1.1; }
.bc-amount span { font-size: 1rem; color: var(--green); font-weight: 700; margin-left: 6px; }
.bc-usd { font-size: .88rem; color: var(--text-dim); margin-top: 4px; }
.bc-change { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; padding: 3px 8px; border-radius: 50px; margin-top: 8px; }
.bc-change.pos { background: rgba(0,255,136,.12); color: var(--green); }
.bc-change.neg { background: rgba(255,68,68,.12); color: var(--red); }
.bc-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.bc-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px; border-radius: 50px;
    font-size: .83rem; font-weight: 700; transition: all var(--transition);
}
.bc-btn.primary { background: var(--green); color: #000; }
.bc-btn.primary:hover { background: var(--green-dim); transform: translateY(-1px); }
.bc-btn.outline { border: 1px solid var(--border); color: var(--text-dim); }
.bc-btn.outline:hover { border-color: var(--green); color: var(--green); }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
}
.stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 10px; }
.stat-icon.green { background: rgba(0,255,136,.1); color: var(--green); }
.stat-icon.blue  { background: rgba(0,204,255,.1); color: var(--blue); }
.stat-icon.red   { background: rgba(255,68,68,.1); color: var(--red); }
.stat-icon.gold  { background: rgba(255,200,0,.1); color: #ffc800; }
.stat-val { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; }
.stat-label { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }

/* Transaction list */
.tx-list { display: flex; flex-direction: column; gap: 0; }
.tx-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--border-2);
}
.tx-item:last-child { border-bottom: none; }
.tx-icon {
    width: 40px; height: 40px; border-radius: 50%; flex: none;
    display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.tx-icon.send    { background: rgba(255,68,68,.1); color: var(--red); }
.tx-icon.receive { background: rgba(0,255,136,.1); color: var(--green); }
.tx-icon.swap    { background: rgba(0,204,255,.1); color: var(--blue); }
.tx-icon.buy_data   { background: rgba(255,200,0,.1); color: #ffc800; }
.tx-icon.airtime    { background: rgba(170,68,255,.1); color: #aa44ff; }
.tx-meta { flex: 1; min-width: 0; }
.tx-type { font-size: .88rem; font-weight: 600; text-transform: capitalize; }
.tx-counter { font-size: .78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-amount { text-align: right; }
.tx-val { font-family: var(--font-head); font-size: .92rem; font-weight: 700; }
.tx-val.out { color: var(--red); }
.tx-val.in  { color: var(--green); }
.tx-date { font-size: .75rem; color: var(--text-muted); }
.tx-status { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; }
.tx-status.completed { background: rgba(0,255,136,.1); color: var(--green); }
.tx-status.pending   { background: rgba(255,200,0,.1); color: #ffc800; }
.tx-status.failed    { background: rgba(255,68,68,.1); color: var(--red); }

/* ─── SEND / RECEIVE / SWAP forms ─── */
.page-form-wrap { max-width: 560px; }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.form-card-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.form-card-title i { color: var(--green); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-with-max { position: relative; }
.input-with-max .form-input { padding-right: 56px; }
.max-btn {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: rgba(0,255,136,.12); color: var(--green);
    border: none; border-radius: 4px; padding: 3px 7px;
    font-size: .72rem; font-weight: 700; cursor: pointer;
    transition: background var(--transition);
}
.max-btn:hover { background: rgba(0,255,136,.22); }
.form-hint { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.form-select {
    appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 11px 36px 11px 14px; color: var(--text);
    font-family: var(--font); font-size: .92rem; width: 100%;
    cursor: pointer; transition: border-color var(--transition);
}
.form-select:focus { outline: none; border-color: var(--green); }
.summary-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; margin: 16px 0; }
.summary-row { display: flex; justify-content: space-between; font-size: .85rem; padding: 4px 0; }
.summary-row .sr-key { color: var(--text-dim); }
.summary-row .sr-val { font-weight: 600; }
.summary-row.total .sr-val { color: var(--green); font-size: 1rem; font-family: var(--font-head); font-weight: 800; }

/* Receive page QR */
.receive-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-align: center; max-width: 380px; }
.qr-wrap { width: 200px; height: 200px; margin: 0 auto 20px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.qr-wrap img { width: 100%; height: auto; }
.address-display {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 12px 14px; font-size: .8rem; font-family: monospace; color: var(--text-dim);
    word-break: break-all; margin-bottom: 12px;
}
.copy-addr-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 20px; border-radius: 50px;
    background: rgba(0,255,136,.1); color: var(--green);
    font-weight: 700; font-size: .85rem;
    border: 1px solid rgba(0,255,136,.2);
    transition: all var(--transition);
}
.copy-addr-btn:hover { background: rgba(0,255,136,.18); }

/* Swap rate arrow */
.swap-arrow { text-align: center; margin: 8px 0; color: var(--green); font-size: 1.2rem; }
.rate-preview {
    background: rgba(0,255,136,.05); border: 1px solid rgba(0,255,136,.15);
    border-radius: var(--radius-sm); padding: 12px 16px;
    display: flex; align-items: center; justify-content: space-between;
    font-size: .85rem; margin-top: 8px;
}
.rate-preview .rp-label { color: var(--text-muted); }
.rate-preview .rp-val { color: var(--green); font-weight: 700; }

/* ─── UTILITIES ─── */
.util-tabs { display: flex; gap: 4px; background: var(--bg); border: 1px solid var(--border); border-radius: 50px; padding: 4px; margin-bottom: 24px; width: fit-content; }
.util-tab {
    padding: 8px 20px; border-radius: 50px; font-size: .85rem; font-weight: 600;
    color: var(--text-dim); cursor: pointer; transition: all var(--transition);
}
.util-tab.active { background: var(--green); color: #000; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; margin: 16px 0; }
.plan-card {
    background: var(--bg); border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px 12px; cursor: pointer;
    transition: all var(--transition); text-align: center;
}
.plan-card:hover, .plan-card.selected { border-color: var(--green); background: rgba(0,255,136,.05); }
.plan-size { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--text); }
.plan-validity { font-size: .73rem; color: var(--text-muted); margin: 2px 0; }
.plan-price { font-size: .88rem; font-weight: 700; color: var(--green); }

/* ─── HISTORY TABLE ─── */
.hist-table-wrap { overflow-x: auto; }
.hist-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.hist-table th { text-align: left; padding: 10px 14px; font-size: .72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid var(--border); }
.hist-table td { padding: 13px 14px; border-bottom: 1px solid var(--border-2); color: var(--text-dim); vertical-align: middle; }
.hist-table tr:last-child td { border-bottom: none; }
.hist-table tr:hover td { background: rgba(255,255,255,.02); }
.type-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 50px; font-size: .75rem; font-weight: 700; }
.type-badge.send     { background: rgba(255,68,68,.1); color: var(--red); }
.type-badge.receive  { background: rgba(0,255,136,.1); color: var(--green); }
.type-badge.swap     { background: rgba(0,204,255,.1); color: var(--blue); }
.type-badge.buy_data { background: rgba(255,200,0,.1); color: #ffc800; }
.type-badge.airtime  { background: rgba(170,68,255,.1); color: #aa44ff; }
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 24px; }
.pag-btn {
    min-width: 34px; height: 34px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--bg-card);
    color: var(--text-dim); font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.pag-btn:hover, .pag-btn.active { border-color: var(--green); color: var(--green); background: rgba(0,255,136,.08); }
.pag-btn.active { font-weight: 700; }

/* ─── MOBILE SIDEBAR TOGGLE ─── */
.sidebar-toggle {
    display: none; position: fixed; bottom: 20px; right: 20px; z-index: 300;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--green); color: #000; font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0,255,136,.4);
    align-items: center; justify-content: center;
}
.dash-overlay {
    display: none; position: fixed; inset: 0; z-index: 190;
    background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
}
.dash-overlay.active { display: block; }

/* ════════════════════════════════════════
   HEARTBEAT DIVIDER
════════════════════════════════════════ */
.hb-divider {
    width: 100%; overflow: hidden; line-height: 0;
    pointer-events: none; margin: 0;
}
.hb-divider svg { display: block; width: 100%; }
.hb-line { fill: none; stroke: var(--green); stroke-width: 1.5; opacity: .35; }

/* ════════════════════════════════════════
   TOAST NOTIFICATIONS
════════════════════════════════════════ */
#toastContainer { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.toast {
    background: var(--bg-card2); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 13px 16px;
    display: flex; align-items: flex-start; gap: 10px;
    animation: slideUp .3s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.info    { border-left: 3px solid var(--blue); }
.toast-icon { font-size: 1rem; margin-top: 1px; }
.toast.success .toast-icon { color: var(--green); }
.toast.error   .toast-icon { color: var(--red); }
.toast.info    .toast-icon { color: var(--blue); }
.toast-body { flex: 1; }
.toast-title { font-size: .85rem; font-weight: 700; margin-bottom: 2px; }
.toast-msg  { font-size: .8rem; color: var(--text-dim); }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1100px) {
    .tknm-showcase { grid-template-columns: 1fr; }
    .utility-grid  { grid-template-columns: repeat(2,1fr); }
    .impact-numbers { grid-template-columns: repeat(2,1fr); }
    .research-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-visual { display: none; }
    .hero-stats { justify-content: center; }
    .land-nav-links { display: none; }
    .hamburger { display: flex; }
    .security-showcase { flex-direction: column; }
    .sec-badges { grid-template-columns: 1fr 1fr; }
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-links { flex-wrap: wrap; gap: 24px; }
    .research-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .dash-sidebar { transform: translateX(-100%); }
    .dash-sidebar.open { transform: translateX(0); }
    .dash-main { margin-left: 0; padding: 20px 16px; }
    .sidebar-toggle { display: flex; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .land-section { padding: 60px 16px; }
    .hero { padding: 100px 16px 60px; }
}
@media (max-width: 520px) {
    .utility-grid  { grid-template-columns: 1fr; }
    .sec-badges    { grid-template-columns: 1fr; }
    .impact-numbers { grid-template-columns: 1fr 1fr; }
    .stats-grid    { grid-template-columns: 1fr; }
    .auth-card     { padding: 28px 20px; }
    .plan-grid     { grid-template-columns: repeat(2,1fr); }
    .bc-actions    { flex-direction: column; }
    .bc-btn        { justify-content: center; }
    .cta-banner-inner { padding: 36px 24px; }
}

/* ════════════════════════════════════════
   MOBILE-FIRST DASHBOARD (app pages)
════════════════════════════════════════ */

/* Auth page wrappers */
.auth-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.auth-wrapper { position: relative; z-index: 1; width: 100%; display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 24px; }
.auth-bg-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .1; }
.auth-bg-orb.orb-green { width: 400px; height: 400px; top: -120px; right: -80px; background: var(--green); animation: drift 14s ease-in-out infinite; }
.auth-bg-orb.orb-blue  { width: 300px; height: 300px; bottom: -40px; left: -60px; background: var(--blue); animation: drift 18s ease-in-out infinite reverse; }
.grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(0,255,136,.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,255,136,.02) 1px, transparent 1px);
    background-size: 40px 40px;
}
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-20px); } }
.heartbeat-bg { position: absolute; bottom: 0; left: 0; right: 0; width: 100%; height: 80px; pointer-events: none; opacity: .2; }

/* Auth card extras */
.auth-logo-wrap { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; }
.auth-logo-coin { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 2px solid var(--green); box-shadow: 0 0 14px rgba(0,255,136,.3); }
.auth-logo-coin img { width: 100%; height: 100%; object-fit: cover; }
.auth-logo-info .auth-logo-name { font-family: var(--font-head); font-size: 20px; font-weight: 900; color: var(--green); display: block; }
.auth-logo-info .auth-logo-sub  { font-size: 11px; color: var(--text-muted); }
.auth-heading { text-align: center; margin-bottom: 20px; }
.auth-heading h1 { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.auth-heading p  { font-size: 13px; color: var(--text-dim); }
.input-wrap { position: relative; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 14px; pointer-events: none; }
.input-wrap .form-input { padding-left: 42px; }
.toggle-pw { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 14px; transition: color var(--transition); }
.toggle-pw:hover { color: var(--green); }
.terms-note { font-size: 12px; color: var(--text-muted); margin: 6px 0 14px; line-height: 1.5; }
.terms-note a { color: var(--green); text-decoration: underline; }

/* Alert component */
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 14px; line-height: 1.5; }
.alert i { margin-top: 1px; font-size: 14px; flex-shrink: 0; }
.alert-error   { background: rgba(255,68,68,.08);  border: 1px solid rgba(255,68,68,.25);  color: #ff8888; }
.alert-success { background: rgba(0,255,136,.07);  border: 1px solid rgba(0,255,136,.22);  color: var(--green); }
.alert-warning { background: rgba(255,214,0,.07);  border: 1px solid rgba(255,214,0,.22);  color: #ffd600; }

/* Dashboard header */
.dash-header { position: sticky; top: 0; z-index: 800; background: rgba(10,10,10,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.dash-header-inner { max-width: 560px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; height: 58px; }
.dash-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.dash-logo-coin { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; border: 2px solid var(--green); }
.dash-logo-coin img { width: 100%; height: 100%; object-fit: cover; }
.dash-logo-text { font-family: var(--font-head); font-size: 15px; font-weight: 800; color: var(--text); }
.dash-logo-text strong { color: var(--green); }
.header-ticker { display: flex; align-items: center; gap: 6px; }
.ticker-label  { font-size: 10px; color: var(--text-muted); }
.ticker-price  { font-size: 12px; font-weight: 700; color: var(--text); font-family: monospace; }
.ticker-change { font-size: 10px; font-weight: 600; }
.ticker-change.pos { color: var(--green); }
.ticker-change.neg { color: var(--red); }
.header-right  { display: flex; align-items: center; gap: 8px; }
.notif-btn { position: relative; background: rgba(255,255,255,.04); border: 1px solid var(--border-2); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--text-dim); cursor: pointer; font-size: 15px; transition: all var(--transition); }
.notif-btn:hover { border-color: var(--green); color: var(--green); }
.notif-badge { position: absolute; top: -3px; right: -3px; background: var(--red); color: #fff; font-size: 9px; font-weight: 800; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.profile-menu { position: relative; }
.profile-btn { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--border-2); border-radius: 8px; padding: 5px 10px; cursor: pointer; color: var(--text-dim); transition: all var(--transition); font-family: var(--font); }
.profile-btn:hover { border-color: var(--green); }
.profile-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); color: #000; font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.chev { font-size: 10px; transition: transform var(--transition); }
.profile-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); min-width: 200px; padding: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); z-index: 500; }
.profile-dropdown.open { display: block; }
.dropdown-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-bottom: 1px solid var(--border-2); margin-bottom: 4px; }
.du-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); color: #000; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.du-name   { font-size: 13px; font-weight: 700; color: var(--text); }
.du-email  { font-size: 11px; color: var(--text-muted); }
.dropdown-divider { height: 1px; background: var(--border-2); margin: 4px 0; }
.dropdown-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 13px; color: var(--text-dim); background: none; border: none; cursor: pointer; transition: all var(--transition); text-align: left; font-family: var(--font); text-decoration: none; }
.dropdown-item:hover { background: rgba(255,255,255,.05); color: var(--text); }
.dropdown-item i { color: var(--green); width: 14px; text-align: center; }
.dropdown-item.danger:hover { color: var(--red); background: rgba(255,68,68,.06); }
.dropdown-item.danger i { color: var(--red); }

/* Notification panel */
.notif-panel { position: fixed; top: 0; right: -320px; width: 300px; max-width: 90vw; height: 100vh; z-index: 900; background: var(--bg-card); border-left: 1px solid var(--border); transition: right .3s ease; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; }
.notif-panel.open { right: 0; }
.notif-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.notif-panel-header span { font-size: 15px; font-weight: 700; color: var(--text); }
.notif-panel-header button { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 18px; }
.notif-overlay { display: none; position: fixed; inset: 0; z-index: 850; background: rgba(0,0,0,.5); }
.notif-overlay.active { display: block; }
.notif-empty { text-align: center; padding: 40px 0; color: var(--text-muted); }
.notif-empty i { font-size: 30px; margin-bottom: 10px; display: block; }
.notif-item { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,.03); margin-bottom: 6px; font-size: 13px; }
.ni-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(0,255,136,.1); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.ni-title { font-weight: 600; color: var(--text); margin-bottom: 2px; }
.ni-body  { color: var(--text-dim); }
.ni-time  { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* Dashboard main content */
.dash-main-wrap { max-width: 560px; margin: 0 auto; padding: 16px 16px 80px; }
.dash-section { margin-bottom: 20px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-title { font-size: 14px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 7px; }
.section-title i { color: var(--green); }
.section-link  { font-size: 12px; color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* Balance card (mobile) */
.balance-card-mobile { background: linear-gradient(145deg, #0b1e10, var(--bg-card)); border: 1px solid rgba(0,255,136,.2); border-radius: 18px; padding: 22px; position: relative; overflow: hidden; margin-bottom: 14px; }
.balance-card-mobile .bc-glow { position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(0,255,136,.08), transparent 70%); pointer-events: none; }
.bc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.bc-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.bc-amount-wrap { font-family: var(--font-head); font-size: 32px; font-weight: 900; color: var(--text); line-height: 1.1; }
.bc-amount-wrap.hidden { filter: blur(8px); user-select: none; }
.bc-symbol { font-size: 15px; color: var(--green); margin-left: 4px; }
.bc-usd-line { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.bc-usd-line.hidden { filter: blur(8px); }
.bal-toggle-btn { background: rgba(255,255,255,.06); border: 1px solid var(--border-2); border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-dim); font-size: 12px; flex-shrink: 0; }
.bc-actions-grid { display: flex; justify-content: space-around; margin-top: 16px; }
.bc-action { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.bc-action span { font-size: 10px; color: var(--text-muted); }
.bc-action-icon { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #000; transition: transform .15s; }
.bc-action-icon:hover { transform: scale(1.08); }
.bca-send    { background: var(--green); }
.bca-receive { background: var(--blue); }
.bca-swap    { background: #ffc800; }
.bca-data    { background: rgba(0,255,136,.15); color: var(--green) !important; }
.bca-airtime { background: rgba(0,204,255,.15); color: var(--blue) !important; }

/* Stats 2x2 */
.stats-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-mini { background: var(--bg-card); border: 1px solid var(--border-2); border-radius: 12px; padding: 14px; display: flex; align-items: center; gap: 10px; }
.stat-mini-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.stat-mini-icon.green  { background: rgba(0,255,136,.12); color: var(--green); }
.stat-mini-icon.red    { background: rgba(255,68,68,.12);  color: var(--red); }
.stat-mini-icon.yellow { background: rgba(255,214,0,.12);  color: #ffd600; }
.stat-mini-icon.blue   { background: rgba(0,204,255,.12);  color: var(--blue); }
.stat-mini-val   { font-size: 15px; font-weight: 800; color: var(--text); }
.stat-mini-label { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* Ticker strip */
.ticker-strip { overflow: hidden; background: rgba(0,255,136,.03); border: 1px solid var(--border-2); border-radius: 10px; padding: 7px 0; margin-bottom: 14px; }
.ticker-track { display: flex; align-items: center; gap: 16px; width: max-content; animation: tickerScroll 30s linear infinite; }
.tk-item { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-dim); white-space: nowrap; }
.tk-item i { color: var(--green); }
.tk-sep   { color: var(--border); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Bottom nav */
.dash-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 700; background: rgba(10,10,10,.96); backdrop-filter: blur(20px); border-top: 1px solid var(--border); }
.nav-inner { max-width: 560px; margin: 0 auto; display: flex; }
.nav-item  { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; color: var(--text-muted); font-size: 10px; font-weight: 600; transition: color var(--transition); text-decoration: none; }
.nav-item i { font-size: 18px; }
.nav-item:hover, .nav-item.active { color: var(--green); }
.nav-center { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px 10px; font-size: 10px; color: var(--text-muted); text-decoration: none; }
.nav-center-btn { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #000; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-top: -12px; box-shadow: 0 0 20px rgba(0,255,136,.4); }

/* Page cards */
.page-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.page-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; }
.page-card-title { font-family: var(--font-head); font-size: 17px; font-weight: 800; color: var(--text); }
.back-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.05); border: 1px solid var(--border-2); color: var(--text-dim); display: flex; align-items: center; justify-content: center; font-size: 13px; text-decoration: none; transition: all var(--transition); flex-shrink: 0; }
.back-btn:hover { color: var(--green); border-color: var(--green); }
.tx-count { font-size: 12px; color: var(--text-muted); }

/* Filter tabs (history) */
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-tab { background: rgba(255,255,255,.04); border: 1px solid var(--border-2); color: var(--text-dim); font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 50px; text-decoration: none; transition: all var(--transition); }
.filter-tab.active, .filter-tab:hover { background: rgba(0,255,136,.1); border-color: var(--green); color: var(--green); }

/* Transaction extended (history page) */
.tx-item-detailed { align-items: flex-start; }
.tx-details { flex: 1; min-width: 0; }
.tx-title  { font-size: 13px; font-weight: 700; color: var(--text); }
.tx-meta   { display: flex; align-items: center; gap: 8px; margin-top: 3px; flex-wrap: wrap; }
.tx-time   { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.tx-right  { text-align: right; flex-shrink: 0; }
.tx-amount.positive { color: var(--green); font-family: var(--font-head); font-size: 13px; font-weight: 700; }
.tx-amount.negative { color: var(--red);   font-family: var(--font-head); font-size: 13px; font-weight: 700; }
.tx-ngn  { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.tx-fee  { font-size: 10px; color: var(--text-muted); }
.tx-empty { text-align: center; padding: 36px; color: var(--text-muted); }
.tx-empty i { font-size: 28px; margin-bottom: 8px; display: block; }
.tx-icon.completed { background: rgba(0,255,136,.1); color: var(--green); }
.tx-icon.pending   { background: rgba(255,214,0,.1); color: #ffd600; }
.tx-icon.failed    { background: rgba(255,68,68,.1); color: var(--red); }

/* Pagination link style */
.page-btn { min-width: 32px; height: 32px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-card); color: var(--text-dim); font-size: 13px; display: flex; align-items: center; justify-content: center; transition: all var(--transition); text-decoration: none; }
.page-btn:hover, .page-btn.active { border-color: var(--green); color: var(--green); background: rgba(0,255,136,.08); }
.page-btn.active { font-weight: 700; }

/* Send/Receive/Swap form extras */
.send-balance-row { display: flex; justify-content: space-between; align-items: center; background: rgba(0,255,136,.05); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 14px; font-size: 13px; }
.sbr-label { color: var(--text-muted); }
.sbr-val   { font-weight: 700; color: var(--green); }
.fee-preview { background: rgba(255,255,255,.03); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 14px; }
.fp-row  { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); margin-bottom: 5px; }
.fp-total { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--text); border-top: 1px solid var(--border-2); padding-top: 6px; margin-top: 4px; }
.fp-total span:last-child { color: var(--green); }
.btn-primary { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: #000; font-weight: 800; font-size: 15px; padding: 13px; border-radius: 10px; border: none; cursor: pointer; transition: all var(--transition); font-family: var(--font); width: 100%; }
.btn-primary:hover { background: var(--green-dim); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,255,136,.3); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Receive */
.receive-hint { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; line-height: 1.5; }
.qr-container { text-align: center; margin-bottom: 16px; }
.qr-box { display: inline-block; background: #fff; border: 3px solid var(--green); border-radius: 12px; padding: 10px; box-shadow: 0 0 28px rgba(0,255,136,.2); }
.qr-box img { display: block; width: 180px; height: 180px; }
.qr-label  { font-size: 11px; color: var(--text-muted); margin-top: 8px; }
.address-card { background: rgba(0,255,136,.04); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 14px; }
.addr-label   { font-size: 10px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.addr-text    { font-family: monospace; font-size: 12px; color: var(--text); word-break: break-all; margin-bottom: 10px; }
.copy-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: #000; font-weight: 700; font-size: 13px; padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; transition: all var(--transition); font-family: var(--font); width: 100%; }
.copy-btn:hover { background: var(--green-dim); }
.info-rows { display: flex; flex-direction: column; gap: 8px; }
.info-row { display: flex; align-items: flex-start; gap: 10px; background: rgba(255,255,255,.02); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 12px; }
.info-row i { color: var(--green); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.ir-title { font-size: 10px; color: var(--text-muted); }
.ir-val   { font-size: 13px; color: var(--text); margin-top: 2px; }

/* Swap page */
.swap-wrap { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.swap-token-card { background: rgba(255,255,255,.03); border: 1.5px solid var(--border-2); border-radius: 12px; padding: 14px; }
.stc-label  { font-size: 10px; color: var(--text-muted); margin-bottom: 8px; }
.stc-row    { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.token-badge { display: flex; align-items: center; gap: 6px; background: rgba(0,255,136,.08); border: 1px solid var(--border-2); border-radius: 50px; padding: 6px 14px; font-size: 12px; font-weight: 700; color: var(--green); flex-shrink: 0; }
.stc-input  { background: none; border: none; font-size: 22px; font-weight: 900; font-family: var(--font-head); color: var(--text); width: 100%; text-align: right; outline: none; }
.stc-input[readonly] { color: var(--text-dim); }
.stc-balance { font-size: 11px; color: var(--text-muted); margin-top: 6px; text-align: right; }
.swap-mid    { display: flex; align-items: center; justify-content: center; }
.swap-flip-btn { background: rgba(0,255,136,.1); border: 2px solid var(--border); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--green); font-size: 15px; transition: all var(--transition); }
.swap-flip-btn:hover { background: rgba(0,255,136,.2); transform: rotate(180deg); }
.swap-rate-row { text-align: center; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.swap-rate-row span { color: var(--green); font-weight: 600; }

/* Utilities page */
.dual-balance { display: flex; align-items: center; gap: 12px; justify-content: center; background: rgba(0,255,136,.04); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 16px; font-size: 13px; font-weight: 600; color: var(--text-dim); flex-wrap: wrap; }
.dual-balance i { color: var(--green); }
.db-sep { color: var(--border); }
.network-tabs  { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pay-with-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.net-tab  { background: rgba(255,255,255,.04); border: 1px solid var(--border-2); color: var(--text-dim); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all var(--transition); font-family: var(--font); }
.pay-tab  { background: rgba(255,255,255,.04); border: 1px solid var(--border-2); color: var(--text-dim); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all var(--transition); font-family: var(--font); }
.net-tab.active, .net-tab:hover,
.pay-tab.active, .pay-tab:hover { background: rgba(0,255,136,.1); border-color: var(--green); color: var(--green); }
.data-plan-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-bottom: 10px; }
.data-plan-card { background: rgba(255,255,255,.03); border: 1.5px solid var(--border-2); border-radius: 10px; padding: 12px; cursor: pointer; transition: all var(--transition); }
.data-plan-card:hover, .data-plan-card.selected { border-color: var(--green); background: rgba(0,255,136,.06); }
.dp-size  { font-size: 15px; font-weight: 800; color: var(--text); }
.dp-valid { font-size: 11px; color: var(--text-muted); }
.dp-price { font-size: 13px; font-weight: 700; color: var(--green); margin-top: 4px; }
.quick-amounts { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.qa-btn { background: rgba(255,255,255,.04); border: 1px solid var(--border-2); color: var(--text-dim); font-size: 12px; padding: 5px 12px; border-radius: 6px; cursor: pointer; transition: all var(--transition); font-family: var(--font); }
.qa-btn:hover { border-color: var(--green); color: var(--green); }
.input-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.input-max { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: rgba(0,255,136,.1); color: var(--green); border: none; cursor: pointer; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 5px; letter-spacing: .5px; font-family: var(--font); }

/* Settings page */
.settings-section { margin-bottom: 20px; }
.settings-section-title { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; padding: 0 4px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--border-2); border-radius: var(--radius-sm); margin-bottom: 6px; }
.sr-left { display: flex; align-items: center; gap: 12px; }
.sr-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.sr-icon.green  { background: rgba(0,255,136,.12); color: var(--green); }
.sr-icon.blue   { background: rgba(0,204,255,.12); color: var(--blue); }
.sr-icon.red    { background: rgba(255,68,68,.12);  color: var(--red); }
.sr-icon.yellow { background: rgba(255,214,0,.12);  color: #ffd600; }
.sr-name  { font-size: 13px; font-weight: 600; color: var(--text); }
.sr-desc  { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.sr-right { color: var(--text-muted); font-size: 13px; }
a.settings-row:hover { border-color: var(--green); }

/* Profile card */
.profile-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.profile-avatar-large { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); color: #000; font-size: 26px; font-weight: 900; display: flex; align-items: center; justify-content: center; border: 3px solid var(--green); box-shadow: 0 0 20px rgba(0,255,136,.25); }
.profile-username { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--text); }
.profile-email    { font-size: 13px; color: var(--text-muted); }
.profile-tag { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.profile-tag.verified   { background: rgba(0,255,136,.1); color: var(--green); }
.profile-tag.unverified { background: rgba(255,214,0,.1);  color: #ffd600; }

/* Referral */
.referral-card { background: var(--bg-card); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.ref-code-row  { display: flex; align-items: center; gap: 8px; }
.ref-code  { flex: 1; font-family: monospace; font-size: 15px; font-weight: 700; letter-spacing: .15em; color: var(--green); background: rgba(0,255,136,.06); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 10px 14px; }
.copy-ref-btn { background: rgba(0,255,136,.1); border: 1px solid rgba(0,255,136,.2); color: var(--green); border-radius: var(--radius-sm); padding: 10px 16px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all var(--transition); font-family: var(--font); white-space: nowrap; }
.copy-ref-btn:hover { background: rgba(0,255,136,.2); }

/* Support / FAQ */
.faq-item { background: var(--bg-card); border: 1px solid var(--border-2); border-radius: var(--radius-sm); margin-bottom: 6px; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; user-select: none; }
.faq-a { padding: 0 16px 14px; font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* Kyc */
.kyc-status { display: flex; align-items: center; gap: 12px; background: rgba(0,255,136,.06); border: 1px solid rgba(0,255,136,.2); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; }
.kyc-status.pending { background: rgba(255,214,0,.06); border-color: rgba(255,214,0,.2); }
.kyc-status.unverified { background: rgba(255,68,68,.06); border-color: rgba(255,68,68,.2); }
.kyc-status i { font-size: 20px; color: var(--green); flex-shrink: 0; }
.kyc-status.pending i   { color: #ffd600; }
.kyc-status.unverified i { color: var(--red); }
.kyc-info span { font-size: 14px; font-weight: 700; color: var(--text); display: block; }
.kyc-info p    { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* ════════════════════════════════════════
   DASHBOARD RESPONSIVE OVERRIDES (mobile app)
════════════════════════════════════════ */
@media (max-width: 540px) {
    .stats-2x2 { gap: 8px; }
    .data-plan-grid { grid-template-columns: repeat(2,1fr); }
    .tknomics-grid { grid-template-columns: 1fr; }
    .balance-card-mobile .bc-amount-wrap { font-size: 26px; }
}
