/* badevx.com — Binance 币安注册 · deno.com inspired dark JS runtime style */
:root {
  --bg: #06090f;
  --bg2: #0d1b2a;
  --bg3: #0f2236;
  --surface: #101c2e;
  --surface2: #152640;
  --border: rgba(0, 212, 255, 0.12);
  --border2: rgba(255,255,255,0.07);
  --cyan: #00d4ff;
  --cyan2: #0090ff;
  --gold: #f5c518;
  --text: #e8f4fd;
  --text2: #8ba3c0;
  --text3: #5a7a9a;
  --white: #ffffff;
  --radius: 10px;
  --radius-lg: 18px;
  --max-w: 1180px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
p { color: var(--text2); }

a { color: var(--cyan); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }

/* ── LAYOUT ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,9,15,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.2rem; color: var(--white);
}
.nav-logo img { width: 36px; height: 36px; }
.nav-logo span { letter-spacing: -0.01em; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text2); font-size: .92rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); opacity: 1; }
.nav-cta {
  display: flex; align-items: center; gap: 12px;
}
.btn-outline {
  padding: 8px 20px; border-radius: var(--radius);
  border: 1px solid var(--border); color: var(--text2);
  background: transparent; font-size: .9rem; font-weight: 500;
  cursor: pointer; transition: all .2s; font-family: var(--font);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-primary {
  padding: 9px 22px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #06090f; font-size: .9rem; font-weight: 700;
  border: none; cursor: pointer; transition: opacity .2s; font-family: var(--font);
}
.btn-primary:hover { opacity: .88; }

/* ── HERO ── */
.hero {
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; left: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; top: -60px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,144,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.25);
  color: var(--cyan); font-size: .82rem; font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge::before { content: '●'; font-size: .6rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { color: var(--cyan); }
.hero-sub {
  font-size: 1.08rem; color: var(--text2); margin-bottom: 36px;
  max-width: 460px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero {
  padding: 14px 32px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #06090f; font-size: 1rem; font-weight: 700;
  border: none; cursor: pointer; transition: opacity .2s; font-family: var(--font);
  white-space: nowrap;
}
.btn-hero:hover { opacity: .88; }
.btn-hero-outline {
  padding: 13px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); color: var(--text);
  background: transparent; font-size: 1rem; font-weight: 500;
  cursor: pointer; transition: all .2s; font-family: var(--font);
  white-space: nowrap;
}
.btn-hero-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.code-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.code-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--surface2);
  border-bottom: 1px solid var(--border2);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.code-label {
  margin-left: 8px; font-size: .78rem; color: var(--text3);
  font-family: 'Courier New', monospace;
}
.code-body {
  padding: 24px 20px; font-family: 'Courier New', 'Consolas', monospace;
  font-size: .84rem; line-height: 1.8;
}
.cl { color: var(--text3); }
.ck { color: #b48ead; }
.cv { color: var(--cyan); }
.cs { color: #a3be8c; }
.cn { color: #d08770; }
.cf { color: #88c0d0; }

/* ── STATS BAR ── */
.stats-bar {
  border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2);
  padding: 40px 0; margin: 0 0 80px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
}
.stat-item {
  padding: 0 20px;
  border-right: 1px solid var(--border2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.4rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.03em; display: block;
}
.stat-num span { color: var(--cyan); }
.stat-label { font-size: .88rem; color: var(--text3); margin-top: 4px; }

/* ── SECTION BASE ── */
section { padding: 80px 0; }
.section-tag {
  display: inline-block; color: var(--cyan);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-title { margin-bottom: 16px; }
.section-sub { color: var(--text2); max-width: 560px; margin-bottom: 36px; font-size: 1.04rem; }

/* ── FEATURES SPLIT ── */
.feat-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.feat-split.rev { direction: rtl; }
.feat-split.rev > * { direction: ltr; }
.feat-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.feat-visual-chart { display: grid; gap: 10px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-label { font-size: .8rem; color: var(--text3); width: 80px; text-align: right; flex-shrink: 0; }
.bar-track { flex: 1; height: 8px; background: var(--bg2); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--cyan2)); }
.bar-val { font-size: .8rem; color: var(--text2); width: 48px; flex-shrink: 0; }

.feat-network {
  position: relative; height: 220px;
}
.node {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: var(--text3); font-weight: 600;
}
.node.active { border-color: var(--cyan); color: var(--cyan); }
.node-line {
  position: absolute; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform-origin: left center; opacity: 0.3;
}

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 48px; }
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.step-card:hover { border-color: rgba(0,212,255,0.35); box-shadow: 0 8px 32px rgba(0,212,255,0.08); }
.step-num {
  font-size: 3rem; font-weight: 900; color: rgba(0,212,255,0.12);
  position: absolute; top: 16px; right: 20px; line-height: 1;
}
.step-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,212,255,0.1); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
  font-size: 1.4rem;
}
.step-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 10px; }
.step-card p { font-size: .92rem; color: var(--text2); }

/* ── SECURITY SECTION (dark panel) ── */
.security-section {
  background: var(--bg2); border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}
.security-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.security-cards { display: grid; gap: 16px; }
.sec-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: border-color .2s;
}
.sec-card:hover { border-color: rgba(0,212,255,0.3); }
.sec-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,212,255,0.1); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.sec-card h4 { font-size: .95rem; color: var(--white); margin-bottom: 4px; }
.sec-card p { font-size: .84rem; color: var(--text3); }

/* ── PLATFORMS ── */
.platform-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.p-tab {
  padding: 8px 18px; border-radius: 8px;
  border: 1px solid var(--border2); background: transparent;
  color: var(--text2); font-size: .88rem; font-weight: 500;
  cursor: pointer; font-family: var(--font); transition: all .2s;
}
.p-tab.active, .p-tab:hover {
  border-color: var(--cyan); color: var(--cyan); background: rgba(0,212,255,0.05);
}
.platform-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.platform-info h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--white); }
.platform-info p { font-size: .96rem; color: var(--text2); margin-bottom: 24px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #06090f; font-weight: 700; font-size: .96rem;
  border: none; cursor: pointer; font-family: var(--font); transition: opacity .2s;
}
.dl-btn:hover { opacity: .88; }
.platform-mockup {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.mockup-bar {
  height: 8px; background: var(--surface2);
  display: flex; align-items: center; gap: 5px; padding: 0 12px;
}
.mockup-bar-inner {
  background: var(--surface2); padding: 8px 14px;
  display: flex; gap: 5px;
}
.mockup-bar-inner span { width: 8px; height: 8px; border-radius: 50%; }
.mockup-body { padding: 24px; }
.ticker-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border2);
  font-size: .88rem;
}
.ticker-row:last-child { border-bottom: none; }
.ticker-sym { font-weight: 700; color: var(--white); }
.ticker-price { color: var(--text2); }
.ticker-chg.up { color: #22c55e; }
.ticker-chg.dn { color: #ef4444; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--bg2); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.testi-stars { color: var(--gold); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: .92rem; color: var(--text2); margin-bottom: 20px; font-style: italic; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #06090f; font-size: .9rem;
}
.testi-name { font-size: .9rem; font-weight: 600; color: var(--white); }
.testi-role { font-size: .78rem; color: var(--text3); }

/* ── FAQ ── */
.faq-list { margin-top: 48px; max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border2);
}
.faq-item:first-child { border-top: 1px solid var(--border2); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 22px 0; color: var(--white); font-size: 1rem; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font); gap: 16px;
}
.faq-q:hover { color: var(--cyan); }
.faq-ico { color: var(--cyan); font-size: 1.2rem; flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 20px; color: var(--text2); font-size: .95rem; line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #0d2540, #0a1a30);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 16px; position: relative; }
.cta-banner p { color: var(--text2); max-width: 480px; margin: 0 auto 36px; position: relative; }
.cta-banner-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FOOTER ── */
.site-footer {
  padding: 60px 0 32px; border-top: 1px solid var(--border2);
  background: var(--bg);
}
.footer-top {
  display: grid; grid-template-columns: 2fr repeat(3,1fr);
  gap: 48px; margin-bottom: 48px;
}
.footer-brand { max-width: 300px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; color: var(--white); font-weight: 700; font-size: 1.1rem;
}
.footer-logo img { width: 32px; height: 32px; }
.footer-desc { font-size: .88rem; color: var(--text3); line-height: 1.7; }
.footer-col h4 { font-size: .88rem; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .88rem; color: var(--text3); transition: color .2s; }
.footer-col a:hover { color: var(--cyan); opacity: 1; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--border2);
  gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: .82rem; color: var(--text3); }
.footer-disclaimer { font-size: .78rem; color: var(--text3); max-width: 600px; text-align: right; }

/* ── FAQ SCRIPT ── */
/* handled inline */

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .feat-split { grid-template-columns: 1fr; gap: 40px; }
  .feat-split.rev { direction: ltr; }
  .security-inner { grid-template-columns: 1fr; gap: 40px; }
  .platform-panel { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border2); padding-bottom: 24px; }
  .stat-item:nth-child(2n) { border-right: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 52px; }
  h1 { font-size: 2.1rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-disclaimer { text-align: left; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
}
