/* ── Design Tokens ───────────────────────────────────────────────────── */
:root {
  --bg:          #070b14;
  --bg2:         #0d1220;
  --bg3:         #111827;
  --bg4:         #151e2e;
  --border:      rgba(255,255,255,.06);
  --border-acc:  rgba(0,245,160,.25);
  --text:        #f0f4ff;
  --text-sec:    #8892a4;
  --text-muted:  #4a5568;
  --accent:      #00f5a0;
  --acc-dim:     rgba(0,245,160,.1);
  --acc-glow:    rgba(0,245,160,.3);
  --red:         #ff4560;
  --red-dim:     rgba(255,69,96,.1);
  --blue:        #4facfe;
  --gold:        #f6c90e;
  --ff-display:  'Syne', sans-serif;
  --ff-mono:     'DM Mono', monospace;
  --ff-body:     'Inter', sans-serif;
  --r:           10px;
  --r-lg:        16px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--ff-body); }
input { font-family: var(--ff-body); }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border-acc); border-radius: 2px; }

/* ── Utilities ───────────────────────────────────────────────────────── */
.mono   { font-family: var(--ff-mono); }
.accent { color: var(--accent); }
.dim    { color: var(--text-muted); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 11px 28px;
  background: var(--accent); color: #000;
  border-radius: var(--r);
  font-family: var(--ff-display); font-weight: 700; font-size: 14px;
  transition: all .2s;
  box-shadow: 0 0 20px var(--acc-glow);
}
.btn-primary:hover { background: #00d488; transform: translateY(-1px); box-shadow: 0 0 36px var(--acc-glow); }

.btn-lg { padding: 15px 40px; font-size: 16px; }

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 11px 28px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r); font-size: 14px; transition: all .2s;
}
.btn-ghost:hover { border-color: var(--border-acc); }

.btn-sm {
  padding: 5px 14px;
  background: transparent; color: var(--text-sec);
  border: 1px solid var(--border);
  border-radius: 7px; font-size: 12px; transition: all .15s;
}
.btn-sm:hover { border-color: var(--border-acc); color: var(--accent); }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,11,20,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: var(--ff-display); font-weight: 700; font-size: 20px;
  letter-spacing: -.5px;
}
.logo span { color: var(--accent); }

/* ── Ticker ──────────────────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden; background: var(--bg2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: ticker 40s linear infinite;
}
.ticker-track span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 28px;
  border-right: 1px solid var(--border);
  font-family: var(--ff-mono); font-size: 12px; color: var(--text-sec);
}
.ticker-track em { font-style: normal; }
.ticker-track .up { color: var(--accent); }
.ticker-track .dn { color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 60px 80px; text-align: center;
}
.hero-glow {
  position: absolute; top: 5%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,245,160,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px;
  background: var(--acc-dim); border: 1px solid var(--border-acc);
  border-radius: 100px; margin-bottom: 28px;
  font-family: var(--ff-mono); font-size: 11px; color: var(--accent); letter-spacing: .5px;
}
.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800; line-height: 1.05; letter-spacing: -2px; margin-bottom: 24px;
}
.grad {
  background: linear-gradient(135deg, var(--accent), #00b4d8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 18px; color: var(--text-sec); max-width: 540px; margin: 0 auto 40px; line-height: 1.8; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 12px; color: var(--text-muted); }

/* ── Stats bar ───────────────────────────────────────────────────────── */
.stats-bar {
  display: flex; justify-content: space-around; flex-wrap: wrap;
  background: var(--bg2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat { text-align: center; padding: 24px 40px; }
.stat strong { display: block; font-family: var(--ff-display); font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat span { font-size: 12px; color: var(--text-sec); margin-top: 6px; display: block; }

/* ── Features ────────────────────────────────────────────────────────── */
.features { padding: 80px 60px; max-width: 1100px; margin: 0 auto; }
.features h2 { font-family: var(--ff-display); font-size: 36px; font-weight: 700; letter-spacing: -1px; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-sec); font-size: 15px; margin-bottom: 52px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 30px; transition: all .3s;
}
.card:hover { border-color: var(--border-acc); transform: translateY(-4px); box-shadow: 0 0 30px var(--acc-glow); }
.card-icon { font-size: 30px; margin-bottom: 16px; }
.card h3 { font-family: var(--ff-display); font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-sec); font-size: 13px; line-height: 1.7; }

/* ── CTA section ─────────────────────────────────────────────────────── */
.cta-section {
  padding: 80px 60px; text-align: center;
  background: var(--bg2); border-top: 1px solid var(--border);
}
.cta-section h2 { font-family: var(--ff-display); font-size: 40px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; }
.cta-section p { color: var(--text-sec); margin-bottom: 36px; font-size: 15px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  padding: 36px 60px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--text-muted);
}

/* ── Auth page ───────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-bg-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,245,160,.06) 0%, transparent 70%);
  pointer-events: none;
}
.auth-wrap { position: relative; width: 100%; max-width: 420px; padding: 32px; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 40px; font-size: 22px; }
.flash { padding: 10px 14px; border-radius: var(--r); margin-bottom: 16px; font-size: 13px; }
.flash-error { background: var(--red-dim); border: 1px solid rgba(255,69,96,.3); color: var(--red); }
.auth-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 40px;
}
.auth-card h2 { font-family: var(--ff-display); font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 8px; letter-spacing: -.5px; }
.auth-sub { color: var(--text-sec); font-size: 13px; text-align: center; margin-bottom: 32px; line-height: 1.6; }
.btn-deriv {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--accent), #00c9a0); color: #000;
  border-radius: var(--r); font-weight: 700; font-size: 15px;
  font-family: var(--ff-display); letter-spacing: .2px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .2s; box-shadow: 0 0 24px var(--acc-glow);
}
.btn-deriv:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0,245,160,.4); }
.auth-divider {
  display: flex; align-items: center; gap: 14px; margin: 26px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-divider span { font-family: var(--ff-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .5px; }
.auth-perks { list-style: none; }
.auth-perks li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-sec); margin-bottom: 10px; }
.chk { color: var(--accent); flex-shrink: 0; }
.auth-legal { text-align: center; margin-top: 22px; font-size: 11px; color: var(--text-muted); line-height: 1.7; }

/* ── Dashboard layout ────────────────────────────────────────────────── */
.dash-page { min-height: 100vh; display: flex; flex-direction: column; }

.dash-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 54px;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.dash-nav-links { display: flex; gap: 4px; }
.nav-link {
  padding: 6px 14px; border-radius: 7px;
  color: var(--text-sec); font-size: 13px; transition: all .15s;
  border: 1px solid transparent;
}
.nav-link:hover, .nav-link.active {
  background: var(--acc-dim); border-color: var(--border-acc); color: var(--accent);
}
.dash-nav-right { display: flex; align-items: center; gap: 12px; }

/* Balance pill */
.balance-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 14px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; font-family: var(--ff-mono); font-size: 13px;
}
.bal-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.bal-cur { font-size: 11px; color: var(--text-muted); }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }

/* User menu */
.user-menu-wrap { position: relative; }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #00b4d8);
  color: #000; font-family: var(--ff-display); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.user-dropdown {
  display: none; position: absolute; top: 44px; right: 0;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r); min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5); z-index: 200;
}
.user-dropdown.open { display: block; }
.user-info { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.user-info strong { display: block; font-size: 13px; }
.user-info small { font-size: 11px; color: var(--text-muted); font-family: var(--ff-mono); }
.user-dropdown a, .user-dropdown hr {
  display: block; padding: 9px 16px;
  font-size: 13px; color: var(--text-sec);
  transition: all .15s;
}
.user-dropdown hr { border: none; border-top: 1px solid var(--border); padding: 0; }
.user-dropdown a:hover { background: var(--bg4); color: var(--text); }
.logout-link { color: var(--red) !important; }

/* Main grid */
.dash-grid {
  flex: 1; display: grid;
  grid-template-columns: 210px 1fr 270px;
  height: calc(100vh - 54px);
  overflow: hidden;
}

/* Symbol sidebar */
.dash-symbols {
  background: var(--bg2); border-right: 1px solid var(--border);
  padding: 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px;
}
.panel-title { font-family: var(--ff-display); font-weight: 600; font-size: 13px; }
.sym-filter { display: flex; gap: 4px; flex-wrap: wrap; }
.sf {
  padding: 3px 9px; border-radius: 5px; font-size: 11px;
  font-family: var(--ff-mono); border: 1px solid transparent;
  background: transparent; color: var(--text-sec); transition: all .15s;
}
.sf.active, .sf:hover { background: var(--acc-dim); border-color: var(--border-acc); color: var(--accent); }
.sym-list { list-style: none; }
.sym-item {
  padding: 9px 10px; border-radius: 7px; cursor: pointer;
  border-left: 2px solid transparent; transition: all .15s;
  display: flex; flex-direction: column; gap: 2px;
}
.sym-item span { font-size: 12px; font-weight: 500; }
.sym-item small { font-family: var(--ff-mono); font-size: 10px; color: var(--text-muted); }
.sym-item:hover { background: var(--bg4); }
.sym-item.active { background: var(--acc-dim); border-left-color: var(--accent); }
.sym-item.active span { color: var(--accent); }
.sym-item.hidden { display: none; }

/* Center area */
.dash-center {
  overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px;
}
.chart-header {
  display: flex; justify-content: space-between; align-items: center;
}
.chart-symbol { font-family: var(--ff-display); font-size: 18px; font-weight: 700; margin-right: 10px; }
.chart-price { font-family: var(--ff-mono); font-size: 16px; color: var(--accent); margin-right: 8px; }
.chart-change { font-family: var(--ff-mono); font-size: 12px; }
.chart-type-btns { display: flex; gap: 6px; }
.ctb {
  padding: 5px 14px; border-radius: 6px; font-size: 12px; font-family: var(--ff-mono);
  border: 1px solid var(--border); background: transparent; color: var(--text-sec); transition: all .15s;
}
.ctb.active { background: var(--acc-dim); border-color: var(--border-acc); color: var(--accent); }
.chart-box {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-lg);
  height: 320px; padding: 12px; overflow: hidden;
}

/* Panel */
.panel {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.panel-hdr {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.trades-panel {}

/* Table */
.tbl-wrap { overflow-x: auto; }
.data-tbl { width: 100%; border-collapse: collapse; }
.data-tbl th {
  padding: 9px 16px; text-align: left;
  font-family: var(--ff-mono); font-size: 11px; color: var(--text-muted);
  font-weight: 400; letter-spacing: .5px; border-bottom: 1px solid var(--border);
}
.data-tbl td {
  padding: 9px 16px; border-bottom: 1px solid rgba(255,255,255,.03); font-size: 12px;
  transition: background .1s;
}
.data-tbl tr:hover td { background: var(--bg4); }
.tbl-empty { text-align: center; color: var(--text-muted); padding: 32px !important; }

/* Badges */
.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-family: var(--ff-mono); font-weight: 600; }
.badge-up  { background: var(--acc-dim); color: var(--accent); }
.badge-dn  { background: var(--red-dim); color: var(--red); }
.badge-info{ background: rgba(79,172,254,.1); color: var(--blue); }

/* Right panel */
.dash-trade {
  background: var(--bg2); border-left: 1px solid var(--border);
  padding: 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px;
}
.trade-panel {}
.tp-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.tp-label { font-family: var(--ff-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .5px; margin-bottom: -8px; }
.tp-asset {
  padding: 10px 14px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); font-family: var(--ff-mono); font-size: 13px;
}

/* Duration grid */
.dur-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; }
.db {
  padding: 7px 4px; border-radius: 6px; font-size: 11px; font-family: var(--ff-mono);
  border: 1px solid var(--border); background: transparent; color: var(--text-sec); transition: all .15s;
}
.db.active, .db:hover { background: var(--acc-dim); border-color: var(--border-acc); color: var(--accent); }

/* Amount presets */
.amount-presets { display: flex; flex-wrap: wrap; gap: 5px; }
.ab {
  padding: 5px 10px; border-radius: 5px; font-size: 11px; font-family: var(--ff-mono);
  border: 1px solid var(--border); background: transparent; color: var(--text-sec); transition: all .15s;
}
.ab.active, .ab:hover { background: var(--acc-dim); border-color: var(--border-acc); color: var(--accent); }
.tp-input {
  width: 100%; padding: 9px 12px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r);
  color: var(--text); font-size: 13px;
}
.tp-input:focus { border-color: var(--border-acc); }

/* Payout box */
.payout-box {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.payout-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-sec); }

/* Trade feedback */
.trade-msg { padding: 9px 12px; border-radius: var(--r); font-size: 12px; line-height: 1.5; }
.trade-msg.ok  { background: var(--acc-dim); border: 1px solid var(--border-acc); color: var(--accent); }
.trade-msg.err { background: var(--red-dim); border: 1px solid rgba(255,69,96,.3); color: var(--red); }

/* BUY / SELL buttons */
.trade-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-buy, .btn-sell {
  padding: 15px; border-radius: var(--r);
  font-family: var(--ff-display); font-weight: 700; font-size: 15px; transition: all .2s;
}
.btn-buy  { background: rgba(0,245,160,.12); border: 2px solid var(--accent); color: var(--accent); }
.btn-sell { background: rgba(255,69,96,.12);  border: 2px solid var(--red);    color: var(--red); }
.btn-buy:hover  { background: rgba(0,245,160,.22); }
.btn-sell:hover { background: rgba(255,69,96,.22); }
.btn-buy:disabled, .btn-sell:disabled { opacity: .4; cursor: not-allowed; }

/* Account card */
.acct-card { padding: 16px; }
.acct-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 12px;
}
.acct-row:last-child { border: none; }
.acct-row span:first-child { color: var(--text-muted); }
.copy-ref { cursor: pointer; }
.copy-ref:hover { opacity: .8; }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.7); align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r-lg);
  width: 92%; max-width: 640px; max-height: 85vh; overflow-y: auto;
}
.modal-hdr {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--border);
}
.modal-hdr h3 { font-family: var(--ff-display); font-size: 17px; font-weight: 700; }
.modal-close { background: transparent; color: var(--text-sec); font-size: 18px; padding: 2px 8px; }
.modal-close:hover { color: var(--text); }
.loading { padding: 40px; text-align: center; color: var(--text-sec); font-family: var(--ff-mono); font-size: 13px; }
#ib-content { padding: 24px; }

/* IB modal internals */
.ib-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.ib-stat { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 14px; text-align: center; }
.ib-stat-val { font-family: var(--ff-display); font-size: 24px; font-weight: 800; color: var(--accent); line-height: 1; }
.ib-stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.ib-ref { display: flex; gap: 8px; margin-bottom: 16px; }
.ib-ref input {
  flex: 1; padding: 9px 12px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r);
  color: var(--text-sec); font-family: var(--ff-mono); font-size: 12px;
}
.ib-notice {
  background: rgba(246,201,14,.07); border: 1px solid rgba(246,201,14,.2);
  border-radius: var(--r); padding: 14px; font-size: 12px; color: var(--text-sec); line-height: 1.7;
}
.ib-notice strong { color: var(--gold); display: block; margin-bottom: 4px; }
.ib-notice a { color: var(--accent); text-decoration: underline; }

/* Admin page */
.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 16px; margin-bottom: 24px;
}
.astat {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
}
.astat-val { font-family: var(--ff-display); font-size: 30px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.astat-lbl { font-size: 12px; color: var(--text-muted); }
.accent-val .astat-val { color: var(--accent); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.notice-box {
  background: rgba(246,201,14,.07); border: 1px solid rgba(246,201,14,.2);
  border-radius: var(--r); padding: 14px; font-size: 13px; color: var(--text-sec); line-height: 1.7;
}
.notice-box strong { color: var(--gold); }
.notice-box a { color: var(--accent); text-decoration: underline; }

/* ── Stats bar (landing page) ─────────────────────── */
.stats-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: var(--bg2, #0d1220);
    border-top: 1px solid var(--border, rgba(255,255,255,.06));
    border-bottom: 1px solid var(--border, rgba(255,255,255,.06));
    padding: 0;
}
.stats-bar .stat { text-align: center; padding: 28px 40px; }
.stats-bar .stat strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #2ecc71;
    line-height: 1;
}
.stats-bar .stat span {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    margin-top: 6px;
    display: block;
}

/* ── section-sub helper ─────────────────────────────── */
.section-sub {
    color: var(--text-sec, #8892a4);
    font-size: 15px;
    margin-bottom: 48px;
}

/* ── features grid (landing) ───────────────────────── */
.features {
    padding: 80px 8%;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.features h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text, #f0f4ff);
}
.features .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 0;
}
.features .card {
    background: var(--bg3, #111827);
    border: 1px solid var(--border, rgba(255,255,255,.06));
    border-radius: 16px;
    padding: 30px 26px;
    text-align: left;
    transition: all .3s;
}
.features .card:hover {
    border-color: rgba(46,204,113,.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(46,204,113,.12);
}
.features .card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 14px 0 8px;
    color: var(--text, #f0f4ff);
}
.features .card p {
    font-size: 13px;
    color: var(--text-sec, #8892a4);
    line-height: 1.7;
}

/* landing footer */
.footer {
    background: var(--bg2, #0d1220);
    border-top: 1px solid var(--border, rgba(255,255,255,.06));
    padding: 48px 8%;
    color: var(--text-muted, #4a5568);
    font-size: 13px;
}
