@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a26;
  --fg-primary: #e8e8f0;
  --fg-secondary: #8a8a9a;
  --fg-muted: #55556a;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.25);
  --red: #ff4757;
  --red-dim: rgba(255, 71, 87, 0.12);
  --amber: #ffa502;
  --amber-dim: rgba(255, 165, 2, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 229, 160, 0.2);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 120px 0 80px;
  text-align: left;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 680px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--fg-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-visual {
  position: relative;
}

.trade-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.trade-card .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.trade-card .pair {
  font-weight: 600;
  font-size: 15px;
  color: var(--fg-primary);
}

.trade-card .tag {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-long {
  background: var(--accent-dim);
  color: var(--accent);
}

.trade-card .row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: var(--fg-secondary);
}

.trade-card .row .value {
  color: var(--fg-primary);
}

.ai-insight {
  margin-top: 16px;
  padding: 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--fg-primary);
  line-height: 1.5;
}

.ai-insight .ai-label {
  color: var(--accent);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

/* ─── CONCEPTS ─── */
.concepts {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 600px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.concepts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.concept-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}

.concept-card:hover {
  border-color: var(--border-accent);
}

.concept-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.icon-green { background: var(--accent-dim); }
.icon-red { background: var(--red-dim); }
.icon-amber { background: var(--amber-dim); }

.concept-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.concept-card p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step {
  position: relative;
  padding: 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--fg-muted);
  line-height: 1;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ─── CLOSING ─── */
.closing {
  padding: 100px 0 80px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.closing h2 .highlight {
  color: var(--accent);
}

.closing p {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero { padding: 80px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .concepts-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}