:root {
  --bg: #07070b;
  --surface: #0e0e18;
  --surface-2: #14141f;
  --surface-3: #1a1a28;
  --border: #1e1e30;
  --text: #e8e8f0;
  --text-muted: #6b6b88;
  --accent: #ccff00;
  --accent-dim: rgba(204, 255, 0, 0.12);
  --red: #ef4444;
  --blue: #3b82f6;
  --orange: #f97316;
  --green: #22c55e;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 0 40px; }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.nav-logo { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -0.5px; }
.logo-dot { color: var(--accent); }
.nav-tag { background: var(--accent-dim); border: 1px solid rgba(204,255,0,0.2); color: var(--accent); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; letter-spacing: 0.5px; text-transform: uppercase; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 40px 80px; position: relative; overflow: hidden; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(204,255,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(204,255,0,0.03) 1px, transparent 1px); background-size: 64px 64px; }
.hero-glow { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(204,255,0,0.06) 0%, transparent 70%); pointer-events: none; }
.hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.hero-eyebrow { margin-bottom: 24px; }
.eyebrow-tag { background: var(--accent-dim); border: 1px solid rgba(204,255,0,0.2); color: var(--accent); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 99px; letter-spacing: 1px; text-transform: uppercase; }
.hero-headline { font-family: var(--font-display); font-size: clamp(52px, 6vw, 80px); font-weight: 700; line-height: 1.05; letter-spacing: -2px; margin-bottom: 28px; background: linear-gradient(135deg, var(--text) 0%, #a0a0c0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 17px; color: var(--text-muted); line-height: 1.7; max-width: 420px; margin-bottom: 40px; }

/* Card Stack */
.hero-card-stack { position: relative; width: 320px; height: 360px; }
.hunch-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: absolute; width: 300px; box-shadow: 0 32px 64px rgba(0,0,0,0.4); }
.hero-main-card { z-index: 3; top: 20px; left: 10px; transform: rotate(-2deg); }
.hero-back-card { z-index: 2; top: 60px; left: 40px; transform: rotate(1.5deg); opacity: 0.6; }
.hero-back-card-2 { z-index: 1; top: 100px; left: 70px; transform: rotate(3deg); opacity: 0.3; }
.card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.card-company-dot { width: 10px; height: 10px; border-radius: 50%; background: #8b5cf6; }
.card-company { font-weight: 600; font-size: 14px; }
.card-location { font-size: 12px; color: var(--text-muted); margin-left: auto; }
.card-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.card-score-ring { width: 52px; height: 52px; margin-bottom: 4px; }
.score-svg { width: 52px; height: 52px; }
.score-num { font-family: var(--font-display); font-size: 18px; font-weight: 700; position: relative; top: -36px; left: 14px; color: var(--accent); }
.card-score-label { font-size: 12px; color: var(--text-muted); }
.card-actions { display: flex; gap: 8px; margin-top: 16px; }
.btn-skip, .btn-save, .btn-tailor { border: none; border-radius: var(--radius-sm); padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: all 0.15s; }
.btn-skip { background: var(--surface-2); color: var(--text-muted); }
.btn-save { background: var(--accent); color: #000; }
.btn-tailor { background: var(--surface-3); color: var(--text); border: 1px solid var(--border); }

/* Sections */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 100px 40px; }
.section-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 16px; }
.section-headline { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 20px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 560px; line-height: 1.7; }

/* Problem */
.problem { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--red); margin-bottom: 16px; }
.problem-headline { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 60px; }
.problem-stats { display: flex; gap: 0; align-items: stretch; margin-bottom: 48px; }
.stat-block { flex: 1; padding: 0 40px 0 0; }
.stat-num { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.stat-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.stat-divider { width: 1px; background: var(--border); margin: 0 40px; flex-shrink: 0; }
.problem-cta { border-top: 1px solid var(--border); padding-top: 32px; }
.problem-cta p { color: var(--text-muted); font-size: 16px; }
.problem-cta-highlight { color: var(--text) !important; font-weight: 600; font-size: 18px; margin-top: 8px; }

/* Score breakdown */
.scorebreakdown { background: var(--bg); }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.score-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.score-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.score-metric { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.score-name { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.score-detail { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Swipe section */
.swipe-section { background: var(--surface); border-top: 1px solid var(--border); }
.swipe-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.swipe-features { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.swipe-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-muted); }
.demo-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: 0 24px 48px rgba(0,0,0,0.3); }
.demo-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.demo-role { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.demo-company { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.demo-tag { background: var(--accent-dim); color: var(--accent); font-size: 11px; padding: 2px 8px; border-radius: 99px; }
.demo-score-circle { position: relative; width: 56px; height: 56px; }
.demo-svg { width: 56px; height: 56px; }
.demo-score-num { font-family: var(--font-display); font-size: 16px; font-weight: 700; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: var(--accent); }
.demo-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.badge { font-size: 11px; padding: 4px 10px; border-radius: 99px; font-weight: 500; }
.badge-green { background: rgba(34,197,94,0.15); color: var(--green); }
.badge-red { background: rgba(239,68,68,0.15); color: var(--red); }
.demo-actions { display: flex; gap: 8px; }
.demo-btn { border: none; border-radius: var(--radius-sm); padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: all 0.15s; }
.demo-btn-skip { background: var(--surface-3); color: var(--text-muted); }
.demo-btn-save { background: var(--accent); color: #000; }
.demo-btn-tailor { background: var(--surface-3); color: var(--text); border: 1px solid var(--border); }

/* Tailor section */
.tailor { background: var(--bg); }
.tailor-comparison { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin: 40px 0 24px; }
.tailor-col-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.before { color: var(--text-muted); }
.after { color: var(--accent); }
.tailor-doc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.tailor-doc-highlight { border-color: rgba(204,255,0,0.3); background: rgba(204,255,0,0.03); }
.doc-line { height: 10px; background: var(--surface-2); border-radius: 4px; margin-bottom: 10px; }
.doc-highlight-line { background: rgba(204,255,0,0.12); }
.doc-meta { font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.doc-meta-green { color: var(--accent); }
.tailor-arrow { display: flex; align-items: center; justify-content: center; }
.tailor-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.t-tag { background: var(--accent-dim); color: var(--accent); font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 99px; border: 1px solid rgba(204,255,0,0.2); }
.tailor-note { font-size: 13px; color: var(--text-muted); font-style: italic; }

/* Tracker */
.tracker { background: var(--surface); border-top: 1px solid var(--border); }
.tracker-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pipeline { display: flex; gap: 0; align-items: flex-start; }
.pipeline-col { padding: 20px; }
.pipeline-header { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px; }
.pipeline-count { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.pipeline-items { display: flex; flex-direction: column; gap: 6px; }
.pipeline-item { font-size: 12px; color: var(--text-muted); padding: 6px 0; border-bottom: 1px solid var(--border); }
.pipeline-arrow { padding-top: 40px; }

/* Closing */
.closing { position: relative; overflow: hidden; }
.closing-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(204,255,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(204,255,0,0.03) 1px, transparent 1px); background-size: 64px 64px; }
.closing-glow { position: absolute; bottom: -30%; left: 50%; transform: translateX(-50%); width: 800px; height: 400px; background: radial-gradient(circle, rgba(204,255,0,0.05) 0%, transparent 70%); pointer-events: none; }
.closing-inner { text-align: center; position: relative; }
.closing-headline { font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -2px; margin-bottom: 24px; }
.closing-sub { font-size: 18px; color: var(--text-muted); max-width: 500px; margin: 0 auto 40px; line-height: 1.7; }
.closing-features { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.closing-feat { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-muted); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-logo { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.footer-links { display: flex; justify-content: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; cursor: pointer; }
.footer-sep { color: var(--border); }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card-stack { margin: 0 auto; }
  .hero-headline { font-size: 44px; }
  .score-grid { grid-template-columns: repeat(2, 1fr); }
  .swipe-inner, .tracker-inner { grid-template-columns: 1fr; gap: 40px; }
  .problem-stats { flex-direction: column; }
  .stat-divider { display: none; }
  .stat-block { padding: 0 0 24px; }
  .tailor-comparison { grid-template-columns: 1fr; }
  .tailor-arrow { transform: rotate(90deg); }
  .pipeline { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .section-inner { padding: 60px 20px; }
  .score-grid { grid-template-columns: 1fr; }
  .hero-card-stack { transform: scale(0.85); transform-origin: center; }
  .hero-main-card { left: 0; }
}