/* ======================================
   StackHQ — Theme
   ====================================== */

:root {
  --bg: #08080C;
  --bg-alt: #0F0F14;
  --surface: #141418;
  --amber: #E8A317;
  --amber-dim: rgba(232, 163, 23, 0.15);
  --amber-glow: rgba(232, 163, 23, 0.07);
  --text: #F0EEE8;
  --text-muted: #7A7872;
  --border: rgba(240, 238, 232, 0.07);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::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;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 3px; }

/* ======================================
   NAVBAR
   ====================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(8, 8, 12, 0.8);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ======================================
   HERO
   ====================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, var(--amber-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-tagline {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 4px;
  padding: 6px 14px;
  letter-spacing: 0.5px;
}

/* Grid matrix */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.grid-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 320px;
}
.grid-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 10px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  transition: all 0.3s;
}
.grid-cell.glow {
  background: var(--amber-dim);
  border-color: rgba(232, 163, 23, 0.25);
  color: var(--amber);
  box-shadow: 0 0 20px rgba(232, 163, 23, 0.08);
}
.grid-cell:hover {
  background: var(--amber-dim);
  border-color: rgba(232, 163, 23, 0.3);
  transform: translateY(-2px);
}

/* ======================================
   STATS
   ====================================== */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 56px 40px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 140px;
  margin: 0 auto;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ======================================
   HOW IT WORKS
   ====================================== */
.how {
  padding: 100px 40px;
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 64px;
  max-width: 600px;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step { }
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--amber-dim);
  margin-bottom: 20px;
  line-height: 1;
}
.step-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.step-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ======================================
   MANIFESTO
   ====================================== */
.manifesto {
  padding: 100px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto-left .section-headline { margin-bottom: 0; }
.manifesto-right p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 20px;
}
.manifesto-right p:last-child { margin-bottom: 0; }

/* ======================================
   CLOSING
   ====================================== */
.closing {
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(232, 163, 23, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.closing-inner { max-width: 700px; margin: 0 auto; position: relative; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 28px;
  color: var(--text);
}
.closing-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.closing-statement {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.5px;
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.footer-tagline { font-size: 13px; color: var(--text-muted); }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }

/* ======================================
   FUNNEL — Content Funnel Landing Page
   ====================================== */
.funnel-page { background: var(--bg); min-height: 100vh; }

/* Funnel nav */
.funnel-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px; border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px); background: rgba(8, 8, 12, 0.85);
}
.funnel-nav-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.funnel-nav-logo { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--amber); letter-spacing: -0.5px; }

/* Hero */
.funnel-hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 24px 80px; position: relative; overflow: hidden;
}
.funnel-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, var(--amber-glow) 0%, transparent 70%);
  pointer-events: none;
}
.funnel-hero-inner { max-width: 960px; margin: 0 auto; width: 100%; text-align: center; position: relative; }
.funnel-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--amber); margin-bottom: 24px;
}
.funnel-headline {
  font-family: var(--font-display); font-size: clamp(40px, 7vw, 72px);
  font-weight: 800; line-height: 1.05; letter-spacing: -2px;
  color: var(--text); margin-bottom: 24px;
}
.funnel-subhead {
  font-size: 18px; color: var(--text-muted); line-height: 1.7;
  max-width: 560px; margin: 0 auto 40px;
}
.funnel-headline-highlight { color: var(--amber); }

/* Email form */
.funnel-form-wrap { max-width: 480px; margin: 0 auto; }
.funnel-form { display: flex; flex-direction: column; gap: 12px; }
.funnel-input {
  width: 100%; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-family: var(--font-body);
  font-size: 15px; outline: none; transition: border-color 0.2s;
}
.funnel-input::placeholder { color: var(--text-muted); }
.funnel-input:focus { border-color: var(--amber); }
.funnel-cta {
  width: 100%; padding: 14px 24px;
  background: var(--amber); border: none; border-radius: 8px;
  color: #08080C; font-family: var(--font-display); font-size: 15px;
  font-weight: 700; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.3px;
}
.funnel-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232, 163, 23, 0.3); }
.funnel-cta:active { transform: translateY(0); }
.funnel-fine-print { font-size: 12px; color: var(--text-muted); margin-top: 10px; text-align: center; }
.funnel-fine-print strong { color: var(--amber); }

/* Social proof */
.funnel-social-proof {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 32px; font-size: 13px; color: var(--text-muted);
}
.funnel-social-proof-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* Tool of the Week */
.funnel-tool-section { padding: 80px 24px; border-top: 1px solid var(--border); }
.funnel-tool-inner { max-width: 960px; margin: 0 auto; }
.funnel-tool-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); margin-bottom: 48px; text-align: center; }
.funnel-tool-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; display: grid;
  grid-template-columns: 1fr 1fr; gap: 0;
}
.funnel-tool-visual {
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  padding: 48px; min-height: 280px; position: relative; overflow: hidden;
}
.funnel-tool-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, var(--amber-glow) 0%, transparent 70%);
}
.funnel-tool-visual img { width: 100%; max-width: 320px; border-radius: 12px; object-fit: cover; position: relative; }
.funnel-tool-info { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.funnel-tool-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--amber); border: 1px solid var(--amber);
  border-radius: 4px; padding: 4px 12px; margin-bottom: 20px; width: fit-content;
}
.funnel-tool-name { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 12px; letter-spacing: -0.5px; }
.funnel-tool-tagline { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }
.funnel-tool-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.funnel-tool-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.funnel-tool-features li::before { content: '✓'; color: var(--amber); font-weight: 700; flex-shrink: 0; }
.funnel-tool-price { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--amber); margin-bottom: 6px; }
.funnel-tool-price-note { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.funnel-tool-cta {
  display: inline-block; padding: 12px 28px;
  background: var(--amber); border-radius: 8px;
  color: #08080C; font-family: var(--font-display); font-size: 14px;
  font-weight: 700; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
  width: fit-content;
}
.funnel-tool-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232, 163, 23, 0.3); }

/* Success state */
.funnel-success { text-align: center; padding: 60px 24px; }
.funnel-success-icon { font-size: 48px; margin-bottom: 16px; }
.funnel-success h2 { font-family: var(--font-display); font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.funnel-success p { color: var(--text-muted); font-size: 16px; }

/* Responsive */
@media (max-width: 768px) {
  .funnel-tool-card { grid-template-columns: 1fr; }
  .funnel-tool-visual { min-height: 200px; padding: 32px; }
  .funnel-tool-info { padding: 32px; }
}

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-content: flex-start; }
  .grid-matrix { width: 100%; }
  .stats { padding: 48px 20px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-divider { display: none; }
  .stat { text-align: left; }
  .how { padding: 80px 20px; }
  .step-grid { grid-template-columns: 1fr; gap: 48px; }
  .manifesto { padding: 80px 20px; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .closing { padding: 80px 20px; }
  .footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .hero-headline { font-size: 44px; }
}