/* ============================================================
   zlorp — landing redesign
   System: Comet (editorial, cinematic) × Dodo (crisp, product-forward)
   Light hero shifting into deep dark sections.
   ============================================================ */

:root {
  /* ---- type ---- */
  --font-display: 'Space Grotesk', 'Manrope', 'Noto Sans Devanagari', sans-serif;
  --font-body: 'Manrope', 'Noto Sans Devanagari', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* ---- light surfaces ---- */
  --bg: oklch(0.984 0.005 85);
  --bg-2: oklch(0.965 0.006 85);
  --surface: oklch(1 0 0);
  --ink: oklch(0.21 0.018 265);
  --ink-2: oklch(0.40 0.02 265);
  --ink-3: oklch(0.55 0.018 265);
  --line: oklch(0.90 0.008 265);
  --line-2: oklch(0.94 0.006 265);

  /* ---- dark surfaces ---- */
  --dk-bg: oklch(0.165 0.018 265);
  --dk-bg-2: oklch(0.205 0.02 265);
  --dk-surface: oklch(0.235 0.022 265);
  --dk-ink: oklch(0.975 0.004 90);
  --dk-ink-2: oklch(0.78 0.012 265);
  --dk-ink-3: oklch(0.62 0.015 265);
  --dk-line: oklch(0.32 0.02 265);

  /* ---- brand + accent (accent is tweakable) ---- */
  --brand: oklch(0.55 0.17 262);
  --brand-bright: oklch(0.63 0.18 260);
  --brand-soft: oklch(0.93 0.04 262);
  --accent: #E8943A;          /* saffron — overridden by Tweaks */
  --accent-ink: oklch(0.30 0.06 60);

  /* ---- geometry ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --shadow-sm: 0 1px 2px rgba(18,20,25,.04), 0 2px 8px rgba(18,20,25,.05);
  --shadow-md: 0 8px 24px rgba(18,20,25,.08), 0 2px 8px rgba(18,20,25,.05);
  --shadow-lg: 0 24px 70px rgba(18,20,25,.16), 0 8px 24px rgba(18,20,25,.08);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* eyebrow / mono labels */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.dark .eyebrow { color: var(--dk-ink-3); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border-radius: 999px;
  transition: transform .35s var(--ease), background .25s var(--ease), box-shadow .35s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px -8px var(--brand);
}
.btn-brand:hover { transform: translateY(-2px); background: var(--brand-bright); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.dark .btn-ghost { color: var(--dk-ink); border-color: var(--dk-line); }
.dark .btn-ghost:hover { border-color: var(--dk-ink-2); background: rgba(255,255,255,.04); }
.dark .btn-primary { background: var(--dk-ink); color: var(--dk-bg); }

.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line-2);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--brand);
  position: relative;
  box-shadow: 0 6px 16px -6px var(--brand);
  flex: none;
}
.brand__mark::before {
  content: ""; position: absolute; inset: 8px;
  border-radius: 3px;
  background: var(--bg);
  transform: rotate(45deg);
  transition: background .3s;
}
.brand__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%,-50%);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px; letter-spacing: -0.04em;
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px; gap: 2px;
}
.lang button {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px; color: var(--ink-3);
  transition: all .25s var(--ease);
}
.lang button.active { background: var(--ink); color: var(--bg); }

.nav__burger {
  display: none;
  width: 42px; height: 42px; place-items: center;
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--surface); color: var(--ink);
}
.nav__burger svg { width: 18px; height: 18px; }

.nav__mobile {
  display: none;
  position: absolute; inset: 72px 0 auto 0;
  background: color-mix(in oklch, var(--bg) 96%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line-2);
  padding: 12px var(--gutter) 22px;
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block; padding: 14px 2px; font-size: 16px; font-weight: 600;
  color: var(--ink-2); border-bottom: 1px solid var(--line-2);
}
.nav__mobile a:last-child { border-bottom: 0; }
.nav__mobile .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* Sticky bottom CTA — mobile only, slides up after scrolling past the hero */
.cta-bottom {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  display: none; justify-content: center;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 720px) {
  .cta-bottom {
    display: flex;
    opacity: 0; transform: translateY(160%); pointer-events: none;
    transition: transform .4s var(--ease), opacity .3s var(--ease);
  }
  .cta-bottom.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 130px); }
.dark { background: var(--dk-bg); color: var(--dk-ink); }
.dark h1, .dark h2, .dark h3 { color: var(--dk-ink); }

.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  margin-top: 18px;
}
.sec-head p {
  margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-2); max-width: 60ch;
}
.dark .sec-head p { color: var(--dk-ink-2); }
.sec-head.center p { margin-inline: auto; }

/* placeholder visuals */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      color-mix(in oklch, var(--brand) 9%, transparent) 0 1.5px,
      transparent 1.5px 13px),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: grid; place-items: center;
}
.ph__tag {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 999px;
}
.dark .ph {
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.05) 0 1.5px, transparent 1.5px 13px),
    var(--dk-bg-2);
  border-color: var(--dk-line);
}
.dark .ph__tag { background: var(--dk-surface); border-color: var(--dk-line); color: var(--dk-ink-2); }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); }
.motion-on .reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
body:not(.motion-on) .reveal { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 138px; padding-bottom: 40px; position: relative; isolation: isolate; }
.hero__aurora {
  position: absolute; inset: -10% 0 auto 0; height: 720px; z-index: -1;
  background:
    radial-gradient(60% 60% at 20% 10%, color-mix(in oklch, var(--brand) 24%, transparent), transparent 70%),
    radial-gradient(50% 50% at 88% 0%, color-mix(in oklch, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(70% 50% at 60% 40%, color-mix(in oklch, var(--brand-bright) 14%, transparent), transparent 72%);
  filter: blur(20px);
  opacity: .8;
}
.motion-on .hero__aurora { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000 30%, transparent 78%);
  opacity: .5;
}

.hero__pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 7px 7px 7px 7px; padding-right: 16px;
  border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
}
.hero__pill .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 22%, white);
  display: grid; place-items: center;
  font-size: 12px;
}
.hero h1 {
  font-size: clamp(44px, 8.2vw, 104px);
  font-weight: 600;
  margin-top: 26px;
  letter-spacing: -0.045em;
}
.hero h1 .accentword { color: var(--brand); font-style: italic; font-weight: 500; }
.hero__sub {
  margin-top: 26px; font-size: clamp(17px, 1.9vw, 21px);
  color: var(--ink-2); max-width: 56ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* hero visual stage */
.hero__stage {
  margin-top: 64px; position: relative;
}
.hero__window {
  position: relative; border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--line-2);
  background: var(--bg-2);
}
.hero__chrome .dots { display: flex; gap: 6px; }
.hero__chrome .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.hero__chrome .url {
  margin-left: 10px; font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-3); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 5px 14px;
}
.hero__shot { aspect-ratio: 16 / 8.4; }
.hero__shot .ph__tag { font-size: 13px; }
.hero__shot img, .showcase__shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}

.hero__chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 11px 15px;
  box-shadow: var(--shadow-md);
  font-size: 14px; font-weight: 600;
}
.hero__chip .ic {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; font-family: var(--font-mono);
  font-size: 13px; font-weight: 600; color: #fff;
}
.hero__chip small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11.5px; }
.chip-upi { top: 16%; left: -2%; }
.chip-gst { bottom: 24%; right: -3%; }
.chip-pay { bottom: -4%; left: 16%; }
.motion-on .hero__chip { animation: float 6s ease-in-out infinite; }
.motion-on .chip-gst { animation-delay: -2s; }
.motion-on .chip-pay { animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* stat row */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 70px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: var(--bg); padding: 30px 32px; }
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 5vw, 58px); letter-spacing: -0.04em;
  color: var(--ink); line-height: 1;
}
.stat__num .u { color: var(--brand); }
.stat__k { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
.stat__d { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line-2);
  padding-block: 26px; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
  background: var(--bg-2);
}
.marquee__label {
  flex: none; padding-left: var(--gutter);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3);
}
.marquee__track { display: flex; gap: 0; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: flex; gap: 0; flex: none; }
.motion-on .marquee__row { animation: scroll 26s linear infinite; }
.marquee__row span {
  display: inline-flex; align-items: center; gap: 14px;
  padding-inline: 26px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.8vw, 34px); letter-spacing: -0.03em;
  color: var(--ink); white-space: nowrap;
}
.marquee__row span::after { content: "✳"; color: var(--accent); font-size: .6em; }
@keyframes scroll { to { transform: translateX(-100%); } }

/* ============================================================
   Feature cards (commerce stack)
   ============================================================ */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 64px;
}
.fcard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  display: flex; flex-direction: column; min-height: 260px;
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.fcard__badge {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 15px;
  background: var(--brand-soft); color: var(--brand);
}
.fcard h3 { font-size: 21px; margin-top: 22px; }
.fcard p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.fcard__spacer { flex: 1; }
.fcard__line {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em;
  color: var(--ink-3); display: flex; align-items: center; gap: 8px;
}

/* ============================================================
   Showcase (dark, interactive tabs)
   ============================================================ */
.showcase__tabs {
  display: inline-flex; gap: 4px; margin-top: 40px;
  background: var(--dk-bg-2); border: 1px solid var(--dk-line);
  border-radius: 999px; padding: 5px;
}
.showcase__tabs button {
  font-size: 14px; font-weight: 600; color: var(--dk-ink-3);
  padding: 10px 20px; border-radius: 999px;
  transition: color .25s, background .25s var(--ease);
}
.showcase__tabs button.active { background: var(--dk-surface); color: var(--dk-ink); }
.showcase__stage {
  margin-top: 30px; position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--dk-line);
  background: linear-gradient(180deg, var(--dk-bg-2), var(--dk-bg));
  padding: 14px;
  box-shadow: 0 40px 120px -40px #000;
}
.showcase__panel { display: none; }
.showcase__panel.active { display: block; }
.motion-on .showcase__panel.active { animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.showcase__shot { aspect-ratio: 16 / 8; }
.showcase__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 6px 12px 12px; flex-wrap: wrap; }
.showcase__meta h3 { font-size: 20px; }
.showcase__meta p { color: var(--dk-ink-2); font-size: 14px; max-width: 52ch; }

/* ============================================================
   Platform benefits
   ============================================================ */
.audience { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.audience span {
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  background: var(--surface);
  transition: all .3s var(--ease);
}
.audience span:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.bene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px; }
.bcard {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 34px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bcard__n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.bcard h3 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 16px; }
.bcard p { margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 44ch; }
.bcard__glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  right: -60px; top: -60px; opacity: 0;
  background: radial-gradient(circle, color-mix(in oklch, var(--brand) 24%, transparent), transparent 70%);
  transition: opacity .5s; pointer-events: none;
}
.bcard:hover .bcard__glow { opacity: 1; }

/* ============================================================
   Themes
   ============================================================ */
.themes__wrap { display: grid; grid-template-columns: 320px 1fr; gap: 40px; margin-top: 56px; align-items: start; }
.themes__list { display: flex; flex-direction: column; gap: 12px; }
.theme-opt {
  text-align: left; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 22px; background: var(--surface);
  transition: all .35s var(--ease); position: relative;
}
.theme-opt:hover { border-color: var(--ink-3); }
.theme-opt.active { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.theme-opt h3 { font-size: 19px; }
.theme-opt p { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.theme-opt__idx { position: absolute; right: 18px; top: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }

.themes__preview {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; background: var(--surface); box-shadow: var(--shadow-md);
  min-height: 420px;
}
.tpv { display: none; }
.tpv.active { display: block; }
.motion-on .tpv.active { animation: fadeUp .5s var(--ease); }
.tpv__bar { height: 44px; display: flex; align-items: center; gap: 7px; padding-inline: 16px; border-bottom: 1px solid var(--line-2); }
.tpv__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.tpv__body { padding: 30px; }
.tpv__hero { border-radius: var(--r-md); padding: 34px; color: #fff; }
.tpv__hero h4 { font-size: 26px; color: #fff; }
.tpv__hero p { font-size: 13px; opacity: .85; margin-top: 8px; }
.tpv__row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 20px; }
.tpv__prod { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tpv__prod .ph { border: 0; border-radius: 0; aspect-ratio: 1; }
.tpv__prod .meta { padding: 10px 12px; font-size: 12px; }
.tpv__prod .meta b { display: block; font-weight: 600; }
.tpv__prod .meta span { color: var(--ink-3); }

/* theme variants */
.tpv-classic { --t: #2f5d50; font-family: var(--font-body); }
.tpv-classic .tpv__hero { background: linear-gradient(135deg, #2f5d50, #50806f); }
.tpv-bold { --t: #d8412f; }
.tpv-bold .tpv__hero { background: linear-gradient(135deg, #1c1c1c, #d8412f); border-radius: 4px; }
.tpv-bold .tpv__hero h4 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; }
.tpv-bold .tpv__prod { border-radius: 4px; }
.tpv-modern { --t: #1a1a1a; }
.tpv-modern .tpv__hero { background: #f1efe9; color: #1a1a1a; }
.tpv-modern .tpv__hero h4 { color: #1a1a1a; font-family: var(--font-display); font-weight: 500; font-style: italic; }
.tpv-modern .tpv__hero p { color: #1a1a1a; }
.tpv-modern .tpv__prod { border-radius: 0; }

/* ============================================================
   Pricing
   ============================================================ */
.price-toggle { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; justify-content: center; }
.price-toggle .sw {
  width: 54px; height: 30px; border-radius: 999px; background: var(--line);
  position: relative; transition: background .3s;
}
.price-toggle .sw::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease);
}
.price-toggle.annual .sw { background: var(--brand); }
.price-toggle.annual .sw::after { transform: translateX(24px); }
.price-toggle .lbl { font-size: 14.5px; font-weight: 600; color: var(--ink-3); }
.price-toggle .lbl.on { color: var(--ink); }
.price-toggle .save { font-family: var(--font-mono); font-size: 11px; white-space: nowrap; color: var(--accent); border: 1px solid color-mix(in oklch, var(--accent) 40%, transparent); padding: 4px 9px; border-radius: 999px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; align-items: stretch; }
.pcard {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pcard.featured { border-color: var(--ink); box-shadow: var(--shadow-md); }
.pcard__tag { position: absolute; top: -11px; left: 26px; font-size: 11px; font-weight: 700; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--brand); color: #fff; padding: 5px 11px; border-radius: 999px; }
.pcard { position: relative; }
.pcard__name { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.pcard__desc { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; min-height: 38px; }
.pcard__price { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; }
.pcard__price .cur { font-size: 22px; font-weight: 600; }
.pcard__price .amt { font-family: var(--font-display); font-weight: 600; font-size: 44px; letter-spacing: -.04em; }
.pcard__price .per { font-size: 13px; color: var(--ink-3); }
.pcard__feats { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard__feats li { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.pcard__feats li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft); position: relative; }
.pcard__feats li svg { position: absolute; }
.tick { flex: none; width: 17px; height: 17px; border-radius: 50%; background: color-mix(in oklch, var(--brand) 16%, white); display: grid; place-items: center; color: var(--brand); font-size: 10px; }
.pcard .btn { margin-top: 24px; justify-content: center; width: 100%; }
.pricing__foot { text-align: center; margin-top: 36px; }
.pricing__foot a { color: var(--brand); font-weight: 600; font-size: 15px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; margin-top: 50px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 2.2vw, 23px);
  color: var(--ink); letter-spacing: -.02em;
}
.faq__icon { flex: none; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: all .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform .3s var(--ease); }
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }
.faq__item.open .faq__icon { background: var(--brand); border-color: var(--brand); }
.faq__item.open .faq__icon::before, .faq__item.open .faq__icon::after { background: #fff; }
.faq__item.open .faq__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq__a-inner { padding: 0 4px 28px; color: var(--ink-2); font-size: 16px; max-width: 64ch; }

/* ============================================================
   Final CTA (dark)
   ============================================================ */
.finale { text-align: center; position: relative; overflow: hidden; }
.finale__aurora {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 30% 20%, color-mix(in oklch, var(--brand) 40%, transparent), transparent 70%),
    radial-gradient(40% 50% at 75% 80%, color-mix(in oklch, var(--accent) 34%, transparent), transparent 70%);
  filter: blur(30px); opacity: .5;
}
.motion-on .finale__aurora { animation: drift 16s ease-in-out infinite alternate; }
.finale .wrap { position: relative; z-index: 1; }
.finale h2 { font-size: clamp(34px, 6vw, 76px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.finale h2 span { color: var(--dk-ink-3); }
.finale p { color: var(--dk-ink-2); font-size: 18px; max-width: 52ch; margin: 26px auto 0; }
.finale__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--dk-bg); color: var(--dk-ink-2); border-top: 1px solid var(--dk-line); padding-block: 70px 40px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .brand__name { color: var(--dk-ink); }
.footer__brand p { margin-top: 18px; font-size: 14.5px; color: var(--dk-ink-2); max-width: 38ch; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer__badges span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--dk-ink-2); border: 1px solid var(--dk-line); border-radius: 999px; padding: 6px 12px; }
.footer__col h4 { font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--dk-ink-3); font-weight: 600; }
.footer__col ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14.5px; color: var(--dk-ink-2); transition: color .2s; }
.footer__col a:hover { color: var(--dk-ink); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--dk-line); font-size: 13px; flex-wrap: wrap; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .themes__wrap { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__links, .lang { display: none; }
  .nav__burger { display: inline-grid; }
  /* Hide the desktop CTA group at rest; reveal a compact CTA on scroll */
  .nav__right { display: none; }
  .nav.scrolled .nav__right { display: flex; margin-left: auto; margin-right: 12px; }
  .nav.scrolled .nav__right .btn { padding: 9px 16px; font-size: 13.5px; }
  .stats { grid-template-columns: 1fr; }
  .feature-grid, .bene-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero__chip { display: none; }
  .showcase__tabs { flex-wrap: wrap; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
