/* tl-binance.com — MongoDB-inspired dark green theme */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #00ed64;
  --green-dark: #00a84b;
  --green-mid: #00c853;
  --bg-deep: #001e2b;
  --bg-dark: #0c2235;
  --bg-card: #112733;
  --bg-card2: #0d2233;
  --border: #1a3a4a;
  --text-main: #e8f4f0;
  --text-muted: #8ba9b4;
  --text-dim: #5a7f8f;
  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.38);
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: rgba(0, 30, 43, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { flex-shrink: 0; }
.nav-brand { font-size: 1.2rem; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--green); }
.nav-cta {
  padding: 8px 22px; border-radius: 6px;
  background: var(--green); color: #001e2b;
  font-size: 0.9rem; font-weight: 700; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  min-height: 44px;
}
.nav-cta:hover { background: var(--green-mid); transform: translateY(-1px); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-login { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.nav-login:hover { color: var(--white); }

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 100px 40px 80px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, #001e2b 0%, #00361f 40%, #001e2b 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,237,100,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); border: 1px solid rgba(0,237,100,0.3);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.15;
  color: var(--white); max-width: 860px; margin: 0 auto 16px;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--green); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted); max-width: 600px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.btn-primary {
  padding: 14px 32px; border-radius: 8px;
  background: var(--green); color: #001e2b;
  font-size: 1rem; font-weight: 700; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  min-height: 48px; min-width: 160px;
}
.btn-primary:hover { background: #00c853; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,237,100,0.3); }
.btn-outline {
  padding: 14px 32px; border-radius: 8px;
  background: transparent; color: var(--white);
  font-size: 1rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.25); cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  min-height: 48px; min-width: 160px;
}
.btn-outline:hover { border-color: var(--green); background: rgba(0,237,100,0.07); transform: translateY(-2px); }

/* Hero dashboard mockup */
.hero-visual {
  max-width: 900px; margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,237,100,0.18);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,237,100,0.08);
}

/* ─── STATS BAND ─── */
.stats-band {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 40px;
  display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2rem; font-weight: 800; color: var(--green);
  letter-spacing: -0.02em; line-height: 1;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }

/* ─── SECTION COMMON ─── */
.section { padding: 88px 40px; }
.section-sm { padding: 64px 40px; }
.container { max-width: 1180px; margin: 0 auto; }
.section-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--white); line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-body { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; }
.section-head { max-width: 700px; }

/* ─── EDITIONS / PRODUCT CARDS ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 44px;
}
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: rgba(0,237,100,0.35); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card-title { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.card-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.card-link {
  font-size: 0.88rem; font-weight: 600; color: var(--green);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 8px; }
.card-cta {
  display: block; width: 100%;
  padding: 11px 0; margin-top: 4px;
  background: var(--green); color: #001e2b;
  font-size: 0.9rem; font-weight: 700; border: none; border-radius: 7px;
  cursor: pointer; transition: background 0.2s;
  min-height: 44px;
}
.card-cta:hover { background: var(--green-mid); }

/* ─── TRUSTED BAND ─── */
.trusted-band { background: var(--bg-dark); padding: 56px 40px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trusted-label { text-align: center; font-size: 0.85rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 32px; }
.trust-logos {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 40px 56px; max-width: 900px; margin: 0 auto;
}
.trust-logo { font-size: 1.05rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.02em; }

/* ─── FEATURE SPLIT ─── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.feature-split.reverse .feature-content { order: 2; }
.feature-split.reverse .feature-visual { order: 1; }
.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,237,100,0.14);
  box-shadow: var(--shadow);
}
.feature-list { list-style: none; margin: 20px 0 28px; }
.feature-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.95rem; color: var(--text-muted);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); margin-top: 7px; flex-shrink: 0;
}
.feature-btn {
  padding: 12px 28px; border-radius: 7px;
  background: var(--green); color: #001e2b;
  font-size: 0.95rem; font-weight: 700; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  min-height: 44px;
}
.feature-btn:hover { background: var(--green-mid); transform: translateY(-1px); }

/* ─── PLATFORM INTEGRATIONS ─── */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 14px; margin-top: 44px;
}
.integ-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
  text-align: center;
}
.integ-item:hover { border-color: rgba(0,237,100,0.3); transform: translateY(-2px); }
.integ-icon { font-size: 1.5rem; }
.integ-name { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, #003420 0%, #002718 50%, #001e2b 100%);
  border: 1px solid rgba(0,237,100,0.2);
  border-radius: var(--radius-lg);
  padding: 60px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,237,100,0.13) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--white); margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.cta-banner p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 32px; }
.cta-banner-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  padding: 13px 30px; border-radius: 7px;
  background: var(--white); color: #001e2b;
  font-size: 0.95rem; font-weight: 700; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  min-height: 44px;
}
.btn-white:hover { background: #e8f4f0; transform: translateY(-1px); }
.btn-ghost {
  padding: 13px 30px; border-radius: 7px;
  background: transparent; color: var(--white);
  font-size: 0.95rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.22); cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  min-height: 44px;
}
.btn-ghost:hover { border-color: var(--green); transform: translateY(-1px); }

/* ─── STEPS ─── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 44px; position: relative;
}
.steps-grid::after {
  content: '';
  position: absolute; top: 26px; left: 15%; right: 15%;
  height: 1px; background: var(--border); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--green);
  color: var(--green); font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step-title { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.step-desc { font-size: 0.88rem; color: var(--text-muted); }

/* ─── FOOTER ─── */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 60px 40px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; max-width: 1180px; margin: 0 auto 48px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand svg { flex-shrink: 0; }
.footer-brand-name { font-size: 1.15rem; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; max-width: 280px; margin-bottom: 24px; }
.footer-col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 24px;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.82rem; color: var(--text-dim); }
.footer-meta { display: flex; gap: 20px; }
.footer-meta a { font-size: 0.82rem; color: var(--text-dim); transition: color 0.2s; }
.footer-meta a:hover { color: var(--text-muted); }

/* ─── LANG SWITCH ─── */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 6px;
  border: 1px solid var(--border); color: var(--text-muted);
  font-size: 0.82rem; transition: border-color 0.2s, color 0.2s;
}
.lang-switch:hover { border-color: var(--green); color: var(--green); }

/* ─── SECURITY BADGES ─── */
.badges { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,237,100,0.08); border: 1px solid rgba(0,237,100,0.2);
  border-radius: 20px; padding: 5px 14px;
  font-size: 0.8rem; color: var(--green); font-weight: 600;
}

/* ─── DARK SECTION ─── */
.dark-section { background: var(--bg-card2); }
.alt-section { background: var(--bg-dark); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 72px 20px 56px; }
  .stats-band { gap: 32px; padding: 32px 20px; }
  .section { padding: 64px 20px; }
  .section-sm { padding: 48px 20px; }
  .feature-split { grid-template-columns: 1fr; gap: 36px; }
  .feature-split.reverse .feature-content { order: 1; }
  .feature-split.reverse .feature-visual { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps-grid::after { display: none; }
  .trusted-band { padding: 40px 20px; }
  .cta-banner { padding: 40px 24px; }
  footer { padding: 48px 20px 24px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 320px; }
  .stats-band { flex-direction: column; gap: 24px; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .btn-white, .btn-ghost { width: 100%; max-width: 280px; }
  .trust-logos { gap: 24px 32px; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-btn, .card-cta { width: 100%; }
}
