/* ══════════════════════════════════════════
   RESET + BINANCE TOKENS
══════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{cursor:pointer;border:none;background:none;font:inherit}

:root{
  /* ── Binance Color System ── */
  --bg:         #0B0E11;
  --bg2:        #1E2026;
  --bg3:        #2B3139;
  --bg4:        #181A20;

  --yellow:     #D4A017;
  --yellow2:    #E8B84B;
  --yellow-dim: rgba(212,160,23,.12);
  --yellow-glow:rgba(212,160,23,.28);

  --text:       #EAECEF;
  --text2:      #B7BDC6;
  --grey:       #848E9C;
  --grey2:      #474D57;

  --border:     #2B3139;
  --border2:    #373D47;

  --green:      #0ECB81;
  --green-dim:  rgba(14,203,129,.12);
  --red:        #F6465D;

  --r:          8px;
  --container:  1180px;
}

html{ font-size:16px; }
body{
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
body.no-scroll{ overflow:hidden; }

h1,h2,h3,h4,h5,h6{
  font-family:'Space Grotesk',sans-serif;
  line-height:1.15;
  font-weight:700;
  color:var(--text);
}

::-webkit-scrollbar{width:4px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--yellow);border-radius:4px}

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 40px;
}
@media(max-width:768px){.container{padding:0 20px}}

.text-gradient{
  background:linear-gradient(90deg,var(--yellow),var(--yellow2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.section{ padding:100px 0; }
.section-alt{ background:var(--bg4); }
@media(max-width:768px){ .section{padding:72px 0} }

.section-head{
  text-align:center;
  max-width:580px;
  margin:0 auto 64px;
}
.section-head h2{
  font-size:clamp(1.9rem,3.8vw,2.8rem);
  margin:10px 0 14px;
}
.section-head p{
  color:var(--grey);
  font-size:1rem;
  line-height:1.75;
}

.section-tag{
  display:inline-flex;
  align-items:center;
  font-family:'Space Grotesk',sans-serif;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--yellow);
  background:var(--yellow-dim);
  border:1px solid rgba(240,185,11,.22);
  padding:5px 12px;
  border-radius:4px;
}

[data-anim],[data-anim-item]{ opacity:0; }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--yellow);
  color:#0B0E11;
  font-family:'Space Grotesk',sans-serif;
  font-size:.93rem;
  font-weight:700;
  padding:13px 26px;
  border-radius:var(--r);
  transition:background .18s,transform .18s,box-shadow .18s;
  white-space:nowrap;
}
.btn-primary:hover{
  background:var(--yellow2);
  transform:translateY(-2px);
  box-shadow:0 8px 28px var(--yellow-glow);
}
.btn-primary.lg{ font-size:1rem; padding:15px 34px; }

.btn-ghost{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:transparent;
  color:var(--text);
  font-family:'Space Grotesk',sans-serif;
  font-size:.93rem;
  font-weight:600;
  padding:13px 26px;
  border-radius:var(--r);
  border:1.5px solid var(--border2);
  transition:border-color .18s,background .18s,transform .18s;
  white-space:nowrap;
}
.btn-ghost:hover{
  border-color:var(--yellow);
  color:var(--yellow);
  transform:translateY(-2px);
}

.btn-outline{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:transparent;
  color:var(--yellow);
  font-family:'Space Grotesk',sans-serif;
  font-size:1rem;
  font-weight:700;
  padding:14px 30px;
  border-radius:var(--r);
  border:1.5px solid var(--yellow);
  transition:background .18s,transform .18s;
}
.btn-outline:hover{
  background:var(--yellow-dim);
  transform:translateY(-2px);
}

/* ══════════════════════════════════════════
   LOADER
══════════════════════════════════════════ */
#loader{
  position:fixed;inset:0;
  background:var(--bg);
  z-index:9999;
  display:flex;align-items:center;justify-content:center;
  transition:opacity .5s,visibility .5s;
}
#loader.out{opacity:0;visibility:hidden;pointer-events:none}
.loader-inner{display:flex;flex-direction:column;align-items:center;gap:20px}
.loader-inner img{width:64px;border-radius:10px;animation:loaderPulse 1s ease-in-out infinite alternate}
.loader-bar{width:140px;height:2px;background:var(--bg3);border-radius:2px;overflow:hidden}
.loader-progress{height:100%;background:var(--yellow);animation:loaderFill 1.8s ease forwards}
@keyframes loaderPulse{from{opacity:.4;transform:scale(.9)}to{opacity:1;transform:scale(1)}}
@keyframes loaderFill{from{width:0}to{width:100%}}

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
#nav{
  position:fixed;top:0;left:0;right:0;
  z-index:900;
  padding:0;
  transition:background .3s,border-color .3s;
  border-bottom:1px solid transparent;
}
#nav.scrolled{
  background:rgba(11,14,17,.92);
  backdrop-filter:blur(12px);
  border-color:var(--border);
}
.nav-container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 40px;
  height:68px;
  display:flex;
  align-items:center;
  gap:32px;
}
@media(max-width:768px){.nav-container{padding:0 20px}}

.nav-logo{
  display:flex;align-items:center;gap:10px;flex-shrink:0;
}
.nav-logo img{width:46px;border-radius:6px}
.nav-logo span{
  font-family:'Space Grotesk',sans-serif;
  font-size:.92rem;
  color:var(--grey);
}
.nav-logo span strong{color:var(--text);font-weight:700}

.nav-links{
  display:flex;align-items:center;gap:28px;margin-left:auto;
}
.nav-links a{
  font-family:'Space Grotesk',sans-serif;
  font-size:.88rem;
  font-weight:500;
  color:var(--grey);
  transition:color .18s;
}
.nav-links a:hover{color:var(--yellow)}

.nav-cta{
  display:flex;align-items:center;gap:7px;
  background:var(--yellow);
  color:#0B0E11;
  font-family:'Space Grotesk',sans-serif;
  font-size:.86rem;
  font-weight:700;
  padding:9px 18px;
  border-radius:var(--r);
  white-space:nowrap;
  transition:background .18s,transform .18s;
  flex-shrink:0;
}
.nav-cta:hover{background:var(--yellow2);transform:translateY(-1px)}

.nav-burger{
  display:none;flex-direction:column;gap:5px;padding:8px;margin-left:auto;
}
.nav-burger span{
  display:block;width:20px;height:2px;
  background:var(--text);border-radius:2px;
  transition:transform .25s,opacity .25s;
}
.nav-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-burger.open span:nth-child(2){opacity:0}
.nav-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:900px){
  .nav-links{display:none}
  .nav-links.open{
    display:flex;flex-direction:column;
    position:fixed;top:68px;left:0;right:0;
    background:rgba(11,14,17,.98);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--border);
    padding:24px 20px;gap:18px;
    align-items:flex-start;
  }
  .nav-links.open a{font-size:1.05rem;color:var(--text)}
  .nav-cta{display:none}
  .nav-burger{display:flex}
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero{
  min-height:100svh;
  display:flex;flex-direction:column;justify-content:center;
  padding:120px 40px 80px;
  position:relative;overflow:hidden;
}
@media(max-width:768px){#hero{padding:100px 20px 60px}}

#heroCanvas{
  position:absolute;inset:0;
  width:100%;height:100%;
  pointer-events:none;z-index:0;
}
.hero-container{ position:relative;z-index:1; }
.hero-scroll{ position:absolute;z-index:1; }

/* Background — subtle Binance-style gradient */
#hero::before{
  content:'';position:absolute;
  width:700px;height:700px;
  background:radial-gradient(circle,rgba(240,185,11,.06) 0%,transparent 65%);
  top:-150px;right:-100px;pointer-events:none;
}
#hero::after{
  content:'';position:absolute;
  width:400px;height:400px;
  background:radial-gradient(circle,rgba(14,203,129,.04) 0%,transparent 65%);
  bottom:0;left:-80px;pointer-events:none;
}

.hero-container{
  max-width:var(--container);
  margin:0 auto;width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;gap:60px;
}
@media(max-width:900px){
  .hero-container{grid-template-columns:1fr;text-align:center}
  .hero-text{order:1}
  .hero-visual{order:2}
}

/* Hero badge */
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'Space Grotesk',sans-serif;
  font-size:.75rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--yellow);
  background:var(--yellow-dim);
  border:1px solid rgba(240,185,11,.2);
  padding:7px 14px;border-radius:4px;
  margin-bottom:20px;
}

.pulse-dot{
  width:6px;height:6px;
  background:var(--green);border-radius:50%;
  animation:pulseDot 2s ease-in-out infinite;flex-shrink:0;
}
@keyframes pulseDot{
  0%,100%{box-shadow:0 0 0 0 rgba(14,203,129,.5)}
  50%{box-shadow:0 0 0 5px rgba(14,203,129,0)}
}

.hero-h1{
  font-size:clamp(2.4rem,5vw,3.8rem);
  line-height:1.1;
  letter-spacing:-.02em;
  margin-bottom:18px;
  color:var(--text);
}

.hero-desc{
  font-size:1.05rem;color:var(--grey);
  line-height:1.75;max-width:460px;margin-bottom:32px;
}
@media(max-width:900px){.hero-desc{margin:0 auto 32px}}

.hero-actions{
  display:flex;align-items:center;gap:12px;
  flex-wrap:wrap;margin-bottom:32px;
}
@media(max-width:900px){.hero-actions{justify-content:center}}

.hero-pills{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
}
@media(max-width:900px){.hero-pills{justify-content:center}}

.pill{
  display:inline-flex;align-items:center;gap:5px;
  font-size:.78rem;color:var(--grey);
  background:var(--bg2);
  border:1px solid var(--border);
  padding:6px 12px;border-radius:4px;
}
.pill svg{color:var(--yellow);flex-shrink:0}

/* ── Coin Visual ── */
/* ══════════════════════════════════════════
   TRADING DASHBOARD VISUAL
══════════════════════════════════════════ */
.hero-visual{
  display:flex;align-items:center;justify-content:center;position:relative;
}

.trade-dash{
  position:relative;
  width:360px;
  padding:64px 0 64px;
}
@media(max-width:900px){.trade-dash{width:300px;padding:52px 0}}
@media(max-width:600px){.trade-dash{width:270px;padding:44px 0}}

.td-glow{
  position:absolute;
  width:340px;height:340px;
  background:radial-gradient(circle,rgba(240,185,11,.1) 0%,transparent 70%);
  top:50%;left:50%;transform:translate(-50%,-50%);
  pointer-events:none;border-radius:50%;
  animation:tdGlowPulse 4s ease-in-out infinite;
}
@keyframes tdGlowPulse{
  0%,100%{opacity:.8;transform:translate(-50%,-50%) scale(1)}
  50%{opacity:.35;transform:translate(-50%,-50%) scale(1.25)}
}

/* main card */
.td-main{
  background:rgba(24,26,32,.9);
  backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);
  border:1px solid rgba(240,185,11,.18);
  border-radius:16px;padding:24px;
  position:relative;z-index:2;
  box-shadow:0 28px 64px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.04);
  overflow:hidden;
}
.td-main::before{
  content:'';position:absolute;
  top:0;left:10%;right:10%;height:1px;
  background:linear-gradient(90deg,transparent,rgba(240,185,11,.55),transparent);
}
.td-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.td-pair{display:flex;align-items:center;gap:7px}
.td-token{
  font-family:'Space Grotesk',sans-serif;font-size:.75rem;font-weight:700;
  background:var(--bg3);color:var(--text2);
  padding:3px 9px;border-radius:4px;letter-spacing:.04em;
}
.td-pair svg{color:var(--grey2)}
.td-live-badge{
  display:flex;align-items:center;gap:5px;
  font-size:.67rem;font-family:'Space Grotesk',sans-serif;font-weight:700;
  color:var(--green);background:var(--green-dim);
  border:1px solid rgba(14,203,129,.2);padding:3px 9px;border-radius:4px;
}
.td-rate-row{display:flex;align-items:baseline;gap:4px;margin-bottom:4px}
.td-sym{
  font-family:'Space Grotesk',sans-serif;
  font-size:1.4rem;font-weight:700;color:var(--yellow);
}
.td-num{
  font-family:'Space Grotesk',sans-serif;
  font-size:2.5rem;font-weight:700;color:var(--text);
  line-height:1;letter-spacing:-.03em;
}
.td-rate-sub{font-size:.73rem;color:var(--grey);margin-bottom:16px}
.td-spark{width:100%;height:46px;margin-bottom:20px;opacity:.85}
.td-card-footer{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:14px;border-top:1px solid var(--border);
}
.td-brand{
  display:flex;align-items:center;gap:7px;
  font-family:'Space Grotesk',sans-serif;font-size:.72rem;font-weight:600;color:var(--grey);
}
.td-brand img{width:18px;border-radius:3px}
.td-trade-btn{
  font-family:'Space Grotesk',sans-serif;font-size:.76rem;font-weight:700;
  color:#0B0E11;background:var(--yellow);
  padding:6px 13px;border-radius:6px;transition:background .18s,transform .18s;
}
.td-trade-btn:hover{background:var(--yellow2);transform:translateY(-1px)}

/* floating pills */
.td-pill{
  position:absolute;
  display:flex;align-items:center;gap:10px;
  background:rgba(24,26,32,.93);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border:1px solid var(--border2);border-radius:12px;padding:10px 14px;
  box-shadow:0 12px 30px rgba(0,0,0,.35);white-space:nowrap;z-index:3;
}
.td-pill-1{top:10px;right:-24px;animation:tdFloat1 5s ease-in-out infinite}
.td-pill-2{bottom:14px;left:-20px;animation:tdFloat2 6s ease-in-out infinite}
@keyframes tdFloat1{0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)}}
@keyframes tdFloat2{0%,100%{transform:translateY(0)} 50%{transform:translateY(9px)}}
.td-pill-icon{
  width:30px;height:30px;border-radius:7px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.td-pill-icon.yellow{background:var(--yellow-dim);color:var(--yellow)}
.td-pill-icon.green{background:var(--green-dim);color:var(--green)}
.td-pill-label{font-size:.67rem;color:var(--grey);font-family:'Space Grotesk',sans-serif;margin-bottom:1px}
.td-pill-val{font-size:.8rem;font-weight:700;color:var(--text);font-family:'Space Grotesk',sans-serif}

/* ping */
.td-ping{
  position:absolute;bottom:-4px;right:4px;
  display:flex;align-items:center;gap:6px;
  background:rgba(14,203,129,.1);border:1px solid rgba(14,203,129,.22);
  border-radius:20px;padding:5px 12px;
  font-size:.7rem;font-weight:600;font-family:'Space Grotesk',sans-serif;
  color:var(--green);z-index:3;
  animation:tdPingFade 4s ease-in-out infinite 1.5s;
}
@keyframes tdPingFade{
  0%,100%{opacity:1;transform:translateY(0)} 50%{opacity:.45;transform:translateY(-5px)}
}

/* mobile adjustments */
@media(max-width:900px){
  .td-pill-1{right:-10px}.td-pill-2{left:-8px}
  .td-num{font-size:2rem}
}
@media(max-width:600px){
  .td-pill{padding:7px 11px;border-radius:10px;gap:7px}
  .td-pill-1{top:6px;right:-4px}.td-pill-2{bottom:10px;left:-4px}
  .td-ping{font-size:.66rem;padding:4px 9px}
  .td-num{font-size:1.85rem}
}

/* KEEP stubs so old orbit/coin CSS references don't break anything */
.coin-orbit-wrap{
  position:relative;width:380px;height:380px;
  display:flex;align-items:center;justify-content:center;
}
@media(max-width:900px){.coin-orbit-wrap{width:260px;height:260px}}

.orbit{
  position:absolute;border-radius:50%;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  border:1px solid;
}
.orbit-1{
  width:270px;height:270px;
  border-color:rgba(240,185,11,.2);
  animation:orbitSpin 18s linear infinite;
}
.orbit-1::after{
  content:'';position:absolute;
  width:8px;height:8px;
  background:var(--yellow);border-radius:50%;
  top:-4px;left:calc(50% - 4px);
  box-shadow:0 0 12px var(--yellow);
}
.orbit-2{
  width:330px;height:330px;
  border-color:rgba(14,203,129,.1);
  animation:orbitSpin 26s linear infinite reverse;
}
.orbit-2::after{
  content:'';position:absolute;
  width:6px;height:6px;
  background:var(--green);border-radius:50%;
  bottom:-3px;left:calc(50% - 3px);
  box-shadow:0 0 8px var(--green);
}
.orbit-3{
  width:380px;height:380px;
  border-color:rgba(240,185,11,.05);
  animation:orbitSpin 40s linear infinite;
}
@media(max-width:900px){
  .orbit-1{width:185px;height:185px}
  .orbit-2{width:228px;height:228px}
  .orbit-3{width:260px;height:260px}
}
@keyframes orbitSpin{
  from{transform:translate(-50%,-50%) rotate(0deg)}
  to{transform:translate(-50%,-50%) rotate(360deg)}
}

.coin-glow-bg{
  position:absolute;width:160px;height:160px;
  background:radial-gradient(circle,rgba(240,185,11,.2),transparent 70%);
  border-radius:50%;
  animation:glowPulse 3.5s ease-in-out infinite;
}
@keyframes glowPulse{
  0%,100%{transform:scale(1);opacity:.8}
  50%{transform:scale(1.4);opacity:.3}
}

.coin-scene{
  position:relative;z-index:2;
  perspective:700px;
  animation:coinFloat 4s ease-in-out infinite;
}
@keyframes coinFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-16px)}
}

.coin-body{
  width:160px;height:160px;
  transform-style:preserve-3d;
  animation:coinSpin 6s linear infinite;
}
@media(max-width:900px){.coin-body{width:120px;height:120px}}
@keyframes coinSpin{
  from{transform:rotateY(0deg) rotateX(8deg)}
  to{transform:rotateY(360deg) rotateX(8deg)}
}

.coin-front,.coin-back{
  position:absolute;inset:0;border-radius:50%;
  backface-visibility:hidden;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:3px;
}
.coin-front{
  background:radial-gradient(circle at 35% 30%,#2a2200,var(--bg));
  border:2.5px solid rgba(240,185,11,.7);
  box-shadow:0 0 40px rgba(240,185,11,.2),inset 0 0 20px rgba(240,185,11,.08);
}
.coin-back{
  background:radial-gradient(circle at 65% 70%,#1a1500,var(--bg));
  border:2.5px solid rgba(240,185,11,.3);
  transform:rotateY(180deg);
}
.coin-inner-ring{
  position:absolute;inset:10px;border-radius:50%;
  border:1px solid rgba(240,185,11,.15);
}
.coin-logo-img{
  width:80px;height:80px;
  border-radius:50%;
  object-fit:cover;
  position:relative;z-index:2;
  box-shadow:0 0 24px rgba(240,185,11,.3);
}
.coin-logo-img--back{ opacity:.6; width:64px; height:64px; }
@media(max-width:900px){
  .coin-logo-img{ width:60px;height:60px; }
  .coin-logo-img--back{ width:48px;height:48px; }
}
.coin-label{
  font-family:'Space Grotesk',sans-serif;
  font-size:1rem;font-weight:700;
  color:var(--yellow);
  letter-spacing:.06em;position:relative;z-index:2;
}
@media(max-width:900px){.coin-label{font-size:.85rem}}
.coin-sub{
  font-size:.6rem;color:rgba(240,185,11,.5);
  font-family:'Space Grotesk',sans-serif;
  letter-spacing:.06em;position:relative;z-index:2;
}

/* Scroll hint */
.hero-scroll{
  display:flex;flex-direction:column;align-items:center;gap:7px;
  position:absolute;bottom:28px;left:50%;transform:translateX(-50%);
  color:var(--grey2);
  font-size:.68rem;font-family:'Space Grotesk',sans-serif;
  letter-spacing:.1em;text-transform:uppercase;
  animation:heroScrollFade 2s ease 2s both;
}
@keyframes heroScrollFade{
  from{opacity:0;transform:translateX(-50%) translateY(8px)}
  to{opacity:1;transform:translateX(-50%) translateY(0)}
}
.scroll-line{
  width:1px;height:36px;
  background:linear-gradient(to bottom,transparent,var(--grey2));
  animation:scrollLineDrop 2s ease-in-out infinite;
}
@keyframes scrollLineDrop{
  0%{transform:scaleY(0);transform-origin:top;opacity:0}
  50%{transform:scaleY(1);transform-origin:top;opacity:1}
  100%{transform:scaleY(1);transform-origin:bottom;opacity:0}
}

/* ══════════════════════════════════════════
   MARQUEE TICKER
══════════════════════════════════════════ */
.ticker-wrap{
  background:var(--bg4);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:11px 0;
  overflow:hidden;
  white-space:nowrap;
}
.ticker-track{
  display:inline-flex;
  animation:tickerScroll 32s linear infinite;
}
.ticker-wrap:hover .ticker-track{animation-play-state:paused}
@keyframes tickerScroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
.ticker-item{
  display:inline-flex;align-items:center;gap:9px;
  font-family:'Space Grotesk',sans-serif;
  font-size:.76rem;font-weight:600;
  color:var(--grey);letter-spacing:.04em;
  padding:0 28px;
}
.ticker-dot{
  width:5px;height:5px;border-radius:50%;
  background:var(--grey2);flex-shrink:0;
}
.ticker-dot.gold{background:var(--yellow);box-shadow:0 0 6px var(--yellow-glow)}
.ticker-dot.green{background:var(--green);box-shadow:0 0 6px rgba(14,203,129,.4)}

/* ══════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════ */
.stats-strip{
  background:var(--bg2);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:36px 0;
}
.stats-container{
  max-width:var(--container);margin:0 auto;
  padding:0 40px;
  display:flex;align-items:center;
  justify-content:space-around;gap:24px;flex-wrap:wrap;
}
@media(max-width:768px){.stats-container{padding:0 20px}}

.stat-item{
  display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;
}
.stat-num{
  font-family:'Space Grotesk',sans-serif;
  font-size:1.9rem;font-weight:700;color:var(--text);line-height:1;
}
.stat-plus{
  font-family:'Space Grotesk',sans-serif;
  font-size:1.5rem;font-weight:700;color:var(--yellow);
}
.stat-label{
  font-size:.8rem;color:var(--grey);
  font-family:'Space Grotesk',sans-serif;font-weight:500;
}
.stat-div{width:1px;height:36px;background:var(--border2)}
@media(max-width:600px){.stat-div{display:none}}

/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
.steps-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;position:relative;
}
@media(max-width:1024px){.steps-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.steps-grid{grid-template-columns:1fr}}

.steps-grid::before{
  content:'';position:absolute;
  top:48px;
  left:calc(12.5% + 24px);
  width:calc(75% - 48px);
  height:1px;
  border-top:1px dashed rgba(240,185,11,.2);
}
@media(max-width:1024px){.steps-grid::before{display:none}}

.step-card{
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:28px 24px;
  display:flex;flex-direction:column;gap:14px;
  position:relative;cursor:default;
  transition:border-color .25s,transform .25s;
}
.step-card:hover{
  border-color:rgba(240,185,11,.3);
  transform:translateY(-4px);
}

.step-number{
  font-family:'Space Grotesk',sans-serif;
  font-size:.7rem;font-weight:700;
  letter-spacing:.12em;color:var(--grey2);
}
.step-icon{
  width:44px;height:44px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.step-icon.yellow,.step-icon.blue{ background:var(--yellow-dim); color:var(--yellow); }
.step-icon.green,.step-icon.gold{  background:var(--green-dim);  color:var(--green);  }

lord-icon{ display:block; }

.step-card h3{ font-size:1rem;font-weight:700;color:var(--text); }
.step-card p{  font-size:.87rem;color:var(--grey);line-height:1.65; }

/* ══════════════════════════════════════════
   FEATURES
══════════════════════════════════════════ */
.features-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
@media(max-width:1024px){.features-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.features-grid{grid-template-columns:1fr}}

.feature-card{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:28px 24px;
  display:flex;flex-direction:column;gap:12px;
  transition:border-color .25s,transform .25s;cursor:default;
}
.feature-card:hover{
  border-color:rgba(240,185,11,.25);
  transform:translateY(-3px);
}
.fc-icon{
  width:42px;height:42px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.fc-icon.yellow,.fc-icon.blue{ background:var(--yellow-dim); color:var(--yellow); }
.fc-icon.green{  background:var(--green-dim);  color:var(--green);  }

.feature-card h4{ font-size:.95rem;font-weight:700; }
.feature-card p{  font-size:.85rem;color:var(--grey);line-height:1.65; }

/* ══════════════════════════════════════════
   SETTLEMENT
══════════════════════════════════════════ */
.settlement-wrap{ max-width:820px;margin:0 auto; }

.rate-toggle{
  display:flex;align-items:center;gap:8px;
  background:var(--bg2);border:1px solid var(--border);
  border-radius:var(--r);padding:5px;
  margin-bottom:24px;width:fit-content;
  margin-left:auto;margin-right:auto;
}
.rate-btn{
  display:flex;align-items:center;gap:7px;
  font-family:'Space Grotesk',sans-serif;font-size:.88rem;font-weight:600;
  color:var(--grey);padding:9px 20px;border-radius:6px;
  transition:background .18s,color .18s;
}
.rate-btn .flag{ font-size:1rem; }
.rate-btn.active{ background:var(--yellow); color:#0B0E11; }
.rate-btn:not(.active):hover{ background:var(--bg3);color:var(--text); }

.rate-display{
  display:grid;grid-template-columns:1fr 1fr;gap:20px;
}
@media(max-width:768px){.rate-display{grid-template-columns:1fr}}

.rate-card{
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:var(--r);padding:32px;
}
.rate-card-header{
  display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;
}
.rate-pair{
  display:flex;align-items:center;gap:8px;
  font-family:'Space Grotesk',sans-serif;font-size:.88rem;font-weight:600;color:var(--grey);
}
.rate-pair svg{ color:var(--grey2); }
.rate-from,.rate-to{
  background:var(--bg3);padding:4px 10px;
  border-radius:4px;font-size:.78rem;color:var(--text);
}

.rate-live-badge{
  display:flex;align-items:center;gap:5px;
  font-size:.72rem;font-family:'Space Grotesk',sans-serif;font-weight:700;
  color:var(--green);
  background:var(--green-dim);
  border:1px solid rgba(14,203,129,.2);
  padding:4px 10px;border-radius:4px;
}

.rate-value{
  display:flex;align-items:baseline;gap:5px;margin-bottom:10px;
}
.rate-sym{
  font-family:'Space Grotesk',sans-serif;
  font-size:1.6rem;font-weight:700;color:var(--yellow);
}
.rate-number{
  font-family:'Space Grotesk',sans-serif;
  font-size:2.8rem;font-weight:700;color:var(--text);
  line-height:1;letter-spacing:-.02em;
}
.rate-unit{font-size:.88rem;color:var(--grey)}

.rate-example{
  font-size:.86rem;color:var(--grey);margin-bottom:24px;
  padding-bottom:18px;border-bottom:1px solid var(--border);
}
.rate-example strong{color:var(--text)}

.rate-footer{display:flex;align-items:center;justify-content:space-between}
.rate-note{font-size:.75rem;color:var(--grey2)}
.rate-cta{
  font-family:'Space Grotesk',sans-serif;font-size:.85rem;font-weight:700;
  color:var(--yellow);transition:opacity .18s;
}
.rate-cta:hover{opacity:.75}

/* Info sidebar */
.rate-info{display:flex;flex-direction:column;gap:14px;justify-content:center}
.ri-item{
  display:flex;align-items:flex-start;gap:14px;
  background:var(--bg2);border:1px solid var(--border);
  border-radius:var(--r);padding:18px;
  transition:border-color .25s;
}
.ri-item:hover{border-color:rgba(240,185,11,.2)}
.ri-icon{
  width:34px;height:34px;background:var(--yellow-dim);border-radius:6px;
  display:flex;align-items:center;justify-content:center;
  color:var(--yellow);flex-shrink:0;
}
.ri-item h5{font-size:.9rem;font-weight:700;margin-bottom:3px}
.ri-item p{font-size:.8rem;color:var(--grey);line-height:1.5}

/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
.section-cta{
  padding:90px 0;position:relative;overflow:hidden;
}
.section-cta::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at center,rgba(240,185,11,.05) 0%,transparent 65%);
  pointer-events:none;
}

.cta-wrap{
  position:relative;text-align:center;max-width:560px;margin:0 auto;
  padding:64px 40px;
  background:var(--bg2);
  border:1px solid var(--border2);
  border-radius:12px;
}
/* Binance-style top border glow */
.cta-wrap::before{
  content:'';position:absolute;
  top:0;left:10%;right:10%;height:1px;
  background:linear-gradient(90deg,transparent,var(--yellow),transparent);
}
.cta-wrap > *{ position:relative; z-index:1; }

.cta-logo{width:56px;margin:0 auto 20px;border-radius:10px}
.cta-wrap h2{font-size:clamp(1.7rem,3vw,2.4rem);margin-bottom:12px;color:var(--text)}
.cta-wrap p{
  font-size:.97rem;color:var(--grey);line-height:1.75;
  margin-bottom:32px;max-width:400px;margin-left:auto;margin-right:auto;
}
.cta-actions{
  display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
#footer{
  background:var(--bg4);
  border-top:1px solid var(--border);
  padding:64px 0 36px;
}

.footer-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-bottom:48px;
}
@media(max-width:768px){.footer-grid{grid-template-columns:1fr;gap:36px}}

.footer-brand{display:flex;flex-direction:column;gap:14px}
.footer-logo{display:flex;align-items:center;gap:12px}
.footer-logo img{width:38px;border-radius:8px}
.footer-logo strong{
  display:block;font-family:'Space Grotesk',sans-serif;font-size:.97rem;font-weight:700;
}
.footer-logo span{font-size:.78rem;color:var(--grey)}
.footer-brand p{font-size:.86rem;color:var(--grey);line-height:1.7;max-width:320px}

.social-btn{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--yellow-dim);color:var(--yellow);
  font-family:'Space Grotesk',sans-serif;font-size:.83rem;font-weight:700;
  padding:9px 16px;border-radius:var(--r);width:fit-content;
  border:1px solid rgba(240,185,11,.2);
  transition:background .18s;
}
.social-btn:hover{background:rgba(240,185,11,.2)}

.footer-nav{display:grid;grid-template-columns:1fr 1fr;gap:36px}
.fn-col{display:flex;flex-direction:column;gap:10px}
.fn-col h6{
  font-family:'Space Grotesk',sans-serif;font-size:.7rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--grey2);margin-bottom:6px;
}
.fn-col a{font-size:.86rem;color:var(--grey);transition:color .18s}
.fn-col a:hover{color:var(--yellow)}

.footer-bottom{
  border-top:1px solid var(--border);padding-top:24px;
  display:flex;flex-direction:column;gap:10px;
}
.disclaimer{font-size:.76rem;color:var(--grey2);line-height:1.65;max-width:720px}
.copy{font-size:.78rem;color:var(--grey2)}

/* ══════════════════════════════════════════
   FLOAT BUTTON
══════════════════════════════════════════ */
.float-btn{
  position:fixed;bottom:24px;right:24px;
  width:50px;height:50px;
  background:var(--yellow);border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#0B0E11;z-index:800;
  box-shadow:0 4px 20px var(--yellow-glow);
  transition:transform .2s,box-shadow .2s;
}
.float-btn:hover{
  transform:scale(1.08);
  box-shadow:0 8px 32px rgba(240,185,11,.45);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
/* ══ TABLET ══════════════════════════════ */
@media(max-width:900px){
  .hero-scroll{ display:none; }
  #hero{ padding:88px 20px 40px; min-height:auto; }
  .hero-container{ gap:32px; }
  .hero-h1{ font-size:clamp(2rem,8vw,2.8rem); margin-bottom:12px; }
  .hero-desc{ font-size:.95rem; margin-bottom:20px; }
  .hero-actions{ gap:10px; margin-bottom:20px; }
  .hero-visual{ order:2; }
  .coin-orbit-wrap{ width:220px; height:220px; }
  .orbit-1{ width:150px; height:150px; }
  .orbit-2{ width:185px; height:185px; }
  .orbit-3{ width:220px; height:220px; }
  .section{ padding:52px 0; }
  .section-head{ margin-bottom:32px; }
  .section-head h2{ font-size:1.75rem; }
  .steps-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .features-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .footer-grid{ gap:28px; }
  .section-cta{ padding:52px 0; }
  .cta-wrap{ padding:36px 24px; }
}

/* ══ MOBILE ══════════════════════════════ */
@media(max-width:600px){
  /* hero */
  #hero{ padding:76px 16px 28px; }
  .hero-container{ gap:24px; }
  .hero-h1{ font-size:clamp(1.75rem,7vw,2.2rem); margin-bottom:10px; }
  .hero-desc{ font-size:.88rem; line-height:1.65; margin-bottom:18px; }
  .hero-actions{ flex-direction:column; align-items:stretch; gap:8px; margin-bottom:16px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost{ text-align:center; justify-content:center; padding:12px 20px; }
  .hero-pills{ gap:5px; }
  .pill{ font-size:.7rem; padding:5px 9px; }

  /* section heads */
  .section{ padding:44px 0; }
  .section-head{ margin-bottom:24px; }
  .section-head h2{ font-size:1.45rem; }
  .section-head p{ font-size:.84rem; }
  .section-tag{ font-size:.68rem; padding:4px 10px; }

  /* ── STEP CARDS — 2-col compact tiles ── */
  .steps-grid{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .steps-grid::before{ display:none; }
  .step-card{
    padding:14px 12px;
    gap:8px;
    position:relative;
    flex-direction:column;
    align-items:flex-start;
  }
  .step-number{
    position:absolute;
    top:10px; right:10px;
    font-size:.6rem;
    letter-spacing:.08em;
    color:var(--grey2);
  }
  .step-icon{
    width:36px; height:36px;
    border-radius:6px;
  }
  .step-icon lord-icon{ width:22px!important; height:22px!important; }
  .step-card h3{
    font-size:.82rem;
    font-weight:700;
    line-height:1.3;
    padding-right:20px; /* avoid overlap with number */
  }
  .step-card p{
    font-size:.74rem;
    line-height:1.5;
    color:var(--grey);
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  /* ── FEATURE CARDS — 2-col compact tiles ── */
  .features-grid{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .feature-card{
    padding:14px 12px;
    gap:8px;
    flex-direction:column;
    align-items:flex-start;
  }
  .fc-icon{
    width:36px; height:36px;
    border-radius:6px;
  }
  .fc-icon lord-icon{ width:22px!important; height:22px!important; }
  .feature-card h4{
    font-size:.82rem;
    font-weight:700;
    line-height:1.3;
  }
  .feature-card p{
    font-size:.74rem;
    line-height:1.5;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  /* cta */
  .cta-wrap{ padding:28px 16px; }
  .cta-wrap h2{ font-size:1.3rem; }
  .cta-wrap p{ font-size:.84rem; }
  .cta-actions{ flex-direction:column; align-items:stretch; gap:8px; }
  .cta-actions .btn-primary,
  .cta-actions .btn-outline{ text-align:center; justify-content:center; padding:13px 20px; }

  /* footer */
  .footer-nav{ grid-template-columns:1fr 1fr; gap:20px; }
  .footer-brand p{ font-size:.82rem; }

  /* ticker */
  .ticker-item{ padding:0 16px; font-size:.7rem; }
}

/* ══════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════ */
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
