/* Desaverse landing — game-native look (mirrors learn/static/css/app.css tokens) */

:root {
  --ink: #2a1c16;
  --muted: #95897f;
  --brand: #ff7a3d;
  --brand2: #ff4d8d;
  --gold: #ffc93c;
  --green: #43d17a;
  --line: #ece1d6;
  --radius: 26px;
  --radius-md: 18px;
  --glass: rgba(255, 255, 255, .13);
  --glass-brd: rgba(255, 255, 255, .38);
  --glass-sh: 0 22px 50px rgba(8, 22, 16, .45), inset 0 1px 0 rgba(255, 255, 255, .45);
  --panel: rgba(255, 255, 255, .94);
  --txt-sh: 0 2px 10px rgba(0, 0, 0, .45);
  --font-head: "Fredoka", "Baloo 2", sans-serif;
  --font-body: "Baloo 2", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ~90% of traffic is mobile ads: nothing may ever scroll sideways */
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: #fff;
  background: #14241c;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; height: auto; }

/* Same world backdrop as the game itself */
.world-bg {
  position: fixed; inset: 0; z-index: -3;
  background: url("https://desaverse.sgp1.cdn.digitaloceanspaces.com/assets/base/ui/bg.jpg") center/cover no-repeat;
  transform: scale(1.08);
}

.world-veil {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 201, 90, .25), transparent 55%),
    radial-gradient(100% 70% at 100% 110%, rgba(139, 92, 246, .30), transparent 60%),
    linear-gradient(180deg, rgba(10, 24, 18, .35) 0%, rgba(10, 24, 18, .62) 55%, rgba(8, 18, 14, .82) 100%);
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

/* Fluid type: comfortable at 390px, capped at the previous mobile sizes;
   the >=768px overrides below keep desktop exactly as before */
h1 { font-size: clamp(1.9rem, 1.05rem + 3.5vw, 2.1rem); }
h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 1.6rem); }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1em; }
.no-mb { margin-bottom: 0; }

.on-world { color: #fff; text-shadow: var(--txt-sh); }
.center { text-align: center; }

.jawi {
  font-family: "Noto Naskh Arabic", "Amiri", serif;
  direction: rtl;
  unicode-bidi: isolate;
  font-weight: 700;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }

.section { padding: 40px 0; }

.section-lead { font-size: 1.02rem; max-width: 720px; }
.section-lead.center { margin-left: auto; margin-right: auto; }
.on-world.section-lead { color: rgba(255, 255, 255, .92); }

/* White glass panel (game's .panel) */
.panel {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(8, 22, 16, .35);
  padding: 26px 24px;
}

.panel h2, .panel h3 { color: var(--ink); }
.panel p { color: #5d4d41; }

/* Buttons — game's chunky gradient pills */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: .4px;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}

.btn-primary {
  background: linear-gradient(150deg, #ff8a3d, #ff3d6e);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 0 10px 24px rgba(255, 77, 110, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 32px rgba(255, 77, 110, .55), 0 0 0 4px rgba(255, 201, 60, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.btn-primary:active { transform: translateY(1px) scale(.99); }

.btn-big { font-size: 1.15rem; padding: 16px 38px; }
/* >=44px tall on touch; the >=768px override restores the compact desktop pill */
.btn-small { font-size: 0.92rem; padding: 12px 22px; }

/* 1. Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(10, 24, 18, .55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.header-wordmark { display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }

/* 2. Hero — tight at 390px so headline + sub + CTA land in the first viewport */
.hero { padding: 28px 0 44px; }

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-copy h1 { font-size: clamp(1.9rem, 1rem + 3.7vw, 2.15rem); color: #fff; text-shadow: var(--txt-sh); }

.hero-sub {
  font-size: clamp(0.98rem, 0.9rem + 0.6vw, 1.08rem);
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
  max-width: 540px;
}

.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
}

.trust-strip li {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-brd);
  border-radius: 999px;
  padding: 6px 14px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.hero-visual { position: relative; }

/* Browser-style frame around real screenshots */
.shot-frame {
  margin: 0;
  background: rgba(20, 36, 28, .9);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-sh);
  overflow: hidden;
}

.shot-frame-bar {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
}

.shot-frame-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}

.shot-frame-bar i:first-child { background: #ff6b5e; }
.shot-frame-bar i:nth-child(2) { background: var(--gold); }
.shot-frame-bar i:nth-child(3) { background: var(--green); }

.shot-frame img { display: block; width: 100%; }

.shot-frame figcaption {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  padding: 10px 14px;
}

.hero-sprite {
  position: absolute;
  width: 72px;
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4));
  z-index: 2;
}

.hero-sprite-left { left: 0; bottom: -12px; }
.hero-sprite-right { right: 0; bottom: -10px; width: 64px; }

/* Characters */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.character-card {
  margin: 0;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-sh);
  padding: 18px 12px 12px;
  text-align: center;
}

.character-card img { width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .35)); }

.character-card figcaption {
  font-family: var(--font-head);
  font-weight: 600;
  margin-top: 8px;
  color: #fff;
  text-shadow: var(--txt-sh);
}

/* Real gameplay shots: swipeable snap carousel on mobile, grid on desktop */
.shots-row {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.shots-row::-webkit-scrollbar { display: none; }

.shots-row .shot-frame {
  flex: 0 0 100%;
  scroll-snap-align: center;
}

/* Game module cards — exact replica of the in-app course grid.
   Mobile: compact 2-up; desktop values restored in the >=768px block. */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.module {
  position: relative;
  border-radius: var(--radius);
  padding: 14px;
  min-height: 150px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 22px 44px rgba(8, 20, 14, .45), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.module::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .55;
  background: radial-gradient(120% 90% at 80% 0%, rgba(255, 255, 255, .45), transparent 55%);
}

.module-icon {
  align-self: flex-end;
  margin: -6px -4px auto 0;
  width: 60px; height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35));
}

.module h3 {
  margin: 8px 0 3px;
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

.module p { margin: 0; opacity: .95; font-weight: 600; font-size: 0.85rem; }

/* same gradients as the app */
.m-huruf    { background: linear-gradient(150deg, #ff8a3d, #ff3d6e); }
.m-tangkap  { background: linear-gradient(150deg, #f7971e, #ffd200); }
.m-kembar   { background: linear-gradient(150deg, #ffd86b, #f5a623); }
.m-sukukata { background: linear-gradient(150deg, #f757b5, #b01ed6); }
.m-eja      { background: linear-gradient(150deg, #ff6b6b, #ee5a6f); }
.m-roda     { background: linear-gradient(150deg, #36d1dc, #5b86e5); }
.m-pasar    { background: linear-gradient(150deg, #fc4a1a, #f7b733); }
.m-menulis  { background: linear-gradient(150deg, #2fe0a0, #16b9c8); }
.m-cerita   { background: linear-gradient(150deg, #4aa3ff, #8b5cf6); }

.stats-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-sh);
  padding: 14px 24px;
  min-width: 104px;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: var(--txt-sh);
}

.stat-label { font-size: 0.82rem; font-weight: 700; color: rgba(255, 255, 255, .85); }

.section-cta { text-align: center; margin-top: 32px; }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.step {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 22px 50px rgba(8, 22, 16, .35);
  color: var(--ink);
}

.step h3 { color: var(--ink); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold), #ff9a3d);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
  box-shadow: 0 3px 0 rgba(58, 42, 32, .25);
}

.step p { margin: 0; color: #5d4d41; font-size: 0.95rem; }

/* Curriculum checklist */
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 9px;
  height: 5px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

/* Value stack + offer */
.value-stack {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 14px;
}

.value-stack .panel { padding: 20px 22px; }
.value-stack h3 { margin-bottom: 6px; }
.value-stack p { margin: 0; font-size: 0.95rem; }

.anchor-value {
  margin-top: 10px !important;
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink) !important;
  background: rgba(255, 201, 60, .35);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 3px 12px;
}

.offer-box {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  box-shadow: 0 0 0 5px rgba(255, 201, 60, .4), 0 0 60px rgba(255, 201, 60, .25), 0 22px 50px rgba(8, 22, 16, .45);
  padding: 32px 24px;
  text-align: center;
  color: var(--ink);
}

.offer-price {
  font-family: var(--font-head);
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
  margin: 4px 0;
  background: linear-gradient(150deg, #ff8a3d, #ff3d6e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.offer-currency { font-size: 1.8rem; vertical-align: super; }

.offer-once { font-weight: 800; color: var(--ink); margin-bottom: 16px; }

.offer-anchor { font-weight: 600; color: #5d4d41; margin-bottom: 18px; }

.offer-bullets {
  list-style: none;
  padding: 0;
  margin: 0 auto 24px;
  max-width: 400px;
  text-align: left;
}

.offer-bullets li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.offer-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(150deg, var(--gold), #ff9a3d);
}

/* Guarantee */
.guarantee-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.guarantee-card h2 { font-size: 1.3rem; }

/* FAQ */
.faq { margin-top: 24px; }

.faq-item {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: 0 14px 34px rgba(8, 22, 16, .3);
  overflow: hidden;
  color: var(--ink);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  position: relative;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }

.faq-item p {
  padding: 0 20px 16px;
  margin: 0;
  color: #5d4d41;
  font-size: 0.95rem;
}

/* Final CTA */
.section-final-cta { text-align: center; padding: 72px 0; }

.final-cta-inner { max-width: 720px; margin: 0 auto; padding: 0 20px; }

.final-cta-inner h2 { color: #fff; text-shadow: var(--txt-sh); }
.final-cta-inner p { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }

/* Footer */
.site-footer {
  background: rgba(8, 18, 14, .85);
  text-align: center;
  padding: 36px 20px 88px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-copy { font-size: 0.85rem; color: rgba(255, 255, 255, .6); margin: 0; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 24, 18, .88);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .35);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
}

.sticky-cta.visible { transform: translateY(0); visibility: visible; }

.sticky-cta .btn { white-space: nowrap; flex-shrink: 0; }

.sticky-cta-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  padding: 10px 0; /* >=44px tap target */
}

/* Desktop — values here are the pre-mobile-first desktop identity; do not drift */
@media (min-width: 768px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.9rem; }

  .section { padding: 56px 0; }

  .site-header { padding: 14px 40px; }

  .btn-small { padding: 9px 20px; }

  .hero { padding: 64px 0 80px; }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .hero-copy { flex: 1 1 50%; }
  .hero-copy h1 { font-size: 2.7rem; }
  .hero-visual { flex: 1 1 50%; }

  .hero-sprite { width: 130px; }
  .hero-sprite-left { left: -22px; bottom: -26px; }
  .hero-sprite-right { right: -16px; bottom: -20px; width: 110px; }

  .characters-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .character-card img { width: 130px; height: 130px; }

  .shots-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .module-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
  .module { padding: 20px; min-height: 178px; }
  .module-icon { width: 82px; height: 82px; }
  .module h3 { font-size: 1.45rem; }
  .module p { font-size: 0.92rem; }

  .panel { padding: 34px 38px; }

  .steps { grid-template-columns: repeat(3, 1fr); }

  .guarantee-card {
    flex-direction: row;
    text-align: left;
  }

  .offer-box { padding: 44px 48px; }

  .sticky-cta { display: none; }

  .site-footer { padding-bottom: 36px; }
}

/* ---------------------------------------------------------------------------
   Variant-page utilities. Ad variants compose these — they never edit this
   file. Same tokens, same identity. */

/* Optional lead line above the price in offer_box(lead=...) */
.offer-lead { font-weight: 700; color: var(--ink); margin-bottom: 4px; }

/* Copy-only hero (no screenshot, no sprites) */
.hero-minimal { padding: 36px 20px 28px; max-width: 760px; margin: 0 auto; }
.hero-minimal h1 { color: #fff; text-shadow: var(--txt-sh); }
.hero-minimal p { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }

/* Two-way comparison: stacked panels on mobile, side by side on desktop */
.compare-table { display: grid; gap: 14px; margin: 24px 0; }
.compare-table > div {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(8, 22, 16, .35);
  padding: 22px 20px;
}
.compare-table h3 { color: var(--ink); }
.compare-table p, .compare-table li { color: #5d4d41; }

/* One huge gradient number with a label under it */
.big-stat { text-align: center; margin: 28px 0; }
.big-stat .num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3.2rem, 2rem + 6vw, 5rem);
  line-height: 1;
  background: linear-gradient(150deg, #ff8a3d, #ff3d6e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.big-stat .label {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  color: #fff;
  text-shadow: var(--txt-sh);
}

/* Testimonial / story panel with a gold spine */
.story-quote {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .7);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(8, 22, 16, .3);
  padding: 20px 22px;
  margin: 18px 0;
}
.story-quote p { color: #5d4d41; }
.story-quote p:last-child { margin-bottom: 0; }

/* li.yes = green check, li.no = red cross — pure CSS, no glyphs */
.check-cross-list { list-style: none; padding: 0; margin: 18px 0; }
.check-cross-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
  font-weight: 600;
}
.check-cross-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.check-cross-list li.yes::before { background: var(--green); }
.check-cross-list li.no::before { background: #ff5e5e; }
.check-cross-list li.yes::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 9px;
  height: 5px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}
.check-cross-list li.no::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 8.5px;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(45deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%);
}

/* Numbered vertical steps (auto-numbered, unlike the 3-up .steps grid) */
.step-flow { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; counter-reset: stepflow; }
.step-flow li {
  position: relative;
  counter-increment: stepflow;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(8, 22, 16, .3);
  padding: 18px 18px 18px 66px;
}
.step-flow li::before {
  content: counter(stepflow);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold), #ff9a3d);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: 0 3px 0 rgba(58, 42, 32, .25);
}
.step-flow li h3 { margin: 0 0 4px; color: var(--ink); }
.step-flow li p { margin: 0; color: #5d4d41; font-size: 0.95rem; }

@media (min-width: 768px) {
  .compare-table { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero-minimal { padding: 64px 20px 40px; }
}

/* Internal /variants QA index */
.variant-index {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}
.variant-card {
  display: block;
  text-decoration: none;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-sh);
  padding: 18px 20px;
  color: #fff;
  transition: transform .14s ease, box-shadow .14s ease;
}
.variant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, .5), 0 0 0 2px rgba(255, 255, 255, .25);
}
.variant-card-main { border: 2px solid var(--gold); }
.variant-slug {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--gold);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
  word-break: break-all;
}
.variant-card h3 { margin: 6px 0 4px; color: #fff; text-shadow: var(--txt-sh); }
.variant-card p { margin: 0 0 10px; font-size: 0.92rem; color: rgba(255, 255, 255, .88); }
.variant-chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, .18);
  border: 1px solid var(--glass-brd);
  border-radius: 999px;
  padding: 4px 12px;
}
@media (min-width: 768px) {
  .variant-index { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 1024px) {
  .variant-index { grid-template-columns: repeat(3, 1fr); }
}

/* Guest checkout (/beli, /beli/status) + purchase-first CTA stack */
.cta-stack { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-trial-link {
  font-size: .92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .92);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.panel .cta-trial-link, .offer-box .cta-trial-link { color: #5d4d41; }
.cta-trial-link:hover { color: var(--gold); }

.checkout-wrap { max-width: 880px; }
.checkout-grid { display: grid; gap: 22px; margin-top: 26px; text-align: left; }
.checkout-field { display: block; margin-bottom: 16px; }
.checkout-field span { display: block; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.checkout-field em { font-weight: 600; color: var(--muted); font-style: normal; }
.checkout-field input {
  width: 100%;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.checkout-field input:focus { outline: none; border-color: var(--brand); }
.checkout-submit { display: block; width: 100%; text-align: center; border: 0; cursor: pointer; }
.checkout-error {
  background: #ffe9e9;
  color: #b3261e;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.checkout-note { font-size: .92rem; margin-top: 12px; }
.checkout-note a { color: var(--brand); font-weight: 700; }
.checkout-summary .trust-strip { margin-top: 16px; }
.checkout-status .checkout-form-panel { max-width: 520px; margin: 26px auto 0; text-align: center; }

@media (min-width: 768px) {
  .checkout-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
}
