/* fo-binance.com — Infrastructure-dark theme: Black + Purple */
:root {
  --bg-base: #0a0014;
  --bg-surface: #110122;
  --bg-card: #17052b;
  --bg-card-hover: #1f0838;
  --accent: #7c3aed;
  --accent-light: #a855f7;
  --accent-glow: rgba(124,58,237,0.25);
  --accent-border: rgba(168,85,247,0.3);
  --text-primary: #f5f3ff;
  --text-secondary: #c4b5fd;
  --text-muted: #7c6fa0;
  --border: rgba(168,85,247,0.15);
  --gradient-hero: linear-gradient(135deg, #0a0014 0%, #1a0332 50%, #0d001e 100%);
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 4px 24px rgba(124,58,237,0.18);
  --shadow-lg: 0 8px 48px rgba(124,58,237,0.28);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--text-primary); }

img, svg { max-width: 100%; display: block; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,0,20,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-nav-outline {
  background: transparent;
  border: 1px solid var(--accent-border);
  color: var(--accent-light);
}
.btn-nav-outline:hover { background: var(--accent-glow); border-color: var(--accent-light); }
.btn-nav-solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(124,58,237,0.4);
}
.btn-nav-solid:hover { background: var(--accent-light); box-shadow: 0 0 24px rgba(168,85,247,0.5); }

/* ===== HERO ===== */
.hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 100px 24px 120px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 6px var(--accent-light);
}
.hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 .hl { color: var(--accent-light); }
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 60px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 32px rgba(124,58,237,0.5);
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 0 48px rgba(168,85,247,0.6); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: 1.5px solid var(--accent-border);
  color: var(--accent-light);
  transition: all .2s;
  white-space: nowrap;
}
.btn-secondary:hover { background: var(--accent-glow); border-color: var(--accent-light); transform: translateY(-2px); }

/* Hero stats band */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 60px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.stat-number .accent { color: var(--accent-light); }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===== LOGO BAND ===== */
.trust-band {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}
.trust-band-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 56px;
}
.trust-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.2px;
  opacity: 0.7;
  transition: opacity .2s;
}
.trust-logo:hover { opacity: 1; color: var(--text-secondary); }

/* ===== SECTION SHARED ===== */
.section { padding: 96px 24px; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FEATURE GRID ===== */
.features-bg { background: var(--bg-surface); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.feature-card:hover { background: var(--bg-card-hover); border-color: var(--accent-border); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(124,58,237,0.18);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.feature-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

/* ===== SECURITY SECTION ===== */
.security-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.security-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.security-ring {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.security-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(168,85,247,0.3);
  animation: spin 20s linear infinite;
}
.security-ring::after {
  content: '';
  position: absolute;
  inset: 48px;
  border-radius: 50%;
  border: 1px solid rgba(168,85,247,0.15);
}
@keyframes spin { to { transform: rotate(360deg); } }
.security-center {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.4), rgba(124,58,237,0.1));
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  box-shadow: 0 0 48px rgba(124,58,237,0.4);
  position: relative;
  z-index: 1;
}
.security-points { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.security-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.sp-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(124,58,237,0.18);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sp-text h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.sp-text p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== DOWNLOAD SECTION ===== */
.download-bg {
  background: linear-gradient(135deg, #110122 0%, #1a0332 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: all .2s;
}
.download-card:hover { border-color: var(--accent-border); background: var(--bg-card-hover); transform: translateY(-2px); }
.dl-icon { font-size: 32px; }
.dl-title { font-size: 17px; font-weight: 700; color: #fff; }
.dl-desc { font-size: 14px; color: var(--text-muted); }
.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--accent-border);
  background: transparent;
  color: var(--accent-light);
  transition: all .2s;
  margin-top: auto;
  white-space: nowrap;
}
.btn-dl:hover { background: var(--accent-glow); border-color: var(--accent-light); }

/* ===== METRICS BAND ===== */
.metrics-band {
  background: var(--bg-base);
  padding: 72px 24px;
  border-top: 1px solid var(--border);
}
.metrics-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  text-align: center;
}
.metric-val {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.metric-val .pu { color: var(--accent-light); }
.metric-lbl { font-size: 14px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-bg { background: var(--bg-surface); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
details[open] { border-color: var(--accent-border); }
summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
summary::after {
  content: '+';
  font-size: 22px;
  color: var(--accent-light);
  flex-shrink: 0;
  transition: transform .2s;
}
details[open] summary::after { content: '-'; }
.faq-body {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--gradient-hero);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(168,85,247,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.final-cta h2 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}
.final-cta p { font-size: 18px; color: var(--text-secondary); margin-bottom: 36px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== FOOTER ===== */
.footer {
  background: #07000f;
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo svg { width: 28px; height: 28px; }
.footer-logo-name { font-size: 18px; font-weight: 800; color: #fff; }
.footer-tagline { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 280px; }
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--text-secondary); transition: color .2s; }
.footer-col ul a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--text-muted); }
.footer-legal a:hover { color: var(--text-secondary); text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .security-split { grid-template-columns: 1fr; gap: 48px; }
  .security-visual { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 72px 20px 80px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-stats { gap: 24px 40px; }
  .section { padding: 64px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .features-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .btn-primary, .btn-secondary { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .final-actions { flex-direction: column; align-items: stretch; }
  .security-ring { display: none; }
}
