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

:root {
  --bg: #0d0f12;
  --bg-2: #13161c;
  --bg-3: #1a1e27;
  --fg: #e8e9ec;
  --fg-muted: #8b8e99;
  --accent: #f59e0b;
  --accent-dim: #b47309;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,15,18,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--fg);
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  position: relative;
  padding: 80px 24px 96px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-block;
  border: 1px solid rgba(245,158,11,0.25);
  padding: 4px 14px;
  border-radius: 100px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-2);
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto;
}

.stat {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* === SECTION SHARED === */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 40px;
}

/* === TRADES === */
.trades {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}

.trades-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.trade-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.trade-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.trade-card:hover { background: var(--bg-3); }

.trade-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px;
  background: rgba(245,158,11,0.05);
}

.trade-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.trade-text p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* === PROBLEM === */
.problem {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.problem-body {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.problem-insight {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 10px;
  background: rgba(245,158,11,0.04);
}

.insight-bar {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
  min-height: 48px;
}

.insight-text {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.insight-text strong { color: var(--fg); }

/* comparison table */
.comparison {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.82rem;
}

.comp-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.comp-header .comp-col {
  padding: 12px 16px;
  font-weight: 600;
  color: var(--fg-muted);
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comp-header .highlight-col { color: var(--accent); }

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.comp-row:last-child { border-bottom: none; }
.comp-row:hover { background: rgba(255,255,255,0.02); }

.comp-col {
  padding: 14px 16px;
  color: var(--fg-muted);
  text-align: center;
  font-size: 0.875rem;
}

.comp-col.label-col { color: var(--fg); font-weight: 500; text-align: left; }
.comp-col.highlight-col { color: var(--accent); font-weight: 600; }

/* === MODEL === */
.model {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}

.model-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.model-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-2);
  transition: border-color 0.2s;
}

.model-card:hover { border-color: rgba(245,158,11,0.2); }

.model-card-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(245,158,11,0.15);
  line-height: 1;
  margin-bottom: 12px;
}

.model-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.model-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.model-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.model-target {
  text-align: center;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-2);
}

.target-equation {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.target-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--fg);
}

.target-x, .target-eq {
  font-size: 1.5rem;
  color: var(--fg-muted);
}

.target-result {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
}

.target-sub {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* === CLOSING === */
.closing {
  padding: 80px 24px 96px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing-bg-art {
  margin-bottom: 48px;
}

.closing-grid-art {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  height: 200px;
}

.art-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.05);
  position: absolute;
}

.center-node {
  border-color: var(--accent);
  background: var(--accent);
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.art-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--fg-muted);
  flex: 1;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(139,142,153,0.6);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-nav { display: none; }

  .hero { padding: 56px 20px 72px; }

  .hero-stats { flex-direction: column; }
  .stat-divider { width: 60px; height: 1px; }

  .trade-cards { grid-template-columns: 1fr; }
  .trade-card { border-right: none; }

  .problem-inner { grid-template-columns: 1fr; }
  .comp-header .comp-col:not(.label-col):not(.highlight-col),
  .comp-row .comp-col:not(.label-col):not(.highlight-col) { display: none; }
  .comp-header, .comp-row { grid-template-columns: 1fr auto; }
  .comp-col.highlight-col, .comp-col:nth-child(4) { display: block; }
  .comp-col:nth-child(2), .comp-col:nth-child(3) { display: none; }

  .model-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-wrap: wrap; }
  .footer-copy { width: 100%; }

  .closing-grid-art { height: 140px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 2rem; }
  .target-num, .target-result { font-size: 2.25rem; }
  .comp-header, .comp-row { grid-template-columns: 1fr; }
  .comp-col { text-align: left; }
  .comp-col.highlight-col { text-align: left; color: var(--accent); }
}