/* ═══════════════════════════════════════════════════
   NOHUNG AFFILIATE — styles.css
   Separated from index.html for clean project structure
═══════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --orange: #FF6B00;
  --orange-l: #FF8533;
  --orange-pale: #FFF3EB;
  --orange-mid: #FFE0CC;
  --blue: #1D6FE8;
  --blue-d: #1558C0;
  --blue-pale: #EEF4FF;
  --dark: #1A1A2E;
  --gray: #6B7280;
  --gray-l: #F3F4F6;
  --gray-m: #E5E7EB;
  --white: #FFFFFF;
  --text: #111827;
  --text2: #374151;
  --sh-o: 0 16px 48px rgba(255,107,0,.25);
  --sh-b: 0 8px 32px rgba(29,111,232,.3);
  --sh: 0 8px 32px rgba(0,0,0,.12);
  --sh-lg: 0 24px 64px rgba(0,0,0,.15);
  --r: 16px;
  --rl: 24px;
  --rxl: 32px;
  --glow-o: 0 0 60px rgba(255,107,0,.4);
  --glow-b: 0 0 60px rgba(29,111,232,.35);
  --glass: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.18);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.15; }

/* ── CURSOR ── */
.cursor-dot {
  position: fixed; width: 8px; height: 8px;
  background: var(--orange); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transition: transform .15s; mix-blend-mode: multiply;
  transform: translate(-50%,-50%);
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(255,107,0,.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transition: transform .4s cubic-bezier(.23,1,.32,1), opacity .3s;
  transform: translate(-50%,-50%);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,107,0,.1);
  box-shadow: 0 2px 40px rgba(0,0,0,.06), 0 0 0 1px rgba(255,255,255,.8) inset;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: 'Sora', sans-serif;
  font-weight: 800; font-size: 22px;
}
.nav-logo-img {
  display: block;
  width: 154px;
  height: auto;
}
.nl-n { color: var(--orange); }
.nl-r { color: var(--dark); }
.nl-badge {
  margin-left: 8px;
  background: linear-gradient(135deg,#FF6B00,#FF8533);
  color: white; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: .06em; box-shadow: 0 2px 12px rgba(255,107,0,.4);
}
.nav-ul { display: flex; gap: 28px; list-style: none; }
.nav-ul a {
  color: var(--text2); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color .2s; position: relative;
}
.nav-ul a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--orange);
  border-radius: 2px; transition: width .3s;
}
.nav-ul a:hover { color: var(--orange); }
.nav-ul a:hover::after { width: 100%; }
.nav-act { display: flex; gap: 10px; align-items: center; }
.btn-li {
  padding: 9px 20px; border: 1.5px solid var(--gray-m);
  border-radius: 10px; color: var(--text); font-size: 14px;
  font-weight: 600; background: white; cursor: pointer;
  transition: all .25s; font-family: 'DM Sans', sans-serif;
  text-decoration: none;
}
.btn-li:hover { border-color: var(--orange); color: var(--orange); box-shadow: 0 4px 16px rgba(255,107,0,.15); }
.btn-reg {
  padding: 9px 22px;
  background: linear-gradient(135deg,var(--blue),var(--blue-d));
  color: white; border-radius: 10px; font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; transition: all .3s;
  box-shadow: var(--sh-b); font-family: 'DM Sans', sans-serif;
  position: relative; overflow: hidden;
}
.btn-reg::before {
  content: ''; position: absolute; inset: -100%;
  background: linear-gradient(135deg,transparent,rgba(255,255,255,.2),transparent);
  transition: inset .5s;
}
.btn-reg:hover::before { inset: 100%; }
.btn-reg:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(29,111,232,.4); }

/* ── PARTICLE CANVAS ── */
#particle-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  padding: clamp(100px,12vh,140px) clamp(20px,5%,80px) clamp(60px,8vh,100px);
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(255,107,0,.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(29,111,232,.06) 0%, transparent 60%),
    linear-gradient(160deg,#fafbff 0%,#f7f8ff 40%,#fffaf6 100%);
  position: relative; overflow: hidden; display: flex; align-items: center;
}
.blob { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.b1 {
  width: clamp(400px,55vw,720px); height: clamp(400px,55vw,720px);
  background: rgba(255,107,0,.07); top: -15%; right: -8%;
  animation: bm 14s ease-in-out infinite;
}
.b2 {
  width: clamp(320px,45vw,580px); height: clamp(320px,45vw,580px);
  background: rgba(29,111,232,.06); bottom: -15%; left: -8%;
  animation: bm 18s ease-in-out infinite reverse;
}
.b3 {
  width: clamp(200px,30vw,380px); height: clamp(200px,30vw,380px);
  background: rgba(255,107,0,.04); top: 38%; left: 30%;
  animation: bm 11s ease-in-out infinite 2s;
}
@keyframes bm {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-14px) scale(1.06); }
  66% { transform: translate(-14px,10px) scale(.96); }
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle,rgba(255,107,0,.055) 1px,transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 50%,black 10%,transparent 100%);
}
.hi {
  max-width: 1240px; margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: clamp(32px,5vw,72px);
  align-items: center; position: relative; z-index: 2;
}

/* Left copy */
@keyframes fadein { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@keyframes slideup { from { transform:translateY(110%); } to { transform:none; } }
@keyframes blink { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.25; transform:scale(.6); } }

.hbadge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg,#fff7f0,#fff);
  border: 1.5px solid var(--orange-mid); color: var(--orange);
  font-size: 11px; font-weight: 700; padding: 8px 18px; border-radius: 100px;
  margin-bottom: clamp(18px,3vh,28px);
  letter-spacing: .07em; text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(255,107,0,.14), 0 0 0 5px rgba(255,107,0,.05);
  animation: fadein .7s .05s both;
}
.hbadge::before {
  content: ''; width: 7px; height: 7px; background: var(--orange);
  border-radius: 50%; flex-shrink: 0;
  animation: blink 1.5s ease-in-out infinite; box-shadow: 0 0 8px var(--orange);
}
.hero h1 {
  font-size: clamp(22px,2.8vw,42px); font-weight: 800; color: var(--text);
  margin-bottom: clamp(10px,1.5vh,16px); letter-spacing: -.025em; line-height: 1.15;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: block; animation: slideup .75s cubic-bezier(.16,1,.3,1) both; }
.hero h1 .line:nth-child(1) span { animation-delay: .08s; }
.hero h1 .line:nth-child(2) span { animation-delay: .18s; }
.ac-b { color: var(--blue); }
.ac-o { color: var(--orange); }
.hsub {
  font-size: clamp(14px,1.5vw,16px); color: var(--gray);
  max-width: 480px; line-height: 1.65;
  margin-bottom: clamp(20px,3vh,32px);
  animation: fadein .9s .42s both;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hbtns {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: clamp(28px,4vh,44px);
  animation: fadein .9s .54s both;
}
.btn-po {
  background: linear-gradient(135deg,var(--orange),#e85800);
  color: #fff; padding: clamp(12px,1.5vh,16px) clamp(22px,3vw,34px);
  border-radius: 14px; font-size: clamp(13px,1.4vw,15px); font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; transition: all .3s;
  box-shadow: 0 8px 28px rgba(255,107,0,.38), 0 1px 0 rgba(255,255,255,.15) inset;
  font-family: 'DM Sans', sans-serif; position: relative; overflow: hidden;
}
.btn-po::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(255,255,255,.18),transparent 55%);
  pointer-events: none;
}
.btn-po:hover { transform: translateY(-4px); box-shadow: 0 18px 52px rgba(255,107,0,.5); }
.btn-out {
  background: white; color: var(--text);
  padding: clamp(12px,1.5vh,16px) clamp(20px,2.5vw,30px);
  border-radius: 14px; font-size: clamp(13px,1.4vw,15px); font-weight: 700;
  text-decoration: none; border: 2px solid var(--gray-m);
  cursor: pointer; transition: all .3s; font-family: 'DM Sans', sans-serif;
}
.btn-out:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(255,107,0,.1); }
.trust-row {
  display: flex; gap: clamp(14px,3vw,32px); flex-wrap: wrap;
  animation: fadein .9s .68s both;
}
.ti { display: flex; align-items: center; gap: 9px; }
.tn { font-family: 'Sora', sans-serif; font-size: clamp(18px,2.2vw,26px); font-weight: 800; color: var(--text); white-space: nowrap; }
.tl { font-size: 11px; color: var(--gray); font-weight: 500; max-width: 72px; line-height: 1.3; }
.ts { width: 1px; height: 34px; background: var(--gray-m); flex-shrink: 0; }

/* Right — 3D Referral Scene */
.hvisual {
  display: flex; align-items: center; justify-content: center;
  animation: fadein .9s .3s both; position: relative;
}
.ref3d-scene {
  position: relative;
  width: clamp(320px,42vw,500px);
  height: clamp(340px,44vw,520px);
  flex-shrink: 0;
}
#ref3dCanvas { width: 100%; height: 100%; display: block; border-radius: 24px; }
.earn-badge {
  position: absolute;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-radius: 50px; padding: 8px 16px;
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--text);
  box-shadow: 0 8px 28px rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(0,0,0,.06);
  white-space: nowrap; z-index: 10; pointer-events: none;
}
.eb-ico { font-size: 15px; }
.eb-val { font-weight: 800; }
.eb1 { top: 8%; right: -5%; animation: eb-float 3.8s ease-in-out infinite; }
.eb2 { bottom: 22%; left: -5%; animation: eb-float 4.5s ease-in-out infinite .6s; }
.eb3 { top: 50%; right: -8%; animation: eb-float 4.1s ease-in-out infinite 1.2s; }
.eb4 { top: 18%; left: -3%; animation: eb-float 3.6s ease-in-out infinite 1.8s; }
@keyframes eb-float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-9px) scale(1.03); }
}
.ref3d-total {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.98); backdrop-filter: blur(24px);
  border-radius: 18px; padding: 14px 24px; text-align: center;
  box-shadow: 0 16px 56px rgba(255,107,0,.18), 0 2px 0 rgba(255,255,255,.9) inset, 0 0 0 1.5px rgba(255,107,0,.15);
  z-index: 10; white-space: nowrap;
  animation: ref-total-in 1s .8s both;
}
@keyframes ref-total-in {
  from { opacity:0; transform:translateX(-50%) translateY(16px); }
  to { opacity:1; transform:translateX(-50%) translateY(0); }
}

/* ── TICKER ── */
.ticker-wrap {
  background: linear-gradient(90deg,var(--dark),#16213E,var(--dark));
  padding: 14px 0; overflow: hidden; position: relative;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.ticker-wrap::before { left: 0; background: linear-gradient(90deg,var(--dark),transparent); }
.ticker-wrap::after { right: 0; background: linear-gradient(-90deg,var(--dark),transparent); }
.ticker-inner { display: flex; gap: 0; white-space: nowrap; animation: ticker 30s linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick-item {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 32px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75);
}
.tick-item .dot { color: var(--orange); font-size: 18px; line-height: 1; }
.tick-item strong { color: white; }

/* ── SECTIONS ── */
section { padding: 100px 5%; }
.con { max-width: 1100px; margin: 0 auto; }
.slbl {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg,var(--orange-pale),#fff);
  border: 1.5px solid var(--orange-mid); color: var(--orange);
  font-size: 11px; font-weight: 700; padding: 7px 16px; border-radius: 100px;
  margin-bottom: 18px; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(255,107,0,.12);
}
.stit { font-size: clamp(30px,3.8vw,50px); font-weight: 800; margin-bottom: 16px; color: var(--text); letter-spacing: -.02em; }
.ssub { font-size: 16px; color: var(--gray); max-width: 540px; line-height: 1.8; }
.tc { text-align: center; }
.tc .ssub { margin: 0 auto; }

/* ── HOW IT WORKS ── */
.how-bg { background: linear-gradient(180deg,var(--gray-l) 0%,#fff 100%); }
.sg { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 60px; position: relative; }
.sc-line {
  position: absolute; top: 55px; left: 20%; right: 20%; height: 2px;
  background: linear-gradient(90deg,var(--orange),var(--blue)); opacity: .2;
}
.scard {
  background: white; border-radius: var(--rl); padding: 40px 30px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06), 0 0 0 1px var(--gray-m);
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
  cursor: default; position: relative; overflow: hidden;
}
.scard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,var(--orange),var(--orange-l));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.scard::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%,rgba(255,107,0,.04),transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.scard:hover { transform: translateY(-12px) scale(1.02); box-shadow: 0 32px 80px rgba(0,0,0,.16), 0 0 0 2px rgba(255,107,0,.15); }
.scard:hover::before { transform: scaleX(1); }
.scard:hover::after { opacity: 1; }
.snbg {
  font-family: 'Sora', sans-serif; font-size: 90px; font-weight: 800;
  background: linear-gradient(135deg,rgba(255,107,0,.7),rgba(255,107,0,.08));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .50; position: absolute; top: -15px; right: 10px; line-height: 1;
}
.sicon {
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  box-shadow: 0 8px 28px rgba(255,107,0,.2); position: relative; z-index: 1;
}
.scard h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1; }
.scard p { font-size: 14px; color: var(--gray); line-height: 1.75; position: relative; z-index: 1; }

/* ── WHY ── */
.wg { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 60px; }
.wcard {
  background: white; border-radius: var(--rl); padding: 32px;
  border: 1.5px solid var(--gray-m); transition: all .35s cubic-bezier(.34,1.56,.64,1);
  position: relative; overflow: hidden;
}
.wcard::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--rl);
  background: linear-gradient(135deg,var(--orange-pale),rgba(255,255,255,0));
  opacity: 0; transition: opacity .3s;
}
.wcard:hover { border-color: var(--orange); transform: translateY(-6px) scale(1.01); box-shadow: var(--sh-o); }
.wcard:hover::before { opacity: 1; }
.wico {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  position: relative; z-index: 1; transition: transform .3s;
}
.wcard:hover .wico { transform: scale(1.1) rotate(-3deg); }
.wcard h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.wcard p { font-size: 13px; color: var(--gray); line-height: 1.7; position: relative; z-index: 1; }

/* ── COMMISSION ── */
.comm-bg {
  background: linear-gradient(160deg,#08091A 0%,#0E1425 40%,#141830 100%);
  position: relative; overflow: hidden;
}
.comm-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(ellipse 60% 40% at 20% 50%,rgba(255,107,0,.07),transparent),
                    radial-gradient(ellipse 50% 60% at 80% 50%,rgba(29,111,232,.06),transparent);
}
.comm-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size: 48px 48px;
}
.comm-bg .stit { color: white; }
.comm-bg .ssub { color: rgba(255,255,255,.5); }
.comm-bg .slbl { background: rgba(255,107,0,.12); border-color: rgba(255,107,0,.3); }
.cg { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 60px; position: relative; z-index: 1; }
.cc {
  border-radius: var(--rl); padding: 40px 30px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: all .4s; position: relative; overflow: hidden;
  backdrop-filter: blur(20px);
}
.cc::before {
  content: ''; position: absolute; top: -60%; left: -20%; width: 140%; height: 80%;
  background: radial-gradient(ellipse,rgba(255,107,0,.06),transparent 70%);
  transition: opacity .4s; opacity: 0;
}
.cc:hover::before { opacity: 1; }
.cc.feat {
  background: rgba(255,255,255,.97); border: none;
  box-shadow: 0 0 0 2px var(--orange), 0 32px 80px rgba(255,107,0,.25), 0 0 60px rgba(255,107,0,.1);
}
.cc.feat .ctier { color: var(--orange); }
.cc.feat .cpct { color: var(--text); }
.cc.feat .cdesc { color: var(--gray); }
.cc.feat .pi { color: var(--text2); }
.cc:not(.feat):hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,107,0,.35);
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(0,0,0,.3);
}
.cbadge {
  position: absolute; top: -1px; right: 24px;
  background: linear-gradient(135deg,var(--orange),#FF4500);
  color: white; font-size: 10px; font-weight: 800;
  padding: 7px 16px; border-radius: 0 0 12px 12px;
  letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(255,107,0,.4);
}
.ctier { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: rgba(255,255,255,.45); margin-bottom: 12px; }
.cpct { font-family: 'Sora', sans-serif; font-size: 68px; font-weight: 800; line-height: 1; color: var(--orange); letter-spacing: -.03em; }
.cpct span { font-size: 28px; opacity: .7; }
.cdesc { font-size: 13px; color: rgba(255,255,255,.4); margin: 8px 0 28px; }
.pi { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.pck {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(16,185,129,.12); border: 1.5px solid #10b981;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #10b981;
}
.ccta {
  margin-top: 32px; width: 100%; padding: 15px; border-radius: 14px;
  font-size: 14px; font-weight: 700; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all .3s;
}
.cco {
  background: linear-gradient(135deg,var(--orange),#FF4500);
  color: white; border: none; box-shadow: 0 8px 28px rgba(255,107,0,.35);
}
.cco:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(255,107,0,.5); }
.ccg {
  background: transparent; color: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.2);
}
.ccg:hover { border-color: var(--orange); color: var(--orange); background: rgba(255,107,0,.05); }

/* ── FEATURES ── */
.fw { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.fl { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.fi {
  display: flex; gap: 18px; padding: 22px; border-radius: var(--r);
  border: 1.5px solid var(--gray-m); transition: all .35s; cursor: default;
  position: relative; overflow: hidden;
}
.fi::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg,var(--orange),var(--blue));
  transform: scaleY(0); transform-origin: top; transition: transform .3s; border-radius: 0 3px 3px 0;
}
.fi:hover { border-color: var(--orange); background: linear-gradient(135deg,var(--orange-pale),white); transform: translateX(4px); }
.fi:hover::before { transform: scaleY(1); }
.fic {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  transition: transform .3s;
}
.fi:hover .fic { transform: scale(1.15) rotate(-5deg); }
.fi h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.fi p { font-size: 13px; color: var(--gray); line-height: 1.65; }

/* Dashboard Mockup */
.dmock {
  border-radius: var(--rxl); overflow: hidden;
  box-shadow: 0 60px 120px rgba(0,0,0,.2), 0 0 0 1px rgba(0,0,0,.08), 0 0 0 8px rgba(255,107,0,.04);
  animation: dtilt 7s ease-in-out infinite; position: relative;
}
.dmock::before {
  content: ''; position: absolute; inset: 0; z-index: 10; pointer-events: none;
  background: linear-gradient(135deg,rgba(255,255,255,.05),transparent 50%);
  border-radius: var(--rxl);
}
@keyframes dtilt {
  0%,100% { transform: perspective(1200px) rotateY(5deg) rotateX(3deg); }
  50% { transform: perspective(1200px) rotateY(1deg) rotateX(-1.5deg); }
}
.dtop {
  background: linear-gradient(90deg,var(--orange),#FF4500);
  padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 50px;
}
.dlsm { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 14px; color: white; letter-spacing: .02em; }
.dnis { display: flex; gap: 12px; }
.dni { font-size: 11px; color: rgba(255,255,255,.65); font-weight: 600; }
.dni.a { color: white; background: rgba(255,255,255,.15); padding: 3px 10px; border-radius: 100px; }
.dbody { background: #F8F9FA; padding: 16px; }
.dstats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 12px; }
.dsc {
  background: white; border-radius: 12px; padding: 14px;
  border: 1px solid var(--gray-m); box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .2s;
}
.dsc:hover { transform: translateY(-2px); }
.dsn { font-family: 'Sora', sans-serif; font-size: 21px; font-weight: 700; }
.dsl { font-size: 9px; color: var(--gray); margin-top: 2px; font-weight: 500; }
.dst { font-size: 9px; font-weight: 700; margin-top: 5px; }
.du { color: #10b981; }
.dd { color: #ef4444; }
.dchart { background: white; border-radius: 12px; padding: 14px; border: 1px solid var(--gray-m); margin-bottom: 10px; }
.dct { font-size: 11px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.dbars { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.dbar { flex: 1; border-radius: 4px 4px 0 0; }
.dbot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dm { background: white; border-radius: 12px; padding: 12px; border: 1px solid var(--gray-m); }
.dmt { font-size: 10px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.dmr { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--gray); margin-bottom: 5px; }
.dmv { font-weight: 700; color: var(--text); }

/* Network section */
.network-section {
  background:
    radial-gradient(circle at 10% 50%,rgba(29,111,232,.06),transparent 26%),
    radial-gradient(circle at 92% 18%,rgba(255,107,0,.08),transparent 24%),
    linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
  padding: 100px 5%;
  overflow: hidden;
}
.refwrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: clamp(40px,6vw,88px);
  align-items: center;
}
.network-copy {
  position: relative;
  z-index: 1;
}
.network-copy-sub {
  max-width: 520px;
  margin-bottom: 30px;
}
.network-copy-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.network-copy-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(17,24,39,.06);
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 36px rgba(17,24,39,.06);
  backdrop-filter: blur(14px);
}
.network-copy-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg,rgba(255,107,0,.14),rgba(255,107,0,.06));
  box-shadow: 0 12px 24px rgba(255,107,0,.12);
}
.network-copy-icon-blue {
  background: linear-gradient(135deg,rgba(29,111,232,.16),rgba(29,111,232,.06));
  box-shadow: 0 12px 24px rgba(29,111,232,.12);
}
.network-copy-icon-green {
  background: linear-gradient(135deg,rgba(16,185,129,.16),rgba(16,185,129,.06));
  box-shadow: 0 12px 24px rgba(16,185,129,.12);
}
.network-copy-point strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 3px;
}
.network-copy-point span {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text2);
}

.network-stage {
  position: relative;
  min-height: 620px;
  padding: 26px;
  border-radius: 36px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 18%,rgba(255,255,255,.16),transparent 24%),
    radial-gradient(circle at 88% 15%,rgba(29,111,232,.2),transparent 30%),
    radial-gradient(circle at 82% 82%,rgba(255,107,0,.2),transparent 28%),
    linear-gradient(145deg,#0f172a 0%,#172554 46%,#0b1120 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 44px 110px rgba(10,15,34,.28), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.network-stage::before,
.network-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.network-stage::before {
  background: linear-gradient(120deg,rgba(255,255,255,.1),transparent 36%,transparent 68%,rgba(255,255,255,.05));
  opacity: .65;
}
.network-stage::after {
  background:
    radial-gradient(circle at center,rgba(255,255,255,.04) 0,rgba(255,255,255,0) 60%),
    radial-gradient(circle,rgba(255,255,255,.12) 1px,transparent 1px);
  background-size: auto, 30px 30px;
  opacity: .12;
}
.network-stage-grid {
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center,#000 54%,transparent 100%);
  opacity: .24;
}
.network-stage-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .62;
  pointer-events: none;
  animation: networkGlowDrift 8s ease-in-out infinite;
}
.network-stage-glow-a {
  top: -40px;
  right: -26px;
  width: 220px;
  height: 220px;
  background: rgba(29,111,232,.22);
}
.network-stage-glow-b {
  left: -54px;
  bottom: -42px;
  width: 240px;
  height: 240px;
  background: rgba(255,107,0,.2);
  animation-delay: -3s;
}
.network-topbar {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.network-topbar-label,
.network-topbar-pill,
.network-metric,
.network-chip,
.network-summary-panel,
.network-node-card {
  backdrop-filter: blur(18px);
}
.network-topbar-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.network-topbar-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 18px rgba(16,185,129,.75);
}
.network-topbar-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 700;
}
.network-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.12);
  transform: translate(-50%,-50%);
  pointer-events: none;
  animation: networkSpin 24s linear infinite;
}
.network-orbit-lg {
  width: 450px;
  height: 450px;
}
.network-orbit-md {
  width: 330px;
  height: 330px;
  animation-duration: 18s;
  animation-direction: reverse;
}
.network-orbit-sm {
  width: 220px;
  height: 220px;
  animation-duration: 14s;
}
.network-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.network-links path {
  fill: none;
  stroke: url(#networkPathA);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
  animation: networkLineMove 18s linear infinite;
  opacity: .88;
}
.network-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 180px;
  height: 180px;
  transform: translate(-50%,-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,#ffb27a 0%,#ff8a27 36%,#ff6b00 100%);
  color: #fff;
  box-shadow: 0 28px 60px rgba(255,107,0,.34), 0 0 0 14px rgba(255,255,255,.06);
}
.network-hub::before,
.network-hub::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  animation: networkPulse 3.8s ease-out infinite;
}
.network-hub::before { inset: -18px; }
.network-hub::after {
  inset: -36px;
  animation-delay: 1.4s;
}
.network-hub-ring {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
}
.network-hub-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  opacity: .84;
}
.network-hub-value {
  margin-top: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.network-hub-sub {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  opacity: .82;
}

.network-node-card,
.network-metric,
.network-chip,
.network-summary-panel {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 40px rgba(6,10,27,.18);
}
.network-node-card {
  width: 190px;
  padding: 12px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: networkFloat 6s ease-in-out infinite;
}
.network-node-card img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.network-node-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}
.network-node-copy strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}
.network-node-copy span {
  font-size: 11px;
  color: rgba(255,255,255,.62);
}
.network-node-earn {
  margin-left: auto;
  color: #8bffcb;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.network-node-a { top: 92px; left: 34px; }
.network-node-b {
  top: 146px;
  right: 24px;
  animation-delay: -1s;
}
.network-node-c {
  bottom: 164px;
  left: 26px;
  animation-delay: -2.3s;
}
.network-node-d {
  right: 36px;
  bottom: 124px;
  animation-delay: -3.4s;
}
.network-node-e {
  top: 64px;
  left: 228px;
  animation-delay: -1.8s;
}

.network-metric {
  min-width: 126px;
  padding: 12px 14px;
  border-radius: 22px;
}
.network-metric-label {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.network-metric strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  color: #ffffff;
}
.network-metric-top { top: 110px; right: 248px; }
.network-metric-side { bottom: 210px; left: 48px; }

.network-chip {
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  animation: networkFloat 5s ease-in-out infinite;
}
.network-chip-a { top: 188px; left: 250px; }
.network-chip-b {
  top: 246px;
  right: 42px;
  animation-delay: -1.1s;
}
.network-chip-c {
  right: 198px;
  bottom: 246px;
  animation-delay: -2.6s;
}

.network-summary-panel {
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 20px;
  border-radius: 26px;
  background: linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.06));
}
.network-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.network-summary-title {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.network-summary-growth {
  color: #8bffcb;
  font-size: 12px;
  font-weight: 700;
}
.network-summary-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
.network-summary-stats strong {
  display: block;
  margin-bottom: 7px;
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  line-height: 1;
  color: #ffffff;
}
.network-summary-stats span {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255,255,255,.62);
}

@keyframes networkFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes networkPulse {
  0% { transform: scale(.94); opacity: .65; }
  80% { transform: scale(1.14); opacity: 0; }
  100% { transform: scale(1.14); opacity: 0; }
}
@keyframes networkSpin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes networkLineMove {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -240; }
}
@keyframes networkGlowDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(14px,-18px) scale(1.06); }
}


/* ── TESTIMONIALS ── */
.tg { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 60px; }
.tcard {
  background: white; border-radius: var(--rl); padding: 32px;
  border: 1.5px solid var(--gray-m); transition: all .4s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 4px 16px rgba(0,0,0,.06); position: relative; overflow: hidden;
}
.tcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,var(--orange),var(--blue)); opacity: 0; transition: opacity .3s;
}
.tcard:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 32px 80px rgba(0,0,0,.14); border-color: var(--orange); }
.tcard:hover::before { opacity: 1; }
.tstars {
  font-size: 16px; letter-spacing: 3px; margin-bottom: 16px;
  background: linear-gradient(135deg,#F59E0B,#FBBF24);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.tq { font-size: 14px; color: var(--text2); line-height: 1.8; margin-bottom: 22px; font-style: italic; position: relative; z-index: 1; }
.tq::before {
  content: '"'; position: absolute; top: -20px; left: -8px; font-size: 60px;
  font-family: 'Sora', sans-serif; color: var(--orange); opacity: .08; line-height: 1; font-style: normal;
}
.tau { display: flex; align-items: center; gap: 14px; }
.tav {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.tav img { width: 100%; height: 100%; object-fit: cover; }
.tn2 { font-size: 14px; font-weight: 700; color: var(--text); }
.tr { font-size: 11px; color: var(--gray); margin-top: 1px; }
.te { font-size: 12px; color: #10b981; font-weight: 800; margin-top: 3px; }

/* ── CALCULATOR ── */
.cbox {
  max-width: 680px; margin: 0 auto;
  background: linear-gradient(145deg,#fff,#F8F9FF);
  border: 1.5px solid var(--gray-m); border-radius: var(--rxl);
  padding: 52px; box-shadow: 0 40px 100px rgba(0,0,0,.1), 0 0 0 1px rgba(255,255,255,.8) inset;
  position: relative; overflow: hidden;
}
.cbox::before {
  content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px;
  background: radial-gradient(circle,rgba(255,107,0,.05),transparent 70%); pointer-events: none;
}
.crow { margin-bottom: 30px; }
.clb { display: flex; justify-content: space-between; font-size: 14px; color: var(--gray); margin-bottom: 12px; font-weight: 500; }
.clbv { color: var(--text); font-weight: 800; font-size: 17px; }
input[type=range].sl {
  -webkit-appearance: none; width: 100%; height: 6px; border-radius: 4px;
  background: linear-gradient(90deg,var(--orange) var(--pct,20%),var(--gray-m) var(--pct,20%));
  outline: none; cursor: pointer; transition: background .3s;
}
input[type=range].sl::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg,var(--orange),#FF4500);
  cursor: pointer; box-shadow: 0 0 0 5px rgba(255,107,0,.15), 0 4px 16px rgba(255,107,0,.3);
  transition: transform .2s;
}
input[type=range].sl::-webkit-slider-thumb:hover { transform: scale(1.2); }
.cres {
  background: linear-gradient(135deg,var(--orange),#FF4500);
  border-radius: var(--rl); padding: 36px; text-align: center;
  margin-top: 8px;
  box-shadow: 0 16px 48px rgba(255,107,0,.3), 0 0 0 1px rgba(255,255,255,.1) inset;
  position: relative; overflow: hidden;
}
.cres::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%,rgba(255,255,255,.12),transparent),
              radial-gradient(circle at 70% 50%,rgba(0,0,0,.08),transparent);
}
.crl { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 8px; font-weight: 600; position: relative; }
.crn { font-family: 'Sora', sans-serif; font-size: 56px; font-weight: 800; color: white; line-height: 1; position: relative; letter-spacing: -.02em; }
.crt { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 10px; font-weight: 600; position: relative; }
.cnote { font-size: 11px; color: var(--gray); text-align: center; margin-top: 18px; }

/* ── FAQ ── */
.faqwrap { max-width: 720px; margin: 0 auto; }
.fitem {
  background: white; border-radius: var(--r); margin-bottom: 10px; overflow: hidden;
  border: 1.5px solid var(--gray-m); transition: all .3s; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.fitem.open { border-color: var(--orange); box-shadow: 0 8px 32px rgba(255,107,0,.1); }
.fq {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600;
  padding: 22px 24px; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s;
}
.fitem.open .fq { color: var(--orange); }
.ficon {
  width: 30px; height: 30px; border-radius: 50%; background: var(--gray-l);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 14px; transition: all .35s; color: var(--gray); font-weight: 700;
}
.fitem.open .ficon { background: var(--orange); color: white; transform: rotate(45deg); box-shadow: 0 4px 16px rgba(255,107,0,.3); }
.fa { font-size: 14px; color: var(--gray); line-height: 1.8; max-height: 0; overflow: hidden; transition: all .4s ease; padding: 0 24px; }
.fitem.open .fa { max-height: 200px; padding: 0 24px 22px; }

/* ── AUTH ── */
.auth-bg { background: linear-gradient(135deg,#1A1A2E 0%,#16213E 50%,#1a2340 100%); }
.abox {
  max-width: 480px; margin: 0 auto;
  background: white; border-radius: var(--rxl); padding: 48px;
  box-shadow: 0 40px 100px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.8) inset;
  border: 1.5px solid var(--gray-m);
}
.atabs { display: flex; background: var(--gray-l); border-radius: 14px; padding: 4px; margin-bottom: 30px; }
.atab {
  flex: 1; padding: 12px; border: none; background: none;
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; border-radius: 11px; transition: all .3s; color: var(--gray);
}
.atab.active { background: white; color: var(--text); box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.af { margin-bottom: 12px; }
.af label { font-size: 13px; color: var(--text2); display: block; margin-bottom: 5px; font-weight: 600; }
.af input {
  width: 100%; background: var(--gray-l); border: 1.5px solid var(--gray-m);
  border-radius: 12px; padding: 14px 18px; color: var(--text); font-size: 14px;
  font-family: 'DM Sans', sans-serif; outline: none; transition: all .25s;
}
.af input:focus { border-color: var(--orange); background: white; box-shadow: 0 0 0 4px rgba(255,107,0,.08); }
.af input::placeholder { color: #9CA3AF; }
.asub {
  width: 100%; padding: 16px; border-radius: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .3s; margin-top: 8px; border: none;
  background: linear-gradient(135deg,var(--blue),var(--blue-d));
  color: white; box-shadow: 0 8px 28px rgba(29,111,232,.3);
  font-family: 'DM Sans', sans-serif; position: relative; overflow: hidden;
}
.asub::before {
  content: ''; position: absolute; inset: -100%;
  background: linear-gradient(135deg,transparent,rgba(255,255,255,.15),transparent);
  transition: inset .5s;
}
.asub:hover::before { inset: 100%; }
.asub:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(29,111,232,.4); }
.adiv { text-align: center; font-size: 12px; color: var(--gray); margin: 20px 0; position: relative; font-weight: 500; }
.adiv::before, .adiv::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--gray-m); }
.adiv::before { left: 0; }
.adiv::after { right: 0; }
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sbtn {
  background: white; border: 1.5px solid var(--gray-m); border-radius: 12px; padding: 13px;
  font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; transition: all .25s;
}
.sbtn:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,0,.1); }
.afgt { text-align: right; font-size: 12px; margin-top: 8px; }
.afgt a { color: var(--blue); text-decoration: none; font-weight: 600; }

/* ── FINAL CTA ── */
.fcta {
  background: linear-gradient(135deg,#FF4500 0%,var(--orange) 40%,#FF8533 100%);
  padding: 120px 5%; text-align: center; position: relative; overflow: hidden;
}
.fcta::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%,rgba(255,255,255,.1) 0%,transparent 50%),
    radial-gradient(circle at 85% 50%,rgba(0,0,0,.1) 0%,transparent 50%),
    radial-gradient(circle,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size: auto, auto, 48px 48px;
}
.fcta-ring1, .fcta-ring2 {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.08);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.fcta-ring1 { width: 600px; height: 600px; animation: ringpulse 4s ease-in-out infinite; }
.fcta-ring2 { width: 900px; height: 900px; animation: ringpulse 4s ease-in-out infinite .8s; }
@keyframes ringpulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .5; }
  50% { transform: translate(-50%,-50%) scale(1.05); opacity: .2; }
}
.fci { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.fcta h2 { font-size: clamp(34px,5vw,58px); font-weight: 800; color: white; margin-bottom: 18px; letter-spacing: -.02em; text-shadow: 0 4px 32px rgba(0,0,0,.15); }
.fcta p { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 40px; line-height: 1.7; }
.fbtns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.bw {
  background: white; color: var(--orange); padding: 18px 36px; border-radius: 16px;
  font-size: 15px; font-weight: 800; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 12px 40px rgba(0,0,0,.2); transition: all .3s; font-family: 'DM Sans', sans-serif;
}
.bw:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.bow {
  background: rgba(255,255,255,.12); color: white; padding: 18px 36px; border-radius: 16px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  border: 2px solid rgba(255,255,255,.4); cursor: pointer; transition: all .3s;
  font-family: 'DM Sans', sans-serif; backdrop-filter: blur(8px);
}
.bow:hover { border-color: white; background: rgba(255,255,255,.2); transform: translateY(-3px); }
.cstats-cta { display: flex; gap: 48px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.csitem { text-align: center; }
.csn { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800; color: white; letter-spacing: -.02em; line-height: 1; }
.csl { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 4px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* ── FOOTER ── */
footer {
  background: linear-gradient(180deg,#0E1225,var(--dark));
  padding: 44px 5%; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid rgba(255,107,0,.1);
}
.flogo { display:inline-flex; align-items:center; text-decoration:none; }
.footer-logo-img {
  display:block;
  width: 132px;
  height: auto;
}
.flinks { display: flex; gap: 28px; flex-wrap: wrap; }
.flinks a { color: rgba(255,255,255,.45); text-decoration: none; font-size: 13px; transition: color .2s; font-weight: 500; }
.flinks a:hover { color: var(--orange); }
.fcopy { font-size: 12px; color: rgba(255,255,255,.25); font-weight: 500; }

/* ── SCROLL REVEAL ── */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .75s ease, transform .75s ease; }
.rv.vis { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; }
.rv.d2 { transition-delay: .2s; }
.rv.d3 { transition-delay: .3s; }
.rvl { opacity: 0; transform: translateX(-40px); transition: opacity .75s ease, transform .75s ease; }
.rvl.vis { opacity: 1; transform: none; }
.rvr { opacity: 0; transform: translateX(40px); transition: opacity .75s ease, transform .75s ease; }
.rvr.vis { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
/* ── HAMBURGER MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 300;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,107,0,.12);
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
  z-index: 199;
  padding: 20px 5%;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  color: var(--text2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all .2s;
}
.nav-mobile-menu a:hover { background: var(--orange-pale); color: var(--orange); }
.nav-mobile-menu .nav-mobile-divider {
  height: 1px;
  background: var(--gray-m);
  margin: 8px 0;
}
.nav-mobile-menu .nav-mobile-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

@media(max-width:960px) {
  .hi { grid-template-columns: 1fr; text-align: center; gap: clamp(48px,8vw,72px); }
  .hleft { display: flex; flex-direction: column; align-items: center; }
  .hsub { text-align: center; margin-left: auto; margin-right: auto; }
  .hbtns, .trust-row { justify-content: center; }
  .hvisual { width: 100%; max-width: 520px; margin: 0 auto; }
  .sg, .wg, .cg, .tg { grid-template-columns: 1fr; }
  .fw { grid-template-columns: 1fr; }
  .nav-ul { display: none; }
  .nav-act { display: none; }
  .nav-hamburger { display: flex; }
  .sc-line { display: none; }
  .cstats-cta { gap: 28px; }
  .comm-bg .con { position: relative; z-index: 1; }
  #calculator .con > div,
  #faq .con > div,
  #auth .con > div { grid-template-columns: 1fr !important; }
  #faq .con > div > div:first-child { position: static !important; }

  /* Referral network: stack on tablet */
  .refwrap { grid-template-columns: 1fr !important; gap: 40px !important; }
  .network-copy {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }
  .network-copy-sub { margin-left: auto; margin-right: auto; }
  .network-copy-point { text-align: left; }
  .network-stage {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  /* Features section */
  .fw > .rvl { order: 1; }
  .fw > .rvr { order: 2; }

  /* Reduce section padding */
  section { padding: 70px 5%; }

  /* Dashboard mockup: disable tilt on mobile */
  .dmock { animation: none !important; transform: none !important; }

  /* Calculator box padding */
  .cbox { padding: 32px 24px; }

  /* Auth box padding */
  .abox { padding: 32px 24px; }

  /* Final CTA */
  .fcta { padding: 80px 5%; }
  .fcta p { font-size: 15px; }
  .cstats-cta { gap: 24px; }
}

@media(max-width:600px) {
  .trust-row { gap: 14px; }
  .ts { height: 28px; }
  .cstats-cta { flex-direction: column; gap: 20px; align-items: center; }
  .hero { overflow-x: clip; }
  .ref3d-scene { width: clamp(280px,88vw,400px); height: clamp(300px,90vw,420px); }

  /* Nav */
  nav { padding: 0 4%; }
  .nav-logo { gap: 8px; }
  .nav-logo-img { width: 128px; }

  /* Hero */
  .hero { padding: 90px 4% 60px; }
  .hbadge { font-size: 10px; padding: 6px 14px; }
  .hbtns { flex-direction: column; width: 100%; }
  .btn-po, .btn-out { width: 100%; text-align: center; display: block; padding: 14px 20px; }
  .trust-row { justify-content: center; }
  .tn { font-size: clamp(16px,5vw,22px); }

  /* Earn badges: hide on very small screens to prevent overflow */
  .eb1, .eb2, .eb3, .eb4 { display: none; }
  .ref3d-total { position: relative; bottom: auto; left: auto; transform: none; margin-top: 16px; display: inline-block; }

  /* Sections */
  section { padding: 56px 4%; }
  .stit { font-size: clamp(24px,7vw,36px); }
  .ssub { font-size: 14px; }

  /* Step cards */
  .scard { padding: 28px 22px; }
  .snbg { font-size: 70px; }

  /* Why cards */
  .wcard { padding: 24px 20px; }

  /* Feature items */
  .fi { padding: 16px; gap: 14px; }
  .fic { width: 40px; height: 40px; font-size: 18px; }
  .fi h4 { font-size: 14px; }

  /* Dashboard mockup */
  .dmock { border-radius: 16px; }
  .dstats { grid-template-columns: repeat(2,1fr); }
  .dbot { grid-template-columns: 1fr; }
  .dsn { font-size: 16px; }

  /* Testimonials */
  .tcard { padding: 24px 20px; }
  .tq { font-size: 13px; }

  /* Calculator */
  .cbox { padding: 24px 18px; }
  .crn { font-size: 42px; }
  .crow { margin-bottom: 22px; }

  /* FAQ */
  .fq { font-size: 13px; padding: 18px 18px; }
  .fa { padding: 0 18px; }
  .fitem.open .fa { padding: 0 18px 18px; }

  /* Auth */
  .abox { padding: 24px 18px; border-radius: 20px; }
  .atab { font-size: 13px; padding: 10px; }

  /* Referral network */
  .network-section { padding: 56px 4%; }
  .network-stage {
    min-height: 560px;
    padding: 18px;
    border-radius: 28px;
  }
  .network-topbar {
    top: 16px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .network-topbar-label, .network-topbar-pill { font-size: 10px; }
  .network-orbit-lg { width: 360px; height: 360px; }
  .network-orbit-md { width: 270px; height: 270px; }
  .network-orbit-sm { width: 190px; height: 190px; }
  .network-hub {
    width: 146px;
    height: 146px;
  }
  .network-hub-value { font-size: 22px; }
  .network-hub-sub { font-size: 10px; }
  .network-node-card {
    width: 152px;
    padding: 10px;
    gap: 10px;
    border-radius: 20px;
  }
  .network-node-card img {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
  .network-node-copy strong { font-size: 12px; }
  .network-node-copy span, .network-node-earn { font-size: 10px; }
  .network-node-a { top: 102px; left: 10px; }
  .network-node-b { top: 148px; right: 10px; }
  .network-node-c { bottom: 156px; left: 10px; }
  .network-node-d { right: 10px; bottom: 118px; }
  .network-node-e {
    top: 80px;
    left: calc(50% - 76px);
  }
  .network-chip, .network-metric { display: none; }
  .network-summary-panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 16px;
    border-radius: 22px;
  }
  .network-summary-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
  }
  .network-summary-stats { grid-template-columns: 1fr; gap: 10px; }
  .network-summary-stats strong { font-size: 20px; }
  .network-summary-stats span { font-size: 11px; }

  /* Footer */
  footer { flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 32px 5%; }
  .footer-logo-img { width: 118px; }
  .flinks { justify-content: center; gap: 16px; }
  .flinks a { font-size: 12px; }

  /* Final CTA */
  .fcta { padding: 64px 4%; }
  .fcta h2 { font-size: clamp(28px,8vw,42px); }
  .fbtns { flex-direction: column; align-items: center; }
  .bw, .bow { width: 100%; max-width: 320px; text-align: center; padding: 16px 24px; font-size: 14px; }

  /* Ticker */
  .tick-item { padding: 0 20px; font-size: 12px; }

  /* Scroll reveal: reduce transform on mobile for perf */
  .rv, .rvl, .rvr { transform: translateY(20px) !important; }
  .rvl { transform: translateY(20px) !important; }
  .rvr { transform: translateY(20px) !important; }
}
