/*
File: styles.css
Project: CS Bookings Production Build
Built by: Cicada Labs · cicadacs.com
*/

/* === TOKENS === */
:root {
  /* Color (dark theme, electric-blue accent) */
  --color-bg: #0A0C10;
  --color-surface: #12151C;
  --color-surface-2: #1A1F29;
  --color-border: #232936;
  --color-text: #EEF1F6;
  --color-text-muted: #9AA4B2;
  --color-accent: #e8281a;
  --color-accent-2: #e8281a;
  --color-glow: rgba(232, 40, 26, 0.18);
  --color-glow-strong: rgba(232, 40, 26, 0.32);
  --color-success: #e8281a;
  --color-error: #FF6275;

  /* Radii */
  --radius-btn: 8px;
  --radius-card: 14px;
  --radius-input: 8px;

  /* Type scale */
  --fs-hero: clamp(2.4rem, 5vw, 4.5rem);
  --fs-h1: clamp(2.2rem, 5vw, 4rem);
  --fs-h2: clamp(1.6rem, 3.5vw, 2.6rem);
  --fs-h3: clamp(1.1rem, 2.5vw, 1.5rem);
  --fs-body: clamp(0.95rem, 1.5vw, 1.1rem);
  --fs-small: clamp(0.8rem, 1.2vw, 0.9rem);
  --fs-label: 0.75rem;

  /* Spacing */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2.5rem);
  --space-xl: clamp(2rem, 5vw, 4rem);
  --space-2xl: clamp(3rem, 8vw, 7rem);
  --space-3xl: clamp(5rem, 12vw, 10rem);

  --container: 1200px;

  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* === RESET / BASE === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--color-accent); color: #fff; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

section { padding-block: var(--space-3xl); position: relative; }

.eyebrow {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--fs-h2);
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.section-lead {
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-top: var(--space-md);
  font-size: var(--fs-body);
}
.section-lead.center { margin-inline: auto; }

.section-head { margin-bottom: var(--space-xl); }
.pricing .section-head, .how .section-head, .features .section-head { text-align: center; }
.pricing .section-head .section-title,
.how .section-head .section-title,
.features .section-head .section-title { margin-inline: auto; }

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -200%;
  z-index: 200;
  background: var(--color-accent);
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: var(--radius-btn);
  font-size: var(--fs-small);
  font-weight: 600;
}
.skip-link:focus { top: var(--space-md); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.75em 2em;
  border-radius: var(--radius-btn);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: var(--fs-small);
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease, filter 200ms ease;
  text-align: center;
}
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 18px var(--color-glow);
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--color-glow-strong);
}
.btn-primary:active { transform: translateY(0) scale(0.97); transition-duration: 80ms; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.btn-ghost:hover {
  border-color: var(--color-text);
  color: var(--color-text);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0) scale(0.97); transition-duration: 80ms; }

/* === HEADER / NAV === */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  /* Solid background only. No backdrop-filter, so the fixed header never becomes a containing block that traps the mobile menu + overlay when scrolled. */
  background: var(--color-bg);
  border-bottom-color: var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-md);
  max-width: 1280px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.brand-mark { color: var(--color-accent); }
.brand-logo { height: 40px; width: auto; display: block; object-fit: contain; }

.nav-links {
  display: flex;
  flex: 1;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 2vw, 2.25rem);
}
.nav-links > a { white-space: nowrap; }
.nav-links > a:not(.nav-cta) {
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  transition: color 150ms ease;
}
.nav-links > a:not(.nav-cta):hover { color: var(--color-text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  padding: 0 10px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-close {
  display: none;
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  color: var(--color-text);
  transition: color 150ms ease, border-color 150ms ease;
}
.nav-close:hover { color: var(--color-accent); border-color: var(--color-accent); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  transition: opacity 250ms ease;
}
.nav-open .nav-overlay { opacity: 1; }

/* === HERO === */
.hero {
  padding-top: calc(72px + var(--space-3xl));
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120%);
  height: 700px;
  background: radial-gradient(ellipse at center, var(--color-glow), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hero-title {
  font-size: var(--fs-hero);
  letter-spacing: -0.035em; line-height: 1.05;
  font-weight: 800;
}
.hero-sub {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 54ch;
  margin-top: var(--space-md);
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--color-text);
  margin-top: var(--space-sm);
}
.hero-caveat {
  color: var(--color-text-muted);
  font-size: var(--fs-label);
  line-height: 1.5;
  opacity: 0.7;
  margin-top: var(--space-sm);
  max-width: 48ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}
.hero-bullets svg { color: var(--color-accent-2); }

/* Hero visual / phone */
.hero-visual { display: flex; justify-content: center; }
.phone-frame {
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(155deg, #2b303c 0%, #15181f 60%, #0d0f15 100%);
  border: 1px solid #2c323e;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px var(--color-glow), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.phone-screen { border-radius: 40px; width: 100%; height: 100%; }
.phone-lock {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 14px 18px;
  background: linear-gradient(170deg, #1b2236 0%, #11151f 45%, #0a0c12 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.phone-lock::before {
  content: "";
  position: absolute;
  top: -16%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 42%;
  background: radial-gradient(ellipse at center, var(--color-glow), transparent 70%);
  pointer-events: none;
}
.ios-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 25px;
  background: #000;
  border-radius: 999px;
  z-index: 6;
}
.ios-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px;
  padding: 0 6px;
  color: var(--color-text);
}
.ios-sb-time {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}
.ios-sb-icons { display: inline-flex; align-items: center; gap: 5px; opacity: 0.95; }
.lock-time {
  position: relative;
  text-align: center;
  margin-top: 14px;
  margin-bottom: auto;
  color: var(--color-text);
}
.lock-date {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1px;
}
.lock-clock {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.lock-notifs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.mail-notif {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 18px;
  background: rgba(30, 34, 46, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.mail-avatar {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}
.mail-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mail-body { flex: 1; min-width: 0; }
.mail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}
.mail-from {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-text);
}
.mail-time {
  flex-shrink: 0;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.6);
}
.mail-subject {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  margin-top: 2px;
}
.mail-preview {
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === MEDIA PLACEHOLDER === */
.media-ph {
  position: relative;
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-bg));
  box-shadow: inset 0 0 0 1px var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.media-ph-label {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  text-align: center;
  padding: 0 1em;
}
.media-ph::before, .media-ph::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
}
.media-ph::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.media-ph::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

/* === DEMO === */
.demo .section-head { text-align: center; }
.demo .section-head .section-title { margin-inline: auto; }
.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 980px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
}
.demo-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 250ms cubic-bezier(0.22,1,0.36,1), border-color 250ms ease, box-shadow 250ms ease;
}
.demo-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  box-shadow: 0 8px 32px var(--color-glow);
}
.demo-shot-wrap {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-bg));
}
.demo-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.demo-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
}
.demo-card-title { font-size: var(--fs-h3); }
.demo-card-text { color: var(--color-text-muted); font-size: var(--fs-small); }
.demo-card-text a { color: var(--color-accent); text-decoration: underline; }
.demo-cta { align-self: flex-start; margin-top: var(--space-sm); }

/* === TRUST STRIP === */
.trust { padding-block: var(--space-2xl); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-title {
  font-size: var(--fs-h3);
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  max-width: 36ch;
  margin-inline: auto;
  color: var(--color-text);
}
.trust-grid {
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  padding: var(--space-md);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-align: center;
}
.trust-ic {
  align-self: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--color-accent) 14%, transparent);
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}
.trust-k { font-family: var(--font-display); font-weight: 700; color: var(--color-text); }
.trust-v { font-size: var(--fs-small); color: var(--color-text-muted); }

/* === PROBLEM === */
.problem-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.problem-list { display: grid; gap: var(--space-sm); }
.problem-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}
.problem-card div { display: flex; flex-direction: column; gap: 0.2em; }
.problem-card strong { font-family: var(--font-display); }
.problem-card span:not(.problem-x) { color: var(--color-text-muted); font-size: var(--fs-small); }
.problem-x {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--color-error) 14%, transparent);
  color: var(--color-error);
}

/* === FEATURES === */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.feature-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  transition: transform 250ms cubic-bezier(0.22,1,0.36,1), border-color 250ms ease, box-shadow 250ms ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  box-shadow: 0 8px 32px var(--color-glow);
}
.feature-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--color-accent) 14%, transparent);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}
.feature-card h3 { font-size: var(--fs-h3); margin-bottom: 0.4em; }
.feature-card p { color: var(--color-text-muted); font-size: var(--fs-small); }

/* === FEATURE GROUPS + PANELS === */
.feature-groups { display: grid; gap: var(--space-2xl); }
.feature-group-label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.85em;
}
.feature-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.feature-dev {
  margin-top: var(--space-2xl);
  display: grid;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--color-accent) 55%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent) 7%, var(--color-surface));
  box-shadow: 0 0 0 1px var(--color-glow), 0 12px 40px var(--color-glow);
}
.feature-dev-tag {
  display: inline-block;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 16%, transparent);
  padding: 0.35em 0.8em;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}
.feature-dev-text h3 { font-size: var(--fs-h3); margin-bottom: 0.4em; }
.feature-dev-text p { color: var(--color-text-muted); font-size: var(--fs-small); max-width: 72ch; }
.feature-dev-chips { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.chip {
  font-size: var(--fs-small);
  color: var(--color-text);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: 0.4em 0.9em;
  border-radius: 999px;
}
.feature-update {
  margin-top: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.feature-update-ic {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-accent) 14%, transparent);
  color: var(--color-accent);
}
.feature-update p { font-size: var(--fs-small); color: var(--color-text-muted); }
.feature-update strong { color: var(--color-text); font-family: var(--font-display); }

/* === HOW IT WORKS === */
.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  counter-reset: step;
}
.how-step {
  position: relative;
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-accent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  margin-bottom: var(--space-md);
}
.how-step h3 { font-size: var(--fs-h3); margin-bottom: 0.4em; }
.how-step p { color: var(--color-text-muted); font-size: var(--fs-small); }

.how-foot {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}
.how-reassure {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  max-width: 52ch;
}

/* === REVIEWS === */
.reviews { padding-block: var(--space-2xl); }
.reviews .section-head { text-align: center; }
.reviews .section-head .section-title { margin-inline: auto; }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 640px;
  margin-inline: auto;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}
.review-spotlight {
  border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-border));
  box-shadow: 0 0 0 1px var(--color-glow), 0 12px 40px var(--color-glow);
}
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.review-spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 14%, transparent);
  padding: 0.35em 0.8em;
  border-radius: 999px;
}
.review-stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.review-stars-glyphs {
  color: #FFC53D;
  font-size: 1.15rem;
  letter-spacing: 3px;
  line-height: 1;
}
.review-score {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.review-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.4;
  color: var(--color-text);
}
.review-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-accent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
}
.review-id { display: flex; flex-direction: column; gap: 0.35em; min-width: 0; }
.review-name {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  transition: color 150ms ease;
  width: fit-content;
}
.review-name:hover { color: var(--color-accent); }
.review-name svg { color: var(--color-text-muted); transition: color 150ms ease; }
.review-name:hover svg { color: var(--color-accent); }
.review-tags { display: flex; flex-wrap: wrap; gap: 0.4em; }
.review-tag {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: 0.25em 0.7em;
  border-radius: 999px;
}
.review-foot {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}
.review-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 150ms ease;
}
.review-ig:hover { color: var(--color-accent); }
.reviews-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  max-width: 640px;
  margin: var(--space-md) auto 0;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.reviews-note-ic {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-accent) 14%, transparent);
  color: var(--color-accent);
}
.reviews-note-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25em;
}
.reviews-note-text { color: var(--color-text-muted); font-size: var(--fs-small); }

/* === PROOF STATS === */
.proof {
  padding-block: var(--space-xl);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg) var(--space-md);
}
@media (min-width: 768px) {
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
}
.proof-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35em;
}
@media (min-width: 768px) {
  .proof-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: calc(var(--space-md) / -2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 46px;
    background: var(--color-border);
  }
}
.proof-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}
.proof-label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  max-width: 20ch;
}

/* === REVIEWS VERIFY === */
.reviews-verify {
  display: grid;
  gap: 0.5em;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}
.reviews-verify li {
  display: flex;
  align-items: flex-start;
  gap: 0.55em;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.reviews-verify svg { color: var(--color-accent-2); flex-shrink: 0; margin-top: 2px; }

/* === LAUNCH URGENCY === */
.launch-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  max-width: 660px;
  margin: 0 auto var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 45%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface));
  font-size: var(--fs-small);
  text-align: center;
}
.launch-urgency strong { color: var(--color-accent); font-family: var(--font-display); }
.launch-urgency-pulse {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 var(--color-glow-strong);
  animation: urgencyPulse 2s ease-out infinite;
}
@keyframes urgencyPulse {
  0% { box-shadow: 0 0 0 0 var(--color-glow-strong); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .launch-urgency-pulse { animation: none; }
}

/* === CHECKOUT TRUST ROW === */
.checkout-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-lg);
  max-width: 760px;
  margin: var(--space-lg) auto 0;
}
.checkout-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.checkout-trust-item svg { color: var(--color-accent-2); flex-shrink: 0; }

/* === GUARANTEE === */
.guarantee {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  max-width: 760px;
  margin: var(--space-lg) auto 0;
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--color-success) 40%, var(--color-border));
  background: color-mix(in srgb, var(--color-success) 6%, var(--color-surface));
}
.guarantee-ic {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--color-success) 16%, transparent);
  color: var(--color-success);
}
.guarantee-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--color-text);
  margin-bottom: 0.25em;
}
.guarantee-text { color: var(--color-text-muted); font-size: var(--fs-small); }

/* === PRICING === */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 880px;
  margin-inline: auto;
}
.plan-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: transform 250ms cubic-bezier(0.22,1,0.36,1), border-color 250ms ease, box-shadow 250ms ease;
}
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  box-shadow: 0 8px 32px var(--color-glow);
}
.plan-card-featured {
  border-color: color-mix(in srgb, var(--color-accent) 55%, var(--color-border));
  box-shadow: 0 0 0 1px var(--color-glow), 0 12px 40px var(--color-glow);
}
.plan-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 14%, transparent);
  padding: 0.35em 0.8em;
  border-radius: 999px;
}
.plan-name { font-size: var(--fs-h3); }
.plan-desc { color: var(--color-text-muted); font-size: var(--fs-small); margin-top: 0.4em; }
.plan-price { margin: var(--space-md) 0; }
.plan-price-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.plan-cta { width: 100%; margin-bottom: var(--space-lg); }
.plan-feats { display: grid; gap: var(--space-sm); }
.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: var(--fs-small);
  color: var(--color-text);
}
.plan-feats svg { color: var(--color-accent-2); flex-shrink: 0; margin-top: 2px; }
.plan-feat-muted { color: var(--color-text-muted); }
.plan-feat-muted svg { color: var(--color-text-muted); }
.pricing-reinforce {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--color-text);
  max-width: 42ch;
  margin: 0 auto var(--space-lg);
}
.pricing-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  margin-top: var(--space-xl);
}
.plan-price-sub {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  margin: -0.6em 0 var(--space-md);
}
.pricing-caveat {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-label);
  opacity: 0.7;
  max-width: 56ch;
  margin: var(--space-md) auto 0;
}

.plan-stripe-note {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--fs-label);
  color: var(--color-text-muted);
  margin: -0.4em 0 var(--space-sm);
  opacity: 0.85;
}
.plan-stripe-note svg { color: var(--color-accent-2); flex-shrink: 0; }

/* === ACCEPTED PAYMENT METHODS === */
.pay-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em;
  margin: -0.2em 0 var(--space-md);
}
.pay-methods-label {
  width: 100%;
  font-size: var(--fs-label);
  color: var(--color-text-muted);
  opacity: 0.7;
  margin-bottom: 0.15em;
}
.pay-badges { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.4em; }
.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  height: 26px;
  min-width: 42px;
  padding: 0 0.5em;
  border-radius: 5px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  line-height: 1;
}
.pay-badge svg { display: block; }
.pay-badge-visa { font-style: italic; letter-spacing: 0.08em; }

.btn-paypal {
  background: #ffc439;
  color: #003087;
  border-color: #ffc439;
  font-weight: 700;
}
.btn-paypal:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,196,57,0.3);
}
.btn-paypal:active { transform: translateY(0) scale(0.97); }

.plan-paypal-note {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--fs-label);
  color: #ffc439;
  margin: -0.4em 0 var(--space-sm);
  opacity: 0.9;
}

.paypal-info {
margin: -0.4em 0 var(--space-sm);
font-size: var(--fs-label);
}
.paypal-info-summary {
display: flex;
align-items: center;
gap: 0.4em;
color: #ffc439;
cursor: pointer;
list-style: none;
opacity: 0.9;
transition: opacity 150ms ease;
}
.paypal-info-summary::-webkit-details-marker { display: none; }
.paypal-info-summary:hover { opacity: 1; }
.paypal-info-summary svg { flex-shrink: 0; }
.paypal-info-body {
margin: 0.5em 0 0;
padding: 0.6em 0.8em;
border-radius: var(--radius-input);
border: 1px solid rgba(255,196,57,0.3);
background: rgba(255,196,57,0.06);
color: var(--color-text-muted);
line-height: 1.5;
}
.discount-field {
  display: flex;
  gap: 0.5em;
  margin: -0.4em 0 var(--space-sm);
}
.discount-field .discount-input {
  flex: 1;
  min-height: 38px;
  font-size: var(--fs-label);
  padding: 0.5em 0.75em;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  color: var(--color-text);
  width: auto;
}
.discount-field .discount-input:focus {
  border-color: #ffc439;
  box-shadow: 0 0 0 2px rgba(255,196,57,0.18);
  outline: none;
}
.btn-apply-code {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  color: var(--color-text-muted);
  font-size: var(--fs-label);
  font-weight: 600;
  padding: 0.5em 0.9em;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease;
  white-space: nowrap;
}
.btn-apply-code:hover { border-color: #ffc439; color: #ffc439; }
.discount-msg {
  font-size: var(--fs-label);
  margin: -0.3em 0 var(--space-sm);
  padding: 0.4em 0.7em;
  border-radius: 6px;
}
.discount-msg.success { color: var(--color-success); background: color-mix(in srgb, var(--color-success) 10%, transparent); border: 1px solid color-mix(in srgb, var(--color-success) 30%, transparent); }
.discount-msg.error { color: var(--color-error); background: color-mix(in srgb, var(--color-error) 10%, transparent); border: 1px solid color-mix(in srgb, var(--color-error) 30%, transparent); }

.launch-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,196,57,0.35);
  background: rgba(255,196,57,0.06);
  color: var(--color-text);
  font-size: var(--fs-small);
}
.launch-banner svg { color: #ffc439; flex-shrink: 0; margin-top: 2px; }
.launch-banner strong { color: #ffc439; }

/* === PLAN CONSENT (terms gate) === */
.plan-consent {
display: flex;
align-items: flex-start;
gap: 0.6em;
margin: 0 0 var(--space-md);
padding: var(--space-sm) var(--space-md);
border: 1px solid var(--color-border);
border-radius: var(--radius-input);
background: var(--color-bg);
}
.plan-consent-check {
appearance: auto;
-webkit-appearance: auto;
flex-shrink: 0;
width: 18px;
height: 18px;
min-width: 18px;
min-height: 18px;
margin: 2px 0 0;
padding: 0;
border: 0;
border-radius: 0;
background: none;
accent-color: var(--color-accent);
cursor: pointer;
}
.plan-consent-check:focus-visible {
outline: 2px solid var(--color-accent);
outline-offset: 2px;
}
.plan-consent-label {
font-size: var(--fs-label);
line-height: 1.5;
color: var(--color-text-muted);
cursor: pointer;
}
.plan-consent-label a {
color: var(--color-accent);
text-decoration: underline;
}
/* Gated (disabled) pay buttons until consent is ticked */
.plan-cta.is-gated {
opacity: 0.45;
cursor: not-allowed;
box-shadow: none;
filter: grayscale(0.35);
}
.plan-cta.is-gated:hover {
transform: none;
box-shadow: none;
filter: grayscale(0.35);
}

/* === ADDONS === */
.addons-section {
  max-width: 880px;
  margin: var(--space-xl) auto 0;
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.addons-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  margin-bottom: 0.25em;
}
.addons-sub {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  margin-bottom: var(--space-md);
}
.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 640px) {
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 920px) {
  .addons-grid { grid-template-columns: repeat(3, 1fr); }
}
.addon-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  user-select: none;
  -webkit-user-select: none;
}
.addon-card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
}
.addon-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.addon-check-ui {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  transition: border-color 150ms ease, background 150ms ease;
}
.addon-card:has(input:checked) .addon-check-ui {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.addon-card:has(input:checked) .addon-check-ui::after {
  content: "";
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.addon-card:has(input:checked) {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-glow);
  background: color-mix(in srgb, var(--color-accent) 5%, var(--color-bg));
}
.addon-content {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}
.addon-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}
.addon-price-tag {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  padding: 0.2em 0.55em;
  border-radius: 999px;
}
.addon-desc {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.addon-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1;
  color: var(--color-bg);
  background: var(--color-accent-2);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: filter 150ms ease, box-shadow 150ms ease;
}
.addon-info-btn:hover,
.addon-info-btn:focus-visible {
  filter: brightness(1.1);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent-2) 25%, transparent);
  outline: none;
}
.addon-info-body {
  display: none;
  margin-top: 0.4em;
  padding: 0.6em 0.8em;
  border-radius: var(--radius-input);
  border: 1px solid color-mix(in srgb, var(--color-accent-2) 30%, transparent);
  background: color-mix(in srgb, var(--color-accent-2) 6%, transparent);
  color: var(--color-text-muted);
  font-size: var(--fs-label);
  line-height: 1.5;
}
.addon-name:has(.addon-info-btn:hover) + .addon-info-body,
.addon-name:has(.addon-info-btn:focus) + .addon-info-body,
.addon-info-body:hover { display: block; }
.addons-totals {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-xl);
}
.addon-total-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.addon-total-row strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

/* === PLAN DIFFERENCE TOGGLE === */
.plan-diff {
  max-width: 880px;
  margin: var(--space-lg) auto 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  overflow: hidden;
}
.plan-diff-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--color-text);
  min-height: 44px;
}
.plan-diff-summary::-webkit-details-marker { display: none; }
.plan-diff-summary:hover { color: var(--color-accent); }
.plan-diff-chev { flex-shrink: 0; color: var(--color-text-muted); transition: transform 250ms ease; }
.plan-diff[open] .plan-diff-chev { transform: rotate(180deg); color: var(--color-accent); }
.plan-diff-body { padding: 0 var(--space-lg) var(--space-lg); }
.plan-diff-lead { color: var(--color-text); font-size: var(--fs-small); margin-bottom: var(--space-md); }
.plan-diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .plan-diff-grid { grid-template-columns: repeat(2, 1fr); }
}
.plan-diff-col {
  padding: var(--space-md);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}
.plan-diff-name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}
.plan-diff-list { display: grid; gap: 0.5em; }
.plan-diff-list li {
  position: relative;
  padding-left: 1.2em;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.plan-diff-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.plan-diff-foot {
  margin-top: var(--space-md);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--color-text);
}

/* === FAQ === */
.faq-inner { max-width: 800px; margin-inline: auto; }
.faq-list { display: grid; gap: var(--space-sm); }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  text-align: left;
  background: transparent;
  border: 0;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--color-text);
  min-height: 44px;
  transition: color 150ms ease;
}
.faq-q:hover { color: var(--color-accent); }
.faq-chev { flex-shrink: 0; color: var(--color-text-muted); transition: transform 250ms ease; }
.faq-q[aria-expanded="true"] .faq-chev { transform: rotate(180deg); color: var(--color-accent); }
.faq-a { padding: 0 var(--space-lg) var(--space-md); color: var(--color-text-muted); font-size: var(--fs-small); }
.faq-a a { color: var(--color-accent); text-decoration: underline; }

/* === BUILT BY CICADA LABS === */
.builtby-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.builtby-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  transition: transform 250ms cubic-bezier(0.22,1,0.36,1), border-color 250ms ease, box-shadow 250ms ease;
}
.builtby-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  box-shadow: 0 8px 32px var(--color-glow);
}
.builtby-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--color-accent) 14%, transparent);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}
.builtby-card h3 { font-size: var(--fs-h3); margin-bottom: 0.4em; }
.builtby-card p { color: var(--color-text-muted); font-size: var(--fs-small); }
.builtby-foot {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}
.builtby-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.5em 1em;
  border-radius: 999px;
}
.builtby-lockup svg { color: var(--color-accent); }
.builtby-closer { color: var(--color-text-muted); font-size: var(--fs-small); max-width: 48ch; }
@media (min-width: 640px) {
  .builtby-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .builtby-grid { grid-template-columns: repeat(4, 1fr); }
}

/* === CTA / GET STARTED === */
.cta { overflow: hidden; }
.cta-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120%);
  height: 600px;
  background: radial-gradient(ellipse at center, var(--color-glow), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.cta-points { display: grid; gap: var(--space-sm); margin-top: var(--space-lg); }
.cta-points li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}
.cta-points svg { color: var(--color-accent-2); flex-shrink: 0; }

/* === FORM === */
.lead-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  display: grid;
  gap: var(--space-md);
}
.lead-form-title { font-size: var(--fs-h3); }
.field { display: grid; gap: 0.4em; }
.field label { font-size: var(--fs-small); color: var(--color-text-muted); }
.req { color: var(--color-text-muted); font-weight: 400; font-size: 0.85em; opacity: 0.7; }
.opt { color: var(--color-text-muted); font-weight: 400; }

input, textarea, select {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  padding: 0.75em 1em;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--color-text-muted) 75%, transparent); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-glow);
}
textarea { resize: vertical; min-height: 90px; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.5em; cursor: pointer; }
.select-chev {
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

input[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-error) 22%, transparent);
}
.err-msg { color: var(--color-error); font-size: var(--fs-small); }

/* Honeypot: visually hidden but present */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lead-submit { width: 100%; position: relative; }
.lead-submit[disabled] { opacity: 0.85; cursor: not-allowed; }
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 700ms linear infinite;
}
.lead-submit.loading .spinner { display: inline-block; }
.lead-submit.loading .lead-submit-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  font-size: var(--fs-small);
  padding: 0.75em 1em;
  border-radius: var(--radius-input);
  border: 1px solid var(--color-border);
}
.form-status.success { color: var(--color-success); border-color: color-mix(in srgb, var(--color-success) 45%, var(--color-border)); background: color-mix(in srgb, var(--color-success) 10%, transparent); }
.form-status.error { color: var(--color-error); border-color: color-mix(in srgb, var(--color-error) 45%, var(--color-border)); background: color-mix(in srgb, var(--color-error) 10%, transparent); }
.form-fineprint { font-size: var(--fs-small); color: var(--color-text-muted); }
.form-reassure { font-size: var(--fs-small); color: var(--color-text); font-weight: 500; }
.form-ig { justify-self: start; gap: 0.55em; }
input, select { min-height: 44px; }

/* === SETUP GUIDE === */
.setup-inner { max-width: 720px; margin-inline: auto; text-align: center; }
.setup-inner .section-title { margin-inline: auto; }
.setup-badge {
  display: inline-block;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 16%, transparent);
  padding: 0.35em 0.8em;
  border-radius: 999px;
  margin-bottom: var(--space-md);
}
.setup-support {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.setup-support-lead { color: var(--color-text); font-size: var(--fs-body); max-width: 48ch; margin-inline: auto; }
.setup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
}

/* === SUPPORT === */
.support { border-top: 1px solid var(--color-border); }
.support-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (min-width: 1024px) {
  .support-inner { grid-template-columns: 1fr 1fr; }
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-2xl);
  background: var(--color-surface);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.footer-tag { color: var(--color-text-muted); font-size: var(--fs-small); margin-top: var(--space-sm); max-width: 32ch; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.footer-col { display: flex; flex-direction: column; gap: 0.6em; }
.footer-col h4 { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-text); }
.footer-col a { color: var(--color-text-muted); font-size: var(--fs-small); transition: color 150ms ease; width: fit-content; }
.footer-col a:hover { color: var(--color-text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.footer-copy { color: var(--color-text-muted); font-size: var(--fs-small); }
.footer-credit a {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  transition: color 150ms ease;
}
.footer-credit a:hover { color: var(--color-text); }
.footer-credit a { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; }
.footer-credit-label { font-size: var(--fs-label); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.12em; }
.footer-credit-logo { height: 26px; width: auto; display: block; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.footer-legal a { color: var(--color-text-muted); font-size: var(--fs-small); transition: color 150ms ease; }
.footer-legal a:hover { color: var(--color-text); }

/* === LEGAL PAGES === */
.legal { padding-top: calc(72px + var(--space-2xl)); padding-bottom: var(--space-2xl); }
.legal-inner { max-width: 820px; margin-inline: auto; }
.legal-header { margin-bottom: var(--space-xl); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--color-border); }
.legal-title { font-size: var(--fs-h2); letter-spacing: -0.02em; margin-top: var(--space-sm); }
.legal-updated { color: var(--color-text-muted); font-size: var(--fs-small); margin-top: var(--space-sm); }
.legal-note { padding: var(--space-md) var(--space-lg); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); font-size: var(--fs-small); color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.legal-note p { margin-bottom: 0; }
.legal h2 { font-size: var(--fs-h3); margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.legal h3 { font-size: 1.05rem; margin-top: var(--space-lg); margin-bottom: var(--space-xs); }
.legal p { color: var(--color-text-muted); margin-bottom: var(--space-md); }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: var(--space-md); display: grid; gap: 0.4em; }
.legal ul li { color: var(--color-text-muted); }
.legal a { color: var(--color-accent); text-decoration: underline; }
.legal strong { color: var(--color-text); }

/* === SCROLL REVEAL === */
.hidden-fade { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--stagger-index, 0) * 60ms); }
.show-fade { opacity: 1; transform: none; }

/* Hero entrance (JS-driven) */
.hero-el { opacity: 0; transform: translateY(16px); }
.hero-el.hero-in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(0.22,1,0.36,1), transform .6s cubic-bezier(0.22,1,0.36,1); }

/* === RESPONSIVE === */
@media (min-width: 480px) {
  .hero-actions .btn { min-width: 160px; }
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .problem-inner { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .cta-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.4fr 2fr; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav-close { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-md);
    padding: calc(72px + var(--space-lg)) var(--space-lg) var(--space-lg);
    background: var(--color-surface);
    border-left: 1px solid var(--color-border);
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(0.22,1,0.36,1);
    z-index: 95;
  }
  .nav-open .nav-links { transform: translateX(0); }
  .nav-links > a:not(.nav-cta) { font-size: 1.1rem; padding: 0.4em 0; }
  .nav-cta { margin-top: 0; margin-left: auto; padding: 0.55em 1.1em; }
}

@media (min-width: 1024px) {
  .nav-overlay { display: none !important; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hidden-fade { opacity: 1; transform: none; transition: none; }
  .hero-el { opacity: 1; transform: none; }
  .nav-links { transition: none; }
}