/* ═══════════════════════════════════════════
   TradeStack Design System
   Dark industrial aesthetic — amber on charcoal
   Fonts: Syne (headings) + Outfit (body)
   ═══════════════════════════════════════════ */

:root {
  --bg: #0F0F0F;
  --surface: #1A1A1A;
  --surface-alt: #242424;
  --accent: #F59E0B;
  --accent-dim: rgba(245,158,11,0.12);
  --accent-glow: rgba(245,158,11,0.25);
  --text: #FAFAFA;
  --text-dim: #A1A1A1;
  --text-muted: #666666;
  --border: rgba(255,255,255,0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --max-w: 1200px;
  --section-pad: clamp(80px, 10vw, 120px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark { color: var(--accent); font-size: 14px; }

.nav-tag {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ── Hero ── */
.hero {
  padding: 80px 48px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.hero-badge {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(245,158,11,0.2);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-cta-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 8px;
}

.hero-cta-detail {
  font-size: 13px;
  color: var(--text-muted);
}

/* Hero Visual — network flow diagram */
.hero-right { position: relative; }

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.15);
}

.visual-ring-1 { width: 320px; height: 320px; }
.visual-ring-2 { width: 240px; height: 240px; border-color: rgba(245,158,11,0.25); }
.visual-ring-3 { width: 160px; height: 160px; border-color: rgba(245,158,11,0.4); }

.visual-center {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(245,158,11,0.15);
  z-index: 2;
}

.center-icon { font-size: 18px; color: #000; }
.center-label { font-size: 9px; font-weight: 700; color: #000; letter-spacing: 0.05em; text-transform: uppercase; }

.visual-pulse {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.15;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.4); opacity: 0.05; }
}

.visual-node {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  z-index: 3;
}

.node-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}

.node-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.vn-1 { top: 20px; left: 50%; transform: translateX(-50%); }
.vn-2 { bottom: 20px; left: 20px; }
.vn-3 { top: 50%; right: 20px; transform: translateY(-50%); }
.vn-4 { top: 20px; right: 20px; }

/* ── Stats ── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 48px;
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.stat { flex: 1; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Problem ── */
.problem {
  padding: var(--section-pad) 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.problem-header { margin-bottom: 56px; }

.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 640px;
  line-height: 1.15;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.problem-card {
  background: var(--surface);
  padding: 36px;
}

.problem-icon {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
}

.problem-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.problem-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Solution ── */
.solution {
  padding: var(--section-pad) 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--surface);
  border-radius: 24px;
  margin-left: 48px;
  margin-right: 48px;
  width: calc(100% - 96px);
  max-width: calc(1200px - 96px);
}

.solution-header { margin-bottom: 56px; }

.solution-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 600px;
  line-height: 1.15;
}

.solution-steps {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.step {
  flex: 1;
  padding: 32px;
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.step-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 20px;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.step-connector {
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.step-connector::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Outcomes ── */
.outcomes {
  padding: var(--section-pad) 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.outcome-header { padding-right: 40px; }

.outcome-headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.outcome-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.outcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.6;
}

.outcome-stat {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.outcome-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.outcome-body {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ── Closing ── */
.closing {
  padding: var(--section-pad) 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.closing-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 40px;
}

.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 20px 40px;
  display: inline-block;
  background: var(--accent-dim);
}

/* ── Footer ── */
.footer {
  padding: 60px 48px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-col-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 8px;
  cursor: default;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-built { font-size: 12px; color: var(--text-muted); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .hero { padding: 60px 24px 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { display: none; }
  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-divider { width: 60px; height: 1px; }
  .problem-grid { grid-template-columns: 1fr; }
  .solution { margin-left: 24px; margin-right: 24px; width: calc(100% - 48px); max-width: calc(100% - 48px); padding: 60px 24px; }
  .solution-steps { flex-direction: column; gap: 16px; }
  .step-connector { display: none; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 38px; }
  .closing-statement { font-size: 16px; padding: 16px 28px; }
}