/* ===== 2Tap — sections.css =====
   Section layouts: hero, story acts (pinned 3D scenes), light acts,
   pricing, proof, footer. Chrome and tokens live in style.css. */

/* main has no content of its own at the fixed stage's z-index — without
   this, empty space inside any section (nothing painted, no background)
   still counts as "main" for hit-testing and swallows clicks meant for
   the canvas beneath it (the hero's drag included). Sections that need
   to be clickable opt back in explicitly below. */
main { position: relative; z-index: 3; pointer-events: none; }
section { position: relative; }

/* Dark acts let the fixed stage show through; light acts cover it. */
.act-light { background: var(--paper); color: var(--ink); z-index: 4; pointer-events: auto; }
.proof, .footer { pointer-events: auto; }

.container { width: min(1240px, 92vw); margin: 0 auto; }

/* ---------- HERO ---------- */
.act-hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 4vh) clamp(20px, 5vw, 72px) 0;
  /* Text sits over the fixed stage but doesn't own it — everywhere but
     the copy itself passes clicks through so the hero card is grabbable. */
  pointer-events: none;
}
.hero-content { position: relative; max-width: 780px; }
.hero-actions, .hero-actions a { pointer-events: auto; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.2rem, 9.2vw, 8.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 22px 0 26px;
}
.hero-title .stars-word { color: var(--gold); font-style: normal; }
.hero-sub {
  max-width: 470px;
  color: var(--chalk-60);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-ticker {
  position: absolute; bottom: 0; left: 0; right: 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; gap: 56px; width: max-content; will-change: transform; }
.ticker-track span {
  font-family: var(--font-tech);
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--chalk-40);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 56px;
}
.ticker-track .star { color: var(--gold); }

/* ---------- STORY ACTS (pinned scenes) ---------- */
.act {
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.act-inner { position: absolute; inset: 0; pointer-events: none; }
.act-inner a, .act-inner button { pointer-events: auto; }

.act-label {
  position: absolute; top: calc(var(--nav-h) + 20px); left: clamp(20px, 5vw, 72px);
  opacity: 0;
}

/* spec callouts — hairline + dot + technical label */
.callout {
  position: absolute;
  max-width: 300px;
  opacity: 0;
  visibility: hidden;
}
.callout .co-rule {
  width: 72px; height: 1px; background: var(--chalk-40);
  position: relative; margin-bottom: 14px;
  transform-origin: left;
}
.callout .co-rule::after {
  content: ""; position: absolute; right: -3px; top: -2.5px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}
.callout h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.callout p { color: var(--chalk-60); font-size: 14.5px; line-height: 1.6; }
.callout .co-tech {
  font-family: var(--font-tech);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--chalk-40);
  display: block; margin-bottom: 12px;
}

.co-left { left: clamp(20px, 7vw, 110px); top: 50%; transform: translateY(-50%); }
.co-right { right: clamp(20px, 7vw, 110px); top: 50%; transform: translateY(-50%); text-align: right; }
.co-right .co-rule { margin-left: auto; transform-origin: right; }
.co-right .co-rule::after { right: auto; left: -3px; }

/* floating buy chip */
.buy-chip {
  position: absolute; left: 50%; bottom: 6vh;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px;
  padding: 10px 10px 10px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 13, 18, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
}
.buy-chip .bc-name { font-weight: 600; font-size: 14.5px; }
.buy-chip .bc-price { font-family: var(--font-tech); font-size: 13px; color: var(--chalk-60); }
.buy-chip .btn { padding: 12px 24px; font-size: 13.5px; }

/* ---------- ACT: TAP (signature scene) ---------- */
.tap-words {
  position: absolute; left: clamp(20px, 7vw, 110px); top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.tap-word {
  position: absolute; left: 0; top: 0;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
}
.tap-word .accent-blue { color: var(--blue); font-style: normal; }
.tap-word .accent-gold { color: var(--gold); font-style: normal; }

.review-pop {
  position: absolute;
  right: clamp(16px, 7vw, 120px); top: 50%;
  transform: translateY(-50%);
  width: min(320px, 84vw);
  background: #fff; color: var(--ink);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
}
.review-pop .rp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-pop .rp-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.review-pop .rp-name { font-weight: 600; font-size: 14px; line-height: 1.2; }
.review-pop .rp-sub { font-size: 11.5px; color: rgba(18, 18, 22, 0.5); }
.review-pop .rp-stars { display: flex; gap: 5px; margin-bottom: 10px; }
.review-pop .rp-stars svg { width: 22px; height: 22px; fill: #e3e3e0; transform: scale(0); }
.review-pop .rp-stars svg.lit { fill: var(--gold); }
.review-pop .rp-text { font-size: 13.5px; line-height: 1.55; color: rgba(18, 18, 22, 0.8); }
.review-pop .rp-posted {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(18, 18, 22, 0.08);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: #1a8a3c;
}

/* ---------- ACT: STAND ---------- */
.stand-panel {
  position: absolute; right: clamp(20px, 7vw, 110px); top: 50%;
  transform: translateY(-50%);
  max-width: 320px;
  opacity: 0;
  visibility: hidden;
}
.stand-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 10px;
}
.stand-panel p { color: var(--chalk-60); font-size: 14.5px; margin-bottom: 22px; }

/* ---------- LIGHT ACT: HOW IT WORKS ---------- */
.act-how { padding: clamp(90px, 13vh, 150px) 0 clamp(80px, 11vh, 130px); }
.how-head { max-width: 720px; margin-bottom: clamp(50px, 8vh, 90px); }

.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  position: relative;
}
.how-line {
  position: absolute; top: 27px; left: 0; right: 0;
  height: 1px; background: var(--line-ink);
}
.how-line i {
  display: block; height: 100%;
  background: var(--blue);
  transform-origin: left;
  transform: scaleX(0);
}
.how-step { position: relative; padding-top: 56px; }
.how-num {
  position: absolute; top: 0; left: 0;
  width: 54px; height: 54px;
  border: 1px solid var(--line-ink);
  border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-tech);
  font-size: 13px; font-weight: 500;
  color: var(--blue);
}
.how-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 14px 0 10px;
}
.how-step p { color: var(--ink-60); font-size: 15px; max-width: 320px; }
.how-note {
  margin-top: clamp(50px, 8vh, 80px);
  padding-top: 26px;
  border-top: 1px solid var(--line-ink);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  font-size: 13.5px; color: var(--ink-60);
}
.how-note strong { color: var(--ink); font-weight: 600; }

/* ---------- LIGHT ACT: PRICING ---------- */
.pricing { padding: clamp(90px, 13vh, 150px) 0 clamp(90px, 13vh, 150px); border-top: 1px solid var(--line-ink); }
.pricing-head { text-align: center; max-width: 640px; margin: 0 auto clamp(50px, 8vh, 80px); }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  position: relative;
  border: 1px solid var(--line-ink);
  border-radius: 24px;
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.4);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(18, 18, 22, 0.08); }
.price-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 6px; }
.price-card-desc { color: var(--ink-60); font-size: 14px; margin-bottom: 22px; }
.price-card-amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.4vw, 3.2rem); font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.price-card-amount sub {
  font-family: var(--font-tech); font-size: 12px; font-weight: 500;
  color: var(--ink-60); vertical-align: baseline; margin-left: 6px;
}
.price-card ul { flex: 1; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.price-card li {
  position: relative; padding-left: 22px;
  font-size: 14px; color: var(--ink-60);
}
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 1.5px; background: var(--blue);
}
.price-card .btn { width: 100%; }
.price-card .btn-ghost { border-color: var(--line-ink); color: var(--ink); }
.price-card .btn-ghost::before { background: var(--ink); }
.price-card .btn-ghost:hover { color: var(--paper); border-color: var(--ink); }

.price-card.featured {
  background: var(--void); color: var(--chalk);
  border-color: var(--void);
  box-shadow: 0 40px 90px rgba(18, 18, 22, 0.28);
}
.price-card.featured .price-card-desc, .price-card.featured li, .price-card.featured .price-card-amount sub { color: var(--chalk-60); }
.price-card.featured:hover { transform: translateY(-10px); }

/* ---------- PROOF (dark) ---------- */
.proof { padding: clamp(90px, 13vh, 150px) 0 clamp(70px, 9vh, 110px); }
.proof-head { text-align: center; max-width: 640px; margin: 0 auto clamp(46px, 7vh, 70px); }
.proof-head .stars-word { color: var(--gold); font-style: normal; }

.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(50px, 8vh, 80px);
}
.stat {
  padding: 30px clamp(14px, 2.5vw, 40px);
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 600;
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.stat-num .unit { font-size: 0.5em; color: var(--chalk-60); }
.stat-label {
  font-family: var(--font-tech);
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--chalk-40);
  margin-top: 8px;
}

.reviews-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 6px 0;
}
.reviews-marquee + .reviews-marquee { margin-top: 18px; }
.reviews-track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.review-card {
  width: min(360px, 82vw);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 26px;
  background: rgba(13, 13, 18, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(245, 244, 239, 0.28); }
.review-card .stars { color: var(--gold); letter-spacing: 4px; font-size: 14px; margin-bottom: 12px; }
.review-card p { font-size: 14.5px; line-height: 1.6; color: var(--chalk-60); }
.review-card .review-author {
  margin-top: 16px;
  font-family: var(--font-tech);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--chalk-40);
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(90px, 14vh, 170px);
}
.footer-cta { text-align: center; padding-bottom: clamp(80px, 12vh, 150px); }
.footer-cta h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 38px;
}
.footer-cta .stars-word { color: var(--gold); font-style: normal; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(50px, 7vh, 80px) 0;
  border-top: 1px solid var(--line);
}
.footer-brand p { color: var(--chalk-60); font-size: 14px; max-width: 300px; margin: 18px 0 24px; }
.footer-col h4 {
  font-family: var(--font-tech);
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--chalk-40);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14.5px; color: var(--chalk-60);
  padding: 5px 0;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.footer-col a:hover { color: var(--chalk); transform: translateX(5px); }
/* Floating Viber contact button */
.viber-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 130;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #7360f2; color: #fff;
  box-shadow: 0 6px 20px rgba(115, 96, 242, 0.45);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.viber-fab:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 28px rgba(115, 96, 242, 0.6);
}
@media (max-width: 640px) {
  .viber-fab { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}

.newsletter {
  display: flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 20px;
  max-width: 320px;
  transition: border-color 0.3s;
}
.newsletter:focus-within { border-color: var(--chalk-40); }
.newsletter input {
  flex: 1; min-width: 0;
  background: none; border: 0; outline: 0;
  color: var(--chalk);
  font-size: 13.5px;
}
.newsletter input::placeholder { color: var(--chalk-40); }
.newsletter button {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--chalk); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.newsletter button:hover { background: var(--blue); color: #fff; transform: rotate(-45deg); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--chalk-40);
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .co-left { top: auto; bottom: 20vh; transform: none; }
  .co-right { top: auto; bottom: 20vh; transform: none; }
}

@media (max-width: 860px) {
  .act-hero { justify-content: flex-end; padding-bottom: 18vh; }
  .hero-content { max-width: 100%; }
  .hero-sub { max-width: 420px; }

  .callout, .co-left, .co-right {
    left: 50%; right: auto; top: auto; bottom: 9vh;
    transform: translateX(-50%);
    width: min(420px, 86vw); max-width: none;
    text-align: center;
  }
  .callout .co-rule { margin-left: auto; margin-right: auto; transform-origin: center; }
  .co-right .co-rule::after { left: auto; right: -3px; }

  .tap-words { left: 50%; top: 16%; transform: translateX(-50%); }
  .tap-word { left: 50%; transform: translate(-50%, 0); }
  .review-pop { right: 50%; transform: translate(50%, -50%); top: 56%; }

  .stand-panel {
    right: auto; left: 50%; top: auto; bottom: 9vh;
    transform: translateX(-50%);
    width: 86vw; max-width: 420px;
    text-align: center;
  }
  .buy-chip { width: max-content; max-width: 94vw; }
  .buy-chip .bc-price { display: none; }

  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .how-line { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.featured { order: -1; }
  .stats-row { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body.reduced .act { height: auto; min-height: 60vh; padding: 120px 0; }
  body.reduced .act-inner { position: relative; }
  body.reduced .callout, body.reduced .tap-word, body.reduced .review-pop,
  body.reduced .stand-panel, body.reduced .buy-chip, body.reduced .act-label {
    opacity: 1 !important; visibility: visible !important;
    position: relative; inset: auto; transform: none;
    margin: 26px auto; text-align: center;
  }
  body.reduced .tap-word { display: block; }
  body.reduced #stage { position: absolute; height: 100vh; }
}

/* Pricing card → product page link (added with the PDP pages) */
.price-card-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  border-bottom: 1px solid var(--line-ink);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.price-card-link:hover { color: var(--blue); border-color: var(--blue); }
