/* =========================================================
   Planqix — style.css
   Modern, clean, professional marketing site styles.
   Font: Inter (Google Fonts)
   ========================================================= */

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

:root {
  --bg:          #ffffff;
  --bg-alt:      #f8fafc;
  --border:      #e2e8f0;
  --text:        #0f172a;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --accent:      #4f46e5;
  --accent-dark: #4338ca;
  --accent-soft: #eef2ff;
  --green:       #16a34a;
  --amber:       #d97706;
  --red:         #e11d48;
  --teal:        #0d9488;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow:      0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);

  --nav-h:       64px;
  --max-w:       1140px;
  --section-gap: 96px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
code {
  font-family: 'Fira Code', 'Cascadia Code', monospace;
  font-size: .875em;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .1em .35em;
}

/* ── Layout helpers ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section      { padding: var(--section-gap) 0; }
.section-alt  { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 12px 0 16px;
  color: var(--text);
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.pill {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 14px;
}

.gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 10px 22px;
  cursor: pointer;
  transition: all .18s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(79,70,229,.35); }

.btn-ghost {
  color: var(--text-muted);
  background: transparent;
}
.btn-ghost:hover { color: var(--text); background: var(--bg-alt); }

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.btn-white {
  background: #fff;
  color: var(--accent);
}
.btn-white:hover { background: #f0f0ff; transform: translateY(-1px); }

.btn-lg { font-size: 1rem; padding: 13px 28px; border-radius: var(--radius-lg); }

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  flex-shrink: 0;
}
.logo-mark {
  font-size: 1.25rem;
  color: var(--accent);
  line-height: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-alt); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 30%, #ede9fe 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 20% 70%, #e0f2fe 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* hero illustration */
.hero-illustration {
  position: absolute;
  right: max(0px, calc(50% - 570px + 24px));
  top: 50%;
  transform: translateY(-50%);
  margin-top: 32px;
  width: 380px;
  pointer-events: none;
}

.plan-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.plan-room {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #cbd5e1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #94a3b8;
}
.plan-room span { pointer-events: none; }
.r1 { top: 5%; left: 5%;  width: 55%; height: 45%; background: #f8fafc; }
.r2 { top: 5%; left: 62%; width: 33%; height: 45%; background: #f0fdf4; }
.r3 { top: 52%; left: 5%;  width: 38%; height: 43%; background: #fff7ed; }
.r4 { top: 52%; left: 45%; width: 50%; height: 43%; background: #f0f9ff; }

/* door gaps — thin breaks in walls */
.plan-door {
  position: absolute;
  background: #fff;
  z-index: 2;
}
.d1 { top: 28%; left: 60%; width: 3px; height: 14%; } /* between r1/r2 */
.d2 { top: 50%; left: 22%; width: 16%; height: 3px; } /* bottom of r1 */
.d3 { top: 50%; left: 65%; width: 3px; height: 14%; } /* r4 top gap  */

/* swing arcs */
.plan-arc {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid #a78bfa;
  background: transparent;
  z-index: 3;
}
/* quarter-arc clips via overflow hidden on the card */
.a1 { top: 28%; left: 60%; width: 14%; height: 14%; clip-path: inset(0 0 50% 50%); }
.a2 { top: 36%; left: 22%; width: 16%; height: 16%; clip-path: inset(50% 0 0 50%); }

/* keypoint dots */
.kp-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.8);
  z-index: 4;
  transform: translate(-50%, -50%);
}
.kp-red { background: #ef4444; }
.kp-grn { background: #22c55e; }
.kp-blu { background: #3b82f6; }

/* ── Stats bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--text);
  color: #fff;
  padding: 20px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 40px;
}
.stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.stat span {
  font-size: .8125rem;
  color: #94a3b8;
  margin-top: 3px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.12);
}

/* ── Features grid ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-card p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── How it works ───────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -.05em;
  color: var(--accent);
  opacity: .15;
  line-height: 1;
  margin-bottom: 12px;
}

.step-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-body p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--border);
  padding-top: 12px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 40px;
}

/* ── Gallery ────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.gallery-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.gallery-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
}
.gallery-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* placeholder mock */
.placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 10px 12px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-light);
  z-index: 5;
  pointer-events: none;
}

.pi-mock {
  position: absolute;
  inset: 0;
}
.pm-wall {
  position: absolute;
  background: #334155;
}

.gallery-info {
  padding: 16px 18px;
}
.gallery-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.gallery-tag-blue  { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.gallery-tag-amber { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.gallery-tag-green { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }

.gallery-info h4 {
  font-size: .9375rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.gallery-info p {
  font-size: .85rem;
  color: var(--text-muted);
}

.gallery-note {
  margin-top: 28px;
  text-align: center;
  font-size: .875rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
}

/* ── Roadmap ────────────────────────────────────────────── */
.roadmap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* vertical spine */
.roadmap::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--border);
  z-index: 0;
}

.roadmap-item {
  display: flex;
  gap: 24px;
  padding: 0 0 36px;
  position: relative;
}

.rm-marker {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  border: 2px solid var(--border);
  background: var(--bg-alt);
}

.roadmap-item.done .rm-marker {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.rm-marker svg { width: 18px; height: 18px; }

/* active pulse ring */
.rm-pulse {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 6px rgba(79,70,229,.15), 0 0 0 12px rgba(79,70,229,.06);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(79,70,229,.15), 0 0 0 10px rgba(79,70,229,.06); }
  50%       { box-shadow: 0 0 0 8px rgba(79,70,229,.12), 0 0 0 18px rgba(79,70,229,.04); }
}

.rm-empty { background: var(--bg) !important; }

.rm-body {
  padding-top: 8px;
  flex: 1;
}

.rm-phase {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rm-badge-active {
  font-size: .7rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  letter-spacing: .03em;
  text-transform: none;
}

.rm-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.roadmap-item.upcoming .rm-body h4 { color: var(--text-muted); }

.rm-body p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.rm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rm-tags span {
  font-size: .75rem;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--text-muted);
}

/* ── Pricing ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
  margin-bottom: 48px;
}

.pricing-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.pricing-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.pricing-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 16px;
  white-space: nowrap;
}

.pricing-header { margin-bottom: 24px; }

.pricing-name {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.pricing-featured .pricing-name { color: var(--accent); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}
.price-num {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text);
  line-height: 1;
}
.price-per {
  font-size: .9375rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: .9375rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-yes, .feat-no {
  color: var(--text);
}
.feat-no { color: var(--text-light); }

.feat-yes::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='%2316a34a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.feat-no::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.pricing-cta { margin-top: auto; }

/* Add-ons */
.addons-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.addons-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.addons-note {
  font-size: .85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.addon-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: box-shadow .2s;
}
.addon-card:hover { box-shadow: var(--shadow-sm); }

.addon-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.addon-body { flex: 1; min-width: 0; }

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

.addon-detail {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.addon-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.addon-price {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
}

.addon-btn {
  padding: 7px 16px;
  font-size: .875rem;
  border-radius: var(--radius);
}

/* ── Access section ─────────────────────────────────────── */
.access-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 840px;
  margin: 0 auto;
}

.access-card {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.access-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.access-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
}

.access-card p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.access-hint {
  font-size: .8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

.access-or {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text-light);
  font-size: .9rem;
}
.access-or::before, .access-or::after {
  content: '';
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ── CTA actions ────────────────────────────────────────── */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-cta-outline {
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  background: transparent;
}
.btn-cta-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}

/* ── Checkout overlay ───────────────────────────────────── */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-overlay[hidden] { display: none; }

.checkout-modal {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.checkout-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.checkout-modal p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ── CTA banner ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 1.0625rem;
  opacity: .85;
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: #e2e8f0;
}

.footer-inner {
  display: flex;
  gap: 48px 80px;
  flex-wrap: wrap;
  padding: 60px 24px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand {
  flex: 1.5;
  min-width: 200px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: .9rem; color: #64748b; line-height: 1.65; }

.footer-links {
  display: flex;
  gap: 40px 64px;
  flex-wrap: wrap;
  flex: 2;
}

.footer-links h5 {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 14px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .9rem;
  color: #64748b;
  transition: color .15s;
}
.footer-links a:hover { color: #e2e8f0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .825rem;
  color: #475569;
}

/* ── Scroll-reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-illustration { display: none; }
  .hero .container   { max-width: 100%; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  /* mobile nav */
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .nav.mobile-open .nav-inner {
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 16px;
  }
  .nav.mobile-open {
    height: auto;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
  }
  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    gap: 2px;
    padding-bottom: 8px;
  }
  .nav.mobile-open .nav-links li { width: 100%; }
  .nav.mobile-open .nav-links a  { display: block; padding: 10px 12px; }
  .nav.mobile-open .nav-actions  {
    display: flex;
    width: 100%;
    order: 4;
    padding-bottom: 8px;
  }
  .nav.mobile-open .nav-actions .btn { flex: 1; }

  .steps { flex-direction: column; align-items: center; gap: 24px; }
  .step-arrow { transform: rotate(90deg); }
  .step { max-width: 100%; }

  .stats-inner { gap: 4px 0; }
  .stat { padding: 8px 20px; }
  .stat-divider { display: none; }

  .pricing-grid { grid-template-columns: 1fr; }
  .access-row { flex-direction: column; gap: 0; }
  .access-or { flex-direction: row; }
  .access-or::before, .access-or::after { width: 48px; height: 1px; }
  .access-card { max-width: 100%; width: 100%; }

  .footer-inner { padding: 40px 24px 28px; gap: 32px; }
  .footer-bottom .container { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  .features-grid  { grid-template-columns: 1fr; }
  .gallery-grid   { grid-template-columns: 1fr; }
}
