/* ============================================================
   EXTRAS · Conversion additions on top of the base design system
   ============================================================ */

/* ---------- Form card scarcity strip ---------- */
.form-card-scarcity {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin: -32px -32px 24px;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 78, 78, 0.12), rgba(255, 78, 78, 0.05) 60%, transparent);
  border-bottom: 1px solid rgba(255, 90, 90, 0.18);
  color: #ffd1c9;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-card-scarcity em {
  font-style: normal;
  font-weight: 700;
  color: #ff9a86;
  -webkit-text-fill-color: #ff9a86;
  background: none;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5c47;
  box-shadow: 0 0 0 0 rgba(255, 92, 71, 0.7);
  animation: pulse-red 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-red {
  0%   { box-shadow: 0 0 0 0 rgba(255, 92, 71, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 92, 71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 71, 0); }
}
@media (max-width: 720px) {
  .form-card-scarcity {
    margin: -24px -22px 20px;
    padding: 9px 14px;
    font-size: 11px;
  }
}

/* ---------- SMS opt-in checkbox ---------- */
.opt-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 4px 2px;
  margin-top: -2px;
  user-select: none;
}
.opt-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.opt-box {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all .15s ease;
  margin-top: 1px;
}
.opt-box svg {
  width: 12px;
  height: 12px;
  color: var(--ink-050);
  opacity: 0;
  transform: scale(0.6);
  transition: all .15s ease;
}
.opt-check input:checked + .opt-box {
  background: var(--gold-500);
  border-color: var(--gold-500);
}
.opt-check input:checked + .opt-box svg {
  opacity: 1;
  transform: scale(1);
}
.opt-check input:focus-visible + .opt-box {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}
.opt-text {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--paper-200);
}

/* ---------- Success name inline ---------- */
.success-name {
  color: var(--gold-500);
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-500) 45%, var(--gold-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.success-name:has([data-name-slot]:empty) { display: none; }

/* ---------- Calendar / share buttons in success card ---------- */
.calendar-buttons {
  margin-top: 24px;
  padding-top: 24px;
  border-top: var(--hairline);
}
.cal-label {
  margin-bottom: 12px;
  font-size: 11px;
}
.cal-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.cal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--paper-100);
  font-size: 13px;
  font-weight: 500;
  transition: all .15s ease;
  text-decoration: none;
}
.cal-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 201, 64, 0.35);
  color: var(--gold-500);
  transform: translateY(-1px);
}
.cal-btn svg { width: 16px; height: 16px; }
.share-btn {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: transparent;
  border: 1px dashed rgba(255, 201, 64, 0.35);
  color: var(--gold-300);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
}
.share-btn:hover {
  background: rgba(255, 201, 64, 0.06);
  border-style: solid;
}
.share-btn svg { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .cal-btn span { font-size: 12px; }
  .cal-btn { padding: 10px 4px; }
}

/* ============================================================
   VALUE STACK SECTION
   ============================================================ */
.value-stack {
  background: linear-gradient(180deg, var(--ink-050) 0%, var(--ink-100) 50%, var(--ink-050) 100%);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}
.vs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 900px) { .vs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vs-grid { grid-template-columns: 1fr; } }

.vs-item {
  padding: 28px 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.vs-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 201, 64, 0.35), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.vs-item:hover {
  border-color: rgba(255, 201, 64, 0.22);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255,201,64,0.03), rgba(255,255,255,0.005));
}
.vs-item:hover::before { opacity: 1; }

.vs-price {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 201, 64, 0.1);
  color: var(--gold-500);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 201, 64, 0.2);
}
.vs-item h3 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  color: var(--paper-000);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.vs-item p {
  font-size: 15px;
  color: var(--paper-200);
  line-height: 1.5;
}

.vs-total {
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(80% 100% at 100% 50%, rgba(255, 201, 64, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255, 201, 64, 0.06), rgba(255, 201, 64, 0.02));
  border: 1px solid rgba(255, 201, 64, 0.25);
}
.vs-total-inner {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.vs-total-copy .mono { margin-bottom: 6px; }
.vs-total-num {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1;
}
.vs-total-num .strike {
  color: var(--paper-500);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 90, 90, 0.6);
  text-decoration-thickness: 2px;
}
.vs-total-num .free {
  color: var(--gold-500);
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500) 55%, var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-size: clamp(22px, 2.8vw, 34px);
}
@media (max-width: 640px) {
  .vs-total-inner { padding: 22px; }
  .vs-total-num { flex-direction: column; gap: 4px; }
  .vs-total .cta-primary { width: 100%; justify-content: center; }
}

/* ============================================================
   LIVE ACTIVITY TOAST
   ============================================================ */
.live-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  max-width: 340px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .5s cubic-bezier(.25, 1, .5, 1), opacity .3s ease;
  pointer-events: none;
}
.live-toast[hidden] { display: none !important; }
.live-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.live-toast-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 16px;
  background: rgba(20, 20, 20, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}
.live-toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse-green 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.live-toast-body { flex: 1; min-width: 0; }
.live-toast-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.live-toast-text {
  font-size: 13.5px;
  color: var(--paper-100);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-toast-close {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--paper-500);
  transition: all .15s ease;
  flex-shrink: 0;
}
.live-toast-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper-100);
}
.live-toast-close svg { width: 14px; height: 14px; }

@media (max-width: 720px) {
  .live-toast {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: 96px; /* clear the mobile sticky CTA */
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-toast { transition: opacity .2s ease; }
  .live-toast.is-visible { transform: none; }
  .live-toast-dot { animation: none; }
}

/* ============================================================
   EXIT-INTENT MODAL
   ============================================================ */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.exit-modal[hidden] { display: none !important; }
.exit-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.exit-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.exit-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, var(--ink-200) 0%, var(--ink-100) 100%);
  border: 1px solid rgba(255, 201, 64, 0.25);
  border-radius: 20px;
  padding: 36px 32px 32px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(255, 201, 64, 0.08);
  transform: translateY(20px) scale(0.96);
  transition: transform .35s cubic-bezier(.25, 1, .5, 1);
  max-height: 90vh;
  overflow-y: auto;
}
.exit-modal.is-open .exit-modal-card { transform: translateY(0) scale(1); }

.exit-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--paper-500);
  transition: all .15s ease;
}
.exit-modal-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper-000);
}
.exit-modal-close svg { width: 18px; height: 18px; }

.exit-modal-eyebrow { margin-bottom: 16px; }
.exit-modal-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.05;
  color: var(--paper-000);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.exit-modal-lede {
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper-200);
  margin-bottom: 24px;
}

.exit-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exit-modal-form .field {
  position: relative;
}
.exit-modal-form input[type="text"],
.exit-modal-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--paper-000);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all .15s ease;
}
.exit-modal-form input:focus {
  outline: none;
  border-color: rgba(255, 201, 64, 0.55);
  background: rgba(255, 255, 255, 0.05);
}
.exit-modal-form input::placeholder { color: var(--paper-500); }
.exit-modal-fine {
  text-align: center;
  font-size: 10.5px;
  color: var(--paper-500);
  margin-top: 4px;
}

.exit-modal-success { display: none; padding-top: 8px; }
.exit-modal.is-success .exit-modal-form { display: none; }
.exit-modal.is-success .exit-modal-lede { display: none; }
.exit-modal.is-success .exit-modal-title { display: none; }
.exit-modal.is-success .exit-modal-eyebrow { display: none; }
.exit-modal.is-success .exit-modal-success { display: block; animation: fadeUp .5s ease both; }

@media (max-width: 520px) {
  .exit-modal-card { padding: 30px 22px 26px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .exit-modal-card { transition: none; transform: none; }
}

/* Film grain removed in styles.css for performance (was heavy full-viewport SVG feTurbulence). */

/* ============================================================
   ACCESSIBILITY / FOCUS
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline-offset: 3px;
}

/* Prevent horizontal scroll from any animated element */
html, body { overflow-x: clip; }

/* ============================================================
   MOBILE: leave room for the sticky CTA + toast
   ============================================================ */
@media (max-width: 720px) {
  body { padding-bottom: 84px; }
  .sticky-mob { z-index: 95; }
}

/* ============================================================
   SCROLL PROGRESS BAR (top of viewport)
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 250;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-500), var(--gold-300));
  box-shadow: 0 0 8px rgba(255, 201, 64, 0.55);
  transform-origin: left;
  will-change: width;
  transition: width 0.08s linear;
}

/* ============================================================
   ANNOUNCEMENT BAR (very top of page)
   ============================================================ */
.announce-bar {
  position: relative;
  z-index: 110;
  background:
    linear-gradient(90deg, rgba(255, 201, 64, 0.14) 0%, rgba(255, 201, 64, 0.06) 40%, rgba(255, 92, 71, 0.08) 100%),
    var(--ink-100);
  border-bottom: 1px solid rgba(255, 201, 64, 0.18);
  color: var(--paper-100);
  overflow: hidden;
  transition: max-height .35s ease, opacity .35s ease, padding .35s ease;
  max-height: 60px;
}
.announce-bar[hidden] { display: none !important; }
.announce-bar.is-collapsed {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}
.announce-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
}
.announce-bar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 10px rgba(255, 201, 64, 0.7);
  flex-shrink: 0;
  animation: gold-pulse 2s ease-out infinite;
}
@keyframes gold-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 201, 64, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 201, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 201, 64, 0); }
}
.announce-bar-text {
  font-size: 13.5px;
  letter-spacing: -0.005em;
  flex: 1;
  min-width: 0;
  color: var(--paper-100);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.announce-bar-text strong {
  color: var(--gold-500);
  font-weight: 600;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500) 55%, var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.announce-bar-text em {
  font-style: normal;
  font-weight: 700;
  color: #ffb894;
  -webkit-text-fill-color: #ffb894;
  background: none;
}
.announce-bar-sep { color: var(--paper-500); }
.announce-bar-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 201, 64, 0.35);
  transition: all .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.announce-bar-cta:hover {
  background: rgba(255, 201, 64, 0.12);
  border-color: var(--gold-500);
  color: var(--gold-300);
}
.announce-bar-close {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--paper-500);
  transition: all .15s ease;
  flex-shrink: 0;
}
.announce-bar-close:hover { background: rgba(255, 255, 255, 0.06); color: var(--paper-000); }
.announce-bar-close svg { width: 14px; height: 14px; }

@media (max-width: 720px) {
  .announce-bar-inner { padding: 8px 14px; gap: 8px; }
  .announce-bar-text { font-size: 12px; gap: 6px; }
  .announce-bar-sep { display: none; }
  .announce-bar-text > span:not(.announce-bar-sep) { display: block; width: 100%; }
  .announce-bar-cta { font-size: 11px; padding: 5px 9px; }
  .announce-bar { max-height: 80px; }
}

/* Push the fixed topbar down so it doesn't overlap the announcement bar
   The topbar is position:fixed and starts at top:0. We compensate by shifting
   the hero and using JS-driven top offset on the topbar. Handled in app.js. */
.topbar { transition: top .35s ease, background .35s ease, backdrop-filter .35s ease, border-color .35s ease; }

/* ============================================================
   GUARANTEE / RISK REVERSAL
   ============================================================ */
.guarantee {
  padding-block: clamp(60px, 8vw, 100px);
}
.guarantee-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  padding: clamp(32px, 4vw, 48px);
  border-radius: 20px;
  background:
    radial-gradient(70% 100% at 0% 0%, rgba(255, 201, 64, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  border: 1px solid rgba(255, 201, 64, 0.2);
  position: relative;
  overflow: hidden;
}
.guarantee-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 201, 64, 0.5), transparent);
}
.guarantee-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500) 55%, var(--gold-700));
  color: var(--ink-100);
  flex-shrink: 0;
  box-shadow: 0 20px 40px -12px rgba(255, 201, 64, 0.35), inset 0 -2px 6px rgba(0,0,0,0.15);
}
.guarantee-badge svg { width: 34px; height: 34px; stroke-width: 1.8; }

.guarantee-copy .eyebrow { margin-bottom: 14px; }
.guarantee-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
  color: var(--paper-000);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.guarantee-copy p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--paper-200);
  margin-bottom: 24px;
  max-width: 62ch;
}
.guarantee-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.g-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 201, 64, 0.08);
  border: 1px solid rgba(255, 201, 64, 0.2);
  color: var(--paper-100);
  font-size: 13px;
  font-weight: 500;
}
.g-pill svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .guarantee-card { grid-template-columns: 1fr; }
  .guarantee-badge { width: 56px; height: 56px; }
  .guarantee-badge svg { width: 26px; height: 26px; }
}

/* ============================================================
   INSTRUCTOR PORTRAIT — improve object-position for restored portrait
   (dean-ref-1 is a centered smiling portrait — center top works best)
   ============================================================ */
.instructor-photo img {
  object-position: center 30%;
}

/* ============================================================
   TICKER — RTL fix (in RTL mode, keyframes translate the wrong direction)
   ============================================================ */
html[dir="rtl"] .trust-track {
  animation-direction: reverse;
}

/* Small a11y: skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--gold-500);
  color: var(--ink-100);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  z-index: 500;
  transition: top .2s ease;
}
.skip-link:focus { top: 8px; }


/* ============================================================
   V5 CONVERSION IMPROVEMENTS
   ============================================================ */

/* ---------- Seats-count sub label ---------- */
.seats-count-sub {
  color: var(--paper-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 6px;
}

/* ---------- Early-bird bonus strip (inside form card) ---------- */
.early-bonus {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin: 0 0 16px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 201, 64, 0.10) 0%, rgba(255, 201, 64, 0.03) 100%);
  border: 1px solid rgba(255, 201, 64, 0.22);
  position: relative;
  overflow: hidden;
}
.early-bonus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 0% 0%, rgba(255, 201, 64, 0.10), transparent 50%);
  pointer-events: none;
}
.early-bonus-badge {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500) 55%, var(--gold-700));
  color: var(--ink-050);
  box-shadow: 0 4px 14px rgba(255, 201, 64, 0.28);
}
.early-bonus-badge svg { width: 18px; height: 18px; }
.early-bonus-body {
  flex: 1;
  min-width: 0;
  position: relative;
}
.early-bonus-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--paper-000);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.early-bonus-sub {
  font-size: 12px;
  color: var(--paper-500);
  margin-top: 3px;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .early-bonus { padding: 10px 12px; gap: 10px; }
  .early-bonus-badge { width: 30px; height: 30px; }
  .early-bonus-badge svg { width: 15px; height: 15px; }
  .early-bonus-title { font-size: 12.5px; }
  .early-bonus-sub { font-size: 11.5px; }
}

/* ---------- Attendee counter strip ---------- */
.attendee-counter {
  padding: clamp(48px, 7vw, 88px) 0 clamp(20px, 4vw, 40px);
  background: var(--ink-050);
  position: relative;
}
.attendee-counter::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent);
}
.ac-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005)),
    var(--ink-100);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.6);
}
.ac-stat {
  text-align: center;
  min-width: 0;
}
.ac-num {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1;
  color: var(--paper-000);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-weight: 400;
}
.ac-num em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500) 55%, var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ac-num-sub {
  font-size: 0.55em;
  color: var(--paper-500);
  margin-left: 2px;
  letter-spacing: 0;
}
.ac-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-500);
  line-height: 1.4;
}
.ac-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}
@media (max-width: 900px) {
  .ac-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    padding: 28px 20px;
  }
  .ac-divider { display: none; }
}
@media (max-width: 480px) {
  .ac-inner { grid-template-columns: 1fr 1fr; }
  .ac-num { font-size: 30px; }
  .ac-label { font-size: 10px; }
}

/* ---------- Mobile sticky bar redesigned as mini-info bar ---------- */
@media (max-width: 720px) {
  .sticky-mob {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(6, 6, 6, 0.85), rgba(6, 6, 6, 0.98));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 201, 64, 0.20);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
    text-align: initial;
    border-radius: 0;
  }
  .sticky-mob-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
  }
  .sticky-mob-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .sticky-mob-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-style: italic;
    color: var(--paper-000);
    line-height: 1.15;
    letter-spacing: -0.01em;
  }
  .sticky-mob-sub {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--paper-500);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
  }
  .sticky-mob-sub em {
    font-style: normal;
    font-weight: 700;
    color: var(--gold-500);
  }
  .sticky-mob-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.65);
    flex-shrink: 0;
    animation: gold-pulse 2s ease-out infinite;
  }
  .sticky-mob-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gold-300), var(--gold-500) 55%, var(--gold-700));
    color: var(--ink-050);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.005em;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 201, 64, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    white-space: nowrap;
  }
  .sticky-mob-cta svg { width: 14px; height: 14px; }
  .sticky-mob-cta:active { transform: translateY(1px); }
}
/* Hide desktop text-only version's default on non-mobile — sticky-mob is only shown on mobile */
@media (min-width: 721px) {
  .sticky-mob { display: none !important; }
}


/* ============================================================
   V6 · RTL COMPREHENSIVE FIXES
   ============================================================ */

/* Profit equation stays LTR even inside RTL (technical formula) */
[dir="rtl"] .pillars-equation > div:not(:first-child) {
  direction: ltr;
  text-align: right;
  unicode-bidi: embed;
}
[dir="rtl"] .pillars-equation > div:first-child {
  text-align: right;
}

/* Sticky desktop CTA already flipped; ensure arrow icon flips too */
[dir="rtl"] .sticky-desk svg,
[dir="rtl"] .topbar-cta svg,
[dir="rtl"] .cta-primary > svg,
[dir="rtl"] .midcta a svg,
[dir="rtl"] .up-cta svg,
[dir="rtl"] .announce-bar-cta svg,
[dir="rtl"] .sticky-mob-cta svg {
  transform: scaleX(-1);
}

/* Mobile sticky bar keeps horizontal layout in RTL (just mirrors) */
[dir="rtl"] .sticky-mob-inner { direction: rtl; }
[dir="rtl"] .sticky-mob-cta svg { margin-right: 0; }

/* Form field icons flip to right side in RTL */
[dir="rtl"] .field input {
  padding-left: 16px;
  padding-right: 44px;
}
[dir="rtl"] .field-icon {
  left: auto;
  right: 14px;
}

/* Seats bar reads right-to-left in RTL */
[dir="rtl"] .seats-bar-fill {
  direction: rtl;
  /* fill grows from right in RTL — no code change needed since width is a size */
}
[dir="rtl"] .seats-bar-track {
  transform: scaleX(-1);
}
[dir="rtl"] .seats-count em {
  font-style: normal;
}

/* Numbers with mixed direction (₪1,500, $250M+, 22 מ־60) — force LTR embed */
[dir="rtl"] .ac-num,
[dir="rtl"] .stat-value em,
[dir="rtl"] .vs-price,
[dir="rtl"] .countdown .cd-num,
[dir="rtl"] .up-seats-num,
[dir="rtl"] .cd-cell,
[dir="rtl"] .seats-count {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
[dir="rtl"] .ac-num { display: block; }
[dir="rtl"] .countdown-grid,
[dir="rtl"] .cd-cell {
  direction: ltr;
}
[dir="rtl"] .countdown-label { text-align: right; }

/* Announcement bar in RTL */
[dir="rtl"] .announce-bar-inner { direction: rtl; }
[dir="rtl"] .announce-bar-text { text-align: right; }

/* Top bar in RTL */
[dir="rtl"] .topbar-right { flex-direction: row-reverse; }
[dir="rtl"] .brand { flex-direction: row-reverse; }

/* Form pledge / opt-check RTL alignment */
[dir="rtl"] .opt-check { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .form-pledge { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .form-fine { flex-direction: row-reverse; }

/* Language toggle: active state should show HE active in he mode */
.lang-toggle button.active {
  background: rgba(255, 201, 64, 0.12);
  color: var(--gold-500);
}

/* Attendee counter in RTL — divider still visible, order stays but reads RTL */
[dir="rtl"] .ac-inner { direction: rtl; }

/* Value stack cards in RTL */
[dir="rtl"] .vs-item { text-align: right; }
[dir="rtl"] .vs-total-inner { flex-direction: row-reverse; }

/* Early bonus RTL */
[dir="rtl"] .early-bonus { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .early-bonus-body { text-align: right; }

/* Hero meta / chips in RTL */
[dir="rtl"] .hero-chips { flex-direction: row-reverse; }
[dir="rtl"] .hero-meta { direction: rtl; }
[dir="rtl"] .meta-item { text-align: right; }

/* Audience card lists RTL */
[dir="rtl"] .audience-list li { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .audience-card h3 { flex-direction: row-reverse; }

/* Learn card numbering + icon layout */
[dir="rtl"] .learn-card { text-align: right; }

/* Testimonial cards */
[dir="rtl"] .tst-card { text-align: right; }
[dir="rtl"] .tst-attr { flex-direction: row-reverse; }

/* Instructor stats grid */
[dir="rtl"] .stat { text-align: right; }
[dir="rtl"] .stats { direction: rtl; }

/* Compare table cells */
[dir="rtl"] .compare-row { direction: rtl; }
[dir="rtl"] .cell--left { text-align: right; }
[dir="rtl"] .cell--right { text-align: left; }
[dir="rtl"] .cell--mid { text-align: center; }

/* FAQ */
[dir="rtl"] .faq-q { flex-direction: row-reverse; }
[dir="rtl"] .faq-a { text-align: right; }

/* Timeline (already partly done in main CSS — keep) */

/* Guarantee card RTL */
[dir="rtl"] .guarantee-card { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .guarantee-pills { flex-direction: row-reverse; }

/* Program in RTL */
[dir="rtl"] .program-inner { direction: rtl; }
[dir="rtl"] .program-copy,
[dir="rtl"] .program-feature { text-align: right; }

/* Final section RTL */
[dir="rtl"] .final-inner { direction: rtl; }
[dir="rtl"] .final-copy { text-align: right; }
[dir="rtl"] .final-meta { flex-direction: row-reverse; }

/* Upcoming cards RTL */
[dir="rtl"] .up-card { text-align: right; }
[dir="rtl"] .up-status { flex-direction: row-reverse; }
[dir="rtl"] .up-meta-row { direction: rtl; }
[dir="rtl"] .up-meta { text-align: right; }
[dir="rtl"] .up-cta { flex-direction: row-reverse; }
[dir="rtl"] .up-cta svg { transform: scaleX(-1); }

/* Live activity toast + exit modal + success form */
[dir="rtl"] .live-toast-inner { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .live-toast-body { text-align: right; }
[dir="rtl"] .exit-modal-card { direction: rtl; text-align: right; }
[dir="rtl"] .form-success { text-align: right; }
[dir="rtl"] .form-success .row { flex-direction: row-reverse; }
[dir="rtl"] .cal-btns { flex-direction: row-reverse; }
[dir="rtl"] .share-btn { flex-direction: row-reverse; }

/* Footer RTL */
[dir="rtl"] .footer-inner { flex-direction: row-reverse; }

/* Section heads default already work via text-align; center-eyebrow adjust */
[dir="rtl"] .section-head--center .eyebrow::after { display: none; }
[dir="rtl"] .section-head--center .eyebrow::before {
  display: inline-block;
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-left: 10px;
  opacity: 0.4;
}

/* Countdown separator ":" alignment fix in RTL */
[dir="rtl"] .cd-sep { transform: none; }

/* Trust marquee (already handled in extras.css line 772 — keep as is) */

/* Ensure hero form label icons don't overlap in RTL for tel/email */
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="email"] {
  text-align: right;
  direction: rtl;
}
[dir="rtl"] input[type="tel"]::placeholder,
[dir="rtl"] input[type="email"]::placeholder {
  text-align: right;
}


/* ============================================================
   V7 · CONVERSION FORM ENHANCEMENTS
   ============================================================ */

/* Commitment checkbox — subtle golden accent to draw attention */
.opt-check--commit {
  padding: 10px 12px;
  margin-top: 2px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 201, 64, 0.06), rgba(255, 201, 64, 0.02));
  border: 1px solid rgba(255, 201, 64, 0.16);
}
.opt-check--commit .opt-text {
  font-size: 12.5px;
  line-height: 1.42;
  color: var(--paper-200);
}
.opt-check--commit input:checked ~ .opt-box {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500) 55%, var(--gold-700));
  border-color: transparent;
}
.opt-check--commit input:checked ~ .opt-box svg { color: var(--ink-050); }

/* Reassurance line just under CTA */
.cta-reassure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 4px 0;
  color: var(--paper-500);
  font-size: 12px;
  letter-spacing: -0.005em;
}
.cta-reassure svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
  flex-shrink: 0;
}

/* ============================================================
   ENHANCED SUCCESS STATE — commitment-mechanism nudges
   ============================================================ */
.form-success p {
  color: var(--paper-200);
  font-size: 15.5px;
  line-height: 1.5;
  margin-top: 8px;
  text-wrap: pretty;
}
.success-nudge {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 14px;
  margin-top: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color .2s ease, background .2s ease;
}
.success-nudge:hover {
  border-color: rgba(255, 201, 64, 0.22);
  background: linear-gradient(180deg, rgba(255, 201, 64, 0.04), rgba(255, 255, 255, 0.015));
}
.success-nudge-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500) 55%, var(--gold-700));
  color: var(--ink-050);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  margin-top: 2px;
}
.success-nudge-body {
  flex: 1;
  min-width: 0;
}
.success-nudge-title {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--paper-000);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.success-nudge .cal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.cal-btn--primary {
  flex: 1 1 auto;
  min-width: 92px;
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(255, 201, 64, 0.10);
  border: 1px solid rgba(255, 201, 64, 0.25);
  color: var(--gold-500);
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  transition: all .15s ease;
  text-decoration: none;
}
.cal-btn--primary:hover {
  background: rgba(255, 201, 64, 0.18);
  border-color: rgba(255, 201, 64, 0.45);
  transform: translateY(-1px);
}
.cal-btn--primary svg { width: 14px; height: 14px; }

.success-vcard,
.share-btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--paper-000);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
}
.success-vcard:hover,
.share-btn--primary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
  transform: translateY(-1px);
}
.success-vcard svg,
.share-btn--primary svg { width: 14px; height: 14px; color: var(--gold-500); }

.success-footnote {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  color: var(--paper-500);
  text-align: center;
  letter-spacing: -0.002em;
  line-height: 1.4;
}
.success-footnote strong {
  color: var(--paper-200);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}

/* Hide old .calendar-buttons layout since we replaced it with .success-nudge */
.form-success .calendar-buttons { display: none; }

/* RTL */
[dir="rtl"] .success-nudge { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .cta-reassure { flex-direction: row-reverse; }
[dir="rtl"] .opt-check--commit { text-align: right; }

/* Mobile refinements */
@media (max-width: 720px) {
  .success-nudge { padding: 12px; gap: 10px; }
  .success-nudge-num { width: 22px; height: 22px; font-size: 11px; }
  .success-nudge-title { font-size: 12.5px; }
  .cal-btn--primary { flex: 1 1 100%; }
  .cta-reassure { font-size: 11.5px; }
  .opt-check--commit .opt-text { font-size: 12px; }
}


/* ============================================================
   V8 · FINAL PASS · Topbar/announce, ticker jump fix,
   audience order, RTL polish
   ============================================================ */

/* Topbar is ALWAYS pinned at the very top of the viewport.
   Announcement bar sits above it in normal flow — it scrolls
   away naturally, but the topbar stays flush at 0.            */
.topbar {
  top: 0 !important;
}
.announce-bar {
  position: relative;
  z-index: 90;      /* below topbar so topbar overlays it while scrolling past */
}
/* Give the page enough top-space so the announce bar isn't
   hidden behind the fixed topbar on first paint. */
body {
  padding-top: 0;
}
.hero { padding-top: clamp(120px, 14vw, 180px); }
body.announce-dismissed .hero { padding-top: clamp(80px, 10vw, 120px); }

/* ============================================================
   TICKER JUMP FIX
   The old ticker forced a reflow (animation:none; offsetWidth)
   which created a visible jump. Replace with a smoother crossfade
   that reserves height so surrounding content NEVER moves.
   ============================================================ */
.seats-ticker {
  position: relative;
  min-height: 22px;
}
.seats-ticker-item {
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .45s ease, transform .45s ease;
  will-change: opacity, transform;
}
.seats-ticker-item.is-in {
  opacity: 1;
  transform: translateY(0);
}
/* Suppress the older keyframe rule that was in main styles.css */
.seats-ticker-item { animation: none !important; }

/* Live toast on-screen: reserve fixed dimensions so text never
   shifts other elements when it appears / disappears */
.live-toast {
  will-change: transform, opacity;
}

/* ============================================================
   AUDIENCE CARD ORDER (works for both LTR and RTL)
   DOM order is [no, yes]. Grid follows DOM in LTR → no|yes.
   In RTL, grid reverses → yes|no visually (from screen-left)
   which is what user wants: no on the right in Hebrew.
   ============================================================ */

/* ============================================================
   RTL polish: ensure sticky-desk & mobile order feels natural
   ============================================================ */
[dir="rtl"] .topbar-cta { flex-direction: row-reverse; }
[dir="rtl"] .topbar-right > * { direction: rtl; }

/* ============================================================
   PILLARS EQUATION — bigger, more punchy after copy change
   ============================================================ */
.pillars-equation .result { font-size: 1.1em; }
.pillars-equation .op { color: var(--gold-500); }
