/* Vitalis Men — offer/checkout funnel page */

/* The [hidden] attribute must always win over component display rules below
   (e.g. .activating{display:flex}, .rec-chip{display:inline-flex}). */
[hidden] { display: none !important; }

.offers-body {
  background:
    radial-gradient(1100px 520px at 50% -10%, rgba(47, 107, 255, 0.18), transparent 70%),
    var(--bg);
  min-height: 100vh;
}

.offers {
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 18px 56px;
}

.offers-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.offers-top .logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--fg);
  text-decoration: none;
  font-size: 17px;
}
.offers-top .mark {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--primary);
}
.offers-top .mark svg { width: 17px; height: 17px; }
.secure { font-size: 12px; color: var(--muted); font-weight: 600; }

.offers-banner {
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.offers-banner.warn { background: rgba(255, 180, 60, 0.12); color: #ffcf86; }
.offers-banner.info { background: rgba(47, 107, 255, 0.12); color: #9cc0ff; }

.offers-hero { text-align: center; margin-bottom: 18px; }
.eyebrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.offers-hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.12;
  margin: 10px 0 8px;
  color: var(--fg);
}
.lead { color: var(--muted); font-size: 15px; margin: 0; }
.rec-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.14);
  border: 1px solid rgba(47, 107, 255, 0.35);
  color: #cfe0ff;
  font-weight: 700;
  font-size: 14px;
}

/* Urgency timer */
.timer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0;
  padding: 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.timer-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.timer {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: #ff8a6b;
  font-variant-numeric: tabular-nums;
}

/* Plan cards */
.plans { display: flex; flex-direction: column; gap: 12px; }
.plan-card {
  position: relative;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  color: var(--fg);
}
.plan-card:active { transform: scale(0.99); }
.plan-card.selected {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.12), var(--surface));
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
}
.plan-card.featured { padding-top: 22px; }
.plan-badge {
  position: absolute;
  top: -11px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan-row { display: flex; align-items: center; gap: 14px; }
.plan-radio {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  position: relative;
}
.plan-card.selected .plan-radio { border-color: var(--primary); }
.plan-card.selected .plan-radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--primary);
}
.plan-info { flex: 1; }
.plan-info h3 { font-family: var(--font-head); font-weight: 800; font-size: 18px; margin: 0; }
.plan-sub { color: var(--muted); font-size: 13px; margin: 3px 0 0; }
.plan-price { text-align: right; line-height: 1; }
.perday { font-family: var(--font-head); font-weight: 900; font-size: 22px; color: var(--fg); }
.perday-unit { color: var(--muted); font-size: 13px; }

/* CTA */
.cta {
  width: 100%;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 17px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 10px 30px var(--primary-glow);
  transition: background 0.15s, transform 0.1s;
}
.cta:hover { background: var(--primary-600); }
.cta:active { transform: scale(0.99); }
.cta:disabled { opacity: 0.7; cursor: default; }
.cta-sub { text-align: center; color: var(--muted); font-size: 12.5px; margin: 12px 0 0; }

/* Includes list */
.includes {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 11px;
}
.includes li {
  position: relative;
  padding-left: 30px;
  color: var(--fg);
  font-size: 15px;
}
.includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(47, 107, 255, 0.18);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.testimonial {
  margin: 28px 0 0;
  padding: 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.testimonial blockquote { margin: 0; font-style: italic; color: var(--fg); font-size: 15px; line-height: 1.5; }
.testimonial figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }

.disclaimer { color: var(--muted); font-size: 11.5px; line-height: 1.6; text-align: center; margin: 24px 0 0; }
.disclaimer a { color: var(--muted); }

/* Activating overlay */
.activating {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg);
  text-align: center;
  padding: 24px;
}
.activating h2 { font-family: var(--font-head); font-weight: 800; color: var(--fg); margin: 8px 0 0; }
.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 420px) {
  .offers-hero h1 { font-size: 26px; }
}

/* ---- Expanded funnel modules ---- */
.section { margin: 34px 0 0; }
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  text-align: center;
  color: var(--fg);
  margin: 0 0 6px;
}
.section-sub { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 16px; }

/* Transformation / success */
.transform-grid { display: grid; gap: 14px; }
.transform-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.transform-imgs { display: flex; align-items: center; justify-content: center; gap: 10px; }
.t-img {
  position: relative;
  flex: 1;
  aspect-ratio: 4 / 5;
  max-width: 130px;
  border-radius: 12px;
  background: radial-gradient(120% 120% at 50% 0%, #1c2740, #0d1320);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.t-tag {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  background: rgba(0,0,0,.5); color: #fff; padding: 3px 7px; border-radius: 999px;
}
.t-fit .t-tag { background: var(--primary); }
.silhouette { width: 78%; height: 92%; }
.t-img .silhouette { fill: #57617a; }
.t-fit .silhouette { fill: var(--primary); }
.t-arrow { color: var(--primary); font-size: 22px; font-weight: 800; flex: 0 0 auto; }
.transform-card figcaption { margin-top: 12px; text-align: center; color: var(--fg); font-size: 13.5px; font-style: italic; }
.illus-note { text-align: center; color: var(--muted); font-size: 11px; margin: 10px 0 0; opacity: .8; }

/* App preview */
.app-strip { display: flex; gap: 12px; justify-content: center; overflow-x: auto; padding: 4px 2px 8px; }
.phone {
  flex: 0 0 auto;
  width: 132px;
  border-radius: 20px;
  border: 3px solid #232c41;
  background: #0b0f17;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.phone img { display: block; width: 100%; height: auto; }

/* Reviews */
.reviews { display: grid; gap: 12px; }
.review-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.stars { color: #ffc94d; font-size: 15px; letter-spacing: 2px; }
.review-card blockquote { margin: 8px 0 0; color: var(--fg); font-size: 14.5px; line-height: 1.55; }
.review-card figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.rv-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(47,107,255,.18); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px;
}

/* Guarantee */
.guarantee {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 26px 0 0;
  padding: 16px;
  border-radius: 14px;
  background: rgba(47,107,255,.08);
  border: 1px solid rgba(47,107,255,.22);
}
.g-icon { font-size: 22px; line-height: 1.2; }
.guarantee strong { color: var(--fg); font-family: var(--font-head); }
.guarantee p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.cta-secondary { margin-top: 22px; }

/* Real before/after photo */
.transform-photo {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
}
.transform-photo img { display: block; width: 100%; height: auto; }
.tp-tag {
  position: absolute; top: 12px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 11px; border-radius: 999px; color: #fff;
}
.tp-before { left: 12px; background: rgba(0,0,0,.6); }
.tp-after { right: 12px; background: var(--primary); }
.transform-cap { text-align: center; color: var(--muted); font-size: 13.5px; margin: 12px 0 0; font-style: italic; }

/* ---- Anchored sticky bar ---- */
body.offers-body { padding-top: 52px; }
.sticky-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 14px;
  background: rgba(11, 15, 23, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.sb-timer { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--fg); }
.sb-timer svg { color: #ff8a6b; }
.sb-timer b { color: #ff8a6b; font-variant-numeric: tabular-nums; font-weight: 800; }
.sb-cta {
  background: var(--primary); color: #fff; border: none; border-radius: 999px;
  padding: 9px 18px; font-family: var(--font-head); font-weight: 800; font-size: 14px;
  cursor: pointer; box-shadow: 0 6px 18px var(--primary-glow); white-space: nowrap;
}
.sb-cta:hover { background: var(--primary-600); }

/* ---- Transformation photos (stacked) ---- */
.transform-carousel { display: grid; gap: 12px; }
.transform-carousel .transform-photo { width: 100%; }

/* ---- Plans (musclecharge layout, our colors) ---- */
.plans-title { margin-top: 36px; }
.plan-wrap { position: relative; }
.pop-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 4px 14px; border-radius: 999px; z-index: 1; white-space: nowrap;
}
.plan-card { display: flex; align-items: center; gap: 14px; }
.plan-card.has-badge { padding-top: 18px; }
.plan-check {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--border-strong); position: relative;
}
.plan-card.selected .plan-check { border-color: var(--primary); background: var(--primary); }
.plan-card.selected .plan-check::after {
  content: "✓"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 900;
}
.plan-mid { flex: 1; min-width: 0; }
.plan-mid h3 {
  font-family: var(--font-head); font-weight: 800; font-size: 16px; margin: 0;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--fg);
}
.plan-price-line { margin: 4px 0 0; font-size: 14px; }
.plan-price-line s { color: var(--muted); margin-right: 4px; }
.plan-price-line b { color: var(--fg); font-weight: 800; }
.plan-perday {
  flex: 0 0 auto; min-width: 96px; text-align: center;
  background: #0c111c; border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 12px;
}
.pd-amt { display: block; font-family: var(--font-head); font-weight: 900; font-size: 23px; color: var(--fg); line-height: 1; }
.pd-unit { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
