/* ═══════════════════════════════════════════════
   Reven Landing — Shared Stylesheet
   Dark-first (matches the app); light via OS or toggle.
   Brand: indigo accent (#6366f1) on near-black navy.
   ═══════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  /* Dark theme (default) — mirrors the app's app.scss palette */
  --bg-body-from: #0b0f17;
  --bg-body-via: #0d1320;
  --bg-body-to: #111827;
  --bg-card: rgba(30, 41, 59, 0.55);
  --bg-card-solid: #111827;
  --card-backdrop: blur(8px);
  --card-shadow: none;
  --border-card: rgba(51, 65, 85, 0.5);
  --nav-bg: rgba(11, 15, 23, 0.85);
  --nav-border: rgba(51, 65, 85, 0.45);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --brand: #6366f1;
  --brand-light: #818cf8;
  --brand-strong: #4f46e5;
  --brand-glow: rgba(99, 102, 241, 0.35);
  --brand-wash: rgba(99, 102, 241, 0.12);
  --ok: #34d399;
  --radius: 1rem;
  --max-w: 1100px;
  --theme-color: #0b0f17;
}

/* Light theme — OS preference (no JS / no saved pref) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg-body-from: #eef1f6;
    --bg-body-via: #f4f7fb;
    --bg-body-to: #e9edf3;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-solid: #ffffff;
    --card-backdrop: none;
    --card-shadow: 0 2px 16px rgba(15, 23, 42, 0.07), 0 1px 4px rgba(15, 23, 42, 0.04);
    --border-card: rgba(15, 23, 42, 0.08);
    --nav-bg: rgba(238, 241, 246, 0.92);
    --nav-border: rgba(15, 23, 42, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --brand: #4f46e5;
    --brand-light: #6366f1;
    --brand-strong: #4338ca;
    --brand-glow: rgba(79, 70, 229, 0.2);
    --brand-wash: rgba(79, 70, 229, 0.1);
    --theme-color: #eef1f6;
  }
}

/* Light theme — explicit (data-theme="light") */
[data-theme="light"] {
  --bg-body-from: #eef1f6;
  --bg-body-via: #f4f7fb;
  --bg-body-to: #e9edf3;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-solid: #ffffff;
  --card-backdrop: none;
  --card-shadow: 0 2px 16px rgba(15, 23, 42, 0.07), 0 1px 4px rgba(15, 23, 42, 0.04);
  --border-card: rgba(15, 23, 42, 0.08);
  --nav-bg: rgba(238, 241, 246, 0.92);
  --nav-border: rgba(15, 23, 42, 0.08);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --brand: #4f46e5;
  --brand-light: #6366f1;
  --brand-strong: #4338ca;
  --brand-glow: rgba(79, 70, 229, 0.2);
  --brand-wash: rgba(79, 70, 229, 0.1);
  --theme-color: #eef1f6;
}

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

/* ── Base ── */
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: linear-gradient(
    160deg,
    var(--bg-body-from) 0%,
    var(--bg-body-via) 45%,
    var(--bg-body-to) 100%
  );
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* ── Layout Utilities ── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section {
  padding: 5rem 1.5rem;
  text-align: center;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 660px;
  margin: 0 auto 3rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-light);
  margin-bottom: 1rem;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  background: var(--brand-wash);
}

/* ── CTA Buttons ── */
.cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 15px var(--brand-glow);
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--brand-glow);
}
.cta-small {
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 50px;
}
.cta-outline {
  background: transparent;
  color: var(--brand-light);
  border: 1.5px solid var(--brand);
  box-shadow: none;
}
.cta-outline:hover {
  background: var(--brand-wash);
  box-shadow: none;
}

/* ── Card Base ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: var(--card-backdrop);
  -webkit-backdrop-filter: var(--card-backdrop);
  box-shadow: var(--card-shadow);
  text-align: left;
}

/* ── Header / Nav ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
}
nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}
.nav-logo {
  width: 2rem;
  height: 2rem;
}
.nav-name {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Mobile Nav Toggle ── */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  padding: 0.35rem;
  flex-shrink: 0;
}
.nav-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
  transform-origin: center;
}
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Theme Toggle ── */
.theme-toggle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  padding: 0;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--text-muted);
}
.theme-toggle svg {
  width: 1rem;
  height: 1rem;
  pointer-events: none;
}

/* ── Hero ── */
#hero {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
#hero .hero-inner {
  max-width: 820px;
}
.hero-logo {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.5rem;
}
#hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
#hero h1 .accent {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}
.hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Waitlist Form ── */
.waitlist {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.waitlist-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.waitlist input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-card);
  border-radius: 0.65rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.waitlist input::placeholder {
  color: var(--text-muted);
}
.waitlist input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-wash);
}
.waitlist input.full {
  grid-column: 1 / -1;
}
/* honeypot — hidden from real users, catches bots */
.waitlist .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.waitlist button {
  width: 100%;
  margin-top: 0.25rem;
  border: none;
  cursor: pointer;
}
.waitlist-msg {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  text-align: center;
  min-height: 1.4rem;
}
.waitlist-msg.error {
  color: #f87171;
}
.waitlist-msg.success {
  color: var(--ok);
}
.waitlist.is-done .waitlist-row,
.waitlist.is-done button {
  display: none;
}
.waitlist-fineprint {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Problem / pain row ── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
/* Four cards read better as a 2×2 than as 3 + 1 orphan. */
.pain-grid--four {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}
.pain-card {
  text-align: center;
}
.pain-card .pain-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.85rem;
  color: var(--brand-light);
}
.pain-card .pain-icon svg {
  width: 100%;
  height: 100%;
}
.pain-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.pain-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ── Pillar (feature) rows with screenshot ── */
.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto 5rem;
  text-align: left;
}
.pillar:last-child {
  margin-bottom: 0;
}
.pillar.reverse .pillar-media {
  order: -1;
}
.pillar-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-light);
  margin-bottom: 0.75rem;
}
.pillar h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.pillar > div > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.pillar-points {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.pillar-points li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
}
.pillar-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--brand-wash);
  border: 1.5px solid var(--brand);
}
.pillar-points li::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.68rem;
  width: 0.32rem;
  height: 0.16rem;
  border-left: 2px solid var(--brand-light);
  border-bottom: 2px solid var(--brand-light);
  transform: rotate(-45deg);
}

/* Screenshot frame */
.shot {
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    var(--card-shadow);
  overflow: hidden;
}
.shot-chrome {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border-card);
  background: var(--bg-card-solid);
}
.shot-chrome span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--border-card);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
/* placeholder when no screenshot supplied yet */
.shot-placeholder {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 14px,
    var(--brand-wash) 14px,
    var(--brand-wash) 15px
  );
}

/* ── Integrations ── */
.integrations-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
.integration {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--border-card);
  border-radius: 50px;
  background: var(--bg-card);
  font-weight: 600;
  font-size: 0.95rem;
}
.integration .badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-light);
  background: var(--brand-wash);
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
}
.integration .badge.soon {
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-card);
}

/* ── Audience / Use-case Grid ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.audience-card {
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.audience-card:visited {
  color: inherit;
}
a.audience-card:hover {
  transform: translateY(-4px);
}
.audience-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-light);
  margin-bottom: 0.75rem;
}
.audience-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.audience-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.audience-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-light);
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.pricing-grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow:
    0 0 0 1px var(--brand),
    0 20px 50px rgba(0, 0, 0, 0.3);
}
.price-tag {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}
.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.price-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.25rem;
}
.price-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.price-card .price-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.price-features {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-light);
  font-weight: 700;
}
.pricing-note {
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.pricing-note a {
  color: var(--brand-light);
}

/* ── Final CTA Section ── */
#cta {
  padding: 6rem 1.5rem;
}
#cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
#cta p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* ── Generic content pages (security, etc.) ── */
.page-hero {
  padding: 5rem 1.5rem 2rem;
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  text-align: left;
}
.content-section {
  margin-bottom: 2.5rem;
}
.content-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}
.content-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.content-section ul {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.content-section li {
  margin-bottom: 0.4rem;
}
.back-link {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.back-link:hover {
  color: var(--text-primary);
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--border-card);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text-secondary);
}
.footer-heart {
  color: #ef4444;
}
.footer-copy {
  margin-top: 0.35rem;
}

/* ── Clickable screenshot (opens lightbox) ── */
.shot--clickable {
  position: relative;
  cursor: zoom-in;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.shot--clickable:hover {
  transform: translateY(-3px);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px var(--brand);
}
.shot--clickable:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--brand-glow),
    0 20px 50px rgba(0, 0, 0, 0.35);
}
.shot-zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s,
    transform 0.2s;
  pointer-events: none;
}
.shot--clickable:hover .shot-zoom,
.shot--clickable:focus-visible .shot-zoom {
  opacity: 1;
  transform: translateY(0);
}

/* ── "Try this view live" demo CTA ── */
.demo-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
  border-radius: 0.85rem;
  border: 1px solid var(--brand);
  background: var(--brand-wash);
  color: var(--text-primary);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    color 0.2s;
}
.demo-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  box-shadow: 0 8px 24px var(--brand-glow);
}
.demo-cta-icon {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
}
.demo-cta:hover .demo-cta-icon {
  background: #fff;
  color: var(--brand-strong);
}
.demo-cta-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
.demo-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}
.demo-cta-text strong {
  font-size: 1rem;
  font-weight: 700;
}
.demo-cta-text small {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.demo-cta:hover .demo-cta-text small {
  color: rgba(255, 255, 255, 0.85);
}
.demo-cta-go {
  margin-left: auto;
  font-size: 1.25rem;
  transition: transform 0.2s;
}
.demo-cta:hover .demo-cta-go {
  transform: translateX(3px);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 4vh 4vw;
  background: rgba(2, 6, 16, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox[hidden] {
  display: none;
}
.lightbox-img {
  max-width: 92vw;
  max-height: 76vh;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}
.lightbox-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.lightbox-demo svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-mobile-toggle {
    display: flex;
  }
  nav {
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    order: 3;
    width: 100%;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid var(--nav-border);
    gap: 0;
  }
  .nav-links.mobile-open a {
    padding: 0.65rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--nav-border);
    white-space: normal;
    color: var(--text-secondary);
  }
  .nav-links.mobile-open a:last-child {
    border-bottom: none;
  }

  section {
    padding: 3.5rem 1.25rem;
  }
  #hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .pain-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
  .pillar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
  }
  .pillar.reverse .pillar-media {
    order: 0;
  }
  .audience-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .waitlist-row {
    grid-template-columns: 1fr;
  }
}
