/* =============================================================================
   BillingFast — /demos/blinkit landing page
   Hand-written modern CSS. No framework, no Bootstrap. Premium, white, airy.
   Palette (from brief):
     green #2F7D57 · yellow #F4C430 · bg #FFFFFF · card #FAFAFA
     border #ECECEC · ink #111111 · muted #666666
   ========================================================================== */

:root {
  --green: #2f7d57;
  --green-600: #276a49;
  --green-700: #1f563b;
  --green-50: #eef6f1;
  --green-100: #dcecE3;
  --yellow: #f4c430;
  --yellow-600: #e0ad13;
  --yellow-50: #fdf7e3;
  --bg: #ffffff;
  --card: #fafafa;
  --border: #ececec;
  --border-strong: #e2e2e2;
  --ink: #111111;
  --muted: #666666;
  --muted-2: #8a8a8a;

  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.04), 0 4px 12px -6px rgba(17, 17, 17, 0.08);
  --shadow: 0 12px 32px -18px rgba(17, 17, 17, 0.22);
  --shadow-lg: 0 40px 80px -40px rgba(17, 17, 17, 0.32);
  --shadow-green: 0 20px 44px -20px rgba(47, 125, 87, 0.45);

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── Layout primitives ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.section {
  padding-block: 96px;
  position: relative;
}
.section--tight {
  padding-block: 72px;
}
@media (max-width: 768px) {
  .section {
    padding-block: 68px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 7px 14px;
  border-radius: 999px;
}
.eyebrow svg {
  width: 15px;
  height: 15px;
}

.section-head {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 56px;
}
.section-head .h2 {
  margin-top: 20px;
}
.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

/* ── Type scale ────────────────────────────────────────────────────────── */
.h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}
.h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}
@media (max-width: 600px) {
  .h1 {
    font-size: clamp(2rem, 8.4vw, 2.5rem);
  }
  .h2 {
    font-size: clamp(1.55rem, 6.6vw, 1.95rem);
  }
}
.h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.text-green {
  color: var(--green);
}
.text-muted {
  color: var(--muted);
}
.grad-text {
  background: linear-gradient(120deg, var(--green) 0%, #3fa06f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.1;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn-primary {
  background: linear-gradient(180deg, #369065 0%, var(--green) 55%, var(--green-600) 100%);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 52px -20px rgba(47, 125, 87, 0.55);
}
.btn-primary .btn-sub {
  font-weight: 500;
  opacity: 0.82;
  font-size: 12.5px;
}
.btn-primary.btn-stack {
  flex-direction: column;
  gap: 2px;
  padding: 13px 28px;
}
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: #d4d4d4;
  box-shadow: var(--shadow);
}
.btn-yellow {
  background: linear-gradient(180deg, #f8d152 0%, var(--yellow) 60%, var(--yellow-600) 100%);
  color: #4a3a00;
  box-shadow: 0 18px 38px -18px rgba(244, 196, 48, 0.7);
}
.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px -18px rgba(244, 196, 48, 0.85);
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 17px 30px;
  font-size: 16.5px;
}

/* ── Navbar ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  transition: padding 0.3s var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.nav.is-scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border);
  box-shadow: 0 10px 30px -18px rgba(17, 17, 17, 0.25);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--green) 0%, var(--green-600) 100%);
  color: var(--yellow);
  box-shadow: var(--shadow-sm);
}
.brand-mark svg {
  width: 19px;
  height: 19px;
}
.brand small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta .btn {
  padding: 11px 20px;
  font-size: 14.5px;
}
@media (max-width: 720px) {
  .nav-cta .btn-secondary {
    display: none;
  }
  .nav-inner {
    padding-left: 18px;
  }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 40px;
  padding-bottom: 88px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at center, rgba(47, 125, 87, 0.16), transparent 62%);
  filter: blur(10px);
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: 80px;
  left: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at center, rgba(244, 196, 48, 0.16), transparent 62%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .h1 {
  margin-top: 22px;
}
.hero-copy .lead {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 30ch;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-trust {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--yellow-600);
}
.stars svg {
  width: 17px;
  height: 17px;
  fill: var(--yellow);
  stroke: var(--yellow-600);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 15px;
  border-radius: 999px;
}
.hero-badge svg {
  width: 15px;
  height: 15px;
  color: var(--yellow);
}

/* Portrait video hero */
.hero-media {
  display: flex;
  justify-content: center;
}
.video-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 2 / 3; /* matches the poster (1024×1536) so nothing is cropped */
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, #e8f1ec 0%, #f6f3e8 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(17, 17, 17, 0.04);
  animation: floaty 7s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .video-frame {
    animation: none;
  }
}
.video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Faint top-down tint only so the white play button always has contrast,
   whatever part of the poster sits behind it. */
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(17, 17, 17, 0.12), transparent 42%);
}
.video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.play-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--green);
  box-shadow: 0 18px 40px -14px rgba(17, 17, 17, 0.5);
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.play-btn svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  fill: currentColor;
}
.play-btn::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: pulse 2.4s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .play-btn::before {
    animation: none;
  }
}
.video-play:hover .play-btn {
  transform: scale(1.06);
  background: #fff;
}
.video-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  text-align: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.video-caption span {
  display: block;
  font-weight: 500;
  font-size: 12.5px;
  opacity: 0.85;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }
  .hero-copy .lead {
    max-width: none;
    margin-inline: auto;
  }
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }
  .hero-media {
    order: -1;
  }
}
@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* ── Ordering funnel (Section 2) ───────────────────────────────────────── */
/* Customers already search on Blinkit / Instamart / Google / WhatsApp — funnel
   them into Your App → Your Store. */
.funnel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 6px;
}
.fnode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 108px;
  text-align: center;
}
.fnode .tile {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fnode:hover .tile {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.fnode .tile svg {
  width: 30px;
  height: 30px;
}
.fnode p {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
  max-width: 100px;
}
/* Brand-coloured source tiles */
.tile-blinkit {
  background: #f8cb46 !important;
  border-color: #f0bd2a !important;
  color: #3a2e00;
}
.tile-instamart {
  background: #fc8019 !important;
  border-color: #e8710f !important;
  color: #fff;
}
.tile-whatsapp {
  background: #25d366 !important;
  border-color: #1fbe5a !important;
  color: #fff;
}
.farrow {
  flex-shrink: 0;
  color: #d0d0d0;
  margin-bottom: 26px; /* nudge up to sit level with the icon tiles */
}
.farrow svg {
  width: 22px;
  height: 22px;
}
/* Emphasised targets */
.fnode.is-app .tile {
  width: 78px;
  height: 78px;
  border: none;
  background: linear-gradient(155deg, #3ba172 0%, var(--green) 55%, var(--green-600) 100%);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.fnode.is-app .tile svg,
.fnode.is-store .tile svg {
  width: 38px;
  height: 38px;
}
.fnode.is-store .tile {
  width: 78px;
  height: 78px;
  background: var(--green-50);
  border-color: var(--green-100);
  color: var(--green);
}
.fnode.is-app p,
.fnode.is-store p {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}
.fstars {
  display: flex;
  gap: 1px;
  height: 14px;
}
.fstars svg {
  width: 13px;
  height: 13px;
  fill: var(--yellow);
  stroke: var(--yellow-600);
}
.fspace {
  height: 14px;
}
@media (max-width: 640px) {
  .farrow {
    display: none;
  }
  .funnel {
    gap: 22px 16px;
  }
  .fnode {
    width: 92px;
  }
}
.flow-note {
  margin-top: 44px;
  text-align: center;
}
.flow-note strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
}
.flow-note span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}

/* ── Reviews (Section 3) ───────────────────────────────────────────────── */
.reviews-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  margin-inline: -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}
.review-card {
  scroll-snap-align: center;
  flex: 0 0 clamp(280px, 80vw, 380px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.review-quote {
  position: absolute;
  top: 20px;
  right: 26px;
  font-family: var(--font-head);
  font-size: 84px;
  line-height: 1;
  color: var(--green-100);
  font-weight: 800;
  user-select: none;
}
.review-card .stars {
  margin-bottom: 16px;
}
.review-text {
  font-size: 16.5px;
  line-height: 1.62;
  color: #2a2a2a;
  position: relative;
  z-index: 1;
}
.review-person {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
}
.review-person b {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  display: block;
}
.review-person span {
  color: var(--muted);
  font-size: 13.5px;
}
.reviews-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.round-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--border-strong);
  color: var(--ink);
  transition: transform 0.2s var(--ease), border-color 0.2s ease, background 0.2s;
}
.round-btn:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.round-btn svg {
  width: 20px;
  height: 20px;
}

/* ── Feature grid (Section 4) ──────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--green-50), #fff);
  border: 1px solid var(--green-100);
  color: var(--green);
  margin-bottom: 22px;
  transition: transform 0.35s var(--ease);
}
.feature-card:hover .feature-ico {
  transform: scale(1.08) rotate(-3deg);
}
.feature-ico svg {
  width: 27px;
  height: 27px;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Platform grid (Section 4) ─────────────────────────────────────────── */
.plat-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.plat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .plat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 520px) {
  .plat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plat-wrap {
    padding: 18px;
  }
}
.plat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s ease, background 0.3s ease;
}
.plat-card:hover {
  transform: translateY(-5px);
  background: #fff;
  border-color: var(--green-100);
  box-shadow: var(--shadow);
}
.plat-ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--green);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}
.plat-card:hover .plat-ico {
  background: var(--green);
  color: #fff;
  transform: scale(1.06);
}
.plat-ico svg {
  width: 23px;
  height: 23px;
}
.plat-card span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.3;
}

/* ── Value / pricing comparison (Section 4) ────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  margin-top: 26px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .value-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}
.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
}
.value-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.x-list,
.check-list {
  margin-top: 18px;
}
.x-list li,
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14.5px;
}
.x-ico,
.c-ico {
  flex-shrink: 0;
}
.x-ico svg,
.c-ico svg {
  width: 19px;
  height: 19px;
}
.x-ico {
  color: #d9483b;
}
.c-ico {
  color: var(--green);
}
/* Left — cost a fortune */
.value-cost {
  background: #fef3f2;
  border-color: #f8d7d2;
}
.value-cost h3 {
  color: #d9483b;
}
.cost-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(217, 72, 59, 0.12);
  font-size: 14px;
}
.cost-row .n {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #333;
}
.cost-row .v {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.cost-total {
  margin-top: 20px;
  text-align: center;
  background: #fde5e2;
  border-radius: 16px;
  padding: 16px;
}
.cost-total small {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: #a5342a;
}
.cost-total b {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 27px;
  color: #d9483b;
  margin-top: 4px;
}
/* Middle — instead of buying */
.value-mid h3 {
  color: var(--green-700);
}
.bf-card {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.bf-card .brand {
  margin-bottom: 6px;
}
/* Right — everything included */
.value-incl {
  background: linear-gradient(180deg, #369065 0%, var(--green) 45%, var(--green-700) 100%);
  border: none;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-green);
}
.value-incl .pill {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  padding: 7px 16px;
  border-radius: 999px;
}
.value-incl .big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 58px;
  line-height: 1;
  margin: 16px 0 2px;
  letter-spacing: -0.02em;
}
.value-incl .per {
  opacity: 0.9;
  font-size: 14px;
  font-weight: 600;
}
.value-incl .check-list {
  text-align: left;
  margin: 22px 0 24px;
}
.value-incl .check-list li {
  color: #ecfdf4;
}
.value-incl .c-ico {
  color: var(--yellow);
}
.value-incl .cancel {
  margin-top: 12px;
  font-size: 12.5px;
  opacity: 0.85;
}

/* ── Retail types (Section 5) ──────────────────────────────────────────── */
.retail-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .retail-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 620px) {
  .retail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 400px) {
  .retail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.retail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 12px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s ease, border-color 0.3s ease;
}
.retail-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: #fff;
  border-color: var(--green-100);
  box-shadow: var(--shadow);
}
.retail-ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--green);
  transition: color 0.3s, background 0.3s;
}
.retail-card:hover .retail-ico {
  background: var(--green);
  color: #fff;
}
.retail-ico svg {
  width: 24px;
  height: 24px;
}
.retail-card span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 64px 40px;
  background: linear-gradient(180deg, #fff 0%, var(--card) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
.footer-about p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  max-width: 42ch;
}
.footer h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  color: #333;
  font-size: 15px;
  transition: color 0.2s, transform 0.2s;
}
.footer-links a:hover {
  color: var(--green);
  transform: translateX(3px);
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.social-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  transition: transform 0.2s var(--ease), color 0.2s, border-color 0.2s;
}
.social-btn:hover {
  transform: translateY(-3px);
  color: var(--green);
  border-color: var(--green-100);
}
.social-btn svg {
  width: 19px;
  height: 19px;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
}

/* ── Modals ────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal.is-open {
  display: flex;
  animation: fade 0.25s ease;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.modal-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  animation: pop 0.32s var(--ease);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}
/* Video modal — portrait */
.modal-video .modal-panel {
  max-width: 400px;
  background: #000;
  aspect-ratio: 9 / 16;
  max-height: 88vh;
  overflow: hidden;
  position: relative;
}
.modal-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease);
}
.modal-close:hover {
  transform: rotate(90deg);
}
.modal-close svg {
  width: 20px;
  height: 20px;
}

/* Purchase modal */
.modal-buy .modal-panel {
  max-width: 460px;
  padding: 34px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}
.buy-head h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.buy-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
.price-tag {
  margin: 22px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--green-50);
  border: 1px solid var(--green-100);
}
.price-tag .amt {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  color: var(--green-700);
  letter-spacing: -0.02em;
}
.price-tag .amt s {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-2);
}
.price-tag .meta {
  font-size: 13.5px;
  color: var(--green-700);
  line-height: 1.5;
}
.price-tag .meta b {
  font-family: var(--font-head);
}
.field {
  margin-bottom: 15px;
}
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  padding: 13px 15px;
  border-radius: 13px;
  border: 1.5px solid var(--border-strong);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder {
  color: var(--muted-2);
}
.field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 125, 87, 0.12);
}
.field input.err {
  border-color: #d9483b;
}
.field .msg {
  display: none;
  color: #d9483b;
  font-size: 12.5px;
  margin-top: 6px;
}
.field .msg.show {
  display: block;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.buy-note {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.buy-note svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}
.form-banner {
  display: none;
  margin-bottom: 14px;
  padding: 11px 15px;
  border-radius: 12px;
  background: #fdecea;
  border: 1px solid #f5c6c0;
  color: #b23227;
  font-size: 13.5px;
}
.form-banner.show {
  display: block;
}
.spinner {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  display: none;
}
.spinner.show {
  display: block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Scroll reveal ─────────────────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.js .reveal.reveal-scale {
  transform: translateY(20px) scale(0.96);
}
.js .reveal.reveal-left {
  transform: translateX(-30px);
}
.js .reveal.reveal-right {
  transform: translateX(30px);
}
.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Toast ─────────────────────────────────────────────────────────────── */
.toast-host {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show {
  opacity: 1;
  transform: none;
}
.toast.err {
  background: #c0392b;
}

body.no-scroll {
  overflow: hidden;
}
