/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d1117;
  --bg2:       #010409;
  --card:      #161b22;
  --card2:     #1c2128;
  --border:    #21262d;
  --accent:    #2f81f7;
  --accent2:   #1a6fd4;
  --success:   #3fb950;
  --danger:    #f85149;
  --warning:   #d29922;
  --text:      #e6edf3;
  --muted:     #8b949e;
  --muted2:    #484f58;
  --radius:    12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--muted); background: var(--card); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn-full { width: 100%; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; }
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(47,129,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { text-align: center; }

.badge {
  display: inline-block;
  background: rgba(47,129,247,0.12);
  border: 1px solid rgba(47,129,247,0.3);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, #2f81f7 0%, #58a6ff 50%, #79c0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.hero-note {
  color: var(--muted2);
  font-size: 0.85rem;
  margin-bottom: 60px;
}

/* ── TERMINAL ─────────────────────────────────────────── */
.terminal {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  text-align: left;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot.red    { background: #f85149; }
.dot.yellow { background: #d29922; }
.dot.green  { background: #3fb950; }
.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted2);
  font-family: 'JetBrains Mono', monospace;
}
.terminal-body {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.t-line { display: flex; gap: 12px; }
.t-time { color: var(--muted2); min-width: 70px; }
.t-info { color: var(--muted); }
.t-ok   { color: var(--success); }
.t-warn { color: var(--warning); }
.blink .t-info { animation: blink 1.2s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── STATS ─────────────────────────────────────────────── */
.stats {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-card {
  text-align: center;
  padding: 24px;
  border-right: 1px solid var(--border);
}
.stat-card:last-child { border-right: none; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ── SECTIONS ─────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-dark { background: var(--bg2); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: rgba(47,129,247,0.1);
  border: 1px solid rgba(47,129,247,0.2);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── FEATURES ─────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(47,129,247,0.4);
  transform: translateY(-2px);
}
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── MARKETS ─────────────────────────────────────────── */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.market-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s;
}
.market-card:hover { border-color: rgba(47,129,247,0.4); }
.market-flag { font-size: 2.2rem; margin-bottom: 10px; }
.market-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.market-detail { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* ── HOW IT WORKS ─────────────────────────────────────── */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 16px;
}
.step-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.step-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(47,129,247,0.25);
  letter-spacing: -2px;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.step-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.step-arrow   { font-size: 1.8rem; color: var(--muted2); flex-shrink: 0; }

/* ── STRATEGIES ─────────────────────────────────────────── */
.strategies-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.strategy-pill {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}
.strategy-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(47,129,247,0.08);
}

/* ── PRICING ─────────────────────────────────────────── */
.pricing-wrap {
  display: flex;
  justify-content: center;
}
.pricing-card {
  background: var(--card);
  border: 1px solid rgba(47,129,247,0.4);
  border-radius: var(--radius);
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 0 48px rgba(47,129,247,0.08);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.pricing-plan {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-amount {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 4px;
}
.pricing-amount span { font-size: 1.2rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pricing-trial {
  font-size: 0.85rem;
  color: var(--success);
  margin-bottom: 32px;
}
.pricing-features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li { font-size: 0.95rem; }
.pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted2);
  margin-top: 16px;
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-q::after { content: "+"; font-size: 1.2rem; color: var(--muted); transition: transform 0.2s; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-item.open .faq-a { display: block; }

/* ── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(47,129,247,0.15) 0%, rgba(47,129,247,0.05) 100%);
  border-top: 1px solid rgba(47,129,247,0.2);
  border-bottom: 1px solid rgba(47,129,247,0.2);
  padding: 80px 0;
}
.cta-inner { text-align: center; }
.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.cta-inner p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-inner {
  display: flex;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-left { flex: 1; }
.footer-left .logo { margin-bottom: 12px; display: inline-block; }
.footer-left p { font-size: 0.88rem; color: var(--muted); max-width: 280px; line-height: 1.6; }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted2);
  margin-bottom: 4px;
}
.footer-col a { font-size: 0.88rem; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom span { font-size: 0.8rem; color: var(--muted2); }
.footer-disc { max-width: 480px; text-align: right; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: block; }

  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .stat-card:nth-child(4) { border-top: 1px solid var(--border); }

  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .markets-grid   { grid-template-columns: repeat(2, 1fr); }
  .steps-grid     { flex-direction: column; }
  .step-arrow     { transform: rotate(90deg); }

  .footer-inner   { flex-direction: column; gap: 32px; }
  .footer-disc    { text-align: left; }
}

@media (max-width: 600px) {
  .features-grid  { grid-template-columns: 1fr; }
  .markets-grid   { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas      { flex-direction: column; align-items: center; }
  .pricing-card   { padding: 36px 24px; }
  .footer-links   { flex-direction: column; gap: 24px; }
}
