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

:root {
  --bg: #0f0f1a;
  --bg-alt: #151525;
  --bg-card: #1a1a2e;
  --accent: #f5a623;
  --accent-dim: #c4831a;
  --accent-glow: rgba(245, 166, 35, 0.15);
  --cream: #f0ede4;
  --cream-dim: #b8b4a8;
  --text: #e8e5dc;
  --text-muted: #8a8878;
  --border: rgba(245, 166, 35, 0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

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;
}

em { font-style: italic; color: var(--accent); }

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

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(245, 166, 35, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 10px;
}

/* ===== HERO ===== */
.hero {
  padding: 100px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

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

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

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

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}

.proof-item { display: flex; flex-direction: column; }

.proof-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.proof-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.product-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.product-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateX(-4px);
}

.card-1 { transform: rotate(-0.5deg); }
.card-2 { transform: rotate(0.3deg); }
.card-3 { transform: rotate(-0.2deg); }

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-body { flex: 1; }

.card-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 2px;
}

.card-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.card-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-badge:has(+ .card-tag:contains("Hot")) {
  background: rgba(245, 166, 35, 0.15);
  color: var(--accent);
}

.product-card:nth-child(1) .card-badge { background: rgba(245,166,35,0.15); color: var(--accent); }
.product-card:nth-child(2) .card-badge { background: rgba(34,197,94,0.12); color: #22c55e; }
.product-card:nth-child(3) .card-badge { background: rgba(99,102,241,0.12); color: #818cf8; }

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ===== STATS BAND ===== */
.stats-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 40px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  flex: 1;
  padding: 0 32px;
}

.stat:first-child { padding-left: 0; }

.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

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

/* ===== SECTION SHARED ===== */
.section-header {
  margin-bottom: 60px;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* ===== CATEGORIES ===== */
.categories {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.cat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.cat-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-2px);
}

.cat-large { grid-column: span 2; }
.cat-wide { grid-column: span 2; }

.cat-icon { margin-bottom: 16px; }

.cat-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.cat-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== PROCESS ===== */
.process {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-alt);
  border-radius: 24px;
  margin-left: 40px;
  margin-right: 40px;
  max-width: calc(1200px + 80px);
  width: 100%;
}

.process .section-header { text-align: center; }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
}

.step {
  flex: 1;
  padding: 0 32px;
  text-align: center;
}

.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  margin-top: 28px;
  flex-shrink: 0;
}

.process-footer {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.process-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== MARGINS ===== */
.margins {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.margins-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 16px 0 24px;
}

.margins-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 48px;
}

.margin-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.margin-col-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.margin-bar {
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}

.margin-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

.margin-old .margin-fill { background: #6b7280; }
.margin-new .margin-fill { background: var(--accent); }

.margin-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.margin-old .margin-val { color: #9ca3af; }
.margin-new .margin-val { color: var(--accent); }

.margin-cons, .margin-pros {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.margin-cons li, .margin-pros li {
  font-size: 13px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.margin-cons li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: #6b7280; border-radius: 50%; }
.margin-pros li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.margin-cons li { color: #9ca3af; }
.margin-pros li { color: var(--text); }

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 80px 40px 100px;
  background: var(--bg-alt);
}

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

.quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 24px;
}

.manifesto-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 32px;
}

.manifesto-quote cite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-style: normal;
}

.cite-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
}

.cite-title {
  font-size: 12px;
  color: var(--text-muted);
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-large, .cat-wide { grid-column: span 2; }
  .stats-inner { flex-wrap: wrap; }
  .stat { flex: 0 0 45%; padding: 16px 0; }
  .stat-sep { display: none; }
  .process { margin-left: 0; margin-right: 0; border-radius: 0; }
  .process-steps { flex-direction: column; gap: 40px; }
  .step-connector { display: none; }
  .margin-comparison { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 24px 60px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-large, .cat-wide { grid-column: span 1; }
  .stats-band { padding: 28px 24px; }
  .categories, .margins { padding: 60px 24px; }
  .manifesto { padding: 60px 24px; }
  .footer { padding: 48px 24px 24px; }
}