/* ed-binance.com – PostHog-inspired dark + amber/orange theme */
:root {
  --bg: #0f0f10;
  --bg2: #18181b;
  --bg3: #1f1f23;
  --card: #1c1c20;
  --border: #2e2e35;
  --amber: #f59e0b;
  --amber2: #fbbf24;
  --amber-glow: rgba(245, 158, 11, 0.15);
  --text: #f4f4f5;
  --text2: #a1a1aa;
  --text3: #71717a;
  --white: #ffffff;
  --max: 1200px;
  --r: 10px;
  --r2: 16px;
  --r3: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── NAV ─────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,15,16,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-img { width: 36px; height: 36px; }
.nav-logo-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--bg3); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-ghost {
  padding: 8px 18px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  transition: color .2s;
}
.btn-ghost:hover { color: var(--text); }
.btn-amber {
  padding: 9px 22px;
  border-radius: var(--r);
  background: var(--amber);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, transform .15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-amber:hover { background: var(--amber2); transform: translateY(-1px); }
.btn-amber:active { transform: translateY(0); }
.nav-ham { display: none; padding: 8px; }

/* ─── HERO ────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 24px 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--amber2);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(0.75); }
}
.hero-h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero-desc {
  font-size: 17px;
  color: var(--text2);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--r2);
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .2s;
}
.btn-amber-lg {
  background: var(--amber);
  color: #000;
}
.btn-amber-lg:hover { background: var(--amber2); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,158,11,0.3); }
.btn-outline-lg {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline-lg:hover { border-color: var(--amber); color: var(--amber); }
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}
.hero-stat-lbl {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}

/* Hero visual */
.hero-visual {
  position: relative;
}
.hero-chart {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.hc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.hc-title { font-size: 12px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.8px; }
.hc-price { font-size: 28px; font-weight: 800; color: var(--white); }
.hc-change { font-size: 13px; color: #22c55e; font-weight: 600; margin-top: 2px; }
.hc-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.hc-tab {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  cursor: pointer;
}
.hc-tab.active { background: var(--amber); color: #000; }
.chart-area {
  height: 120px;
  position: relative;
  overflow: hidden;
}
.chart-svg { width: 100%; height: 100%; }
.coin-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.coin-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.coin-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #000;
  flex-shrink: 0;
}
.coin-name { font-size: 13px; font-weight: 600; color: var(--text); flex: 1; }
.coin-sym { font-size: 11px; color: var(--text3); }
.coin-price { font-size: 13px; font-weight: 700; color: var(--text); }
.coin-chg { font-size: 11px; font-weight: 600; margin-left: 6px; }
.up { color: #22c55e; } .dn { color: #ef4444; }

/* Hero float badges */
.hero-float {
  position: absolute;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.hero-float-1 { top: -18px; left: -32px; }
.hero-float-2 { bottom: 24px; right: -28px; }
.hf-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ─── LOGOS BAND ─────────────────────── */
.logos-band {
  padding: 40px 24px;
  border-bottom: 1px solid var(--border);
}
.logos-label {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 28px;
}
.logos-row {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logo-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text3);
  opacity: 0.7;
  transition: opacity .2s;
}
.logo-item:hover { opacity: 1; }
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

/* ─── FEATURES TABS ──────────────────── */
.features {
  padding: 96px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  background: var(--amber-glow);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--white);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.feat-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.feat-tabs::-webkit-scrollbar { display: none; }
.feat-tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  min-height: 44px;
}
.feat-tab-btn:hover { color: var(--text2); }
.feat-tab-btn.active { color: var(--amber); border-bottom-color: var(--amber); }
.feat-panels { }
.feat-panel { display: none; }
.feat-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.feat-panel-txt h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.feat-panel-txt p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 20px;
}
.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text2);
}
.feat-list li::before {
  content: '';
  width: 16px; height: 16px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.5l-3-3 1.06-1.06L6.5 9.38l5.44-5.44L13 5l-6.5 6.5z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.5l-3-3 1.06-1.06L6.5 9.38l5.44-5.44L13 5l-6.5 6.5z'/%3E%3C/svg%3E") no-repeat center;
}
.feat-screen {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  min-height: 280px;
}
.fs-bar {
  background: var(--bg2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.fs-dot { width: 10px; height: 10px; border-radius: 50%; }
.fs-body { padding: 24px; }

/* ─── STATS ──────────────────────────── */
.stats-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px;
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.stats-head {
  text-align: center;
  margin-bottom: 56px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-card {
  padding: 36px 28px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background .2s;
}
.stat-card:first-child { border-radius: var(--r2) 0 0 var(--r2); }
.stat-card:last-child { border-radius: 0 var(--r2) var(--r2) 0; }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform .3s;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.5;
}

/* ─── PLATFORM CARDS ─────────────────── */
.platform {
  padding: 96px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.plat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 28px;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.plat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--amber-glow), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.plat-card:hover { border-color: rgba(245,158,11,0.4); transform: translateY(-3px); }
.plat-card:hover::after { opacity: 1; }
.plat-icon {
  width: 48px; height: 48px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.plat-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.plat-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 20px;
}
.plat-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--amber);
  font-weight: 600;
}

/* ─── SECURITY STRIP ─────────────────── */
.security {
  background: linear-gradient(135deg, #0f0f10 0%, #1c1407 50%, #0f0f10 100%);
  border-top: 1px solid rgba(245,158,11,0.2);
  border-bottom: 1px solid rgba(245,158,11,0.2);
  padding: 80px 24px;
}
.security-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sec-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sec-badge {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--r2);
  padding: 20px;
}
.sec-badge-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.sec-badge-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.sec-badge-desc {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.5;
}

/* ─── FINAL CTA ──────────────────────── */
.final-cta {
  padding: 96px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.final-cta h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.1;
}
.final-cta p {
  font-size: 17px;
  color: var(--text2);
  margin-bottom: 36px;
  line-height: 1.7;
}
.final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ─── FOOTER ─────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-name { font-size: 16px; font-weight: 800; color: var(--white); }
.footer-tagline { font-size: 13px; color: var(--text3); line-height: 1.65; max-width: 260px; }
.footer-col-title { font-size: 12px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text3); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text3); }
.footer-disclaimer {
  font-size: 11px;
  color: var(--text3);
  line-height: 1.6;
  max-width: 600px;
  margin-top: 16px;
  text-align: center;
  width: 100%;
}

/* ─── RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .feat-panel.active { grid-template-columns: 1fr; }
  .feat-screen { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(1) { border-radius: var(--r2) 0 0 0; }
  .stat-card:nth-child(2) { border-radius: 0 var(--r2) 0 0; }
  .stat-card:nth-child(3) { border-radius: 0 0 0 var(--r2); }
  .stat-card:nth-child(4) { border-radius: 0 0 var(--r2) 0; }
  .plat-grid { grid-template-columns: 1fr 1fr; }
  .security-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-ham { display: block; margin-left: auto; }
  .hero { padding: 64px 20px 56px; }
  .hero-h1 { letter-spacing: -0.8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .plat-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; text-align: center; justify-content: center; }
  .hero-stats { gap: 20px; }
  .stat-card { padding: 24px 16px; }
  .stat-num { font-size: 30px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card:first-child { border-radius: var(--r) 0 0 0; }
  .stat-card:last-child { border-radius: 0 0 var(--r) 0; }
  .sec-badges { grid-template-columns: 1fr; }
  .final-actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 390px) {
  body { font-size: 15px; }
  .nav-inner { padding: 0 16px; }
  .hero { padding: 52px 16px 48px; }
  .platform, .features, .final-cta { padding-left: 16px; padding-right: 16px; }
  .footer { padding: 40px 16px 24px; }
}

/* ─── MOBILE MENU ────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(15,15,16,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  font-size: 16px;
  padding: 12px 16px;
  color: var(--text);
}
.mobile-menu .btn-amber {
  margin-top: 8px;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: var(--r2);
}
