/* ============================================
   CASHFLOW MASTER — Landing Page Styles
   v1.0 · 2026
   ============================================ */

/* ---- TOKENS ---- */
:root {
  --bg-900: #120C2C;
  --bg-850: #1B1237;
  --bg-800: #2B174A;
  --bg-700: #43255F;
  --bg-footer: #050507;

  --accent: #10E92C;
  --accent-hover: #07C92A;
  --accent-glow: rgba(16, 233, 44, 0.25);

  --text: #F4F1F4;
  --text-soft: #D9D3DF;
  --text-muted: #A7A0B2;

  --stroke: rgba(241, 238, 244, 0.12);
  --stroke-solid: #F1EEF4;
  --shadow-purple: 0 20px 60px rgba(66, 25, 105, 0.5);

  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', 'Montserrat', sans-serif;

  --max-w: 1180px;
  --section-py: 96px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }

/* ---- UTILS ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.accent { color: var(--accent); font-style: normal; }
.section { padding: var(--section-py) 0; position: relative; overflow: hidden; }
.section--dark { background: var(--bg-850); }
.section--medium { background: var(--bg-800); }
.section--gradient {
  background: linear-gradient(135deg, var(--bg-900) 0%, var(--bg-800) 50%, var(--bg-900) 100%);
}
.section--cta { background: var(--bg-900); }

/* ---- TYPOGRAPHY ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(16, 233, 44, 0.1);
  border: 1px solid rgba(16, 233, 44, 0.3);
  border-radius: var(--radius-pill);
  padding: 5px 16px;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  text-align: center;
  margin-bottom: 16px;
}
.section-desc {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}
.cta-center { text-align: center; margin-top: 56px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  background: var(--accent);
  color: #0A0015;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 30px var(--accent-glow);
  white-space: nowrap;
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(16, 233, 44, 0.4);
  opacity: 1;
}
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-full { width: 100%; padding: 18px 24px; font-size: 17px; }
.btn-xl { padding: 22px 48px; font-size: 19px; }
.btn-float { padding: 14px 28px; font-size: 15px; }

/* ---- TICKER BAR ---- */
.ticker-bar {
  background: var(--accent);
  color: #0A0015;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-inner {
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 12, 44, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
  padding: 14px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.logo-cash { color: var(--text); }
.logo-master { color: var(--accent); }

/* ---- HERO FULL WIDTH ---- */
.hero {
  position: relative;
  background: linear-gradient(170deg, var(--bg-900) 0%, var(--bg-850) 50%, var(--bg-800) 100%);
  padding: 96px 0 100px;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
/* Centered content column */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Background glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow--left {
  width: 700px; height: 700px;
  top: -250px; left: -280px;
  background: radial-gradient(circle, rgba(66, 25, 105, 0.55) 0%, transparent 70%);
}
.hero-glow--right {
  width: 500px; height: 500px;
  top: -100px; right: -200px;
  background: radial-gradient(circle, rgba(16, 233, 44, 0.07) 0%, transparent 65%);
}
.hero-glow--center {
  width: 900px; height: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(43, 23, 74, 0.6) 0%, transparent 70%);
}

/* Spencer decorative (right edge, faded) */
.hero-bg-spencer {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(260px, 28vw, 420px);
  height: 100%;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.18) 0%, transparent 90%),
              linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 30%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.18) 0%, transparent 90%),
              linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 30%);
  opacity: 0.22;
}
.hero-bg-spencer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Badge */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(16, 233, 44, 0.1);
  border: 1px solid rgba(16, 233, 44, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Title */
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-title em { color: var(--accent); font-style: normal; }

/* Subtitle */
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 620px;
}
.hero-sub strong { color: var(--text); }

/* Event pills row */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-soft);
  background: rgba(43, 23, 74, 0.55);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
}
.hero-pill svg { color: var(--accent); flex-shrink: 0; }
.hero-pill strong { color: var(--text); }

/* Countdown */
.hero-countdown {
  background: rgba(43, 23, 74, 0.45);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 18px 28px;
  width: 100%;
  max-width: 480px;
}

/* Trust row */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Mentor mini card */
.hero-mentor-mini {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 12, 44, 0.45);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-pill);
  padding: 8px 20px 8px 8px;
}
.mentor-mini-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.mentor-mini-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  line-height: 1.2;
}
.mentor-mini-title {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 1px;
}

/* ---- MODAL / POPUP ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 2, 18, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: var(--bg-850);
  border: 1px solid rgba(16, 233, 44, 0.2);
  border-radius: var(--radius-xl);
  padding: 36px 36px 24px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(16,233,44,0.06);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--stroke);
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }
.modal-header { text-align: center; margin-bottom: 16px; }
.modal-pretitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.modal-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 26px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}
.modal-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.modal-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* COUNTDOWN (shared styles) */
.countdown-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cd-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
  min-width: 56px;
  text-align: center;
  background: rgba(16, 233, 44, 0.08);
  border-radius: var(--radius-sm);
  padding: 6px 4px;
}
.cd-text { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.cd-sep { font-family: var(--font-head); font-weight: 900; font-size: 28px; color: var(--accent); opacity: 0.5; margin-bottom: 20px; }

/* ---- PARA QUIÉN ---- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.pain-card {
  background: rgba(18, 12, 44, 0.6);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.pain-card:hover {
  border-color: rgba(16, 233, 44, 0.3);
  transform: translateY(-4px);
}
.pain-card--featured {
  border-color: rgba(16, 233, 44, 0.4);
  background: rgba(16, 233, 44, 0.04);
  box-shadow: 0 0 40px rgba(16, 233, 44, 0.1);
}
.pain-icon { font-size: 36px; margin-bottom: 16px; }
.pain-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.pain-card p { font-size: 15px; color: var(--text-soft); line-height: 1.65; }
.pain-extra {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto 48px;
}
.pain-extra__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--text-soft);
}
.check-accent {
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- QUÉ APRENDERÁS ---- */
.learn-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  margin-bottom: 48px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.learn-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--stroke);
}
.learn-item:last-child { border-bottom: none; }
.learn-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 40px;
  color: rgba(16, 233, 44, 0.18);
  line-height: 1;
  flex-shrink: 0;
  min-width: 52px;
  text-align: right;
}
.learn-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.learn-text strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  line-height: 1.3;
}
.learn-text span {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(16, 233, 44, 0.08), rgba(43, 23, 74, 0.4));
  border: 1px solid rgba(16, 233, 44, 0.25);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  text-align: center;
  margin: 0 auto;
  max-width: 700px;
}
.highlight-box p {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}
.highlight-box span {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

/* ---- MENTOR ---- */
.mentor-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.mentor-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-700), var(--bg-900));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-purple);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mentor-img { width: 100%; height: auto; object-fit: cover; object-position: top; }
.mentor-ph { min-height: 380px; }
.mentor-stats {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.stat {
  flex: 1;
  background: rgba(43, 23, 74, 0.5);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 26px;
  color: var(--accent);
  line-height: 1;
}
.stat-text { font-size: 12px; color: var(--text-muted); line-height: 1.3; }
.mentor-copy { display: flex; flex-direction: column; gap: 20px; }
.mentor-copy .section-label { margin-bottom: 0; }
.mentor-copy .section-title { text-align: left; margin-bottom: 0; }
.mentor-subtitle {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: -8px;
}
.mentor-bio {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.75;
}
.references-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reference-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: rgba(43, 23, 74, 0.8);
  border: 1px solid rgba(241, 238, 244, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

/* ---- CTA FINAL ---- */
.cta-final {
  text-align: center;
  position: relative;
  padding: 0 24px;
}
.cta-glow {
  position: absolute;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 233, 44, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.cta-desc {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.7;
}
.cta-countdown { margin-bottom: 40px; }
.cta-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.cta-reassurance span::first-letter { color: var(--accent); }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--stroke);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-sub { font-size: 14px; color: var(--text-muted); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); opacity: 1; }
.footer-copy { font-size: 12px; color: rgba(167, 160, 178, 0.5); }

/* ---- FLOATING CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ---- GHL IFRAME FORM ---- */
#msgsndr-6PO8jBFBGAduR8E3Adwf {
  width: 100%;
  border: none;
  overflow: hidden;
  min-height: 480px;
  border-radius: var(--radius-lg);
  background: transparent;
}

/* ---- MENTOR SINGLE PHOTO ---- */
.mentor-frame--single {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-700), var(--bg-900));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-purple);
}
.mentor-frame--single .mentor-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .hero { min-height: auto; padding: 80px 0 88px; }
  .hero-bg-spencer { opacity: 0.12; width: 220px; }
  .mentor-inner { grid-template-columns: 1fr; gap: 48px; }
  .mentor-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .hero { padding: 56px 0 64px; min-height: auto; }
  .hero-bg-spencer { display: none; }
  .hero-title { font-size: clamp(34px, 8vw, 52px); }
  .modal-card { padding: 28px 20px 20px; }
  .pain-grid { grid-template-columns: 1fr; }
  .mentor-inner { grid-template-columns: 1fr; }
  .mentor-frame--single { max-width: 480px; margin: 0 auto; }
  .mentor-stats { flex-direction: row; }
  .cta-reassurance { gap: 16px; }
  .floating-cta { bottom: 16px; right: 16px; left: 16px; text-align: center; }
  .btn-float { width: 100%; }
}

@media (max-width: 480px) {
  .header-inner .btn-sm { display: none; }
  .highlight-box { padding: 28px 20px; }
  .countdown-grid { gap: 4px; }
  .cd-num { font-size: 28px; min-width: 44px; }
  .mentor-stats { gap: 10px; }
}
