/* ===========================================================
   VAPEPIE VIS VIBE 70000 — Landing Page
   Mobile-first, conversion focused
   =========================================================== */

:root {
  --brand: #123e68;
  --brand-dark: #0b2a48;
  --brand-light: #e8eff6;
  --accent: #c8102e;
  --accent-dark: #a30d25;
  --ink: #172b3e;
  --ink-soft: #51647a;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 43, 62, .06), 0 8px 24px rgba(23, 43, 62, .07);
  --shadow-lg: 0 4px 12px rgba(23, 43, 62, .08), 0 20px 48px rgba(23, 43, 62, .12);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--brand-dark);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .01em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 38px;
  text-align: center;
}
.topbar .dot { opacity: .45; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(circle at 78% 12%, rgba(18, 62, 104, .10), transparent 58%),
    linear-gradient(180deg, var(--bg-soft) 0%, #fff 78%);
  padding: 28px 0 34px;
}
.hero-grid { display: grid; gap: 22px; }

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
}
.hero-media img { width: 100%; }

.badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: .01em;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 7.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 800;
}
.hero h1 .accent { color: var(--brand); }

.lead {
  margin: 0 0 20px;
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 46ch;
}

.price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.price-now {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--accent);
  line-height: 1;
}
.price-was {
  font-size: 17px;
  color: #8a99aa;
  text-decoration: line-through;
}
.price-save {
  font-size: 13px;
  font-weight: 700;
  color: #0b6b3a;
  background: #e6f6ec;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 6px rgba(200, 16, 46, .28);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-lg {
  width: 100%;
  min-height: 54px;
  padding: 15px 22px;
  font-size: 17px;
}
.btn:focus-visible {
  outline: 3px solid rgba(18, 62, 104, .45);
  outline-offset: 3px;
}

.micro {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
  margin: 22px 0 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-facts li {
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}
.hero-facts strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 800;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.pay {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 9px;
  letter-spacing: .01em;
}

/* ---------- sections ---------- */
.section { padding: 46px 0; }
.section-head { margin-bottom: 24px; }
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 5vw, 32px);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 800;
}
.section-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 62ch;
}

/* ---------- flavor filter ---------- */
.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin: 0 -18px 20px;
  padding-left: 18px;
  padding-right: 18px;
  scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  min-height: 42px;
  cursor: pointer;
  transition: all .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: #b9c8d8; }
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.chip-count {
  font-size: 11px;
  opacity: .6;
  font-weight: 700;
}

/* ---------- flavor grid ---------- */
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.flavor-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  -webkit-tap-highlight-color: transparent;
}
.flavor-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  margin-bottom: 8px;
}
.flavor-name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.flavor-desc {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}
.flavor-cta {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
}

a.flavor-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
a.flavor-card:focus-visible {
  outline: 3px solid rgba(18, 62, 104, .45);
  outline-offset: 2px;
}

.badge-top {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .02em;
}

/* sold out */
.flavor-card.is-soldout {
  background: #fafbfc;
  cursor: not-allowed;
}
.flavor-card.is-soldout img { opacity: .38; filter: grayscale(1); }
.flavor-card.is-soldout .flavor-name { color: #98a6b5; }
.flavor-card.is-soldout .flavor-desc { color: #b3bfcb; }
.badge-soldout {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: #6b7a8a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.flavor-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}
.flavor-note strong { color: var(--ink); }

/* ---------- price ladder ---------- */
.ladder { background: var(--bg-soft); }

.ladder-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.ladder-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 6px 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  align-items: center;
}
.ladder-row:last-child { border-bottom: 0; }

.ladder-head {
  background: #eef3f8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
}
.ladder-head span:nth-child(4) { display: none; }

.l-qty { font-weight: 700; }
.l-unit { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.l-total { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.l-note {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: #0b6b3a;
  font-weight: 600;
}

.ladder-row.is-best { background: #f2f9f4; }
.ladder-row.is-best .l-total { color: #0b6b3a; }
.tag-best {
  display: inline-block;
  margin-left: 6px;
  background: #0b6b3a;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  vertical-align: 1px;
  letter-spacing: .02em;
}

.ladder-hint {
  margin: 0 0 20px;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- highlights ---------- */
.hl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.hl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.hl-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 18px;
  margin-bottom: 10px;
}
.hl-card h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hl-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- specs ---------- */
.specs { background: var(--bg-soft); }
.spec-grid { display: grid; gap: 22px; }

.spec-media img {
  width: 100%;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13.5px;
  box-shadow: var(--shadow);
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table th {
  font-weight: 600;
  color: var(--ink-soft);
  width: 44%;
  background: #fbfcfd;
}
.spec-table td { font-weight: 600; }

/* ---------- steps ---------- */
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 18px 58px;
}
.step-no {
  position: absolute;
  left: 16px;
  top: 17px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.step h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}
.step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  padding: 15px 44px 15px 16px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- final CTA ---------- */
.final-cta {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  text-align: center;
  padding-bottom: 56px;
}
.final-cta h2 { margin-bottom: 8px; }
.final-cta .section-sub { margin: 0 auto 22px; }

/* ---------- footer ---------- */
.footer {
  background: var(--brand-dark);
  color: #c9d6e3;
  padding: 32px 0 96px;
  font-size: 12.5px;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 18px;
}
.legal-links a { color: #c9d6e3; text-decoration: none; }
.legal-links a:hover { color: #fff; text-decoration: underline; }

.legal-warn {
  border-top: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding: 14px 0;
  margin-bottom: 14px;
  line-height: 1.6;
}
.legal-warn p { margin: 0 0 6px; }
.legal-warn p:last-child { margin-bottom: 0; }
.legal-warn strong { color: #fff; }

.copyright { margin: 0; opacity: .7; }

/* ---------- sticky bar ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(23, 43, 62, .09);
  transform: translateY(110%);
  transition: transform .22s ease;
}
.sticky-bar.is-visible { transform: translateY(0); }

.sticky-info { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}
.sticky-meta {
  font-size: 10.5px;
  color: var(--ink-soft);
  margin-top: 1px;
}
.sticky-btn {
  flex: 1;
  min-height: 46px;
  font-size: 15px;
}

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .flavor-grid { grid-template-columns: repeat(3, 1fr); }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-meta { font-size: 11.5px; }
}

@media (min-width: 900px) {
  .topbar { font-size: 13px; }
  .hero { padding: 48px 0 56px; }
  .hero-grid {
    grid-template-columns: 0.85fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .hero-media { max-width: none; }
  .btn-lg { width: auto; min-width: 320px; }
  .micro { text-align: left; }
  .hero-facts { max-width: 460px; }
  .pay-row { justify-content: flex-start; }
  .section { padding: 64px 0; }
  .flavor-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .hl-grid { grid-template-columns: repeat(3, 1fr); }
  .spec-grid { grid-template-columns: 0.9fr 1fr; gap: 40px; align-items: start; }
  .step-list { grid-template-columns: repeat(3, 1fr); }
  .ladder-row {
    grid-template-columns: 1fr 1fr 1fr 1.4fr;
    font-size: 14.5px;
  }
  .ladder-head span:nth-child(4) { display: block; }
  .l-note {
    grid-column: auto;
    text-align: right;
    font-size: 12.5px;
  }
  .sticky-bar { display: none; }
  .footer { padding-bottom: 32px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
