/* ============================================================
   SwiftCardPlug — shared-layout.css  v10
   Complete dashboard stylesheet — existing + extended sections
   ============================================================ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&family=Instrument+Serif:ital@0;1&family=Barlow:wght@300;400;500;600&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --bg:      #0b1220;
  --bg2:     #111827;
  --bg3:     #162033;
  --card:    #111827;
  --card2:   #162033;

  --border:  rgba(255,255,255,0.07);
  --border2: rgba(0,200,255,0.14);

  --text:    #f0f6ff;
  --text2:   #8ba4c0;
  --text3:   #4d6a86;

  --cyan:    #00c8ff;
  --teal:    #00e5c8;
  --amber:   #f59e0b;
  --red:     #ff4d6d;
  --green:   #10b981;
  --purple:  #7c3aed;

  --sh-card: 0 2px 20px rgba(0,0,0,0.45);
  --sh-glow: 0 0 24px rgba(0,200,255,0.15);

  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  18px;
  --r-xl:  24px;

  --t: 0.22s ease;

  /* Extended design system */
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.10);
  --glass-blur: 20px;
  --glow-cyan: 0 0 32px rgba(0,200,255,0.18);
  --glow-teal: 0 0 32px rgba(0,229,200,0.15);
}

body.light {
  --bg:      #f0f4f8;
  --bg2:     #ffffff;
  --bg3:     #e8edf3;
  --card:    #ffffff;
  --card2:   #f7f9fc;
  --border:  rgba(0,0,0,0.07);
  --border2: rgba(0,150,200,0.18);
  --text:    #0f172a;
  --text2:   #4a6080;
  --text3:   #94a3b8;
  --sh-card: 0 2px 16px rgba(0,0,0,0.1);
  --sh-glow: 0 0 20px rgba(0,150,200,0.08);
  --glass-bg: rgba(0,0,0,0.03);
  --glass-border: rgba(0,0,0,0.10);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
}
a { text-decoration: none; color: inherit; }
button { font-family: 'Outfit', sans-serif; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
input, select, textarea {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 99px; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
#pageLoader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  animation: fadeOut 0.5s ease-out 3s forwards;
}

@keyframes fadeOut {
  to { opacity: 0; pointer-events: none; }
}
.ld-ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid rgba(0,200,255,0.1);
  border-top-color: #00c8ff;
  border-right-color: #f59e0b;
  animation: lspin 0.85s linear infinite;
}
.ld-text { font-size: 14px; font-weight: 600; color: var(--text2); }
@keyframes lspin { to { transform: rotate(360deg); } }

/* ============================================================
   TOAST SYSTEM
   ============================================================ */
#toastContainer {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9998;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
  max-width: 360px; width: calc(100vw - 48px);
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  font-size: 13px; font-weight: 600; color: var(--text);
  transform: translateX(120%); opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
  pointer-events: auto;
  cursor: default;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast-success { border-left: 3px solid var(--green); }
.toast-error   { border-left: 3px solid var(--red); }
.toast-info    { border-left: 3px solid var(--cyan); }
.toast-warning { border-left: 3px solid var(--amber); }
.toast-icon  { font-size: 16px; flex-shrink: 0; }
.toast-msg   { flex: 1; }
.toast-close {
  margin-left: auto; padding: 2px 6px;
  border-radius: 6px; background: var(--bg3);
  color: var(--text3); font-size: 11px; cursor: pointer;
  flex-shrink: 0;
}

/* ============================================================
   MODAL SYSTEM
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  width: 100%; max-width: 440px;
  padding: 28px 26px;
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modalPop {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--bg3); color: var(--text2);
  display: grid; place-items: center; font-size: 14px;
  cursor: pointer; transition: all var(--t); border: none;
}
.modal-close:hover { background: var(--red); color: #fff; }
.modal-title { font-size: 19px; font-weight: 800; color: var(--text); margin-bottom: 5px; }
.modal-sub   { font-size: 13px; color: var(--text2); margin-bottom: 18px; }
.modal-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text3);
  margin-bottom: 7px; margin-top: 14px;
}
.modal-input {
  width: 100%; padding: 11px 14px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--text);
  font-size: 14px; outline: none; transition: border-color var(--t);
  margin-bottom: 2px;
}
.modal-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,200,255,0.1); }
.modal-input option { background: var(--bg2); }
.modal-input::placeholder { color: var(--text3); }
select.modal-input { cursor: pointer; }
.otp-input {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; letter-spacing: 6px; text-align: center;
}
.modal-actions {
  display: flex; gap: 10px; margin-top: 20px;
}
.btn-modal-primary {
  flex: 1; padding: 13px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, #0055ee, #00aaee);
  color: #fff; font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; transition: all var(--t);
}
.btn-modal-primary:hover:not(:disabled)   { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,100,238,0.4); }
.btn-modal-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-modal-ghost {
  flex: 1; padding: 13px; border-radius: var(--r-sm);
  background: var(--bg3); color: var(--text2);
  border: 1px solid var(--border); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all var(--t);
}
.btn-modal-ghost:hover { color: var(--text); border-color: var(--border2); }

.preset-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px;
}
.preset-btn {
  padding: 7px 13px; border-radius: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text2); font-size: 12.5px; font-weight: 700;
  cursor: pointer; transition: all var(--t);
}
.preset-btn:hover,
.preset-btn.active {
  background: rgba(0,200,255,0.1);
  color: var(--cyan); border-color: var(--border2);
}

.modal-confirm-card {
  background: var(--bg3); border-radius: var(--r-md);
  padding: 14px 16px; margin: 12px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.confirm-row {
  display: flex; align-items: center; justify-content: space-between;
}
.confirm-lbl { font-size: 12px; color: var(--text2); }
.confirm-val { font-size: 13px; font-weight: 700; color: var(--text); }
.confirm-val-lg { font-size: 22px; color: var(--cyan); }

/* ============================================================
   APP LAYOUT
   ============================================================ */
.app { display: flex; min-height: 100vh; }

/* ── SIDEBAR ── */
.sidebar {
  width: 240px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 200;
  transform: translateX(0);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), background var(--t);
  overflow-y: auto; overflow-x: hidden;
}
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  backdrop-filter: blur(3px);
}
.sidebar-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.logo-icon-sm {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #0055ee, #00c8ff);
  border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-icon-sm svg { width: 18px; height: 18px; fill: #fff; }
.logo-text {
  font-size: 17px; font-weight: 800;
  background: linear-gradient(135deg, #00c8ff, #00e5c8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sidebar-nav {
  flex: 1;
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.nav-section {
  font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text3);
  padding: 12px 8px 5px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500; color: var(--text2);
  transition: all var(--t);
}
.nav-item:hover { background: rgba(0,200,255,0.06); color: var(--text); }
.nav-item.active { background: rgba(0,200,255,0.10); color: var(--cyan); }
.nav-item.danger { color: var(--red); }
.nav-item.danger:hover { background: rgba(255,77,109,0.08); }
.nav-icon { width: 16px; height: 16px; flex-shrink: 0; }
.sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: var(--bg3); border-radius: var(--r-md);
}
.user-chip-avatar {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #0055ee, #00c8ff);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.user-chip-name  { font-size: 12px; font-weight: 600; color: var(--text); }
.user-chip-email { font-size: 10.5px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }

/* ── MAIN WRAPPER ── */
.main-wrapper {
  flex: 1; margin-left: 240px; min-width: 0;
  display: flex; flex-direction: column;
}

/* ── HEADER ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0 20px; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: background var(--t);
}
.header-left  { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none; flex-direction: column; gap: 4.5px;
  padding: 6px; border-radius: 8px; transition: background var(--t);
}
.menu-btn:hover { background: var(--bg3); }
.menu-btn span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--text2);
}
.menu-btn span:nth-child(1) { width: 18px; }
.menu-btn span:nth-child(2) { width: 14px; }
.menu-btn span:nth-child(3) { width: 18px; }
.header-title-wrap { display: flex; flex-direction: column; }
.header-greeting {
  font-size: 13.5px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px;
}
.header-right { display: flex; align-items: center; gap: 8px; }
.hdr-btn {
  width: 36px; height: 36px;
  background: var(--bg3); border-radius: 10px;
  display: grid; place-items: center;
  color: var(--text2); transition: all var(--t);
  cursor: pointer;
}
.hdr-btn svg { width: 18px; height: 18px; }
.hdr-btn:hover { background: var(--border2); color: var(--cyan); }
.hdr-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #0055ee, #00c8ff);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.theme-toggle {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg3); border-radius: 20px;
  padding: 5px 10px;
  font-size: 11.5px; font-weight: 600; color: var(--text2);
  cursor: pointer; transition: all var(--t);
  border: 1px solid var(--border);
}
.theme-toggle:hover { color: var(--text); border-color: var(--border2); }
.theme-toggle svg { width: 15px; height: 15px; }

/* Notifications */
.notif-dot {
  position: absolute; top: 7px; right: 7px;
  width: 7px; height: 7px;
  background: var(--red); border-radius: 50%;
  border: 1.5px solid var(--bg2);
}
.notif-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 300px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-card);
  display: none; z-index: 300; overflow: hidden;
}
.notif-dropdown.open { display: block; }
.notif-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 10px; border-bottom: 1px solid var(--border);
}
.notif-title     { font-size: 13px; font-weight: 700; color: var(--text); }
.notif-mark-read { font-size: 11px; color: var(--cyan); font-weight: 600; background: none; border: none; cursor: pointer; }
.notif-list      { max-height: 280px; overflow-y: auto; }
.notif-empty     { padding: 20px 16px; font-size: 12.5px; color: var(--text3); text-align: center; }
.notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.notif-item:hover   { background: var(--bg3); }
.notif-item.unread  { background: rgba(0,200,255,0.04); }
.notif-icon { font-size: 18px; flex-shrink: 0; }
.notif-text { font-size: 12px; color: var(--text2); line-height: 1.5; }
.notif-time { font-size: 10.5px; color: var(--text3); margin-top: 2px; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.content { padding: 24px 24px 0; flex: 1; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-up   { animation: fadeUp 0.45s ease both; }
.anim-up-1 { animation: fadeUp 0.45s 0.08s ease both; }
.anim-up-2 { animation: fadeUp 0.45s 0.16s ease both; }
.anim-up-3 { animation: fadeUp 0.45s 0.24s ease both; }

/* ── BALANCE CARD ── */
.balance-card {
  background: linear-gradient(135deg, #0a2060 0%, #0d3080 40%, #063060 100%);
  border-radius: var(--r-xl); padding: 28px;
  margin-bottom: 22px; position: relative; overflow: hidden;
  border: 1px solid rgba(0,200,255,0.2);
  box-shadow: 0 8px 40px rgba(0,30,100,0.5), var(--sh-glow);
}
.balance-card::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,200,255,0.18) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.balance-card::after {
  content: ''; position: absolute; bottom: -40px; left: 30%;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(0,229,200,0.1) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
body.light .balance-card {
  background: linear-gradient(135deg, #0044cc, #0066ff 50%, #0052d4);
}
.balance-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.balance-lbl { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.balance-amount { font-size: 44px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.balance-currency { font-size: 26px; font-weight: 700; vertical-align: top; margin-top: 6px; display: inline-block; }
.balance-cents { font-size: 24px; font-weight: 600; opacity: 0.7; }
.balance-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1); border-radius: 20px;
  padding: 4px 12px; font-size: 11.5px; color: rgba(255,255,255,0.75); font-weight: 500;
}
.pulse-dot {
  width: 7px; height: 7px; background: #4ade80; border-radius: 50%;
  animation: pulseRing 1.8s ease infinite;
}
@keyframes pulseRing {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}
.balance-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── NEON BUTTONS ── */
.btn-neon {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 700;
  transition: all var(--t); white-space: nowrap;
  border: none; cursor: pointer;
}
.btn-neon svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-neon-primary {
  background: linear-gradient(135deg, #0055ee, #00aaee);
  color: #fff; box-shadow: 0 4px 16px rgba(0,100,238,0.4);
}
.btn-neon-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,100,238,0.5); }
.btn-neon-ghost  {
  background: rgba(255,255,255,0.1); color: #fff;
  border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px);
}
.btn-neon-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ── STATS ROW ── */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 22px; }
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 16px;
  transition: transform var(--t), box-shadow var(--t);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--sh-card); }
.stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.stat-emoji {
  font-size: 22px; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 11px;
}
.stat-emoji.earned  { background: rgba(0,229,200,0.1); }
.stat-emoji.pending { background: rgba(245,158,11,0.1); }
.stat-emoji.trades  { background: rgba(0,200,255,0.1); }
.stat-badge { font-size: 9.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
.badge-teal  { background: rgba(0,229,200,0.1);  color: var(--teal); }
.badge-amber { background: rgba(245,158,11,0.1); color: var(--amber); }
.badge-cyan  { background: rgba(0,200,255,0.1);  color: var(--cyan); }
.stat-val   { font-size: 22px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 11px; color: var(--text3); font-weight: 500; margin-top: 2px; }

/* ── REFERRAL PANEL ── */
.ref-panel { margin-bottom: 22px; }
.ref-strip {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--r-lg); padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.ref-strip-lbl { font-size: 10.5px; font-weight: 700; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.ref-code-row  { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ref-code-val  { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 700; color: var(--teal); letter-spacing: 2px; }
.ref-copy-btn  {
  padding: 4px 11px; background: rgba(0,229,200,0.08);
  border: 1px solid rgba(0,229,200,0.2); border-radius: 7px;
  color: var(--teal); font-size: 10.5px; font-weight: 700;
  cursor: pointer; transition: all var(--t);
}
.ref-copy-btn:hover { background: rgba(0,229,200,0.16); }
.ref-bonus { font-size: 11.5px; color: var(--text3); }
.ref-bonus span { color: var(--amber); font-weight: 700; }
.claim-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #059669, #00c8ff);
  border: none; border-radius: var(--r-sm);
  color: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer;
  transition: all var(--t); white-space: nowrap;
}
.claim-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,229,200,0.25); }
.claim-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ── TWO-COLUMN GRID ── */
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 20px; margin-bottom: 22px; }
.right-col { display: flex; flex-direction: column; gap: 18px; }

/* ── PANEL ── */
.panel {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: background var(--t);
}
.panel-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 14px; border-bottom: 1px solid var(--border);
}
.panel-title { font-size: 14px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.panel-count {
  display: inline-grid; place-items: center;
  background: rgba(0,200,255,0.1); color: var(--cyan);
  font-size: 10.5px; font-weight: 700; min-width: 22px; height: 20px;
  border-radius: 20px; padding: 0 6px;
}
.panel-action { font-size: 12px; font-weight: 600; color: var(--cyan); cursor: pointer; transition: opacity var(--t); }
.panel-action:hover { opacity: 0.7; }

/* ── TRANSACTIONS ── */
.tx-list { padding: 6px 0; }
.tx-item { display: flex; align-items: center; gap: 12px; padding: 12px 18px; transition: background var(--t); }
.tx-item:hover { background: var(--bg3); }
.tx-icon-wrap { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.tx-info { flex: 1; min-width: 0; }
.tx-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-meta { font-size: 11px; color: var(--text3); margin-top: 1px; }
.tx-amount-wrap { text-align: right; flex-shrink: 0; }
.tx-amount { font-size: 13.5px; font-weight: 700; }
.tx-amount.credit { color: var(--teal); }
.tx-amount.debit  { color: var(--red); }
.tx-status { font-size: 10px; font-weight: 600; text-transform: capitalize; margin-top: 2px; }
.tx-status.completed { color: var(--green); }
.tx-status.pending   { color: var(--amber); }
.tx-status.failed    { color: var(--red); }
.tx-empty { padding: 30px; text-align: center; font-size: 13px; color: var(--text3); }

/* ── QUICK ACTIONS ── */
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; padding: 16px; }
.quick-btn {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 14px 8px;
  background: var(--bg3); border-radius: var(--r-md);
  border: 1px solid var(--border);
  transition: all var(--t); cursor: pointer;
}
.quick-btn:hover { border-color: var(--border2); background: rgba(0,200,255,0.06); transform: translateY(-2px); }
.quick-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; }
.qi-b { background: rgba(0,200,255,0.1); }
.qi-t { background: rgba(0,229,200,0.1); }
.qi-a { background: rgba(245,158,11,0.1); }
.qi-r { background: rgba(255,77,109,0.1); }
.quick-label { font-size: 11px; font-weight: 600; color: var(--text2); text-align: center; }

/* ── TOP GIFT CARDS ── */
.cat-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-bottom: 1px solid var(--border); transition: background var(--t);
}
.cat-row:last-of-type { border-bottom: none; }
.cat-row:hover { background: var(--bg3); }
.cat-name { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--text); }
.cat-dot  { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cat-val  { font-size: 13px; font-weight: 700; color: var(--text); text-align: right; }
.cat-sub  { font-size: 10.5px; color: var(--text3); text-align: right; }
.prog-wrap { padding: 12px 18px 16px; }
.prog-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text3); margin-bottom: 7px; }
.prog-track  { height: 5px; background: var(--bg3); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #00c8ff, #00e5c8); border-radius: 99px; transition: width 1s ease; }

/* ── AIRTIME & DATA ── */
.mini-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text3); margin-bottom: 7px;
}
.svc-tabs { display: flex; gap: 5px; margin-bottom: 14px; }
.svc-tab {
  flex: 1; padding: 8px; text-align: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--text2);
  font-size: 12px; font-weight: 600; cursor: pointer; transition: all var(--t);
}
.svc-tab.active { background: rgba(0,200,255,0.1); border-color: rgba(0,200,255,0.3); color: var(--cyan); }
.svc-panel { display: none; animation: svFade 0.3s ease; }
.svc-panel.visible { display: block; }
@keyframes svFade { from { opacity:0; transform:translateY(6px) } to { opacity:1; transform:translateY(0) } }

.net-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-bottom: 12px; }
.net-btn {
  padding: 9px 4px; background: var(--bg3);
  border: 2px solid var(--border); border-radius: var(--r-sm);
  cursor: pointer; text-align: center; transition: all var(--t);
}
.net-btn:hover { border-color: rgba(0,200,255,0.3); }
.net-btn.active { border-color: var(--cyan); background: rgba(0,200,255,0.08); }
.net-emoji { font-size: 18px; display: block; margin-bottom: 2px; }
.net-label { font-size: 9.5px; font-weight: 700; color: var(--text2); display: block; }
.net-btn.active .net-label { color: var(--cyan); }

.mini-input {
  width: 100%; background: var(--bg3);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 10px 12px; color: var(--text);
  font-size: 13px; outline: none; margin-bottom: 10px;
  transition: border-color var(--t);
}
.mini-input:focus { border-color: rgba(0,200,255,0.4); }
.mini-input::placeholder { color: var(--text3); }

.data-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 10px; max-height: 160px; overflow-y: auto; }
.data-plan {
  padding: 9px 10px; background: var(--bg3);
  border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; transition: all var(--t);
}
.data-plan:hover { border-color: rgba(0,200,255,0.3); }
.data-plan.active { border-color: var(--cyan); background: rgba(0,200,255,0.07); }
.dp-size  { font-size: 12.5px; font-weight: 700; color: var(--text); }
.dp-price { font-size: 11px; color: var(--cyan); font-weight: 600; }
.dp-val   { font-size: 10px; color: var(--text3); }

.svc-msg { font-size: 12px; margin-bottom: 8px; min-height: 16px; }
.svc-msg.ok      { color: var(--teal); }
.svc-msg.err     { color: var(--red); }
.svc-msg.loading { color: var(--text2); }

.svc-buy-btn {
  width: 100%; padding: 11px;
  background: linear-gradient(135deg, #0055ee, #00aaee);
  border: none; border-radius: var(--r-sm); color: #fff;
  font-size: 13px; font-weight: 700; cursor: pointer; transition: all var(--t);
}
.svc-buy-btn.data { background: linear-gradient(135deg, #059669, #00c8ff); }
.svc-buy-btn:hover:not(:disabled) { transform: translateY(-1px); }
.svc-buy-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── NUMBERS WIDGET ── */
.country-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.country-card {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 10px; background: var(--bg3);
  border: 2px solid var(--border); border-radius: var(--r-md);
  cursor: pointer; transition: all var(--t);
}
.country-card:hover  { border-color: var(--border2); transform: translateY(-2px); }
.country-card.active { border-color: var(--cyan); background: rgba(0,200,255,0.07); }
.country-flag { font-size: 22px; flex-shrink: 0; }
.country-name { font-size: 11.5px; font-weight: 700; color: var(--text); }
.country-dial { font-size: 10px; color: var(--text3); margin-top: 2px; }

.active-num-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
  border-radius: 20px; padding: 3px 10px;
  font-size: 10.5px; font-weight: 700; color: var(--green); margin-bottom: 10px;
}
.active-num-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 800; color: var(--text);
  margin-bottom: 4px; letter-spacing: 1px;
}
.active-num-country { font-size: 12px; color: var(--text2); margin-bottom: 14px; }
.num-timer-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.num-timer { font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 800; color: var(--teal); }
.num-progress-track { height: 5px; background: var(--bg3); border-radius: 99px; overflow: hidden; margin-bottom: 14px; }
.num-progress-fill  { height: 100%; background: linear-gradient(90deg, #00c8ff, #00e5c8); border-radius: 99px; transition: width 1s linear; }
.cancel-num-btn {
  width: 100%; padding: 10px;
  background: rgba(255,77,109,0.1); border: 1.5px solid rgba(255,77,109,0.25);
  border-radius: var(--r-sm); color: var(--red);
  font-size: 13px; font-weight: 700; cursor: pointer; transition: all var(--t);
}
.cancel-num-btn:hover { background: rgba(255,77,109,0.2); }

/* ── QUICK ACCESS SECTION ── */
.section { margin-bottom: 60px; }
.section-header { margin-bottom: 22px; }
.section-title { font-size: 22px; font-weight: 800; color: var(--text); }
.section-sub   { font-size: 13.5px; color: var(--text2); margin-top: 4px; }

.qa-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.qa-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  cursor: pointer; text-align: center; transition: all var(--t);
}
.qa-card:hover { transform: translateY(-4px); border-color: var(--border2); box-shadow: var(--sh-card); }
.qa-icon  { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; }
.qa-label { font-size: 13px; font-weight: 700; color: var(--text); }
.qa-desc  { font-size: 11px; color: var(--text3); line-height: 1.4; margin-top: -4px; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border); padding: 18px 24px; margin-top: 20px;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text3); flex-wrap: wrap; gap: 8px;
}

/* ============================================================
   FLOATING AI ASSISTANT
   ============================================================ */
.ai-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c8ff, #00e5c8);
  border: none;
  display: grid; place-items: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,200,255,0.4);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.ai-fab:hover { transform: scale(1.08); }
.ai-fab-ring {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0,200,255,0.3);
  animation: ai-pulse 2s ease-in-out infinite;
}
@keyframes ai-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.5; }
}

.ai-chat {
  position: fixed; bottom: 90px; right: 24px;
  width: 380px; max-height: 520px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  display: none; flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}
.ai-chat.open { display: flex; animation: ai-slide-up 0.3s cubic-bezier(0.4,0,0.2,1); }
@keyframes ai-slide-up {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ai-chat-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, rgba(0,200,255,0.1), rgba(0,229,200,0.1));
}
.ai-chat-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #00c8ff, #00e5c8);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 20px;
}
.ai-chat-title { font-size: 15px; font-weight: 700; color: var(--text); }
.ai-chat-status { font-size: 11px; color: #10b981; font-weight: 600; }
.ai-chat-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 14px; color: var(--text3);
  cursor: pointer;
  transition: background 0.2s;
}
.ai-chat-close:hover { background: rgba(255,255,255,0.05); }
.ai-messages {
  flex: 1;
  padding: 16px 18px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  max-height: 300px;
}
.ai-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px; line-height: 1.5;
  animation: ai-msg-in 0.2s ease-out;
}
@keyframes ai-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ai-msg.bot {
  align-self: flex-start;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
}
.ai-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #00c8ff, #00e5c8);
  color: #0b1220;
}
.ai-quick-chips {
  padding: 12px 18px;
  display: flex; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid var(--border);
}
.ai-chip {
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  font-size: 11px; font-weight: 600; color: var(--text2);
  cursor: pointer;
  transition: all 0.2s;
}
.ai-chip:hover { background: rgba(0,200,255,0.1); border-color: rgba(0,200,255,0.3); color: var(--cyan); }
.ai-input-row {
  padding: 12px 18px 16px;
  display: flex; gap: 10px;
  border-top: 1px solid var(--border);
}
.ai-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.ai-input:focus { border-color: var(--cyan); }
.ai-send-btn {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00c8ff, #00e5c8);
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.ai-send-btn:hover { transform: scale(1.05); }
.ai-send-btn svg { width: 18px; height: 18px; stroke: #0b1220; }

/* ============================================================
   RESPONSIVE — existing
   ============================================================ */
@media (max-width: 1100px) {
  .two-col { grid-template-columns: 1fr; }
  .qa-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 860px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .menu-btn { display: flex; }
  .main-wrapper { margin-left: 0; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .qa-grid { grid-template-columns: repeat(2,1fr); }
  .ai-chat { right: 12px; left: 12px; width: auto; bottom: 90px; }
  .ai-fab  { right: 18px; bottom: 20px; }
}
@media (max-width: 600px) {
  .content { padding: 16px 14px 0; }
  .balance-amount { font-size: 34px; }
  .balance-card   { padding: 22px 18px; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stats-row .stat-card:last-child { grid-column: span 2; }
  .quick-grid { gap: 7px; }
  .quick-btn  { padding: 10px 5px; }
  .quick-icon { width: 34px; height: 34px; font-size: 16px; }
  .quick-label { font-size: 10px; }
  .qa-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .country-grid { grid-template-columns: 1fr; }
  .balance-actions { gap: 7px; }
  .btn-neon { padding: 9px 13px; font-size: 12px; }
  .modal-box { padding: 22px 18px; }
  #toastContainer { bottom: 12px; right: 12px; }
  .ref-strip { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   TOAST NOTIFICATIONS (consolidated)
   ============================================================ */
.toast {
  min-width: 280px; max-width: 380px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; color: var(--text);
  opacity: 0; transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast-icon { font-size: 16px; }
.toast-success { border-color: rgba(16,185,129,0.3); }
.toast-error { border-color: rgba(255,77,109,0.3); }
.toast-warning { border-color: rgba(245,158,11,0.3); }
.toast-info { border-color: rgba(0,200,255,0.3); }

/* ============================================================
   EXTENDED DASHBOARD — NEW SECTIONS
   ============================================================ */

/* ── SCROLL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── EXTENDED WRAPPER ── */
.dash-extended {
  padding: 0 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ── DIVIDER ── */
.ext-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,200,255,0.18), transparent);
}

/* ── LIQUID GLASS ── */
.liquid-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

/* ════════════════════════════════
   SECTION 1 — WHY SWIFTCARD
════════════════════════════════ */
.why-section {
  background: linear-gradient(135deg, rgba(0,40,100,0.55) 0%, rgba(0,20,60,0.55) 100%);
  border: 1px solid rgba(0,200,255,0.14);
  border-radius: 22px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content:'';
  position:absolute; top:-80px; right:-60px;
  width:200px; height:200px;
  background: radial-gradient(circle, rgba(0,200,255,0.12) 0%, transparent 70%);
  border-radius:50%; pointer-events:none;
}
.why-section::after {
  content:'';
  position:absolute; bottom:-60px; left:-40px;
  width:160px; height:160px;
  background: radial-gradient(circle, rgba(0,229,200,0.09) 0%, transparent 70%);
  border-radius:50%; pointer-events:none;
}
body.light .why-section {
  background: linear-gradient(135deg, rgba(0,85,200,0.08) 0%, rgba(0,120,220,0.06) 100%);
  border-color: rgba(0,150,200,0.2);
}
.why-heading {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 26px;
  color: #fff;
  margin-bottom: 6px;
  position: relative; z-index:1;
}
body.light .why-heading { color: var(--text); }
.why-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  margin-bottom: 22px;
  position: relative; z-index:1;
}
body.light .why-sub { color: var(--text2); }
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative; z-index:1;
}
.why-feat {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 13px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
body.light .why-feat {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.07);
}
.why-feat:hover {
  transform: translateY(-3px);
  border-color: rgba(0,200,255,0.25);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,200,255,0.08);
}
.why-feat-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 17px; flex-shrink: 0;
}
.wfi-1 { background: rgba(0,200,255,0.12); }
.wfi-2 { background: rgba(0,229,200,0.12); }
.wfi-3 { background: rgba(245,158,11,0.12); }
.wfi-4 { background: rgba(124,58,237,0.15); }
.why-feat-title {
  font-family: 'Barlow', sans-serif;
  font-size: 12.5px; font-weight: 600;
  color: #fff; margin-bottom: 2px;
}
body.light .why-feat-title { color: var(--text); }
.why-feat-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 400; line-height: 1.45;
}
body.light .why-feat-desc { color: var(--text2); }

/* ════════════════════════════════
   SECTION HEADINGS
════════════════════════════════ */
.ext-section-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 4px;
}
.ext-section-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 12.5px;
  color: var(--text2);
  font-weight: 400;
  margin-bottom: 18px;
}

/* ════════════════════════════════
   SECTION 2 — SERVICES GRID
════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.svc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  padding: 20px 16px;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), border-color 0.28s, box-shadow 0.28s;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
}
body.light .svc-card {
  background: var(--card);
  border-color: var(--border);
}
.svc-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 18px;
  opacity: 0; transition: opacity 0.3s;
}
.svc-card-buy::before   { background: radial-gradient(circle at 80% 20%, rgba(0,200,255,0.1), transparent 60%); }
.svc-card-sell::before  { background: radial-gradient(circle at 80% 20%, rgba(0,229,200,0.1), transparent 60%); }
.svc-card-air::before   { background: radial-gradient(circle at 80% 20%, rgba(245,158,11,0.1), transparent 60%); }
.svc-card-num::before   { background: radial-gradient(circle at 80% 20%, rgba(124,58,237,0.12), transparent 60%); }
.svc-card:hover { transform: translateY(-4px) scale(1.02); }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover.svc-card-buy  { border-color: rgba(0,200,255,0.3); box-shadow: 0 12px 40px rgba(0,0,0,0.28), 0 0 20px rgba(0,200,255,0.1); }
.svc-card:hover.svc-card-sell { border-color: rgba(0,229,200,0.3); box-shadow: 0 12px 40px rgba(0,0,0,0.28), 0 0 20px rgba(0,229,200,0.1); }
.svc-card:hover.svc-card-air  { border-color: rgba(245,158,11,0.3); box-shadow: 0 12px 40px rgba(0,0,0,0.28), 0 0 20px rgba(245,158,11,0.1); }
.svc-card:hover.svc-card-num  { border-color: rgba(124,58,237,0.35); box-shadow: 0 12px 40px rgba(0,0,0,0.28), 0 0 20px rgba(124,58,237,0.12); }
.svc-card-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 20px; position: relative; z-index:1;
}
.sci-buy  { background: rgba(0,200,255,0.14); }
.sci-sell { background: rgba(0,229,200,0.14); }
.sci-air  { background: rgba(245,158,11,0.14); }
.sci-num  { background: rgba(124,58,237,0.18); }
.svc-card-title {
  font-family: 'Barlow', sans-serif;
  font-size: 13.5px; font-weight: 600;
  color: var(--text); position: relative; z-index:1;
}
.svc-card-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 11.5px; color: var(--text2);
  font-weight: 400; line-height: 1.45;
  position: relative; z-index:1;
}
.svc-card-arrow {
  font-size: 16px; color: rgba(255,255,255,0.25);
  position: relative; z-index:1;
  transition: color 0.2s, transform 0.2s;
}
body.light .svc-card-arrow { color: var(--text3); }
.svc-card:hover .svc-card-arrow { color: rgba(255,255,255,0.8); transform: translateX(3px); }

/* ════════════════════════════════
   SECTION 3 — MARKET INSIGHTS
════════════════════════════════ */
.market-list { display: flex; flex-direction: column; gap: 10px; }
.market-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 14px 16px;
  transition: background 0.2s, border-color 0.2s, transform 0.25s ease;
  cursor: default;
}
body.light .market-row { background: var(--card); border-color: var(--border); }
.market-row:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,200,255,0.18);
  transform: translateX(4px);
}
.market-left { display: flex; align-items: center; gap: 12px; }
.market-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.md-1 { background: #00c8ff; box-shadow: 0 0 8px rgba(0,200,255,0.6); }
.md-2 { background: #00e5c8; box-shadow: 0 0 8px rgba(0,229,200,0.6); }
.md-3 { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,0.6); }
.market-name { font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600; color: var(--text); }
.market-trades { font-family: 'Barlow', sans-serif; font-size: 11px; color: var(--text2); font-weight: 400; margin-top: 1px; }
.market-right { text-align: right; }
.market-price { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; color: var(--teal); }
.market-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-family: 'Barlow', sans-serif; font-size: 10.5px; font-weight: 600;
  color: #10b981; background: rgba(16,185,129,0.12);
  border-radius: 20px; padding: 2px 8px; margin-top: 3px;
}
.count-up { display: inline-block; }

/* ════════════════════════════════
   SECTION 4 — ACTION CTA
════════════════════════════════ */
.action-cta {
  background: linear-gradient(135deg, rgba(0,85,238,0.35) 0%, rgba(0,170,238,0.25) 50%, rgba(0,85,238,0.3) 100%);
  border: 1px solid rgba(0,170,238,0.25);
  border-radius: 22px; padding: 28px 22px; text-align: center;
  position: relative; overflow: hidden;
}
.action-cta::before {
  content:''; position:absolute; top:-50px; left:50%;
  transform:translateX(-50%); width:250px; height:150px;
  background: radial-gradient(ellipse, rgba(0,200,255,0.15) 0%, transparent 70%);
  pointer-events:none;
}
.action-cta-title {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 22px; color: #fff; margin-bottom: 8px; position: relative; z-index:1;
}
.action-cta-sub {
  font-family: 'Barlow', sans-serif; font-size: 13px;
  color: rgba(255,255,255,0.5); font-weight: 400;
  margin-bottom: 20px; position: relative; z-index:1;
}
.action-cta-btns {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; position: relative; z-index:1;
}
.cta-btn-primary {
  padding: 11px 24px;
  background: linear-gradient(135deg, #0055ee, #00aaee);
  border: none; border-radius: 10px; color: #fff;
  font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: transform 0.22s, box-shadow 0.22s;
  box-shadow: 0 4px 18px rgba(0,100,238,0.35);
}
.cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,100,238,0.5); }
.cta-btn-ghost {
  padding: 11px 24px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px; color: #fff;
  font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background 0.22s, transform 0.22s;
}
.cta-btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

/* ════════════════════════════════
   SECTION 5 — FEATURE STACK
════════════════════════════════ */
.feature-stack { display: flex; flex-direction: column; gap: 10px; }
.feat-stack-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 16px 18px;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
  cursor: default;
}
body.light .feat-stack-card { background: var(--card); border-color: var(--border); }
.feat-stack-card:hover {
  transform: translateX(5px);
  border-color: rgba(0,200,255,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.feat-stack-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; font-size: 21px; flex-shrink: 0;
}
.fsi-1 { background: rgba(0,200,255,0.12); }
.fsi-2 { background: rgba(0,229,200,0.12); }
.fsi-3 { background: rgba(16,185,129,0.12); }
.fsi-4 { background: rgba(124,58,237,0.15); }
.fsi-5 { background: rgba(245,158,11,0.12); }
.feat-stack-title {
  font-family: 'Barlow', sans-serif;
  font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 3px;
}
.feat-stack-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 11.5px; color: var(--text2); font-weight: 400; line-height: 1.5;
}
.feat-stack-num {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,0.15); font-weight: 500; flex-shrink: 0;
}
body.light .feat-stack-num { color: var(--text3); }

/* ════════════════════════════════
   SECTION 6 — FINAL CTA
════════════════════════════════ */
.final-cta {
  background: linear-gradient(135deg, rgba(5,150,105,0.3) 0%, rgba(0,200,255,0.25) 60%, rgba(5,150,105,0.2) 100%);
  border: 1px solid rgba(0,229,200,0.2);
  border-radius: 22px; padding: 32px 22px; text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content:''; position:absolute; bottom:-60px; right:-40px;
  width:180px; height:180px;
  background: radial-gradient(circle, rgba(0,229,200,0.15) 0%, transparent 70%);
  pointer-events:none;
}
.final-cta-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Barlow', sans-serif; font-size: 10.5px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(0,229,200,0.9); background: rgba(0,229,200,0.1);
  border: 1px solid rgba(0,229,200,0.2); border-radius: 20px;
  padding: 4px 12px; margin-bottom: 14px; position: relative; z-index:1;
}
.final-cta-title {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 24px; color: #fff; line-height: 1.25;
  margin-bottom: 10px; position: relative; z-index:1;
}
body.light .final-cta-title { color: var(--text); }
.final-cta-sub {
  font-family: 'Barlow', sans-serif; font-size: 13px;
  color: rgba(255,255,255,0.48); font-weight: 400;
  margin-bottom: 22px; position: relative; z-index:1;
}
body.light .final-cta-sub { color: var(--text2); }
.final-cta-btns {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; position: relative; z-index:1;
}
.final-btn-primary {
  padding: 12px 28px;
  background: linear-gradient(135deg, #059669, #00c8ff);
  border: none; border-radius: 10px; color: #fff;
  font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; box-shadow: 0 4px 20px rgba(0,229,200,0.3);
  transition: transform 0.22s, box-shadow 0.22s;
}
.final-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,229,200,0.45); }
.final-btn-ghost {
  padding: 12px 28px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px; color: #fff;
  font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background 0.22s, transform 0.22s;
}
.final-btn-ghost:hover { background: rgba(255,255,255,0.13); transform: translateY(-2px); }

/* ════════════════════════════════
   SECTION 7 — FOOTER
════════════════════════════════ */
.ext-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px; padding-bottom: 12px;
}
body.light .ext-footer { border-top-color: var(--border); }
.footer-logo-row {
  display: flex; align-items: center; gap: 9px; margin-bottom: 20px;
}
.footer-logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #0055ee, #00c8ff);
  border-radius: 9px; display: grid; place-items: center;
}
.footer-logo-icon svg { width: 16px; height: 16px; fill: #fff; }
.footer-logo-text {
  font-size: 16px; font-weight: 800;
  background: linear-gradient(135deg, #00c8ff, #00e5c8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 22px 16px; margin-bottom: 24px;
}
.footer-col-title {
  font-family: 'Barlow', sans-serif; font-size: 10.5px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 10px;
}
body.light .footer-col-title { color: var(--text3); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link {
  font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.6); cursor: pointer;
  transition: color 0.2s;
  display: flex; align-items: center; gap: 7px;
}
body.light .footer-link { color: var(--text2); }
.footer-link:hover { color: rgba(255,255,255,0.95); }
body.light .footer-link:hover { color: var(--text); }
.footer-link-icon { font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
body.light .footer-bottom { border-top-color: var(--border); }
.footer-copy {
  font-family: 'Barlow', sans-serif; font-size: 11.5px;
  color: rgba(255,255,255,0.28); font-weight: 400;
}
body.light .footer-copy { color: var(--text3); }
.footer-copy span { color: rgba(0,200,255,0.7); }
.footer-badges { display: flex; gap: 8px; }
.footer-badge {
  font-family: 'Barlow', sans-serif; font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 3px 9px;
}
body.light .footer-badge { color: var(--text3); background: var(--bg3); border-color: var(--border); }

/* ── EXTENDED RESPONSIVE ── */
@media (max-width: 860px) {
  .dash-extended { padding: 0 18px 48px; gap: 22px; }
  .services-grid { gap: 10px; }
}
@media (max-width: 600px) {
  .dash-extended { padding: 0 14px 44px; gap: 18px; }
  .why-features { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .why-heading { font-size: 22px; }
  .ext-section-title { font-size: 19px; }
  .action-cta-title { font-size: 19px; }
  .final-cta-title { font-size: 20px; }
  .action-cta { padding: 22px 18px; }
  .final-cta { padding: 26px 18px; }
  .feat-stack-card { padding: 14px 14px; }
}