@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --text: #0f172a;
  --muted: #64748b;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --green: #059669;
  --green-soft: #ecfdf5;
  --gold: #d97706;
  --gold-soft: #fffbeb;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.nav__logo { font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.nav__logo span { color: var(--blue); }
.nav__links { display: flex; gap: 24px; align-items: center; font-size: 0.9rem; font-weight: 500; }
.nav__links a { color: var(--muted); text-decoration: none; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.nav__cta:hover { background: var(--blue-dark) !important; color: #fff !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 48px 24px; }
.wrap--narrow { max-width: 720px; }

/* Hero */
.hero {
  text-align: center;
  padding: 56px 24px 48px;
  max-width: 820px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}
.hero .lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 620px;
  line-height: 1.7;
}
.hero .lead strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
}
.trust-pill--green { background: var(--green-soft); border-color: #a7f3d0; color: var(--green); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 12px;
}
.lead { color: var(--muted); margin-bottom: 28px; max-width: 560px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost {
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--green { background: var(--green); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: 8px 14px; font-size: 0.85rem; border-radius: 8px; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }

/* Cards & grid */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card--pop {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow);
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.9rem; }
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.section { padding: 56px 24px; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section__head h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.section__head p { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--max); margin: 0 auto; }
.step-card { text-align: center; padding: 24px 16px; }
.step-num {
  width: 36px; height: 36px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.compare-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.compare-item {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.compare-item--win {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.compare-item .price-tag { font-size: 1.75rem; font-weight: 800; margin: 8px 0; }
.compare-item .label { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

.price { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; }
.stat { font-size: 1.8rem; font-weight: 800; color: var(--green); }
ul.features { list-style: none; margin: 16px 0; text-align: left; }
ul.features li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 6px 0 6px 24px;
  position: relative;
}
ul.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Forms */
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 8px;
  font: inherit;
  margin-bottom: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
textarea {
  min-height: 320px;
  font-size: 0.84rem;
  line-height: 1.55;
  resize: vertical;
  font-family: ui-monospace, "SF Mono", monospace;
}
.check-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.check-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
}
.check-row label:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.check-row input { width: auto; margin: 0; accent-color: var(--blue); }

/* App wizard */
.app-shell { max-width: var(--max); margin: 0 auto; padding: 24px; }
.app-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.app-header h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.app-header p { color: var(--muted); font-size: 0.95rem; }

.wizard-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.wizard-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.preview-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 88px;
}
.preview-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.preview-panel__head h2 { font-size: 1rem; font-weight: 700; }

.wizard-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.wizard-progress__step {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
}
.wizard-progress__step.is-done { background: var(--green); }
.wizard-progress__step.is-active { background: var(--blue); }

.wizard-step { display: none; }
.wizard-step.is-active { display: block; }
.wizard-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.wizard-step .hint { color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }
.wizard-nav { display: flex; gap: 10px; margin-top: 8px; }

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  background: var(--bg-soft);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.tab {
  padding: 8px 14px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.tab.is-active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.tab .badge-free { color: var(--green); font-size: 0.7rem; margin-left: 4px; }
.tab .badge-pro { color: var(--gold); font-size: 0.7rem; margin-left: 4px; }

.output-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.lock-msg { font-size: 0.85rem; color: var(--green); font-weight: 600; margin-top: 12px; }

.pay-card {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--blue-soft), var(--green-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.pay-card h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }

.upsell-banner {
  background: var(--gold-soft);
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
  display: none;
}
.upsell-banner.is-visible { display: block; }

.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.faq-item p { color: var(--muted); font-size: 0.9rem; }

.footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.footer a { color: var(--muted); margin: 0 8px; }
.footer a:hover { color: var(--blue); }

.passive-box, .proof, .growth-block { /* legacy compat */ }
.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--muted); }

@media (max-width: 900px) {
  .wizard-layout { grid-template-columns: 1fr; }
  .preview-panel { position: static; }
  .grid-2, .grid-3, .grid-4, .steps, .compare-bar { grid-template-columns: 1fr; }
  .nav__links a:not(.nav__cta) { display: none; }
}
