:root {
  --bg-lavender: #e1d4f0;
  --bg-lavender-light: #ece2f6;
  --bg-dark: #1c1c1c;
  --bg-dark-2: #2a2a2a;
  --accent-orange: #f47b20;
  --accent-orange-dark: #d96712;
  --text-dark: #2d2748;
  --text-muted: #6b5e85;
  --white: #ffffff;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-lavender);
  color: var(--text-dark);
  line-height: 1.55;
  font-size: 16px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.accent { color: var(--accent-orange); }
.accent-orange { color: var(--accent-orange); }
.te {
  font-family: 'Noto Sans Telugu', sans-serif;
  display: inline-block;
}

/* ============ HERO ============ */
.hero-section {
  background-color: #0d0820;
  background-image: url("https://img.flexifunnels.com/images/3386/gznjy_1310_Untitleddesign20231130T171706.479.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 60px 0 70px;
  text-align: center;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--white);
}

.hero-sub-telugu {
  font-family: 'Noto Sans Telugu', sans-serif;
  font-size: 1.05rem;
  color: #f0eaff;
  max-width: 850px;
  margin: 0 auto 24px;
}

.live-on {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 36px;
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "video discover";
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-bottom: 50px;
}

.hero-grid .video-box { grid-area: video; }
.hero-grid .discover { grid-area: discover; }

/* CTA between video and discover only shows on mobile (matches reference) */
.hero-primary-cta {
  grid-area: cta;
  text-align: center;
  display: none;
}

.video-box {
  border: 3px solid var(--accent-orange);
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  background: var(--white);
  overflow: hidden;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.discover h2 {
  font-size: 1.6rem;
  margin: 0 0 18px;
  color: var(--white);
}

.discover-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.discover-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 1rem;
  color: #f0eaff;
}

.discover-list li::before {
  content: "\1FA76";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--accent-orange);
  font-weight: 800;
}

/* ============ CTA BLOCK ============ */
.cta-block {
  text-align: center;
  margin: 30px auto 0;
  max-width: 700px;
}

.cta-block.light .countdown-title,
.cta-block.light .hurry { color: var(--text-dark); }

/* Hero countdown sits on the dark cosmic background */
.hero-section .countdown-title { color: #b794f4; }
.hero-section .countdown .num { color: var(--white); }
.hero-section .countdown small { color: #d8cdf0; }
.hero-section .hurry { color: #ffb4ad; }

.countdown-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0 0 14px;
  font-weight: 700;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.countdown > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdown .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.countdown small {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-cta {
  display: inline-block;
  position: relative;
  background: var(--accent-orange);
  color: var(--white);
  padding: 18px 56px;
  border: none;
  border-radius: 4px;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--accent-orange-dark);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
  font-family: inherit;
  overflow: hidden;
  animation: cta-pulse 1.6s ease-in-out infinite;
}

/* Attention-grabbing pulse */
@keyframes cta-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 0 var(--accent-orange-dark), 0 0 0 0 rgba(244, 123, 32, 0.5); }
  50% { transform: scale(1.03); box-shadow: 0 6px 0 var(--accent-orange-dark), 0 0 0 14px rgba(244, 123, 32, 0); }
}

/* Sweeping shine across the button */
.btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: cta-shine 2.8s ease-in-out infinite;
}

@keyframes cta-shine {
  0% { left: -75%; }
  35%, 100% { left: 130%; }
}

.btn-cta:hover {
  transform: translateY(2px) scale(1.02);
  box-shadow: 0 4px 0 var(--accent-orange-dark);
  animation-play-state: paused;
}

.btn-cta .te { font-size: 0.9rem; font-weight: 500; display: block; margin-top: 2px; }
.btn-cta.center { display: block; max-width: 460px; margin: 24px auto 8px; }

/* Animated arrow on CTA buttons */
.cta-arrow {
  display: inline-block;
  font-weight: 800;
  animation: cta-arrow-nudge 1s ease-in-out infinite;
}

@keyframes cta-arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .btn-cta,
  .btn-cta::before,
  .cta-arrow {
    animation: none;
  }
}

.hurry {
  margin: 14px 0 0;
  color: #c0392b;
  font-weight: 600;
  font-size: 0.95rem;
}
.hurry.white { color: #ffb4ad; }

/* ============ PROBLEMS ============ */
.problems-section {
  background: var(--bg-lavender-light);
  padding: 60px 0 70px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 12px;
}
.section-title.white { color: var(--white); }

.sub-title {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 30px;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0 50px;
}

.problem-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 16px 20px;
  box-shadow: 0 4px 14px rgba(70, 40, 120, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(70, 40, 120, 0.16);
}

.problem-card img {
  width: 100%;
  max-width: 200px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
}

.problem-card h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* ============ FORM ============ */
.form-sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 18px;
  font-size: 0.95rem;
}

#popup-optin-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 14px 0 6px;
  color: var(--text-dark);
}

#popup-optin-form input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #d8d2ec;
  border-radius: 8px;
  font-size: 1rem;
  background: #ffffff;
  font-family: inherit;
  margin-bottom: 14px;
}

#popup-optin-form input:focus {
  outline: 2px solid var(--accent-orange);
  border-color: var(--accent-orange);
}

#popup-submit-btn {
  width: 100%;
  margin-top: 20px;
}

.form-status {
  margin: 12px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
  text-align: center;
}
.form-status.success { color: #1f8a4c; }
.form-status.error { color: #c0392b; }

.privacy {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: #9a97a8;
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
  background: var(--bg-lavender);
  padding: 70px 0;
  text-align: center;
}

.testimonials-section .section-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.5rem;
  line-height: 1.4;
}

.te-line {
  font-family: 'Noto Sans Telugu', sans-serif;
  color: var(--text-muted);
  margin: 0 0 36px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
  margin-bottom: 50px;
}

.testimonial {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(70, 40, 120, 0.08);
}

.t-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), #ffb060);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent-orange);
  background: #f0eaf7;
}

.stars-img {
  display: block;
  height: 18px;
  width: auto;
  margin-top: 6px;
}

.t-head h4 { margin: 0; font-size: 1.05rem; }
.t-head p { margin: 2px 0 0; color: var(--text-muted); font-size: 0.85rem; }

.testimonial > p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* ============ MENTOR ============ */
.mentor-section {
  background: var(--bg-dark);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.mentor-section .accent { color: var(--accent-orange); }

.mentor-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin: 40px 0 50px;
}

.mentor-photo { text-align: center; }

.photo-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.mentor-photo h3 { margin: 0; font-size: 1.4rem; }
.mentor-photo .role { color: var(--accent-orange); margin: 4px 0 0; font-weight: 600; }

.mentor-bio p {
  font-family: 'Noto Sans Telugu', sans-serif;
  color: #d8d8d8;
  margin: 0 0 14px;
  line-height: 1.7;
}

.journey-title {
  font-size: 1.6rem;
  margin: 30px 0 24px;
  font-weight: 700;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
  margin-bottom: 30px;
}

.journey-card {
  background: var(--bg-dark-2);
  padding: 24px;
  border-radius: 10px;
  border-left: 4px solid var(--accent-orange);
}

.journey-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
  display: block;
  background: #1c1c1c;
}

.journey-card h4 {
  margin: 0 0 12px;
  color: var(--accent-orange);
  font-size: 1.1rem;
}

.journey-card p {
  font-family: 'Noto Sans Telugu', sans-serif;
  color: #d8d8d8;
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============ BONUSES ============ */
.bonuses-section {
  background: var(--bg-lavender-light);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ---- 3D floating shapes behind the bonus cards ---- */
.bonus-3d-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  perspective: 700px;
}

.bonus-3d-bg .shape {
  position: absolute;
  display: block;
  opacity: 0.55;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Cube — a tilted gradient block with layered faces */
.shape-cube {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f9a45e 0%, #f47b20 100%);
  box-shadow:
    -14px 14px 0 -2px rgba(217, 103, 18, 0.35),
    0 20px 40px rgba(217, 103, 18, 0.25);
}

/* Sphere — a soft 3D ball with a highlight */
.shape-sphere {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffffff 0%, #c9b3ec 38%, #8f6fc7 100%);
  box-shadow: 0 22px 38px rgba(108, 70, 170, 0.3);
}

/* Ring — a 3D torus-like donut */
.shape-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: transparent;
  border: 18px solid #d9b8ff;
  box-shadow:
    0 18px 34px rgba(108, 70, 170, 0.28),
    inset 0 0 16px rgba(108, 70, 170, 0.25);
}

.shape-1 { top: 8%;  left: 4%;  animation: shape-float-a 9s ease-in-out infinite; }
.shape-2 { top: 18%; right: 6%; animation: shape-float-b 11s ease-in-out infinite; }
.shape-3 { bottom: 12%; left: 8%; animation: shape-float-b 10s ease-in-out infinite; }
.shape-4 { bottom: 8%; right: 5%; animation: shape-float-a 12s ease-in-out infinite; }
.shape-5 { top: 46%; left: 1%;  animation: shape-float-a 13s ease-in-out infinite; width: 54px; height: 54px; }
.shape-6 { top: 40%; right: 2%; animation: shape-float-b 8s ease-in-out infinite; width: 60px; height: 60px; border-width: 12px; }

@keyframes shape-float-a {
  0%, 100% { transform: translateY(0) rotateX(20deg) rotateY(-25deg) rotateZ(8deg); }
  50%      { transform: translateY(-26px) rotateX(40deg) rotateY(15deg) rotateZ(-8deg); }
}

@keyframes shape-float-b {
  0%, 100% { transform: translateY(0) rotateX(-15deg) rotateY(30deg) rotateZ(-6deg); }
  50%      { transform: translateY(22px) rotateX(25deg) rotateY(-20deg) rotateZ(10deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bonus-3d-bg .shape { animation: none; }
}

.bonuses-section .container { position: relative; z-index: 1; }

.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 40px 0 50px;
  text-align: left;
  perspective: 1200px;
}

.bonus-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 22px;
  box-shadow:
    0 6px 18px rgba(70, 40, 120, 0.08),
    0 18px 40px rgba(70, 40, 120, 0.12);
  border: 2px solid transparent;
  position: relative;
  transform: perspective(1000px) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bonus-card:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-8px) scale(1.02);
  box-shadow:
    0 10px 24px rgba(70, 40, 120, 0.12),
    0 30px 60px rgba(70, 40, 120, 0.22);
}

.bonus-card.highlight {
  border-color: var(--accent-orange);
  background: linear-gradient(180deg, #fff5e6 0%, #ffffff 100%);
}

.bonus-img {
  width: 100%;
  max-width: 180px;
  height: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto 14px;
}

.bonus-emoji {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  line-height: 1;
  margin-bottom: 14px;
  animation: bonus-gift-bounce 1.8s ease-in-out infinite;
}

@keyframes bonus-gift-bounce {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bonus-emoji { animation: none; }
}

.bonus-tag {
  display: inline-block;
  background: var(--accent-orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.bonus-card h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.bonus-card .te {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.bonus-card .value {
  margin: 0;
  font-size: 1rem;
  color: var(--text-dark);
}

.bonus-card .value s { color: #aaa; }
.bonus-card .value strong { color: var(--accent-orange); font-weight: 800; margin-left: 4px; }

/* ============ FAQs ============ */
.faqs-section {
  background: var(--bg-lavender);
  padding: 70px 0;
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 30px auto 0;
  text-align: left;
}

.faq-list details {
  background: var(--white);
  border-radius: 8px;
  padding: 16px 22px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(70, 40, 120, 0.06);
  cursor: pointer;
}

.faq-list summary {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.5rem;
  color: var(--accent-orange);
  font-weight: 400;
}

.faq-list details[open] summary::after { content: "\2212"; }

.faq-list details p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.disclaimer {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 18px 22px;
  background: rgba(244, 123, 32, 0.1);
  border-left: 4px solid var(--accent-orange);
  border-radius: 6px;
  color: var(--text-dark);
  font-size: 0.9rem;
  text-align: left;
}

/* ============ FINAL CTA ============ */
.final-cta-section {
  background: var(--bg-lavender-light);
  padding: 70px 0;
  text-align: center;
}

/* ============ THANK YOU ============ */
.thank-you-hero {
  padding: 80px 0;
  text-align: center;
}

.thank-you-hero h1 { font-size: 3rem; margin: 0 0 14px; color: #1d0044; }
.thank-you-hero .next-steps { margin-top: 40px; }
.thank-you-hero .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}
.thank-you-hero .card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(70, 40, 120, 0.08);
}
.thank-you-hero .card h3 { color: var(--accent-orange); margin-top: 0; }

.btn-primary {
  display: inline-block;
  margin-top: 30px;
  background: var(--accent-orange);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 0 var(--accent-orange-dark);
}

/* ---- Thank-you WhatsApp focus ---- */
.ty-connect-title {
  margin: 36px 0 10px;
  font-size: 1.5rem;
  color: var(--accent-orange);
}

.ty-connect-text {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  background: #25d366;
  color: #fff;
  padding: 18px 44px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  animation: wa-pulse 1.6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp .wa-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  animation: wa-icon-bounce 1.6s ease-in-out infinite;
}

.btn-whatsapp:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

/* Sweeping shine across the WhatsApp button */
.btn-whatsapp::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: wa-shine 2.6s ease-in-out infinite;
}

@keyframes wa-shine {
  0% { left: -75%; }
  35%, 100% { left: 130%; }
}

@keyframes wa-icon-bounce {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.12); }
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { transform: scale(1.03); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

.wa-note {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.wa-note strong { color: var(--accent-orange); }

@media (prefers-reduced-motion: reduce) {
  .btn-whatsapp,
  .btn-whatsapp::before,
  .btn-whatsapp .wa-icon {
    animation: none;
  }
}

/* Divider between the WhatsApp invite and the ZOOM-link note */
.ty-divider {
  border: none;
  border-top: 1px solid rgba(70, 40, 120, 0.15);
  max-width: 560px;
  margin: 24px auto 0;
}

/* Sticky bottom WhatsApp CTA — guarantees the button is visible on first
   landing on mobile, no matter how tall the hero content is */
.sticky-cta .btn-whatsapp {
  display: flex;
  width: 100%;
  margin-top: 0;
}

/* ============ POPUP MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 12, 32, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  animation: overlay-fade 0.25s ease;
}

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

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: linear-gradient(180deg, #26222f 0%, #1c1926 100%);
  border-radius: 18px;
  padding: 30px 32px 32px;
  max-width: 520px;
  width: 100%;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  text-align: left;
  animation: popup-in 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

/* Glowing accent strip at the very top */
.modal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--accent-orange), #ffb060);
}

@keyframes popup-in {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-badge {
  display: inline-block;
  background: rgba(255, 126, 0, 0.15);
  color: #ff9d3c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 126, 0, 0.35);
  margin-bottom: 12px;
}

.modal-title {
  margin: 0 0 20px;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  color: var(--white);
  padding-right: 24px;
}

/* ----- Urgency progress bar ----- */
.modal-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.modal-progress-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #c9c4d6;
}

.modal-progress-pct {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ff9d3c;
}

.modal-progress {
  height: 12px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.modal-progress-fill {
  display: block;
  height: 100%;
  width: 86%;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff7e00, #ffb347);
  position: relative;
  animation: progress-grow 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* moving shine across the bar */
.modal-progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 80%
  );
  transform: translateX(-100%);
  animation: progress-shine 2.4s ease-in-out 2s infinite;
}

@keyframes progress-grow {
  from { width: 8%; }
  to { width: 86%; }
}

@keyframes progress-shine {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ----- Urgency message ----- */
.modal-urgency {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  background: rgba(155, 123, 255, 0.1);
  border: 1px solid rgba(155, 123, 255, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
}

.modal-urgency-icon {
  font-size: 1.9rem;
  flex-shrink: 0;
  animation: urgency-blink 1.2s ease-in-out infinite;
}

@keyframes urgency-blink {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.modal-urgency p {
  margin: 0;
  text-align: left;
  flex: 1;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: #c3b3ff;
}

.modal-urgency strong { color: #ffffff; }

/* ----- Fields with leading icons ----- */
.field {
  position: relative;
  margin-bottom: 14px;
}

.field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05rem;
  opacity: 0.7;
  pointer-events: none;
}

#popup-optin-form .field input {
  margin-bottom: 0;
  padding-left: 44px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#popup-optin-form input:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.25);
}

#popup-submit-btn {
  margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .modal-progress-fill,
  .modal-progress-fill::after,
  .modal-urgency-icon,
  .modal-overlay,
  .modal-card { animation: none; }
  .modal-progress-fill { width: 86%; }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: #d6d3e0;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.modal-close:hover {
  background: var(--accent-orange);
  color: #fff;
  transform: rotate(90deg);
}

/* ============ LIVE SOCIAL PROOF ============ */
.social-proof {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-proof.visible {
  opacity: 1;
  transform: translateY(0);
}

.live-viewers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: rgba(20, 16, 32, 0.92);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.live-viewers strong { color: #ff9d3c; }

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  animation: live-pulse 1.6s ease-out infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.signup-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px 12px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid #eee;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.signup-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--accent-orange), #ffb060);
}

.toast-body { min-width: 0; }

.toast-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.toast-text strong { color: var(--text-dark); }

.toast-sub {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: #2ca05a;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  .signup-toast { transition: opacity 0.2s ease; }
  .social-proof { transition: opacity 0.2s ease; }
}

@media (max-width: 600px) {
  .social-proof {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }
}

/* ============ STICKY MOBILE CTA ============ */
/* Hidden on desktop; revealed only on mobile via media query below */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 8, 32, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
}

.sticky-cta .btn-cta {
  display: block;
  width: 100%;
  padding: 13px 20px;
  font-size: 1.05rem;
  box-shadow: 0 4px 0 var(--accent-orange-dark);
}

.sticky-cta .btn-cta .te { font-size: 0.78rem; margin-top: 1px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-dark);
  color: #aaa;
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-title { font-size: 1.9rem; }
  .mentor-grid,
  .journey-grid,
  .testimonials-grid,
  .bonuses-grid,
  .problems-grid,
  .thank-you-hero .grid-3 {
    grid-template-columns: 1fr;
  }
  /* Mobile hero order: video -> register button -> what you'll discover */
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "video"
      "cta"
      "discover";
    gap: 24px;
  }
  .hero-primary-cta { display: block; }
  .hero-primary-cta .btn-cta { width: 100%; max-width: 460px; }
  /* Always-visible sticky CTA so the button is on screen the moment users land */
  .sticky-cta { display: block; }
  body { padding-bottom: 78px; }
  /* Lift social proof above the sticky bar */
  .social-proof { bottom: 84px; }
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown { gap: 12px; }
  .countdown > div { min-width: 60px; }
  .countdown .num { font-size: 1.8rem; }
  .btn-cta { padding: 16px 28px; font-size: 1.1rem; }
  .section-title { font-size: 1.5rem; }

  /* ---- Thank-you page: trim the hero so the WhatsApp CTA needs no
     scrolling, and hide the secondary "next steps" grid ---- */
  .thank-you-hero { padding: 32px 0 24px; }
  .thank-you-hero h1 { font-size: 1.9rem; margin: 0 0 10px; }
  .thank-you-hero .live-on { margin: 0 0 8px; }
  .thank-you-hero .sub-title { font-size: 0.95rem; }
  .ty-connect-title { margin: 22px 0 8px; font-size: 1.2rem; }
  .btn-whatsapp { padding: 14px 28px; font-size: 1.1rem; margin-top: 18px; }
  .btn-whatsapp .wa-icon { width: 24px; height: 24px; }
  .wa-note { margin-top: 12px; font-size: 0.9rem; }
  .thank-you-hero .next-steps { display: none; }
}

@media (max-width: 540px) {
  .problems-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.6rem; }
}
