/* fs-binance.com — Netlify-inspired teal deployment theme */
:root {
  --teal: #00d4aa;
  --teal-dk: #00b894;
  --teal-lt: #00e5bb;
  --bg-dark: #0d1f1b;
  --bg-dark2: #112820;
  --bg-dark3: #162e24;
  --bg-mid: #1a3a2e;
  --bg-card: #1e3d31;
  --bg-light: #f5faf8;
  --bg-white: #ffffff;
  --text-primary: #e8f5f2;
  --text-muted: #8ab5a8;
  --text-dark: #0d1f1b;
  --border: rgba(0,212,170,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-teal: 0 0 40px rgba(0,212,170,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--teal); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
ol { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; font-size: inherit; transition: all 0.2s; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--teal);
  color: var(--text-dark);
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--teal-lt); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 0.9rem;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-ghost {
  background: transparent;
  color: var(--teal);
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid var(--teal);
  border-radius: 8px;
  font-size: 0.9rem;
}
.btn-ghost:hover { background: rgba(0,212,170,0.1); }

.btn-hero-primary {
  background: var(--teal);
  color: var(--text-dark);
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  min-height: 52px;
}
.btn-hero-primary:hover { background: var(--teal-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,212,170,0.3); }

.btn-hero-secondary {
  background: rgba(0,212,170,0.12);
  color: var(--teal);
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  border: 1.5px solid rgba(0,212,170,0.4);
  min-height: 52px;
}
.btn-hero-secondary:hover { background: rgba(0,212,170,0.2); border-color: var(--teal); }

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,31,27,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-brand { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo { height: 34px; width: auto; }
.nav-links {
  display: flex;
  gap: 1.8rem;
  flex: 1;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-ctas { display: flex; gap: 0.75rem; align-items: center; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.2s;
}
.mobile-nav {
  background: var(--bg-dark2);
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.4rem 0;
}

/* ===== SECTION COMMONS ===== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  background: rgba(0,212,170,0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(0,212,170,0.25);
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 2.5rem;
}

/* ===== HERO ===== */
.hero {
  background: var(--bg-dark);
  padding-top: 80px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.3);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.hero-h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.trust-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Terminal card */
.terminal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-teal);
}
.terminal-bar {
  background: var(--bg-mid);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: var(--teal); }
.terminal-title { font-size: 0.78rem; color: var(--text-muted); margin-left: 0.5rem; font-weight: 500; }
.terminal-body { padding: 1.2rem; }
.ticker-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.92rem;
  align-items: center;
}
.ticker-row:last-of-type { border-bottom: none; }
.ticker-sym { font-weight: 700; color: #fff; font-family: 'Courier New', monospace; font-size: 0.85rem; }
.ticker-price { color: var(--text-primary); text-align: right; font-variant-numeric: tabular-nums; }
.ticker-chg { font-weight: 700; font-size: 0.85rem; text-align: right; }
.ticker-chg.up { color: var(--teal); }
.ticker-chg.down { color: #ff6b6b; }
.terminal-prompt {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
}
.terminal-prompt .accent { color: var(--teal); font-weight: 700; }

/* Trust bar */
.hero-partners {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.partners-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.partners-badges { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.badge-item { font-size: 0.82rem; color: var(--text-primary); font-weight: 600; }
.badge-sep { color: var(--border); font-size: 0.9rem; }

/* ===== PLATFORM ===== */
.platform {
  background: var(--bg-dark2);
  padding: 90px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,212,170,0.12); }
.feat-icon-wrap { margin-bottom: 1.2rem; }
.feat-icon-wrap svg { width: 48px; height: 48px; }
.feat-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.65rem; }
.feat-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ===== MARKETS ===== */
.markets {
  background: var(--bg-dark);
  padding: 90px 0;
}
.markets-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.markets-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.2rem;
}
.markets-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.markets-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.markets-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
}
.stat-num em { font-style: normal; font-size: 1.1rem; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* Chart mockup */
.chart-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-teal);
}
.chart-header {
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}
.chart-sym { font-weight: 700; color: #fff; font-size: 1rem; }
.chart-price { color: var(--text-primary); font-size: 1.1rem; font-weight: 700; margin-left: auto; }
.chart-chg { font-weight: 700; font-size: 0.9rem; }
.chart-chg.up { color: var(--teal); }
.chart-svg { width: 100%; display: block; height: 180px; }
.chart-footer {
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ===== SECURITY ===== */
.security {
  background: var(--bg-dark2);
  padding: 90px 0;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.sec-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}
.sec-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.sec-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.sec-block p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; }

.security-quote {
  background: var(--bg-dark3);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.8rem 2rem;
  max-width: 780px;
}
.security-quote blockquote {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0.75rem;
}
.security-quote cite { font-size: 0.85rem; color: var(--text-muted); font-style: normal; }

/* ===== DOWNLOAD ===== */
.download {
  background: var(--bg-dark);
  padding: 90px 0;
}
.download .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.dl-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 2rem;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.steps-list li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.step-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
  opacity: 0.7;
}
.step-body { display: flex; flex-direction: column; gap: 0.3rem; }
.step-body strong { font-size: 1rem; font-weight: 700; color: #fff; }
.step-body span { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Phone mockup */
.phone-mockup {
  max-width: 320px;
  margin: 0 auto;
}
.phone-screen {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-teal);
}
.phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.phone-logo { font-weight: 800; font-size: 1rem; color: var(--teal); }
.phone-notif { color: var(--teal); font-size: 0.7rem; }
.phone-balance { margin-bottom: 1.5rem; }
.bal-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.bal-amount { font-size: 1.5rem; font-weight: 800; color: #fff; }
.bal-unit { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
.bal-change { font-size: 0.82rem; font-weight: 600; margin-top: 0.2rem; }
.bal-change.up { color: var(--teal); }
.phone-actions-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.pa-item { text-align: center; }
.pa-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,212,170,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--teal);
  margin: 0 auto 0.3rem;
}
.pa-item > div:last-child { font-size: 0.72rem; color: var(--text-muted); }
.phone-list { display: flex; flex-direction: column; gap: 0.75rem; }
.pl-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.85rem;
}
.pl-sym { font-weight: 700; color: #fff; }
.pl-name { color: var(--text-muted); }
.pl-val { font-weight: 600; color: var(--text-primary); }
.pl-chg { font-weight: 700; font-size: 0.8rem; }
.pl-chg.up { color: var(--teal); }
.pl-chg.down { color: #ff6b6b; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-dark2) 0%, var(--bg-dark3) 100%);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.cta-text p { font-size: 0.95rem; color: var(--text-muted); }
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark2);
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
}
.footer-logo { height: 30px; width: auto; margin-bottom: 1rem; }
.footer-desc { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.2rem; max-width: 320px; }
.footer-copy { font-size: 0.8rem; color: rgba(138,181,168,0.5); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.col-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.88rem; color: rgba(138,181,168,0.7); font-weight: 400; }
.footer-col a:hover { color: var(--teal); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-ctas { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding-top: 60px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 60px;
  }
  .hero-visual { order: -1; }

  .markets-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .markets-stats { grid-template-columns: repeat(3, 1fr); }

  .download .section-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .dl-visual { order: -1; }

  .feature-grid { grid-template-columns: 1fr; gap: 1rem; }
  .security-grid { grid-template-columns: 1fr 1fr; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; text-align: center; }
  .security-grid { grid-template-columns: 1fr; }
  .markets-stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .stat-num { font-size: 1.5rem; }
  .footer-links { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 0.75rem; }
  .dl-actions { flex-direction: column; }
  .dl-actions button { width: 100%; }
  .cta-btns { flex-direction: column; width: 100%; }
  .cta-btns button { width: 100%; }
  .hero-partners { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .partners-badges { gap: 0.5rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
