/* ======================================
   HustleStack — Theme CSS
   ====================================== */

:root {
  --bg: #0D0D0D;
  --bg-2: #141414;
  --bg-3: #1C1C1C;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-glow: rgba(245, 158, 11, 0.25);
  --text: #F5F5F0;
  --text-2: #A8A8A0;
  --text-3: #666660;
  --border: rgba(245, 245, 240, 0.08);
  --border-amber: rgba(245, 158, 11, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
}

.logo-hustle { color: var(--amber); }
.logo-stack { color: var(--text); }

.nav-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid var(--border-amber);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 120px 32px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  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% 50%, black 40%, transparent 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left {}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

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

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.35s;
}

.headline-line { display: block; }

.headline-accent {
  display: block;
  color: var(--amber);
  -webkit-text-stroke: 0px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 420px;
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.5s;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.65s;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--amber);
  color: #0D0D0D;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #FBBF24;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--amber-glow);
}

.hero-meta {
  font-size: 12px;
  color: var(--text-3);
}

/* ===== CARD STACK ===== */
.hero-right {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards 0.7s;
}

.hustle-card-stack {
  position: relative;
  padding: 24px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  position: relative;
  transition: all 0.3s;
  cursor: default;
}

.card:hover {
  border-color: var(--border-amber);
  transform: translateX(4px);
  box-shadow: -4px 0 0 var(--amber);
}

.card-1 { animation: slideIn 0.5s ease forwards 0.9s; opacity: 0; }
.card-2 { animation: slideIn 0.5s ease forwards 1.1s; opacity: 0; }
.card-3 { animation: slideIn 0.5s ease forwards 1.3s; opacity: 0; }
.card-4 { animation: slideIn 0.5s ease forwards 1.5s; opacity: 0; }
.card-5 { animation: slideIn 0.5s ease forwards 1.7s; opacity: 0; }

.card-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-dim);
  border-radius: 2px;
  flex-shrink: 0;
}

.card-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.card-stat {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--amber);
  line-height: 1;
}

.card-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: var(--text-3);
  font-weight: 400;
}

.card-focus {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--amber-dim), transparent);
  border: 1px solid var(--border-amber);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--amber);
  margin-top: 16px;
  animation: fadeIn 0.6s ease forwards 2s;
  opacity: 0;
}

.focus-pulse {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.5s ease infinite;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s ease forwards 2.5s;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollLine 2s ease infinite;
}

/* ===== DECISION SECTION ===== */
.decision {
  padding: 120px 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-2);
  font-weight: 300;
}

.quiz-block {
  max-width: 640px;
  margin: 0 auto;
}

.quiz-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.quiz-step:nth-child(1) { animation-delay: 0.2s; }
.quiz-step:nth-child(2) { animation-delay: 0.4s; }
.quiz-step:nth-child(3) { animation-delay: 0.6s; }

.step-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--amber);
  line-height: 1;
  padding-top: 4px;
}

.step-q {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
}

.step-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.option-chip {
  padding: 8px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.option-chip.selected {
  background: var(--amber-dim);
  border-color: var(--amber);
  color: var(--amber);
}

.option-chip:hover {
  border-color: var(--text-3);
}

.step-result {
  padding: 20px;
  background: var(--bg-3);
  border-left: 3px solid var(--amber);
  border-radius: 0 2px 2px 0;
  animation: fadeIn 0.4s ease;
}

.result-badge {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.result-badge strong { color: var(--text); }

.result-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
}

.quiz-note {
  max-width: 640px;
  margin: 32px auto 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 20px;
  background: var(--amber-dim);
  border: 1px solid var(--border-amber);
  border-radius: 2px;
  font-size: 13px;
  color: var(--text-2);
}

.quiz-recommendation {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-3);
  border: 1px solid var(--border-amber);
  border-radius: 4px;
  animation: fadeUp 0.5s ease;
}

.rec-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.rec-badge-icon {
  font-size: 24px;
  line-height: 1;
}

.rec-badge-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.rec-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.rec-tagline {
  font-size: 14px;
  color: var(--amber);
  margin-bottom: 16px;
  font-weight: 500;
}

.rec-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 28px;
}

.rec-next {
  padding: 20px;
  background: var(--bg);
  border-left: 3px solid var(--amber);
  border-radius: 0 2px 2px 0;
  margin-bottom: 28px;
}

.rec-next-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.rec-next-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.rec-actions {
  display: flex;
  gap: 12px;
}

.rec-restart {
  font-size: 13px;
  padding: 10px 20px;
}

.note-icon {
  color: var(--amber);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* ===== HUSTLES TABLE ===== */
.hustles {
  padding: 120px 32px;
  background: var(--bg);
}

.hustle-table {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  padding: 14px 24px;
  background: var(--bg-3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  gap: 16px;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}

.table-row:hover { background: var(--bg-2); }

.table-row.featured {
  background: var(--amber-dim);
  border-left: 3px solid var(--amber);
}

.table-row.featured:hover { background: rgba(245, 158, 11, 0.15); }

.col-hustle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-badge {
  width: 28px;
  height: 28px;
  background: var(--amber);
  color: #0D0D0D;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
}

.table-row.featured .rank-badge {
  background: #fff;
}

.hustle-tag {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

.col-start, .col-earn, .col-time, .col-growth {
  font-size: 13px;
  color: var(--text-2);
}

.table-row.featured .col-start,
.table-row.featured .col-earn,
.table-row.featured .col-time,
.table-row.featured .col-growth {
  color: var(--amber);
  font-weight: 600;
}

.hustles-disclaimer {
  max-width: 960px;
  margin: 24px auto 0;
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
}

/* ===== NUMBERS ===== */
.numbers {
  padding: 120px 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  position: relative;
}

.numbers-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
}

.numbers-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.numbers-overline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  text-align: center;
}

.numbers-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  text-align: center;
  margin-bottom: 64px;
  letter-spacing: 0.02em;
}

.numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 48px;
}

.num-block {
  background: var(--bg);
  padding: 40px;
}

.num-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

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

.numbers-quote {
  text-align: center;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.numbers-quote blockquote {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-style: italic;
  color: var(--text);
  font-weight: 300;
  margin-bottom: 12px;
  quotes: "\201C" "\201D";
}

.numbers-quote blockquote::before { content: open-quote; }
.numbers-quote blockquote::after { content: close-quote; }

.numbers-quote cite {
  font-size: 13px;
  color: var(--text-3);
  font-style: normal;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 120px 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: start;
}

.manifesto-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.manifesto-body p {
  color: var(--text-2);
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.7;
}

.manifesto-body em { color: var(--text); font-style: normal; font-weight: 500; }

.manifesto-cta { margin-top: 32px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 1px solid var(--border-amber);
  color: var(--amber);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-ghost:hover {
  background: var(--amber-dim);
}

.manifesto-stats {
  padding-top: 16px;
}

.stat-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.stat-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.4;
}

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

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

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

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

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

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

.link-group {}

.link-heading {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--amber); }

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

.footer-copy, .footer-sub {
  font-size: 12px;
  color: var(--text-3);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-right {
    display: none;
  }

  .table-head { display: none; }

  .table-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .col-start, .col-earn, .col-time, .col-growth {
    font-size: 12px;
    display: inline;
  }

  .col-start::before { content: 'Startup: '; color: var(--text-3); }
  .col-earn::before { content: 'Earn: '; color: var(--text-3); }
  .col-time::before { content: 'Time: '; color: var(--text-3); }
  .col-growth::before { content: 'Ceiling: '; color: var(--text-3); }

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

  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .quiz-step { grid-template-columns: 32px 1fr; gap: 12px; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 20px 60px; }
  .hero-headline { font-size: 64px; }
  .btn-primary { padding: 12px 20px; font-size: 13px; }
  .section-title { font-size: 40px; }
  .num-value { font-size: 48px; }
  .stat-big { font-size: 40px; }
}