/* ==========================================================
   Workshop Landing — Design Tokens & Base
   Dark mode tech/AI · Inter + Space Grotesk + JetBrains Mono
   ========================================================== */

:root {
  /* Surfaces */
  --bg-0: #08090A;
  --bg-1: #0E1012;
  --bg-2: #14171B;
  --bg-3: #1C2026;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Foreground */
  --fg-0: #F4F5F6;
  --fg-1: #C7C9CC;
  --fg-2: #8A8E94;
  --fg-3: #5A5E64;

  /* Accents */
  --accent: #F5C842;       /* dorado — primary CTA */
  --accent-fg: #0A0B0C;
  --accent-glow: rgba(245, 200, 66, 0.40);
  --accent-rgb: 245, 200, 66;
  --accent-2: #7C5CFF;     /* violet — secondary */
  --warn: #FF6B4A;
  --ok: #4ADE80;

  /* Type */
  --f-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --f-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-0);
  color: var(--fg-0);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ==========================================================
   Layout
   ========================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--tight { padding: 64px 0; }
.section--xl { padding: 140px 0; }

.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* ==========================================================
   Typography
   ========================================================== */

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.eyebrow--center::before { display: none; }

.h-display {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.h-1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h-2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.h-3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--fg-1);
  text-wrap: pretty;
  max-width: 60ch;
}

.muted { color: var(--fg-2); }
.dim { color: var(--fg-3); }
.accent { color: var(--accent); }

.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ==========================================================
   Buttons
   ========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 0 0 0 var(--accent-glow), 0 12px 40px -12px var(--accent-glow);
}
.btn--primary:hover {
  box-shadow: 0 0 0 6px var(--accent-glow), 0 16px 60px -12px var(--accent-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--fg-0);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--fg-2);
  background: rgba(255,255,255,0.03);
}

.btn--lg {
  padding: 20px 36px;
  font-size: 17px;
}

.btn--xl {
  padding: 24px 44px;
  font-size: 19px;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ==========================================================
   Pills / Tags
   ========================================================== */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-1);
  background: rgba(255,255,255,0.02);
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.pill--warn .dot { background: var(--warn); box-shadow: 0 0 8px var(--warn); }

/* ==========================================================
   Cards
   ========================================================== */

.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.card--glow {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
}

/* ==========================================================
   Image placeholder (striped)
   ========================================================== */

.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 8px
    ),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 6px 12px;
  border: 1px dashed var(--fg-3);
  border-radius: 4px;
  background: rgba(0,0,0,0.4);
}

/* ==========================================================
   Background effects
   ========================================================== */

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow--lime {
  background: var(--accent);
  opacity: 0.18;
}

.glow--violet {
  background: var(--accent-2);
  opacity: 0.22;
}

/* ==========================================================
   Nav
   ========================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 10, 0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand__mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--accent);
  position: relative;
  display: grid;
  place-items: center;
  color: var(--accent-fg);
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 12px;
}

.nav__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-2);
}

@media (max-width: 720px) {
  /* On mobile: keep the date (more useful than EN VIVO pill), drop the pill */
  .nav__meta .pill { display: none; }
}

/* Nav countdown — replaces brand block; live urgency in the masthead */
.nav-countdown {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  min-width: 0;
}

.nav-countdown__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 500;
  white-space: nowrap;
}

.nav-countdown__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow), 0 0 4px var(--accent);
  animation: nav-cd-pulse 1.6s ease-in-out infinite;
}

@keyframes nav-cd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.8); }
}

.nav-countdown__row {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.nav-countdown__unit {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.nav-countdown__n {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-0);
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav-countdown__l {
  font-size: 10px;
  color: var(--fg-3);
  font-weight: 500;
  text-transform: lowercase;
  line-height: 1;
}

.nav-countdown__sep {
  color: var(--fg-3);
  font-size: 12px;
  font-weight: 400;
  margin: 0 1px;
  line-height: 1;
}

@media (max-width: 720px) {
  .nav-countdown {
    gap: 10px;
  }
  .nav-countdown__live {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  /* On narrow screens drop the "Empieza en" label — keep just the dot + clock */
  .nav-countdown__live-text { display: none; }
  .nav-countdown__row {
    padding: 5px 10px;
    gap: 3px;
  }
  .nav-countdown__n { font-size: 13px; }
  .nav-countdown__l { font-size: 9px; }
}

@media (max-width: 480px) {
  .nav-countdown__live { display: none; }
}

/* ==========================================================
   Hero
   ========================================================== */

.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero .glow--lime {
  width: 500px; height: 500px;
  top: -180px; left: -120px;
}
.hero .glow--violet {
  width: 600px; height: 600px;
  top: -100px; right: -200px;
}

.hero__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero__title {
  max-width: 14ch;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

.hero__sub {
  max-width: 62ch;
}

.hero__cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  width: 100%;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Urgency strip — slim, harmonious, sits under CTAs as accessory */
.urgency-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
}

.urgency-strip__row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.urgency-strip__row strong {
  color: var(--accent);
  font-weight: 600;
}

.urgency-strip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow), 0 0 4px var(--accent);
  animation: pulse-dot 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@media (max-width: 600px) {
  .urgency-strip { max-width: 320px; }
  .urgency-strip__row { font-size: 11px; }
}

.hero__bullets {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--fg-1);
}

.hero__bullets li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.check {
  width: 16px; height: 16px;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-fg);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.hero__meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
  padding: 18px 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-1);
}

.hero__meta strong {
  color: var(--fg-0);
  font-weight: 600;
}

/* Hero stats — readable proof bar */
.hero__stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 28px;
  padding: 22px 12px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 100%),
    rgba(14, 16, 18, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 24px 60px -30px rgba(0,0,0,0.6);
}

.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 4px 18px;
  min-width: 0;
}

.hero__stat-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero__stat-num {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--fg-0);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero__stat-label {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--fg-2);
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-transform: none;
  text-wrap: balance;
  max-width: 14ch;
}

.hero__stat-divider {
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--line-strong) 30%,
    var(--line-strong) 70%,
    transparent 100%);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .hero__stats {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px;
    max-width: 380px;
  }
  .hero__stat {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 14px;
    padding: 16px 4px;
    width: 100%;
  }
  .hero__stat-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hero__stat-num {
    font-size: 24px;
    min-width: 78px;
  }
  .hero__stat-label {
    font-size: 13px;
    max-width: none;
    flex: 1;
  }
  .hero__stat-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
      transparent 0%,
      var(--line) 30%,
      var(--line) 70%,
      transparent 100%);
  }
}

/* Countdown */
.countdown {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: center;
}

.countdown__cell {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 76px;
  text-align: center;
}

.countdown__num {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--fg-0);
}

.countdown__label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 2px;
}

/* (Stock alert removed — replaced by .urgency-strip integrated under CTAs) */

/* 3D loading bar — high-resolution, follows design system */
.loadbar {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  padding: 1px;
  background:
    linear-gradient(180deg, #050608 0%, #14171B 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05),
    inset 0 1px 2px rgba(0,0,0,0.85),
    inset 0 0 0 1px rgba(0,0,0,0.5);
  isolation: isolate;
  overflow: hidden;
}

.loadbar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.4) 0%,
    rgba(0,0,0,0) 50%,
    rgba(255,255,255,0.02) 100%);
  pointer-events: none;
  z-index: 0;
}

.loadbar__fill {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 99%;
  border-radius: 999px;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.4) 0%,
      rgba(255,255,255,0.08) 40%,
      rgba(0,0,0,0.15) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 75%, black) 0%, var(--accent) 60%, color-mix(in srgb, var(--accent) 70%, white) 100%);
  box-shadow:
    0 0 12px rgba(var(--accent-rgb), 0.5),
    0 0 3px rgba(var(--accent-rgb), 0.4),
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -1px 1px rgba(0,40,0,0.3);
  animation: loadbar-fill 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  overflow: hidden;
}

.loadbar__fill::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  left: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.5) 50%,
    transparent 100%
  );
  mix-blend-mode: screen;
  animation: loadbar-shimmer 2.6s linear infinite;
  pointer-events: none;
}

/* Larger 3D variant — kept for other uses */
.loadbar--thick {
  height: 22px;
  padding: 3px;
}
.loadbar--thick .loadbar__fill::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  right: 4px;
  height: 40%;
  border-radius: 999px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0) 100%);
  pointer-events: none;
}

@keyframes loadbar-fill {
  from { width: 0%; }
  to   { width: 99%; }
}

@keyframes loadbar-shimmer {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}

/* ==========================================================
   Live notifications (social proof toaster)
   ========================================================== */

.notif-stack {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 95;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
  max-width: 360px;
}

.notif {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  background: rgba(14, 16, 18, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 20px 50px -20px rgba(0,0,0,0.7),
    -2px 0 0 0 var(--accent);
  pointer-events: auto;
  animation: notif-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  position: relative;
}
.notif--leaving {
  animation: notif-out 0.35s cubic-bezier(0.4, 0, 1, 1) both;
}

@keyframes notif-in {
  from { opacity: 0; transform: translateX(-20px) scale(0.96); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes notif-out {
  from { opacity: 1; transform: translateX(0) scale(1); max-height: 100px; }
  to   { opacity: 0; transform: translateX(-20px) scale(0.96); max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -10px; }
}

.notif__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: #FFFFFF;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.notif__body {
  flex: 1;
  min-width: 0;
}

.notif__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.notif__name {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.005em;
}

.notif__time {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.notif__msg {
  font-size: 13px;
  color: var(--fg-1);
  margin-top: 2px;
  line-height: 1.4;
}
.notif__msg .accent {
  color: var(--accent);
  font-weight: 600;
}

.notif__loc {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  margin-top: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .notif-stack { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ==========================================================
   Identification grid (4 personas)
   ========================================================== */

.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

@media (max-width: 980px) {
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .persona-grid { grid-template-columns: 1fr; }
}

.persona {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.persona:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.persona__media {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.persona__id {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
}

.persona__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.persona__desc {
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.55;
}

/* ==========================================================
   Problem list
   ========================================================== */

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}
@media (max-width: 760px) {
  .problem-list { grid-template-columns: 1fr; }
}

.problem-list__item {
  background: var(--bg-1);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.problem-list__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.problem-list__title {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ==========================================================
   OPET Method
   ========================================================== */

.opet {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 92, 255, 0.08), transparent 60%),
    var(--bg-0);
  overflow: hidden;
}

/* Cinematic header image — full-bleed, fades into the section */
.opet__hero {
  position: relative;
  width: 100%;
  /* Aspect ratio that matches the source image while capping height on tall viewports */
  height: clamp(280px, 38vw, 520px);
  margin-top: -96px; /* cancel section top padding so image hugs the section break */
  margin-bottom: -80px; /* let the fade overlap with the section head for seamless transition */
  pointer-events: none;
  z-index: 0;
}

.opet__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* keep face/upper body in frame on tall crops */
  filter: saturate(0.92) contrast(1.02);
}

.opet__hero-fade {
  position: absolute;
  inset: 0;
  background:
    /* fade to black at the bottom for seamless merge */
    linear-gradient(180deg,
      transparent 0%,
      transparent 35%,
      rgba(8,9,10,0.55) 65%,
      var(--bg-0) 100%),
    /* feather the left and right edges */
    linear-gradient(90deg,
      var(--bg-0) 0%,
      transparent 12%,
      transparent 88%,
      var(--bg-0) 100%),
    /* slight top vignette */
    linear-gradient(180deg,
      rgba(8,9,10,0.45) 0%,
      transparent 25%);
  pointer-events: none;
}

.opet > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .opet__hero {
    height: clamp(220px, 56vw, 320px);
    margin-top: -96px; /* match desktop section padding */
    margin-bottom: -50px;
  }
  .opet__hero-img {
    object-position: center 35%;
  }
}

.opet__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto 64px;
}

.opet__brand {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--fg-0) 0%, var(--fg-2) 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.opet__brand sup {
  font-size: 0.3em;
  vertical-align: super;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  font-weight: 500;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1080px) { .phase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .phase-grid { grid-template-columns: 1fr; } }

.phase {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
  transition: border-color 0.2s, background 0.2s;
}

.phase:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.04), var(--bg-1));
}

.phase__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.phase__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}

.phase__letter {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  border: 1px solid var(--line-strong);
}

.phase__title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: auto;
}

.phase__desc {
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.55;
}

/* ==========================================================
   Author / Leonardo
   ========================================================== */

.author {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .author { grid-template-columns: 1fr; gap: 40px; }
}

.author__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.author__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.author__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.stat {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}

.stat__num {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fg-0);
}
.stat__num span { color: var(--accent); }

.stat__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-top: 2px;
}

/* ==========================================================
   Before/After
   ========================================================== */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
}

.compare__col {
  background: var(--bg-1);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.compare__col--after {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.05) 0%, var(--bg-1) 100%);
}

.compare__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.compare__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.compare__title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.compare__col--after .compare__title { color: var(--accent); }

.compare__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--fg-1);
  line-height: 1.5;
}

.icon-x, .icon-v {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.icon-x { background: rgba(255,107,74,0.15); color: #FF8A6A; }
.icon-v { background: var(--accent); color: var(--accent-fg); }

/* ==========================================================
   Schedule
   ========================================================== */

.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 880px) {
  .schedule { grid-template-columns: 1fr; }
}

.day {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.day__head {
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.day__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}

.day__title {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 4px;
}

.day__badge {
  padding: 6px 12px;
  background: var(--accent);
  color: var(--accent-fg);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
}

.day__phases {
  padding: 24px 32px 32px;
}

.day__phase-title {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 16px 0 12px;
}

.day__phase-title:first-child { margin-top: 0; }

.day__items {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.day__items li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 15px;
  color: var(--fg-1);
}

.day__items li:first-child { border-top: 0; }

.day__items .num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
  width: 24px;
  flex-shrink: 0;
}

/* ==========================================================
   Testimonials
   ========================================================== */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial__quote {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg-0);
}

.testimonial__quote::before {
  content: '“';
  display: block;
  font-size: 48px;
  color: var(--accent);
  line-height: 0.3;
  margin-bottom: 12px;
  font-family: var(--f-display);
}

.testimonial__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
}

.testimonial__name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial__role {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}

/* ==========================================================
   Offer / Pricing
   ========================================================== */

.offer {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(var(--accent-rgb), 0.06), transparent 60%),
    var(--bg-0);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 980px) { .offer-grid { grid-template-columns: 1fr; } }

.includes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.include {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
}

/* Bonus badge — small mono pill anchored to the top-right corner */
.include__badge {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 999px;
  padding: 3px 8px;
  text-transform: uppercase;
  line-height: 1;
  z-index: 1;
}

.include__price-bono {
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* Divider between core deliverables and bonuses */
.includes__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 4px;
}
.includes__divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.includes__divider-text {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .include { grid-template-columns: 64px 1fr; }
  .include__price { grid-column: 2; }
}

.include__media {
  aspect-ratio: 1;
  border-radius: 10px;
}

.include__media--img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  display: block;
  background: #000;
}

.include__title {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.include__desc {
  font-size: 13px;
  color: var(--fg-2);
  margin-top: 2px;
}

.include__price {
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--fg-1);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.include__price s { color: var(--fg-3); }

/* Price card */
.pricecard {
  position: sticky;
  top: 88px;
  background: var(--bg-1);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 0 80px -40px var(--accent-glow);
}

/* Lote 1 urgency block at the top of the price card */
.pricecard__lote {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: -2px;
}
.pricecard__lote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pricecard__lote-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  line-height: 1;
}
.pricecard__lote-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7);
  animation: pricecardPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pricecardPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0); }
}
.pricecard__lote-meta {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.pricecard__lote-bar {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.pricecard__lote-fill {
  position: absolute;
  inset: 0;
  width: 99%;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, white));
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.5);
}
.pricecard__lote-sub {
  font-size: 12px;
  color: var(--fg-2);
}

.pricecard__total {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-2);
  letter-spacing: 0.06em;
}

.pricecard__total s { color: var(--fg-3); }

.pricecard__price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.pricecard__price .currency {
  font-size: 28px;
  color: var(--fg-1);
  margin-bottom: 8px;
}
.pricecard__price .num {
  font-size: 96px;
  line-height: 0.9;
  color: var(--accent);
  text-shadow: 0 0 60px var(--accent-glow);
}
.pricecard__price .cents {
  font-size: 28px;
  color: var(--fg-1);
  margin-bottom: 8px;
}

.pricecard__sub {
  font-size: 13px;
  color: var(--fg-2);
}

.pricecard__divider {
  height: 1px;
  background: var(--line);
}

.pricecard__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricecard__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--fg-1);
}

.pricecard__list li::before {
  content: '+';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricecard__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

/* Price drop animation */
.pricedrops {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.pricedrops__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-2);
}
.pricedrops__row.struck { text-decoration: line-through; color: var(--fg-3); }

/* ==========================================================
   Guarantee
   ========================================================== */

.guarantee {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 64px;
}
@media (max-width: 720px) {
  .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

.guarantee__seal {
  width: 200px;
  height: 200px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.1), transparent 70%);
}

.guarantee__seal::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(var(--accent-rgb), 0.4);
  border-radius: 50%;
}

.guarantee__seal-num {
  font-family: var(--f-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.guarantee__seal-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-2);
  text-align: center;
  margin-top: 4px;
}

/* ==========================================================
   FAQ
   ========================================================== */

.faq {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--fg-0);
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.faq__q:hover { color: var(--accent); }

.faq__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s, border 0.2s;
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--fg-1);
  font-size: 15px;
  line-height: 1.6;
}

.faq__item--open .faq__a {
  max-height: 400px;
  padding: 0 0 24px;
}

/* ==========================================================
   PS / Final
   ========================================================== */

.ps {
  position: relative;
  text-align: center;
  padding: 100px 0 120px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(var(--accent-rgb), 0.06), transparent 60%);
}

.ps__body {
  max-width: 60ch;
  margin: 32px auto 40px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-1);
  text-wrap: pretty;
}

.ps__body p { margin-bottom: 16px; }
.ps__body em { color: var(--accent); font-style: italic; font-weight: 500; }
.ps__body strong { color: var(--fg-0); }

.ps__sig {
  font-family: var(--f-display);
  font-size: 22px;
  font-style: italic;
  color: var(--fg-0);
  margin-top: 32px;
}

/* ==========================================================
   Footer
   ========================================================== */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}

/* ==========================================================
   Sticky CTA bar
   ========================================================== */

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 10px 10px 24px;
  background: rgba(14, 16, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  pointer-events: none;
}

.sticky-cta--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.sticky-cta__text {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-1);
}

.sticky-cta__price {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 640px) {
  .sticky-cta { width: calc(100% - 24px); justify-content: space-between; }
  .sticky-cta__text { display: none; }
}

/* ==========================================================
   Section heads
   ========================================================== */

.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto;
}
.section-head--left {
  text-align: left;
  align-items: flex-start;
  margin: 0;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================
   Exit popup
   ========================================================== */

.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 5, 6, 0.78);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  animation: exit-fade-in 0.28s ease-out both;
}

@keyframes exit-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.exit-popup__card {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 36px 36px 28px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,107,74,0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 80px -20px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,107,74,0.1);
  animation: exit-card-in 0.42s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes exit-card-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.exit-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--fg-2);
  cursor: pointer;
  transition: all 0.18s ease;
}
.exit-popup__close:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: var(--fg-0);
}

.exit-popup__alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,107,74,0.1);
  border: 1px solid rgba(255,107,74,0.3);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #FFB89F;
  margin-bottom: 22px;
}

.exit-popup__title {
  font-family: var(--f-display);
  font-size: clamp(26px, 4.5vw, 34px);
  font-weight: 700;
  color: var(--fg-0);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0 0 12px;
}
.exit-popup__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}

.exit-popup__sub {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 24px;
  text-wrap: pretty;
}

.exit-popup__assets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.exit-asset {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.exit-asset:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.04);
}

.exit-asset__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 10px;
  color: var(--accent);
}
.exit-asset__icon svg {
  width: 20px;
  height: 20px;
}

.exit-asset__body { min-width: 0; }

.exit-asset__title {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg-0);
  letter-spacing: -0.005em;
  margin-bottom: 3px;
}

.exit-asset__desc {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.4;
}

.exit-popup__urgency {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: rgba(var(--accent-rgb), 0.04);
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 14px;
  margin-bottom: 18px;
}

.exit-popup__cta {
  width: 100%;
  justify-content: center;
}

.exit-popup__decline {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--fg-3);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.18);
  cursor: pointer;
  transition: color 0.2s ease;
}
.exit-popup__decline:hover {
  color: var(--fg-1);
}

@media (max-width: 600px) {
  .exit-popup { padding: 12px; align-items: flex-end; }
  .exit-popup__card {
    max-width: 100%;
    padding: 28px 22px 22px;
    border-radius: 22px;
    max-height: calc(100vh - 24px);
  }
  .exit-popup__title { font-size: 24px; }
  .exit-popup__sub { font-size: 14px; }
  .exit-asset { padding: 12px 14px; gap: 12px; }
  .exit-asset__icon { width: 36px; height: 36px; }
  .exit-asset__title { font-size: 14px; }
  .exit-asset__desc { font-size: 12.5px; }
  .exit-popup__close { top: 10px; right: 10px; }
}

/* ==========================================================
   MOBILE POLISH — fix overflow + alignment issues
   ========================================================== */

@media (max-width: 560px) {
  /* --- Section padding: tighten breathing room --- */
  .section { padding: 72px 0; }
  .section--xl { padding: 96px 0; }

  /* --- Container: ensure 16px gutter --- */
  .container { padding-left: 16px; padding-right: 16px; }

  /* ----- ".include" cards (offer list) ----- */
  /* Stack: thumb + text on top, price below right-aligned */
  .include {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
    padding: 16px;
    padding-top: 22px; /* room for badge */
  }
  .include__media { width: 56px; }
  .include__media--img { width: 56px; height: 56px; }
  .include__price {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 13px;
    text-align: right;
    padding-top: 4px;
    border-top: 1px dashed var(--line);
  }
  .include__badge {
    top: 8px;
    right: 10px;
    font-size: 9px;
    padding: 2px 7px;
  }
  .includes__divider-text { font-size: 10px; letter-spacing: 0.14em; }

  /* ----- Pricecard (the big "US$X" card) ----- */
  .pricecard {
    padding: 24px 20px;
    position: static; /* sticky doesn't help on mobile, gets in the way */
  }
  .pricecard__price { flex-wrap: wrap; gap: 4px; }
  .pricecard__price .num { font-size: 72px; }
  .pricecard__price .currency,
  .pricecard__price .cents { font-size: 24px; margin-bottom: 6px; }
  .pricecard__list li { font-size: 12.5px; }
  .pricecard__meta { font-size: 10px; gap: 8px; flex-wrap: wrap; }

  /* ----- Author stats: ensure 2x2 with no overflow ----- */
  .author__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .author__stats .stat { padding: 14px; min-width: 0; }
  .author__stats .stat__num { font-size: 24px; }
  .author__stats .stat__label { font-size: 10px; }

  /* ----- Section CTAs: full-width buttons ----- */
  /* Buttons that sit alone after a section (OPET, Transform, Schedule, Testimonials)
     should be full-width on mobile so they read as primary actions */
  .section .btn--primary,
  .container > .btn--primary,
  .opet .btn--primary,
  .transform .btn--primary,
  .schedule .btn--primary,
  .testimonials .btn--primary,
  .pricecard .btn--primary,
  .ps .btn--primary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero__ctas .btn--primary { width: 100%; justify-content: center; }

  /* Centering helper for orphan CTAs (a button alone in a container) */
  .container > .btn--primary { margin-left: auto; margin-right: auto; display: flex; }

  /* ----- Hero countdown: vertical stack, no overlap ----- */
  .nav-countdown {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .nav-countdown__live {
    align-self: flex-start;
  }

  /* ----- Misc: prevent inline-flex children from forcing parents wide ----- */
  .pricecard,
  .include,
  .author__stats,
  .author__stats .stat {
    min-width: 0;
    max-width: 100%;
  }

  /* Tables of any kind, comparison rows */
  .compare, .compare__col { min-width: 0; }

  /* Make sure schedule day cards don't overflow */
  .schedule, .schedule__day { min-width: 0; }
  .schedule__day { padding: 20px; }
}

@media (max-width: 400px) {
  /* Extra-tight phones (iPhone SE / Mini) */
  .pricecard__price .num { font-size: 64px; }
  .container { padding-left: 14px; padding-right: 14px; }
  .include { padding: 14px; }
  .pricecard { padding: 20px 16px; }
}
