:root {
  --bg: #0b0b0d;
  --bg-2: #141418;
  --card: #1b1b21;
  --line: #2c2c35;
  --text: #f1efe9;
  --muted: #9a98a3;
  --gold: #f5c542;
  --gold-2: #d99a1b;
  --red: #ff4d4d;
  --green: #45d483;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, .logo, .tier-name, .price, .module-num, .stat-num, .seal {
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.strike { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 6px; color: var(--muted); }
.tiny { font-size: 0.8rem; color: var(--muted); }
.hidden { display: none !important; }

/* Urgency bar */
.urgency-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 16px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 50% { background: #c62828; } }

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 12px;
}
.logo { font-size: 1.3rem; }
.logo span { color: var(--gold); }
.nav-cta {
  color: var(--bg);
  background: var(--gold);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

/* Hero */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
}
.eyebrow { color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: 1.05; margin-bottom: 20px; }
.sub { font-size: 1.15rem; color: #cfcdd6; max-width: 640px; margin: 0 auto 28px; }

.guru-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 20px 12px 12px;
  margin-bottom: 32px;
  text-align: left;
}
.guru-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  display: grid; place-items: center;
  font-size: 2rem;
}
.guru-name { font-weight: 800; }
.verified { color: #1d9bf0; font-size: 0.9rem; }
.guru-title { color: var(--muted); font-size: 0.85rem; }

.hero-ctas { position: relative; min-height: 110px; }

.btn-primary {
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #1a1400;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  border: none;
  padding: 18px 36px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.2), 0 10px 30px rgba(245, 197, 66, 0.25);
  transition: transform 0.25s ease, left 0.3s ease, top 0.3s ease;
}
.btn-primary:hover { transform: scale(1.03); }
.btn-primary.small { font-size: 1.1rem; padding: 14px 24px; }
#runaway-btn { position: relative; }
.hero-ctas .tiny { margin-top: 10px; }

.car-flex { margin-top: 40px; }
.car { font-size: 6rem; animation: drive 4s ease-in-out infinite; display: inline-block; }
@keyframes drive {
  0%, 100% { transform: translateX(-20px); }
  50% { transform: translateX(20px) rotate(-2deg); }
}
.caption { color: var(--muted); font-style: italic; font-size: 0.9rem; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.stat { padding: 32px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-num { font-size: 3rem; color: var(--gold); }
.stat-label { color: var(--muted); font-size: 0.85rem; }

/* Sections */
.section { max-width: 1100px; margin: 0 auto; padding: 80px 20px; text-align: center; }
.section h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.section-sub { color: var(--muted); margin-bottom: 40px; }

.x-list { list-style: none; max-width: 600px; margin: 30px auto; text-align: left; }
.x-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  font-weight: 600;
}
.big-quote {
  font-family: "Caveat", cursive;
  font-size: 2rem;
  color: var(--gold);
  margin-top: 40px;
}
.big-quote span { font-family: "Inter", sans-serif; font-size: 0.9rem; color: var(--muted); }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; text-align: left; }
.module {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.module:hover { transform: translateY(-4px); border-color: var(--gold); }
.module-num { color: var(--gold); font-size: 0.95rem; margin-bottom: 6px; }
.module h3 { font-size: 1.2rem; margin-bottom: 8px; }
.module p { color: #c8c6cf; font-size: 0.95rem; }
.module-meta { margin-top: 14px; font-size: 0.8rem; color: var(--muted); }
.module.locked { opacity: 0.5; }

/* Routine timeline */
.timeline { max-width: 560px; margin: 0 auto; text-align: left; border-left: 3px solid var(--gold); padding-left: 24px; }
.t-item { display: flex; gap: 18px; padding: 12px 0; position: relative; }
.t-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 18px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--gold);
}
.t-time { font-weight: 800; color: var(--gold); min-width: 82px; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
}
.stars { margin-bottom: 10px; }
.testimonial p { font-size: 1.05rem; margin-bottom: 14px; }
.who { color: var(--muted); font-size: 0.85rem; font-weight: 600; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.tier {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.tier.featured { border: 2px solid var(--gold); box-shadow: 0 0 40px rgba(245, 197, 66, 0.15); }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #1a1400;
  font-weight: 800; font-size: 0.75rem;
  padding: 4px 12px; border-radius: 999px;
}
.tier-name { color: var(--gold); font-size: 1.2rem; }
.price { font-size: 2.6rem; margin: 10px 0 20px; }
.was { font-size: 1.1rem; color: var(--red); text-decoration: line-through; margin-right: 6px; }
.tier ul { list-style: none; text-align: left; margin-bottom: 24px; flex: 1; }
.tier li { padding: 6px 0; font-size: 0.95rem; }
.btn-tier {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--gold);
  padding: 12px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  font-size: 1rem;
}
.btn-tier:hover { background: var(--gold); color: #1a1400; }

.guarantee {
  display: flex; align-items: center; gap: 24px;
  max-width: 700px; margin: 50px auto 0;
  background: var(--bg-2);
  border: 1px dashed var(--gold);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
}
.seal {
  flex-shrink: 0;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold), var(--gold-2));
  color: #1a1400;
  display: grid; place-items: center;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1;
  transform: rotate(-12deg);
}
.seal small { font-size: 0.7rem; }

/* FAQ */
.faq { max-width: 700px; margin: 30px auto 0; text-align: left; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 16px 20px;
}
.faq summary { font-weight: 800; cursor: pointer; }
.faq details p { margin-top: 10px; color: #c8c6cf; }

/* Certificate */
.cert-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.cert-form input {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 1rem;
  min-width: 260px;
}
.cert {
  max-width: 620px;
  margin: 0 auto;
  background: #fbf6e6;
  color: #2b2410;
  border: 10px double #b8912c;
  padding: 36px 28px;
  transform: rotate(-1.5deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  font-family: Georgia, serif;
}
.cert-title { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 1.8rem; color: #8a6a14; margin-bottom: 14px; }
.cert-name { font-family: "Caveat", cursive; font-size: 2.8rem; margin: 6px 0 10px; border-bottom: 2px solid #b8912c; display: inline-block; padding: 0 20px; }
.cert-sign { margin-top: 24px; display: flex; flex-direction: column; align-items: center; }
.signature { font-family: "Caveat", cursive; font-size: 1.8rem; }
.cert .tiny { color: #7a6e50; }

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 90px 20px;
  background: radial-gradient(ellipse at center, rgba(245, 197, 66, 0.12), transparent 70%);
  border-top: 1px solid var(--line);
}
.final-cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.final-cta p { color: var(--muted); margin: 8px 0 28px; }
.progress-wrap { max-width: 460px; margin: 30px auto 0; }
.progress { height: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width 0.4s ease; }
#progress-text { margin-top: 10px; }

/* Footer */
.footer { text-align: center; padding: 30px 20px 50px; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); }
.footer p { margin-bottom: 6px; }

/* Toast */
.toast {
  position: fixed;
  left: 20px; bottom: 20px;
  max-width: 320px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(150%);
  transition: transform 0.4s ease;
  z-index: 50;
}
.toast.show { transform: translateY(0); }
.toast .muted { color: var(--muted); font-size: 0.78rem; }

/* Modal-ish alert */
.popup-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: grid; place-items: center;
  z-index: 100;
  padding: 16px;
}
.popup {
  background: var(--card);
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 30px;
  max-width: 420px;
  text-align: center;
}
.popup h3 { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 1.6rem; color: var(--gold); margin-bottom: 10px; }
.popup p { margin-bottom: 20px; color: #d6d4dc; }
.popup button { font-size: 1rem; padding: 12px 22px; }

/* Mobile */
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .guarantee { flex-direction: column; text-align: center; }
  .logo { font-size: 1rem; }
  .btn-primary { font-size: 1.1rem; padding: 16px 22px; }
  .cert-form input { min-width: 0; width: 100%; }
  .toast { left: 16px; right: 16px; max-width: none; }
}
