:root {
  --bg: #07111f;
  --panel: #0d1727;
  --panel-soft: #111d31;
  --text: #e5edf7;
  --muted: #9eb0c8;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #f8fafc;
  --accent: #6ea8fe;
  --accent-2: #8b5cf6;
  --success: #22c55e;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

* {
  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;
  background:
    radial-gradient(circle at top left, rgba(110, 168, 254, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 20px;
}

.brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 28px;
  padding: 44px 0 40px;
  align-items: start;
}

.eyebrow,
.section-intro {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero h1,
.section h2 {
  margin: 0 0 16px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 14ch;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  max-width: 18ch;
}

.hero-text,
.section p,
.faq-item p,
.panel p,
.pricing-subtitle,
.pricing-fit {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 16px;
}

.hero-actions.centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
}

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

.button-full {
  width: 100%;
}

.hero-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card,
.panel,
.pricing-card,
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
  position: sticky;
  top: 18px;
}

.card-label,
.pricing-tier {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.hero-card ul,
.panel ul,
.pricing-card ul {
  margin: 0;
  padding-left: 20px;
}

.hero-card li,
.panel li,
.pricing-card li {
  margin-bottom: 10px;
  color: var(--text);
}

.section {
  padding: 70px 0 12px;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

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

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

.panel,
.pricing-card,
.faq-item {
  padding: 24px;
}

.panel h3,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.small-panel p {
  margin-bottom: 0;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.pricing-card {
  position: relative;
}

.pricing-card-featured {
  border-color: rgba(110, 168, 254, 0.45);
  background: linear-gradient(180deg, rgba(110,168,254,0.12), rgba(255,255,255,0.03));
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.pricing-subtitle {
  margin-top: 0;
}

.pricing-fit {
  margin: 18px 0 22px;
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.final-cta {
  text-align: center;
  padding-bottom: 24px;
}

.final-cta h2 {
  margin-left: auto;
  margin-right: auto;
}

/* ── Pricing stats row ────────────────────────────────────────────────────── */
.pricing-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.pricing-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.stat-n {
  font-family: Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-l {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── ROI anchor line ──────────────────────────────────────────────────────── */
.pricing-roi {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--accent);
  font-family: Inter, sans-serif;
  font-weight: 500;
}

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.testimonial-section {
  padding-bottom: 0;
}

.testimonial-grid {
  align-items: stretch;
}

.testimonial-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.testimonial-quote {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--muted);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 3px;
}

/* ── Single-product pricing layout ───────────────────────────────────────── */
.pricing-single-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.pricing-card-single {
  max-width: 600px;
  width: 100%;
}

.pricing-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin: 16px 0 8px;
}

.pricing-cta {
  margin-top: 24px;
}

/* ── Pricing guarantee note ───────────────────────────────────────────────── */
.pricing-guarantee {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── Author section ───────────────────────────────────────────────────────── */
.author-section {
  padding-bottom: 0;
}

.author-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-top: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.author-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  letter-spacing: 0.02em;
}

.author-body {
  flex: 1;
}

.author-name {
  font-size: 1.15rem !important;
  margin: 0 0 10px !important;
  letter-spacing: -0.01em;
  line-height: 1.2 !important;
}

.author-bio {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.author-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.9rem;
  text-decoration: none;
}

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

/* ── Email capture ────────────────────────────────────────────────────────── */
.email-section {
  padding-top: 48px;
  padding-bottom: 0;
}

.email-card {
  background: linear-gradient(135deg, rgba(110,168,254,0.1), rgba(139,92,246,0.08));
  border: 1px solid rgba(110,168,254,0.25);
  border-radius: 24px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.email-heading {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem) !important;
  margin: 0 !important;
}

.email-copy {
  max-width: 480px;
}

.email-copy p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 1rem;
}

.email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}

.email-input {
  flex: 1;
  min-width: 200px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}

.email-input::placeholder {
  color: var(--muted);
}

.email-input:focus {
  border-color: var(--accent);
}

.email-btn {
  white-space: nowrap;
}

.email-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 48px;
  text-align: center;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 920px) {
  .hero,
  .two-up,
  .three-up,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    position: static;
  }
}

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

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav {
    gap: 14px;
    flex-wrap: wrap;
  }

  .section,
  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    max-width: none;
  }

  .author-card {
    flex-direction: column;
    gap: 18px;
  }

  .email-card {
    padding: 28px 22px;
  }
}
