:root {
  --green-50: #eafaf1;
  --green-100: #d1f2e0;
  --green-400: #34d399;
  --green-500: #27ae60;
  --green-600: #1e8449;
  --green-700: #17703a;
  --green-800: #145a32;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --primary: #17703a;

  --bg: #eafaf1;
  --bg-alt: #ffffff;
  --surface: rgba(255,255,255,0.7);
  --surface-solid: #ffffff;
  --border: rgba(17, 24, 39, 0.08);
  --text: #0f172a;
  --text-head: #111827;
  --text-muted: #6b7280;
  --text-soft: #9ca3af;
  --shadow: 0 10px 30px -10px rgba(30,132,73,0.15);
  --nav-bg: rgba(234,250,241,0.85);
  --radius: 18px;
}

[data-theme="dark"] {
  --bg: #071a0e;
  --bg-alt: #0a2416;
  --surface: rgba(255,255,255,0.03);
  --surface-solid: #0d2a19;
  --border: rgba(255,255,255,0.08);
  --text: #e5e7eb;
  --text-head: #ffffff;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
  --nav-bg: rgba(7,26,14,0.85);
  --green-700: #27ae60;
  --primary: #34d399;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
[data-theme="dark"] body {
  background: linear-gradient(135deg, #071a0e 0%, #0a2416 50%, #071a0e 100%);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.grad-text {
  background: linear-gradient(90deg, var(--green-800), var(--green-600), var(--emerald-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
[data-theme="dark"] .grad-text {
  background: linear-gradient(90deg, #27ae60, #34d399, #6ee7b7);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; border-radius: 999px;
  padding: 12px 28px; cursor: pointer; border: none;
  transition: all .3s ease; white-space: nowrap; max-width: 100%;
  text-align: center; line-height: 1.3;
}
/* Long-text buttons wrap instead of overflowing on small screens */
@media(max-width:600px){
  .btn { white-space: normal; }
}
.btn-primary {
  background: linear-gradient(90deg, var(--green-600), var(--green-700));
  color: #fff; box-shadow: 0 8px 20px -6px rgba(30,132,73,0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -6px rgba(30,132,73,0.55); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--green-500); background: rgba(39,174,96,0.06); }
.btn-ghost-white { background: rgba(255,255,255,0.12); color:#fff; border:1px solid rgba(255,255,255,0.2); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.btn-white { background:#fff; color: var(--green-700); }
.btn-white:hover { transform: translateY(-2px); }

/* ===== NAVBAR ===== */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 64px; display: flex; align-items: center;
}
@media(min-width:1024px){ header.nav { height: 80px; } }
.nav-inner { display:flex; align-items:center; justify-content:space-between; width:100%; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: -.5px; color: var(--text-head); display: inline-flex; align-items: center; }
.logo span { color: var(--green-600); }
[data-theme="dark"] .logo span { color: var(--green-400); }
.logo img { height: 30px; width: auto; display: block; }
@media(min-width:1024px){ .logo img { height: 34px; } }
#loader .logo img { height: 50px; }
.auth-aside .logo img { height: 36px; }
.nav-links { display: none; gap: 32px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: transparent; color: var(--text-muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
  transition: background .2s;
}
.icon-btn:hover { background: rgba(39,174,96,0.1); color: var(--primary); }
.nav-signin { display:none; font-weight:600; font-size:14px; color: var(--text-muted); }
.nav-signin:hover { color: var(--primary); }
.hamburger { display: inline-flex; }
@media(min-width:1024px){
  .nav-links { display: flex; }
  .nav-signin { display: inline-block; }
  .hamburger { display: none; }
}
/* Mobile: keep navbar from overflowing — Get Started lives in the hamburger menu */
@media(max-width:1023px){
  header.nav .nav-actions > .btn-primary { display: none; }
  .nav-actions { gap: 6px; }
}
@media(max-width:360px){
  .logo { font-size: 20px; }
  .container { padding: 0 16px; }
}

/* mobile drawer */
.mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: var(--surface-solid); border-bottom: 1px solid var(--border);
  padding: 20px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-120%); transition: transform .35s ease; box-shadow: var(--shadow);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { padding: 12px 10px; border-radius: 10px; font-weight: 500; color: var(--text); }
.mobile-menu a:hover { background: var(--bg); color: var(--primary); }
.mobile-menu .btn { justify-content: center; margin-top: 8px; }

main { padding-top: 64px; }
@media(min-width:1024px){ main { padding-top: 80px; } }

section { position: relative; }
.section-pad { padding: 64px 0; }
@media(min-width:1024px){ .section-pad { padding: 88px 0; } }

.eyebrow {
  display: inline-flex; align-items:center; gap:8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--primary);
  background: rgba(39,174,96,0.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; color: var(--text-head); line-height: 1.15; }
.sec-head p { margin-top: 16px; color: var(--text-muted); font-size: 16px; }

/* ===== HERO ===== */
.hero { text-align: center; padding: 56px 0 40px; overflow: hidden; }
@media(min-width:1024px){ .hero { padding: 80px 0 64px; } }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events:none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(39,174,96,0.18), transparent 70%),
    radial-gradient(40% 40% at 80% 20%, rgba(16,185,129,0.12), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(34px, 6vw, 68px); font-weight: 800; letter-spacing: -2px;
  line-height: 1.05; color: var(--text-head); margin-bottom: 22px;
}
.hero p.sub { max-width: 640px; margin: 0 auto 32px; color: var(--text-muted); font-size: clamp(16px,2vw,19px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-meta { display:flex; flex-wrap:wrap; gap: 20px 32px; justify-content:center; margin-top: 36px; color: var(--text-muted); font-size: 14px; font-weight: 500; }
.hero-meta span { display:inline-flex; align-items:center; gap:8px; }
.hero-meta i { color: var(--green-500); }
.pulse-dot { width:8px; height:8px; border-radius:50%; background: var(--green-500); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:.4; transform:scale(1.4);} }

/* ===== TRUST / STATS ===== */
.trust { text-align:center; }
.trust h3 { font-size: clamp(22px,3vw,32px); font-weight: 800; color: var(--text-head); letter-spacing:-1px; }
.trust .tagline { color: var(--text-muted); margin-top: 8px; }
.stats-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 44px; }
@media(min-width:768px){ .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat {
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding: 28px 16px; text-align:center; backdrop-filter: blur(6px);
}
.stat .num { font-size: clamp(26px,4vw,40px); font-weight: 800; letter-spacing:-1px; }
.stat .lbl { color: var(--text-muted); font-size: 13px; font-weight: 500; margin-top: 4px; }

/* ===== PROBLEM & SOLUTION ===== */
.ps-grid { display:grid; gap: 28px; grid-template-columns: 1fr; }
@media(min-width:900px){ .ps-grid { grid-template-columns: 1fr 1fr; } }
.ps-card { border:1px solid var(--border); border-radius: 22px; padding: 34px; background: var(--surface); }
.ps-card .tag { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; padding:6px 14px; border-radius:999px; margin-bottom:18px; }
.tag-red { background: rgba(239,68,68,0.1); color:#dc2626; }
.tag-green { background: rgba(39,174,96,0.1); color: var(--primary); }
.ps-card h3 { font-size: 22px; font-weight: 800; color: var(--text-head); margin-bottom: 14px; }
.ps-card p { color: var(--text-muted); font-size: 15px; }
.ps-card .big-stat { margin-top: 22px; font-size: 42px; font-weight: 800; letter-spacing:-1px; }
.ps-card .big-stat small { display:block; font-size:13px; font-weight:500; color: var(--text-muted); letter-spacing:0; }
.ps-note { text-align:center; margin-top: 34px; font-size: 13px; color: var(--text-soft); max-width:640px; margin-left:auto; margin-right:auto; }

/* ===== HOW IT WORKS ===== */
.steps { display:grid; gap: 28px; grid-template-columns: 1fr; }
@media(min-width:640px){ .steps { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .steps { grid-template-columns: repeat(4,1fr); } }
.step { position: relative; text-align: center; }
.step .circle {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  display:flex; align-items:center; justify-content:center; font-size: 24px; font-weight: 800; color:#fff;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  box-shadow: 0 10px 24px -8px rgba(30,132,73,0.5);
}
.step h4 { font-size: 17px; font-weight: 700; color: var(--text-head); margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* ===== CARD GRIDS ===== */
.cards { display:grid; gap: 24px; grid-template-columns: 1fr; }
@media(min-width:640px){ .cards { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .cards-3 { grid-template-columns: repeat(3,1fr); } }
.card {
  border:1px solid var(--border); border-radius: 20px; padding: 28px;
  background: var(--surface); backdrop-filter: blur(6px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(39,174,96,0.3); }
.card .ic {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px;
  display:flex; align-items:center; justify-content:center; font-size: 22px;
  background: rgba(39,174,96,0.1); color: var(--primary); transition: transform .3s;
}
.card:hover .ic { transform: scale(1.1); }
.card h4 { font-size: 18px; font-weight: 700; color: var(--text-head); margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14px; }

/* colored icon variants */
.ic.c-green{background:rgba(39,174,96,.12);color:#1e8449}
.ic.c-emerald{background:rgba(16,185,129,.12);color:#059669}
.ic.c-teal{background:rgba(20,184,166,.12);color:#0d9488}
.ic.c-amber{background:rgba(245,158,11,.12);color:#d97706}
.ic.c-purple{background:rgba(168,85,247,.12);color:#9333ea}
.ic.c-orange{background:rgba(249,115,22,.12);color:#ea580c}

/* ===== INSTRUMENTS (what you can copy) ===== */
.alt-bg { background: var(--bg-alt); }

/* ===== TOP PERFORMERS ===== */
.traders { display:grid; gap: 24px; grid-template-columns: 1fr; }
@media(min-width:640px){ .traders { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .traders { grid-template-columns: repeat(3,1fr); } }
.trader {
  border:1px solid var(--border); border-radius: 20px; padding: 24px;
  background: var(--surface-solid); transition: transform .3s, box-shadow .3s;
}
.trader:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trader-top { display:flex; align-items:center; gap: 14px; margin-bottom: 18px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:18px;
  background: linear-gradient(135deg, var(--green-500), var(--emerald-400));
}
.trader-top .name { font-weight: 700; color: var(--text-head); display:flex; align-items:center; gap:6px; }
.trader-top .name i { color: var(--green-500); font-size: 13px; }
.trader-top .handle { font-size: 13px; color: var(--text-soft); }
.risk-badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.risk-balanced { background: rgba(39,174,96,0.12); color:#1e8449; }
.risk-high { background: rgba(249,115,22,0.12); color:#ea580c; }
.trader-stats { display:grid; grid-template-columns: repeat(3,1fr); gap: 8px; text-align:center; border-top:1px solid var(--border); padding-top: 16px; margin-bottom:18px; }
.trader-stats .v { font-weight: 700; color: var(--text-head); font-size: 16px; font-family:'JetBrains Mono',monospace; }
.trader-stats .v.up { color:#16a34a; }
.trader-stats .k { font-size: 11px; color: var(--text-soft); }
.trader .btn { width: 100%; justify-content:center; }
.center-mt { text-align:center; margin-top: 40px; }

/* ===== INTEGRATIONS / LIQUIDITY ===== */
.logo-row { display:flex; flex-wrap:wrap; gap: 16px; justify-content:center; margin-top: 32px; }
.logo-chip {
  display:inline-flex; align-items:center; gap:10px; padding: 14px 24px;
  border:1px solid var(--border); border-radius: 14px; background: var(--surface);
  font-weight: 600; color: var(--text-muted); font-size: 15px;
}
.logo-chip i { color: var(--primary); }
.lp-note { text-align:center; color: var(--text-muted); max-width: 640px; margin: 10px auto 0; font-size: 15px; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 800px; margin: 0 auto; display:flex; flex-direction:column; gap: 14px; }
.faq {
  border:1px solid var(--border); border-radius: 16px; background: var(--surface-solid); overflow:hidden;
}
.faq-q {
  width:100%; display:flex; align-items:center; justify-content:space-between; gap: 16px;
  padding: 20px 24px; background:none; border:none; cursor:pointer; text-align:left;
  font-size: 16px; font-weight: 600; color: var(--text-head); font-family:inherit;
}
.faq-q i { color: var(--primary); transition: transform .3s; flex-shrink:0; }
.faq.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--text-muted); font-size: 15px; }

/* ===== CTA ===== */
.cta-band {
  border-radius: 28px; padding: 60px 30px; text-align:center; color:#fff; position:relative; overflow:hidden;
  background: linear-gradient(135deg, #071a0e 0%, #0d3320 50%, #145a32 100%);
}
.cta-band::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(39,174,96,0.35), transparent 70%);
}
.cta-band > * { position: relative; z-index:1; }
.cta-band h2 { font-size: clamp(28px,4vw,44px); font-weight: 800; letter-spacing:-1px; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }
.cta-cta { display:flex; flex-wrap:wrap; gap: 14px; justify-content:center; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-alt); border-top: 1px solid var(--border);
  padding: 64px 0 28px; margin-top: 20px;
}
.foot-grid { display:grid; gap: 40px; grid-template-columns: 1fr; }
@media(min-width:700px){ .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-brand .logo { margin-bottom: 14px; }
.foot-brand p { color: var(--text-muted); font-size: 14px; max-width: 320px; }
.foot-social { display:flex; gap: 12px; margin-top: 20px; }
.foot-social a {
  width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: var(--surface); border:1px solid var(--border); color: var(--text-muted); transition: all .2s;
}
.foot-social a:hover { background: var(--green-600); color:#fff; border-color: var(--green-600); transform: translateY(-2px); }
.foot-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-head); margin-bottom: 16px; }
.foot-col a { display:block; color: var(--text-muted); font-size: 14px; padding: 6px 0; transition: color .2s; }
.foot-col a:hover { color: var(--primary); }
.foot-bottom {
  margin-top: 48px; padding-top: 24px; border-top:1px solid var(--border);
  display:flex; flex-wrap:wrap; gap: 14px; justify-content:space-between; align-items:center;
  color: var(--text-soft); font-size: 13px;
}
.disclaimer { margin-top: 24px; color: var(--text-soft); font-size: 12px; line-height: 1.7; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ===== Loader ===== */
#loader {
  position: fixed; inset: 0; z-index: 9999; display:flex; flex-direction:column;
  align-items:center; justify-content:center; background: var(--bg);
  transition: opacity .5s ease, visibility .5s ease;
}
#loader.hide { opacity: 0; visibility: hidden; }
#loader .logo { font-size: 44px; margin-bottom: 40px; }
.spinner {
  width: 60px; height: 60px; border-radius: 50%;
  border: 4px solid rgba(39,174,96,0.2); border-top-color: var(--green-600);
  animation: spin 1s linear infinite; margin-bottom: 26px;
}
@keyframes spin { to { transform: rotate(360deg); } }
#loader p { color: var(--text-muted); font-weight: 500; }

/* ===== AUTH PAGES ===== */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
@media(min-width:960px){ .auth-wrap { grid-template-columns: 1.05fr 1fr; } }

/* left brand panel */
.auth-aside {
  display: none; position: relative; overflow: hidden; color: #fff;
  padding: 56px 56px 48px;
  background: linear-gradient(135deg, #071a0e 0%, #0d3320 50%, #145a32 100%);
}
@media(min-width:960px){ .auth-aside { display: flex; flex-direction: column; justify-content: space-between; } }
.auth-aside::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(55% 45% at 80% 15%, rgba(39,174,96,0.4), transparent 70%);
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside .logo { color: #fff; font-size: 26px; }
.auth-aside .logo span { color: var(--green-400); }
.auth-aside-mid h2 { font-size: 34px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 18px; }
.auth-aside-mid p { color: rgba(255,255,255,0.78); font-size: 16px; max-width: 420px; }
.auth-points { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.auth-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.9); }
.auth-points li i {
  margin-top: 2px; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(39,174,96,0.25); color: var(--green-400); font-size: 12px;
}
.auth-aside-foot { display: flex; gap: 24px; color: rgba(255,255,255,0.7); font-size: 13px; }
.auth-aside-foot b { color: #fff; display: block; font-size: 20px; font-weight: 800; }

/* right form panel */
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-topbar { width: 100%; max-width: 440px; display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.auth-topbar .logo { font-size: 22px; }
.auth-topbar .back { color: var(--text-muted); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.auth-topbar .back:hover { color: var(--primary); }

.auth-card { width: 100%; max-width: 440px; margin: 40px 0; }
.auth-card h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; color: var(--text-head); }
.auth-card .sub { color: var(--text-muted); margin: 8px 0 28px; font-size: 15px; }

.auth-social { display: flex; gap: 12px; }
.auth-social button {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-solid);
  color: var(--text); font-weight: 500; font-size: 14px; cursor: pointer; font-family: inherit; transition: all .2s;
}
.auth-social button:hover { border-color: var(--green-500); background: rgba(39,174,96,0.05); }
.auth-social i.fa-google { color: #ea4335; }
.auth-social i.fa-apple { color: var(--text-head); }

.auth-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--text-soft); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-head); margin-bottom: 7px; }
.input-wrap { position: relative; }
.input-wrap > i.lead {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--text-soft); font-size: 15px;
}
.field input {
  width: 100%; padding: 13px 15px 13px 42px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface-solid);
  color: var(--text); transition: border-color .2s, box-shadow .2s; outline: none;
}
.field input:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(39,174,96,0.15); }
.field input::placeholder { color: var(--text-soft); }
.toggle-pass {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--text-soft); font-size: 15px; padding: 4px;
}
.toggle-pass:hover { color: var(--primary); }
.field .hint { font-size: 12px; color: var(--text-soft); margin-top: 6px; }
.field.err input { border-color: #dc2626; }
.field .error-msg { display: none; font-size: 12px; color: #dc2626; margin-top: 6px; }
.field.err .error-msg { display: block; }

.auth-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; font-size: 14px; }
.checkbox { display: flex; align-items: center; gap: 8px; color: var(--text-muted); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--green-600); cursor: pointer; }
.auth-row a { color: var(--primary); font-weight: 600; }
.auth-row a:hover { text-decoration: underline; }

.btn-block { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
.auth-alt { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 14px; }
.auth-alt a { color: var(--primary); font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; }

/* ===== KYC PAGE ===== */
.auth-card-wide { max-width: 520px; }

.kyc-steps { display: flex; gap: 10px; margin: 4px 0 28px; }
.kyc-step {
  flex: 1; display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--text-soft);
  padding: 10px 8px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
}
.kyc-step span {
  width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; background: var(--border); color: var(--text-muted);
}
.kyc-step.active { color: var(--primary); border-color: rgba(39,174,96,0.35); background: rgba(39,174,96,0.06); }
.kyc-step.active span { background: linear-gradient(135deg, var(--green-500), var(--green-700)); color: #fff; }

.kyc-section-title {
  display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700;
  color: var(--text-head); margin: 26px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.kyc-section-title i { color: var(--primary); }

.kyc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media(max-width:520px){ .kyc-grid { grid-template-columns: 1fr; } }

.kyc-select {
  width: 100%; padding: 13px 15px 13px 42px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface-solid);
  color: var(--text); outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.kyc-select:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(39,174,96,0.15); }
.field.err .kyc-select { border-color: #dc2626; }

.kyc-upload {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 26px 16px; cursor: pointer;
  border: 1.5px dashed var(--border); border-radius: 14px; background: var(--surface);
  color: var(--text-muted); transition: all .2s;
}
.kyc-upload:hover { border-color: var(--green-500); background: rgba(39,174,96,0.05); }
.kyc-upload > i { font-size: 26px; color: var(--primary); }
.kyc-upload-text { font-weight: 600; font-size: 14px; color: var(--text-head); }
.kyc-upload small { font-size: 12px; color: var(--text-soft); }
.kyc-upload.filled { border-style: solid; border-color: var(--green-500); background: rgba(39,174,96,0.07); }
.kyc-upload.filled > i::before { content: "\f00c"; }

/* activation success badge */
.activation-badge {
  position: relative; width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  box-shadow: 0 12px 30px -8px rgba(30,132,73,0.55);
  animation: pop .5s cubic-bezier(.17,.89,.32,1.28) both;
}
.activation-badge::before {
  content: ""; position: absolute; width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid var(--green-500); opacity: 0; animation: ring 1.6s ease-out infinite;
}
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.auth-card .btn-block + .auth-alt { margin-top: 24px; }

/* password strength */
.pw-meter { display: flex; gap: 6px; margin-top: 10px; }
.pw-meter span { flex: 1; height: 4px; border-radius: 999px; background: var(--border); transition: background .25s; }
.pw-meter.s1 span:nth-child(1){ background:#dc2626; }
.pw-meter.s2 span:nth-child(-n+2){ background:#f59e0b; }
.pw-meter.s3 span:nth-child(-n+3){ background:#eab308; }
.pw-meter.s4 span{ background: var(--green-500); }
.pw-label { font-size: 12px; margin-top: 6px; color: var(--text-soft); }
