/*
  OfEngine — sales landing page styles (v4)
  Direction: light mode, pink primary, split hero with video right.
  References: cal.com (light + rose), linear.app (light typography),
  resend.com (italic-serif accent), tally.so (split hero), stripe.com
  (testimonial slider with bullets).
  Fonts: Geist (body), Instrument Serif (display italic), Geist Mono (labels).
*/

:root {
  --bg:        #FFFFFF;
  --bg-soft:   #FAFAFB;
  --bg-elev:   #FFFFFF;
  --bg-tint:   #FFF4F8;
  --fg:        #0A0A0B;
  --fg-2:      #18181B;
  --fg-soft:   #2A2A2E;
  --muted:     #5F5F66;
  --muted-2:   #8E8E94;
  --border:    #E8E8EB;
  --border-2:  #D2D2D6;

  --accent:      #EC4899;
  --accent-2:    #DB2777;
  --accent-3:    #BE185D;
  --accent-soft: #FCE7F3;
  --accent-glow: rgba(236, 72, 153, 0.18);

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', 'Cascadia Code', monospace;

  --max:       1180px;
  --max-prose: 720px;
  --radius:    14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15,15,20,0.04), 0 1px 1px rgba(15,15,20,0.02);
  --shadow-md: 0 4px 16px -4px rgba(15,15,20,0.06), 0 2px 6px -2px rgba(15,15,20,0.04);
  --shadow-lg: 0 30px 80px -20px rgba(15,15,20,0.12), 0 12px 30px -10px rgba(15,15,20,0.08);
  --shadow-pink: 0 14px 40px -10px var(--accent-glow);
}

/* ─── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "ss02", "cv01", "cv02";
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ─── Typography ──────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-glow); }
  50%      { box-shadow: 0 0 0 6px transparent; }
}

.section-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--fg);
  max-width: 820px;
}
.section-h2 em {
  font-style: italic;
  color: var(--accent);
}
.section-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: var(--max-prose);
  margin: 0 0 64px;
  line-height: 1.6;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn-primary, .btn-ghost, .btn-primary-sm, .btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  padding: 13px 22px;
  font-size: 15px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, var(--shadow-pink);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 18px 44px -10px var(--accent-glow);
}
.btn-ghost {
  padding: 13px 22px;
  font-size: 15px;
  background: var(--bg);
  color: var(--fg);
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}
.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--fg);
}
.btn-primary-sm {
  padding: 9px 16px;
  font-size: 13px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 16px -4px var(--accent-glow);
}
.btn-primary-sm:hover { background: var(--accent-2); }
.btn-ghost-sm {
  padding: 9px 14px;
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
}
.btn-ghost-sm:hover { color: var(--accent); }

/* ─── Sticky nav ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 50;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--fg);
  font-weight: 400;
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #FB7185 70%, #FBCFE8);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5), 0 6px 16px -4px var(--accent-glow);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.65);
}
.brand-word { font-style: italic; }

.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--fg-soft); font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 7px;
  color: var(--fg);
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  padding: 8px 24px 14px;
}
.nav-mobile a {
  display: block; padding: 10px 0;
  font-size: 15px; color: var(--fg);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.nav-mobile a:last-child { border-bottom: 0; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-mobile.open { display: block; }
  .nav-cta .btn-ghost-sm { display: none; }
}

/* ─── Hero (split: text left, video right) ────────────────────── */
.hero {
  position: relative;
  padding: 170px 24px 130px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 70%);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { text-align: left; }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6.6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--fg);
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-soft);
  max-width: 540px;
  margin: 0;
  line-height: 1.6;
}
.hero-cta {
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Aurora orbs */
.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.6;
  pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
  z-index: 0;
}
.orb-pink {
  width: 520px; height: 520px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(236,72,153,0.36), transparent 70%);
}
.orb-coral {
  width: 380px; height: 380px;
  bottom: -120px; left: -80px;
  background: radial-gradient(circle, rgba(251,113,133,0.26), transparent 70%);
  animation-delay: -8s;
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.08); }
}

/* Hero video wrap (right column) */
.hero-video-wrap {
  position: relative;
}
.hero-video-wrap::before {
  content: "";
  position: absolute;
  inset: -16px;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 60%);
  filter: blur(28px);
  z-index: 0;
  border-radius: 32px;
}

@media (max-width: 980px) {
  .hero { padding: 130px 24px 90px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-text { text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-cta { justify-content: center; }
}

/* ─── Lite YouTube ────────────────────────────────────────────── */
.lite-yt {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f0f0f0 center / cover no-repeat;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease;
  z-index: 1;
}
.lite-yt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.30) 100%);
  z-index: 1;
}
.lite-yt:hover { transform: translateY(-2px); }
.lite-yt-play {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: transparent;
  border: 0;
  z-index: 2;
}
.lite-yt-play::before {
  content: "";
  width: 78px; height: 78px;
  background: var(--accent);
  border-radius: 999px;
  position: absolute;
  box-shadow: 0 14px 36px -6px var(--accent-glow), inset 0 0 0 1px rgba(255,255,255,0.25);
  transition: transform 0.18s ease;
}
.lite-yt:hover .lite-yt-play::before { transform: scale(1.08); }
.lite-yt-play svg {
  position: relative;
  color: #fff;
  margin-left: 4px;
  z-index: 1;
}
.lite-yt-label {
  position: absolute;
  bottom: 14px; left: 18px;
  z-index: 2;
  font-size: 13px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}
.lite-yt iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; z-index: 3; }

/* ─── Section spacing + alt backgrounds ───────────────────────── */
.pain, .features, .testimonials-slider-section, .comparison, .scale, .pricing, .faq, .final-cta {
  padding: 140px 24px;
  border-bottom: 1px solid var(--border);
}
.features, .pricing, .faq { background: var(--bg-soft); }
.scale { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%); }

/* ─── Pain → Promise ──────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.pain-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.pain-grid article:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pain-q {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 500;
}
.pain-a {
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 800px) { .pain-grid { grid-template-columns: 1fr; } }

/* ─── Categorized feature list (3×3 grid, 9 cards) ────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.cat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-pink);
}
.cat-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}
.cat-icon svg { width: 16px; height: 16px; }
.cat-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.cat-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-card li {
  font-size: 13.5px;
  color: var(--fg-soft);
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.45;
}
.cat-card li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
  transform: translateY(2px);
}
.cat-card.cat-ai {
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-elev) 60%);
  border-color: var(--accent);
}
.cat-card.cat-ai header { border-bottom-color: rgba(236,72,153,0.18); }

@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* ─── Testimonial slider (big video + bullets) ─────────────────── */
.t-slider {
  margin-top: 36px;
  position: relative;
}
.t-slider {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.t-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.t-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 4px; /* tiny gap between slides during transition */
}
.t-video {
  max-width: 920px;
  margin: 0 auto;
}
.t-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 28px auto 12px;
  max-width: 760px;
  text-align: center;
}
.t-by {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-style: normal;
}
.t-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.t-role {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.t-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
.t-arrow {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.t-arrow:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.t-arrow:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }

.t-bullets { display: flex; gap: 8px; }
.t-bullet {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--border-2);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.18s ease;
}
.t-bullet:hover { background: var(--muted); }
.t-bullet.active {
  background: var(--accent);
  width: 26px;
  box-shadow: 0 4px 12px -2px var(--accent-glow);
}

/* ─── Comparison ────────────────────────────────────────────────── */
.compare-wrap {
  margin-top: 36px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  box-shadow: var(--shadow-md);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 760px;
}
.compare th, .compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--fg-2);
}
.compare thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: var(--bg-soft);
  position: sticky;
  top: 0;
}
.compare th.col-feature, .compare td.col-feature { min-width: 220px; }
.compare th:not(.col-feature), .compare td:not(.col-feature) { text-align: center; }
.compare .col-us {
  background: linear-gradient(180deg, var(--accent-soft), rgba(252,231,243,0.4));
  color: var(--accent-3);
  font-weight: 500;
  border-left: 1px solid var(--accent-soft);
  border-right: 1px solid var(--accent-soft);
}
.compare thead th.col-us {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--accent-3);
}
.compare td.yes::before { content: "●"; margin-right: 8px; color: var(--accent); }
.compare td.no { color: var(--muted-2); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: rgba(236,72,153,0.025); }

/* ─── Built for scale section ─────────────────────────────────── */
.scale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.scale-cell {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.scale-cell:hover { border-color: var(--accent); transform: translateY(-2px); }
.scale-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}
.scale-icon svg { width: 18px; height: 18px; }
.scale-cell h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.scale-cell p {
  font-size: 14px;
  color: var(--fg-soft);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) { .scale-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scale-grid { grid-template-columns: 1fr; } }

/* ─── Pricing ─────────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.plan {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.plan:hover { border-color: var(--border-2); box-shadow: var(--shadow-md); }
.plan h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 16px;
}
.plan-price {
  margin: 0 0 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-price .amount {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1;
}
.plan-price .suffix {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.plan-tagline {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 22px;
  min-height: 36px;
  line-height: 1.45;
}
.plan ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 22px;
}
.plan li {
  font-size: 14px;
  color: var(--fg-soft);
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.45;
}
.plan li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
  transform: translateY(2px);
}
.plan-cta { width: 100%; justify-content: center; }

/* Hidden bullets when card is collapsed. Click "See more" to reveal. */
.plan-features { flex: 1; }
.plan-features .plan-extra { display: none; }
.plan.expanded .plan-features .plan-extra { display: flex; }

.plan-show-more {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  padding: 12px 0 14px;
  margin: 4px 0 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  width: 100%;
  transition: color 0.15s ease;
}
.plan-show-more:hover { color: var(--accent); }
.plan.expanded .plan-show-more { display: none; }

/* Subtler source-code line — italic mono, no pink pill. */
.plan-source {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  font-style: italic;
}
.plan-footer {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-soft);
  text-align: center;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  font-weight: 500;
}
.plan-popular {
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-elev) 50%);
  border-color: var(--accent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 18px 44px -16px var(--accent-glow);
  transform: translateY(-4px);
}
.plan-popular h3 { color: var(--accent); }
.plan-badge {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-pink);
}
.payment-note {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } .plan-popular { transform: none; } }

/* ─── Custom request (FULL-BLEED section) ─────────────────────── */
.custom {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg) 60%, var(--bg-tint) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding: 160px 24px;
}
.custom-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.custom .eyebrow { justify-content: center; }
.custom .section-h2 { margin: 0 auto 14px; }
.custom-text {
  font-size: 17px;
  color: var(--fg-soft);
  max-width: 600px;
  margin: 6px auto 32px;
  line-height: 1.6;
}
.custom-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 600px) { .custom { padding: 90px 24px; } }

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq-list {
  max-width: var(--max-prose);
  margin: 36px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.faq details:hover { border-color: var(--border-2); }
.faq details[open] {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-elev) 60%);
  box-shadow: var(--shadow-md);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 12px; height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5F66' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* ─── Final CTA ──────────────────────────────────────────────── */
.final-cta {
  text-align: center;
  border-bottom: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
}
.final-cta::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  pointer-events: none;
  filter: blur(80px);
}
.final-cta h2 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--fg);
}
.final-cta h2 em { font-style: italic; color: var(--accent); }
.final-cta p {
  position: relative;
  color: var(--fg-soft);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 28px;
}
.final-cta .hero-cta { position: relative; margin-top: 0; justify-content: center; display: flex; }

/* ─── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  padding: 68px 24px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 60px;
}
.footer-brand p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
}
.footer-copy {
  margin-top: 22px !important;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-2) !important;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-h {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 14px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  color: var(--fg-soft);
  font-size: 14px;
  transition: color 0.16s ease;
}
.footer ul a:hover { color: var(--accent); }
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Tech-stack marquee (infinite logo scroll) ───────────────── */
.stack-marquee-section {
  padding: 56px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.stack-eyebrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 32px;
}
.stack-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.stack-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 50s linear infinite;
  will-change: transform;
}
.stack-marquee:hover .stack-track { animation-play-state: paused; }
.stack-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.stack-item:hover { color: var(--accent); }
.stack-item img {
  width: 22px; height: 22px;
  opacity: 0.75;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}
.stack-item:hover img { opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .stack-track { animation: none; }
}

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