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

:root {
  --bg: #0a0f1e;
  --bg-2: #0d1426;
  --bg-3: #111827;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.07);
  --panel-3: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(59, 130, 246, 0.35);
  --text: #e2e8f4;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.15);
  --gold: #f59e0b;
  --gold-2: #fbbf24;
  --gold-soft: rgba(245, 158, 11, 0.15);
  --success: #10b981;
  --danger: #ef4444;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --shadow-blue: 0 16px 40px rgba(59, 130, 246, 0.2);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 40%);
}

a { color: inherit; }

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.page-shell-narrow {
  width: min(900px, calc(100% - 32px));
}

/* ── HERO ─────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.88fr);
  gap: 28px;
  padding: 48px 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 20, 40, 0.98) 100%);
  border: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -100px auto auto -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.14), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245,158,11,0.09), transparent 70%);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.hero-preview-card {
  position: relative;
  z-index: 1;
}

/* ── EYEBROW / LABELS ─────────────────────────────── */

.eyebrow,
.card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* ── PILLS ────────────────────────────────────────── */

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.mini-pill-blue {
  background: rgba(59,130,246,0.18);
  color: var(--accent-2);
  border-color: rgba(59,130,246,0.3);
}

/* ── TYPOGRAPHY ───────────────────────────────────── */

h1, h2, h3 {
  margin: 0 0 14px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  max-width: 16ch;
  color: #ffffff;
  letter-spacing: -0.02em;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f4;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.hero-lead {
  font-size: clamp(1.18rem, 2vw, 1.4rem);
  font-weight: 500;
  color: #cbd5e1;
  max-width: 20ch;
  line-height: 1.4;
}

.hero-support {
  max-width: 60ch;
  color: var(--muted);
}

/* ── HERO CTA ROW ─────────────────────────────────── */

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.hero-proof {
  font-size: 0.98rem;
  color: var(--muted);
}

/* ── HERO PROOF ROW ───────────────────────────────── */

.hero-proof-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-proof-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}

.hero-proof-price small {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-proof-text {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ── SAMPLE LINK ──────────────────────────────────── */

.sample-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
}

.sample-link:hover {
  text-decoration: underline;
}

/* ── HERO STATS ───────────────────────────────────── */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

/* ── CARDS (shared base) ──────────────────────────── */

.stat-card,
.feature-card,
.pricing-card,
.signup-form,
.sample-footer-card,
.proof-chip,
.hero-preview-card,
.callout,
.sample-content section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* portrait-card styles kept as empty shell (element removed from HTML) */
.portrait-card {
  display: none;
}

/* ── STAT CARDS ───────────────────────────────────── */

.stat-card {
  padding: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #f1f5f9;
}

.stat-card span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── HERO PREVIEW CARD ────────────────────────────── */

.hero-preview-card {
  padding: 24px;
  background: linear-gradient(160deg, rgba(30, 41, 70, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: var(--shadow-blue);
}

.preview-mail {
  margin-top: 14px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
}

.preview-topline {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 14px;
}

.preview-topline span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.preview-topline strong,
.preview-item strong {
  color: #f1f5f9;
  font-size: 0.95rem;
  line-height: 1.4;
}

.preview-block {
  display: grid;
  gap: 8px;
}

.preview-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 10px 0;
}

.preview-item p {
  margin: 5px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.preview-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.35), rgba(59,130,246,0.15));
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--accent-2);
  font-weight: 800;
  font-size: 0.9rem;
}

/* ── SECTIONS ─────────────────────────────────────── */

.section {
  margin-top: 20px;
  padding: 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.grid-two {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 24px;
  align-items: center;
}

/* ── CALLOUT ──────────────────────────────────────── */

.callout {
  padding: 26px;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.05));
  border: 1px solid rgba(59,130,246,0.22);
  border-radius: var(--radius);
}

.callout strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 10px;
}

.callout p {
  margin: 0;
  color: var(--muted);
}

/* ── FEATURE GRID ─────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.pricing-card,
.sample-footer-card,
.proof-chip {
  padding: 24px;
}

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.feature-card:hover {
  border-color: rgba(59,130,246,0.22);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25), 0 0 0 1px rgba(59,130,246,0.1);
}

.feature-card li,
.pricing-card li,
.topic-list li,
.sample-content li {
  color: var(--soft);
  margin-bottom: 10px;
}

.hero-card ul,
.feature-card ul,
.pricing-card ul,
.topic-list,
.sample-content ul {
  padding-left: 20px;
  margin: 0;
}

/* ── SAMPLE STRIP ─────────────────────────────────── */

.sample-strip {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

/* ── PROOF STRIP ──────────────────────────────────── */

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.proof-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
}

.proof-chip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
}

.proof-chip span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── PRICING ──────────────────────────────────────── */

.pricing {
  display: flex;
  justify-content: center;
}

.pricing-card {
  max-width: 500px;
  width: 100%;
  text-align: center;
  background: linear-gradient(160deg, rgba(20, 30, 60, 0.95) 0%, rgba(10, 18, 40, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: var(--shadow), 0 0 60px rgba(245,158,11,0.06);
  padding: 36px;
}

.price {
  margin: 12px 0 16px;
  font-size: clamp(3.2rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.price span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.18);
  color: var(--soft);
  font-size: 0.95rem;
  text-align: left;
}

.checkout-state {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── PRICING CTA ──────────────────────────────────── */

.pricing-cta-group {
  margin-top: 26px;
}

.pricing-cta-group .button {
  width: 100%;
}

/* ── SIGNUP ───────────────────────────────────────── */

.signup {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.signup-form {
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.signup-form label {
  display: block;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--soft);
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #4a5568;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(59,130,246,0.45);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
  background: rgba(255,255,255,0.08);
}

select option {
  background: #1a2340;
  color: var(--text);
}

/* ── BUTTONS ──────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(37,99,235,0.35), 0 4px 12px rgba(37,99,235,0.25);
}

.button-primary:hover {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  box-shadow: 0 20px 44px rgba(37,99,235,0.45), 0 4px 14px rgba(37,99,235,0.35);
}

.button-cta-big {
  min-height: 64px;
  padding: 0 36px;
  font-size: 1.12rem;
  font-weight: 800;
  box-shadow: 0 20px 50px rgba(37,99,235,0.38), 0 6px 16px rgba(37,99,235,0.28);
  letter-spacing: 0.01em;
}

.button-cta-big:hover {
  box-shadow: 0 24px 60px rgba(37,99,235,0.5), 0 8px 20px rgba(37,99,235,0.38);
}

.button-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.14);
}

.button-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── FORM STATUS ──────────────────────────────────── */

.form-status {
  margin-top: 14px;
  min-height: 24px;
  font-weight: 600;
}

.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

/* ── SIGNUP SIDECARD ──────────────────────────────── */

.signup-sidecard {
  margin-top: 22px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(59,130,246,0.07);
  border: 1px solid rgba(59,130,246,0.18);
}

.signup-sidecard strong {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 0.95rem;
}

.signup-sidecard ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.signup-sidecard li {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.92rem;
}

/* ── FOOTER STRIP ─────────────────────────────────── */

.footer-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
}

.footer-strip p {
  margin-top: 8px;
  font-size: 0.92rem;
}

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

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
  transition: color 120ms ease;
}

.footer-links a:hover {
  color: var(--accent-2);
}

/* ── SAMPLE PAGE ──────────────────────────────────── */

.sample-header {
  padding: 12px 0 24px;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-2);
}

.sample-content {
  display: grid;
  gap: 18px;
}

.sample-content section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 24px;
}

/* ── THANKS CARD ──────────────────────────────────── */

.thanks-card {
  text-align: center;
  padding: 56px 40px;
  background: rgba(255,255,255,0.04);
}

.thanks-card h1 {
  color: #ffffff;
  max-width: none;
}

/* ── TIP ──────────────────────────────────────────── */

.tip {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 14px;
  color: var(--soft);
}

/* ── SAMPLE FOOTER CARD ───────────────────────────── */

.sample-footer-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
}

/* ── RESPONSIVE ───────────────────────────────────── */

@media (max-width: 980px) {
  .hero,
  .grid-two,
  .signup,
  .feature-grid,
  .three-up,
  .proof-strip,
  .hero-stats,
  .portrait-card {
    grid-template-columns: 1fr;
  }

  .sample-strip {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 100%);
  }

  .hero,
  .section {
    padding: 24px 20px;
  }

  .hero-lead,
  h1 {
    max-width: none;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .pricing-card {
    padding: 26px 20px;
  }

  .price {
    font-size: 3rem;
  }
}
