:root {
  --bg: #08080C;
  --bg-2: #0E0E18;
  --fg: #F0F0F8;
  --fg-muted: #8888A0;
  --accent: #00E896;
  --accent-dim: rgba(0,232,150,0.12);
  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(0,232,150,0.25);
}

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

html { scroll-behavior: smooth; }

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

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(8,8,12,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.nav-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 80px 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  filter: saturate(0.6) hue-rotate(140deg);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 32px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.eyebrow-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-headline {
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 13px; color: var(--fg-muted); max-width: 120px; line-height: 1.4; }
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* SHARED SECTION */
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 64px;
}

/* HOW IT WORKS */
.hiw { padding: 100px 80px; background: var(--bg-2); }
.hiw-inner { max-width: 1100px; margin: 0 auto; }
.hiw-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.hiw-step {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}
.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.step-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-body p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.hiw-arrow {
  width: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hiw-arrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--border-accent);
}

/* FEATURES */
.features { padding: 100px 80px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-2); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* OUTCOMES */
.outcomes { padding: 80px; background: var(--bg-2); }
.outcomes-inner { max-width: 1100px; margin: 0 auto; }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.outcome {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}
.outcome-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.outcome-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* CLOSING */
.closing { padding: 120px 80px; }
.closing-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.closing-headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* FOOTER */
.footer { padding: 48px 80px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.footer-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}
.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { padding: 120px 32px 80px; }
  .hiw, .features, .outcomes, .closing, .footer { padding: 80px 32px; }
  .hiw-steps { flex-direction: column; }
  .hiw-arrow { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
/* APP PAGES */
.page-container {
  padding: 120px 40px 60px;
  max-width: 900px;
  margin: 0 auto;
}
.page-header { margin-bottom: 40px; }
.page-title { font-size: 32px; font-weight: 600; color: var(--fg); margin-bottom: 8px; }
.page-sub { color: var(--fg-muted); font-size: 15px; }

/* FORM */
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--fg-muted); margin-bottom: 8px; letter-spacing: 0.03em; text-transform: uppercase; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--border-accent);
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--fg-muted); margin-top: 6px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #08080C;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
}
.btn-secondary:hover { background: rgba(0,232,150,0.2); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* CARDS */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}
.card-title { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.card-meta { font-size: 13px; color: var(--fg-muted); margin-bottom: 16px; }
.card-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
}
.status-pending { background: rgba(255,200,0,0.1); color: #ffc800; border: 1px solid rgba(255,200,0,0.2); }
.status-completed { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--border-accent); }
.status-generating { background: rgba(100,100,255,0.1); color: #8888ff; border: 1px solid rgba(100,100,255,0.2); }

/* COPY VARIATIONS */
.copy-grid { display: grid; gap: 16px; }
.copy-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.copy-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.copy-channel { font-size: 12px; color: var(--fg-muted); margin-left: 8px; }
.copy-headline { font-size: 20px; font-weight: 600; margin-bottom: 8px; color: var(--fg); }
.copy-desc { font-size: 15px; color: var(--fg-muted); margin-bottom: 12px; line-height: 1.5; }
.copy-cta {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}
.copy-notes { font-size: 13px; color: var(--fg-muted); font-style: italic; }
.copy-platform {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.copy-platform-label { font-size: 12px; color: var(--fg-muted); margin-bottom: 4px; font-weight: 500; }
.copy-platform-text { font-size: 14px; color: var(--fg); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.empty-state-desc { color: var(--fg-muted); margin-bottom: 24px; }

/* LOADING */
.loading { display: flex; align-items: center; gap: 12px; color: var(--fg-muted); padding: 20px; }
.loading-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s infinite ease-in-out; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }

/* RESEARCH INSIGHTS */
.research-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.insight-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.insight-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg-muted); margin-bottom: 8px; }
.insight-text { font-size: 14px; color: var(--fg); }
.insight-list { list-style: none; padding: 0; }
.insight-list li { font-size: 13px; color: var(--fg-muted); padding: 4px 0; padding-left: 16px; position: relative; }
.insight-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }

/* NAV LINKS */
.nav-link { font-size: 14px; color: var(--fg-muted); text-decoration: none; padding: 6px 12px; border-radius: 6px; transition: all 0.2s; margin-left: 8px; }
.nav-link:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
.nav-link-cta { color: var(--accent); border: 1px solid var(--border-accent); }
.nav-link-cta:hover { background: var(--accent-dim); }

/* ONBOARDING */
.onboarding-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 40px 60px;
}
.onboarding-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  position: relative;
}
.progress-step::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 14px;
  width: 32px;
  height: 1px;
  background: var(--border);
}
.progress-step:last-child::after { display: none; }
.progress-step.done::after,
.progress-step.active::after { background: var(--border-accent); }
.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--fg-muted);
}
.progress-step.active .step-dot {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
}
.progress-step.done .step-dot {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
}
.step-label { font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.progress-step.active .step-label { color: var(--accent); }

.onboarding-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 48px 40px;
  width: 100%;
  max-width: 560px;
}
.onboarding-icon { font-size: 48px; margin-bottom: 20px; text-align: center; }
.onboarding-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.onboarding-desc { color: var(--fg-muted); font-size: 15px; line-height: 1.6; margin-bottom: 28px; }
.onboarding-time { font-size: 13px; color: var(--fg-muted); margin: 20px 0; }
.onboarding-actions { display: flex; align-items: center; margin-top: 24px; }

.onboarding-steps-preview { margin: 20px 0; }
.preview-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; color: var(--fg-muted); }
.preview-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* PLATFORM CARDS (connect step) */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.platform-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s;
}
.platform-card:hover { border-color: var(--border-accent); }

/* DASHBOARD STATS */
.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.stat-value { font-size: 36px; font-weight: 700; font-family: 'JetBrains Mono', monospace; color: var(--accent); margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* GHOST BUTTON */
.btn-ghost { background: transparent; color: var(--fg-muted); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); color: var(--fg); }

@media (max-width: 480px) {
  .hero-headline { font-size: 44px; }
  .hero-sub { font-size: 16px; }
  .section-title { font-size: 28px; }
  .page-container { padding: 100px 20px 40px; }
  .research-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .onboarding-card { padding: 32px 24px; }
  .onboarding-progress { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .progress-step::after { display: none; }
}