/* ==========================================================================
   LOCKED IN. — 8 Week Challenge (POLARIZE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --pink: #ff6ec7;
  --pink-dark: #c4008a;
  --pink-shadow: #8f0064;
  --cyan: #67e8f9;
  --lime: #a8ff3e;
  --ink: #0a0a0a;
  --card-dark: #111111;
  --gray-600: #595959;
  --gray-400: #c2c2c2;
  --gray-200: #e6e6e6;
  --bg-light: #f5f5f5;
  --card-light: #fafafa;
  --white: #ffffff;
  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

button { font-family: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- shared ---------- */

.stripe {
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--pink), var(--cyan) 50%, var(--lime));
}
.stripe--bottom { background: linear-gradient(90deg, var(--lime), var(--cyan) 50%, var(--pink)); }
.stripe--thin { height: 4px; }

.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin: 0 0 12px;
}
.eyebrow--pink { color: var(--pink); }
.eyebrow--cyan { color: var(--cyan); }

.btn-cta {
  display: inline-block;
  background: var(--pink-dark);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 18px 48px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--pink-shadow);
  transition: transform 0.15s ease;
}
.btn-cta:hover { transform: translateY(-2px); }
.btn-cta:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--pink-shadow); }

section { width: 100%; }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 40px;
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo img { height: 28px; width: auto; }
.site-header__cta {
  background: var(--pink-dark);
  color: var(--white);
  border: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 3px 0 var(--pink-shadow);
  cursor: pointer;
}

/* ---------- hero ---------- */

.hero { background: var(--white); }
.hero__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 50px 20px 0;
  overflow: hidden;
  min-height: 606px;
}
.hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 600px;
  max-width: 100%;
  padding: 30px 20px 40px;
  text-align: center;
  z-index: 3;
}
.hero__plogo { width: 70px; height: auto; }
.hero__logo { width: 560px; max-width: 100%; height: auto; }
.hero__tagline { color: var(--gray-600); font-size: 14px; margin: 0; }

.hero__char {
  position: absolute;
  bottom: 0;
  width: 262px;
  z-index: 2;
}
.hero__char--man { left: max(2%, calc(50% - 620px)); }
.hero__char--woman { right: max(2%, calc(50% - 620px)); width: 280px; }

.hero__cash {
  position: absolute;
  top: 0;
  width: 300px;
  z-index: 1;
  pointer-events: none;
}
.hero__cash--left { left: 0; }
.hero__cash--right { right: 0; }

/* ---------- prizes ---------- */

.prizes { background: var(--white); }
.prizes .section-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.prizes-title {
  font-weight: 900;
  font-size: 44px;
  margin: 0 0 16px;
}
.prizes-title span { color: var(--lime); }
.prizes-sub {
  color: var(--gray-600);
  font-size: 16px;
  max-width: 640px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.prize-cards {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.prize-card {
  background: var(--card-dark);
  border: 2px solid var(--lime);
  border-radius: 10px;
  width: 300px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--white);
}
.prize-card--cyan { border-color: var(--cyan); }
.prize-card--pink { border-color: var(--pink); }
.prize-card img { width: 220px; height: auto; margin-bottom: 8px; }
.prize-card__place {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0;
}
.prize-card--cyan .prize-card__place { color: var(--cyan); }
.prize-card--pink .prize-card__place { color: var(--pink); }
.prize-card__amount {
  font-weight: 900;
  font-size: 34px;
  margin: 0;
  color: var(--lime);
}
.prize-card--cyan .prize-card__amount,
.prize-card--pink .prize-card__amount { color: var(--white); }
.prize-card__label {
  font-weight: 700;
  font-size: 13px;
  margin: 0;
  color: var(--lime);
}
.prize-card--cyan .prize-card__label { color: var(--cyan); }
.prize-card--pink .prize-card__label { color: var(--pink); }
.prize-card__desc {
  font-size: 13px;
  color: var(--gray-400);
  margin: 0;
  max-width: 250px;
}

.prizes-note {
  color: var(--gray-600);
  font-size: 14px;
  margin: 32px 0 0;
}
.prizes-note--small {
  font-size: 13px;
  max-width: 560px;
  margin-top: 14px;
  line-height: 1.6;
}

/* ---------- team ---------- */

.team { background: var(--ink); color: var(--white); }
.team .section-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.team__copy { flex: 1 1 480px; }
.team__title {
  font-weight: 900;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 18px;
}
.team__title span { color: var(--cyan); }
.team__bio {
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  max-width: 480px;
  margin: 0 0 24px;
}
.team__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.team__stat-num {
  font-weight: 900;
  font-size: 22px;
  margin: 0;
}
.team__stat-num--lime { color: var(--lime); }
.team__stat-num--pink { color: var(--pink); }
.team__stat-num--cyan { color: var(--cyan); }
.team__stat-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin: 2px 0 0;
}
.team__photo { flex: 0 1 366px; max-width: 100%; border-radius: 8px; }

/* ---------- countdown ---------- */

.countdown { background: var(--ink); color: var(--white); text-align: center; }
.countdown .section-inner { padding: 48px 40px; }
.countdown__label {
  color: var(--pink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.countdown__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.countdown__sep { font-size: 34px; font-weight: 900; color: var(--gray-400); }
.countdown__box {
  background: var(--card-dark);
  border: 2px solid var(--pink);
  border-radius: 8px;
  width: 88px;
  padding: 14px 0;
}
.countdown__num {
  font-size: 40px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.countdown__unit {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-top: 6px;
}

/* ---------- how it works ---------- */

.hiw { background: var(--bg-light); }
.hiw .section-inner { background: var(--white); border-radius: 12px; }
.hiw__title {
  font-weight: 900;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 16px;
}
.hiw__sub {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 0 30px;
}
.hiw__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: var(--card-light);
  border-top: 3px solid var(--pink);
  border-radius: 10px;
  padding: 28px 22px;
}
.step--cyan { border-top-color: var(--cyan); }
.step--lime { border-top-color: var(--lime); }
.step__num {
  font-weight: 900;
  font-size: 34px;
  color: var(--pink);
  margin: 0 0 8px;
}
.step--cyan .step__num { color: var(--cyan); }
.step--lime .step__num { color: var(--lime); }
.step__title { font-weight: 700; font-size: 17px; margin: 0 0 8px; }
.step__desc { font-size: 14px; line-height: 1.55; color: var(--gray-600); margin: 0; }

/* ---------- app ---------- */

.app { background: var(--ink); color: var(--white); }
.app .section-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.app__copy { flex: 1 1 480px; }
.app__title {
  font-weight: 900;
  font-size: 32px;
  line-height: 1.15;
  max-width: 500px;
  margin: 0 0 14px;
}
.app__desc {
  color: var(--gray-400);
  font-size: 16px;
  line-height: 1.8;
  max-width: 480px;
  margin: 0 0 20px;
}
.app__features { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.app__features li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-200);
  line-height: 1.4;
}
.app__features li::before {
  content: "\2713";
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
}
.app__callout {
  background: var(--card-dark);
  border-left: 4px solid var(--pink);
  padding: 20px 24px;
  max-width: 480px;
}
.app__callout-title {
  color: var(--pink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.app__callout-desc { color: var(--gray-400); font-size: 15px; line-height: 1.7; margin: 0; }
.app__screens { flex: 0 1 506px; max-width: 100%; }

/* ---------- pricing intro ---------- */

.pricing-intro { background: var(--bg-light); text-align: center; }
.pricing-intro .section-inner { padding: 48px 40px; }
.pricing-intro__title { font-weight: 800; font-size: 26px; margin: 0 0 12px; }
.pricing-intro__sub { color: var(--gray-600); font-size: 15px; margin: 0; }

/* ---------- tiers ---------- */

.tiers { background: var(--white); }
.tiers .section-inner { display: flex; flex-direction: column; align-items: center; }
.tiers-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.tier {
  position: relative;
  width: 340px;
  max-width: 100%;
  border: 4px solid #0b1f3b;
  border-radius: 12px;
  box-shadow: 0px 18px 28px -10px rgba(11,31,59,0.2), 10px 10px 0px 0px rgba(11,31,59,0.4);
  overflow: hidden;
}
.tier--silver { background: linear-gradient(180deg, #e0f2fe 0%, #ccfbf1 55%, #93c5fd 100%); }
.tier--gold { background: linear-gradient(180deg, #fde68a 0%, #f59e0b 55%, #b45309 100%); }
.tier__badge {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink-dark);
  color: var(--white);
  border: 2px solid #0b1f3b;
  border-radius: 4px;
  padding: 5px 14px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier__head {
  border-bottom: 3px solid #0b1f3b;
  padding: 24px 24px 18px;
  text-align: center;
}
.tier__name { font-weight: 700; font-size: 12px; letter-spacing: 1.4px; margin: 0 0 4px; }
.tier__price { font-weight: 900; font-size: 56px; margin: 0; line-height: 1; }
.tier__per { font-weight: 700; font-size: 14px; color: #262626; margin: 6px 0 0; }
.tier__total { font-weight: 700; font-size: 12px; color: #262626; margin: 2px 0 12px; }
.tier__raffle {
  display: inline-block;
  background: var(--white);
  border: 2px solid #0b1f3b;
  border-radius: 20px;
  padding: 4px 12px;
  font-weight: 700;
  font-size: 11px;
}
.tier__body { padding: 22px 24px; }
.tier__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 8px 0;
}
.tier__feature--off { color: #dedede; }
.tier__check { color: #2e7d32; font-weight: 700; }
.tier__cross { color: #8f8f8f; font-weight: 700; }
.tier__btn {
  display: block;
  width: 100%;
  margin-top: 18px;
  border: 3px solid #0b1f3b;
  border-radius: 4px;
  padding: 15px;
  background: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
}
.tiers-footnote { color: var(--gray-600); font-size: 15px; margin: 32px 0 0; }

/* ---------- entry level modal ---------- */

.entry-modal {
  width: min(840px, calc(100% - 32px));
  max-width: 840px;
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: 16px;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.entry-modal::backdrop { background: rgba(10, 10, 10, 0.76); }
.entry-modal__panel { position: relative; padding: 34px 40px 42px; text-align: center; }
.entry-modal__title { margin: 0; font-size: 34px; font-weight: 900; }
.entry-modal__intro { margin: 8px 0 26px; color: var(--gray-600); }
.entry-modal__tiers {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 28px;
}
.entry-modal__tiers .tier { width: 340px; text-align: left; }
.entry-modal__tiers .tier__head { text-align: center; }
.entry-modal__tiers .tier__body { display: flex; min-height: 350px; flex-direction: column; }
.entry-modal__tiers .tier__btn { margin-top: auto; }

.entry-modal[open],
.checkout-modal[open] {
  transform-origin: center;
  animation: modal-fade-in 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.entry-modal[open]::backdrop,
.checkout-modal[open]::backdrop {
  animation: modal-backdrop-in 240ms ease-out both;
}
.entry-modal.is-closing,
.checkout-modal.is-closing {
  pointer-events: none;
  animation: modal-fade-out 180ms ease-in both;
}
.entry-modal.is-closing::backdrop,
.checkout-modal.is-closing::backdrop {
  animation: modal-backdrop-out 180ms ease-in both;
}
.entry-modal[open] .tier {
  animation: modal-card-in 360ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.entry-modal[open] .tier:nth-child(2) { animation-delay: 130ms; }
.checkout-modal[open] .checkout-option {
  animation: modal-card-in 320ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.checkout-modal[open] .checkout-option:nth-child(2) { animation-delay: 120ms; }

@keyframes modal-fade-in {
  from { opacity: 0; transform: translateY(12px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modal-fade-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(8px) scale(0.985); }
}
@keyframes modal-backdrop-in {
  from { background: rgba(10, 10, 10, 0); }
  to { background: rgba(10, 10, 10, 0.76); }
}
@keyframes modal-backdrop-out {
  from { background: rgba(10, 10, 10, 0.76); }
  to { background: rgba(10, 10, 10, 0); }
}
@keyframes modal-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- checkout modal ---------- */

.checkout-modal {
  width: min(680px, calc(100% - 32px));
  max-width: 680px;
  border: 0;
  border-radius: 16px;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.checkout-modal::backdrop { background: rgba(10, 10, 10, 0.76); }
.checkout-modal__panel { position: relative; padding: 40px; text-align: center; }
.checkout-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.checkout-modal__title { margin: 0; font-size: 34px; font-weight: 900; }
.checkout-modal__intro { margin: 10px 0 26px; color: var(--gray-600); }
.checkout-modal__options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-option {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 3px solid #0b1f3b;
  border-radius: 10px;
  padding: 24px 18px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.checkout-option--featured { background: linear-gradient(135deg, #fff1fa, #eefcff); }
.checkout-option:hover { transform: translateY(-3px); box-shadow: 0 8px 0 rgba(11, 31, 59, 0.14); }
.checkout-option__label { font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.checkout-option__price { font-size: 34px; font-weight: 900; }
.checkout-option__price small { font-size: 14px; font-weight: 700; }
.checkout-option__action { color: var(--pink-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.checkout-modal__note { margin: 22px 0 0; color: var(--gray-600); font-size: 12px; }

/* ---------- final cta ---------- */

.final-cta { background: var(--ink); color: var(--white); text-align: center; }
.final-cta .section-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 40px; }
.final-cta__title { font-weight: 900; font-size: 50px; margin: 14px 0 0; }
.final-cta__title span { color: var(--pink); }
.final-cta__sub { color: var(--gray-400); font-size: 16px; max-width: 480px; margin: 0; }
.final-cta__note { color: var(--gray-400); font-size: 14px; margin: 0; }

/* ---------- footer ---------- */

.site-footer { background: var(--white); text-align: center; padding: 28px 20px; }
.site-footer p { color: var(--gray-600); font-size: 14px; margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .section-inner { padding: 56px 24px; }
  .hiw .section-inner { padding: 40px 20px; }

  .hero__char { display: none; }
  .hero__cash { width: 130px; }
  .hero__logo { width: 100%; }

  .prize-cards {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
  .prize-card { scroll-snap-align: center; flex-shrink: 0; }

  .team .section-inner { flex-direction: column; text-align: center; padding-bottom: 24px; }
  .team__copy { flex: 0 1 auto; text-align: center; }
  .team__bio { margin-left: auto; margin-right: auto; }
  .team__stats { justify-content: center; }
  .team__photo { order: -1; }

  .countdown .section-inner { padding-top: 24px; }

  .hiw__grid { grid-template-columns: 1fr 1fr; }

  .app .section-inner { flex-direction: column; }
  .app__copy { text-align: left; }
  .app__title, .app__desc { max-width: 100%; }

  .tiers-grid { flex-direction: column; align-items: center; }

  .final-cta__title { font-size: 38px; }

  .countdown__box { width: 68px; padding: 10px 0; }
  .countdown__num { font-size: 28px; }

  .entry-modal { width: min(760px, calc(100% - 24px)); }
  .entry-modal__panel { padding-inline: 24px; }
  .entry-modal__tiers { gap: 20px; }
}

@media (max-width: 720px) {
  .entry-modal__tiers { flex-direction: column; align-items: center; }
}

@media (max-width: 560px) {
  .prizes-title, .final-cta__title { font-size: 32px; }
  .hiw__grid { grid-template-columns: 1fr; }
  .hero__logo { width: 100%; }
  .site-header__inner { padding: 12px 20px; }
  .countdown__sep { font-size: 22px; }
  .entry-modal__panel { padding: 36px 16px 24px; }
  .entry-modal__title { font-size: 28px; }
  .entry-modal__intro { margin-bottom: 22px; }
  .entry-modal__tiers .tier { width: 100%; }
  .checkout-modal__panel { padding: 36px 20px 24px; }
  .checkout-modal__title { font-size: 28px; }
  .checkout-modal__options { grid-template-columns: 1fr; }
  .checkout-option { min-height: 145px; }
}

@media (prefers-reduced-motion: reduce) {
  .entry-modal[open],
  .entry-modal[open]::backdrop,
  .entry-modal.is-closing,
  .entry-modal.is-closing::backdrop,
  .entry-modal[open] .tier,
  .checkout-modal[open],
  .checkout-modal[open]::backdrop,
  .checkout-modal.is-closing,
  .checkout-modal.is-closing::backdrop,
  .checkout-modal[open] .checkout-option {
    animation: none;
  }
}
