/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #1462F5;
  --blue-dark:   #0D4ED8;
  --blue-light:  #E8F0FF;
  --dark:        #0D1117;
  --text:        #0D1117;
  --muted:       #4B5563;
  --border:      #E5E7EB;
  --white:       #FFFFFF;
  --bg:          #F5F5F5;
  --urgency:     #EF4444;
  --warning-bg:  #FEF3C7;
  --warning-bd:  #F59E0B;

  --radius-sm:   0px;
  --radius-md:   0px;
  --radius-lg:   0px;
  --radius-xl:   0px;
  --radius-full: 0px;

  --shadow-sm:   3px 3px 0 0 var(--dark);
  --shadow-md:   5px 5px 0 0 var(--dark);
  --shadow-lg:   6px 6px 0 0 var(--dark);
  --shadow-btn:  4px 4px 0 0 var(--dark);
  --shadow-blue: 5px 5px 0 0 var(--blue);

  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font:         'Space Grotesk', 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Utilities ──────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 24px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  border: 2px solid var(--dark);
  border-radius: 0;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover  { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--dark); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }

.btn-sm   { padding: 9px 18px; font-size: 0.875rem; }
.btn-hero { padding: 13px 24px; font-size: 1rem; flex-shrink: 0; }

.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--dark);
}
.btn-white:hover { background: var(--bg); }

/* ─── Section badges ─────────────────────────────────────── */
.section-badge {
  display: inline-block;
  border: 2px solid var(--dark);
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.badge-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--dark);
}

/* ─── Headings ───────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-heading); }

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 52px;
}

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}
.nav-logo img { height: 36px; width: auto; border-radius: 0; }

/* ─── HERO con imagen de fondo ───────────────────────────── */
.hero {
  background-color: #0a2878;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  padding: 80px 0 88px;
  text-align: center;
  border-bottom: 2px solid var(--dark);
  position: relative;
  overflow: hidden;
}
/* Overlay: foto visible en centro, bordes y zona inferior bien cubiertos */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 30%, rgba(8, 24, 80, 1) 70%),
    linear-gradient(to top left, rgba(5, 20, 70, 0.88) 5%, rgba(10, 40, 120, 0.38) 40%, rgba(10, 40, 120, 0.25) 100%);
  z-index: 0;
}
.hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Textos hero sobre imagen */
.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
  display: block;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.95);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* Live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.live-dot {
  width: 8px; height: 8px;
  background: var(--urgency);
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ─── Form ───────────────────────────────────────────────── */
.hero-form {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 20px;
}
.form-row {
  display: flex;
  border: 2px solid var(--dark);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.form-row input[type="email"] {
  flex: 1;
  border: none;
  border-right: 2px solid var(--dark);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: transparent;
  padding: 14px 16px;
  min-width: 0;
}
.form-row input[type="email"]::placeholder { color: var(--muted); }
.form-row input[type="email"]:focus { background: var(--blue-light); }
.form-row .btn {
  border: none;
  box-shadow: none;
  border-radius: 0;
  flex-shrink: 0;
}
.form-row .btn:hover  { transform: none; box-shadow: none; background: var(--blue-dark); }
.form-row .btn:active { transform: none; }

.form-row-dark {
  border-color: rgba(255,255,255,0.5);
  box-shadow: 5px 5px 0 0 rgba(0,0,0,0.4);
}
.form-row-dark input[type="email"] {
  color: var(--white);
  border-right-color: rgba(255,255,255,0.5);
  background: transparent;
}
.form-row-dark input[type="email"]:focus { background: rgba(255,255,255,0.08); }
.form-row-dark input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }

.form-note      { font-size: 0.8125rem; color: var(--muted); text-align: center; margin-top: 10px; }
.form-note-dark { color: rgba(255,255,255,0.45); }

/* Campo código creador */
.form-creator {
  margin-top: 8px;
}
.form-creator input[type="text"] {
  width: 100%;
  border: 2px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.form-creator input[type="text"]::placeholder { color: rgba(255,255,255,0.5); }
.form-creator input[type="text"]:focus {
  border-color: var(--white);
  background: rgba(255,255,255,0.18);
}
.form-creator-dark input[type="text"] {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}

/* ─── Social proof ───────────────────────────────────────── */
.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
}
.proof-counter { font-size: 0.9375rem; color: rgba(255,255,255,0.9); }
.proof-counter strong { color: var(--white); font-weight: 700; }

.proof-bar-wrap { width: 100%; max-width: 340px; }
.proof-bar-track {
  height: 14px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  margin-bottom: 6px;
}
.proof-bar-fill {
  width: 69.4%;
  height: 100%;
  background: var(--blue);
}
.proof-bar-label { font-size: 0.75rem; color: rgba(255,255,255,0.75); text-align: center; display: block; }

.proof-urgency {
  font-size: 0.875rem;
  color: var(--text);
  background: var(--warning-bg);
  border: 2px solid var(--dark);
  box-shadow: var(--shadow-sm);
  padding: 8px 16px;
  text-align: center;
}

/* ─── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  background: var(--dark);
  border-bottom: 2px solid var(--dark);
  padding: 48px 0;
}
.stats-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}
.stat {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 16px 32px;
}
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  display: block;
  max-width: 160px;
  margin: 0 auto;
}
.stat-divider {
  width: 2px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  align-self: stretch;
}

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.how {
  padding: 96px 0;
  background: var(--bg);
  text-align: center;
  border-bottom: 2px solid var(--dark);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: var(--white);
  border: 2px solid var(--dark);
  box-shadow: var(--shadow-md);
  padding: 32px 24px 28px;
  text-align: left;
  position: relative;
  margin: 0 -1px -1px 0;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.step:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 0 var(--dark);
  z-index: 1;
}
.step-num {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  border: 1.5px solid var(--blue);
  padding: 3px 7px;
  letter-spacing: 0.05em;
}
.step-icon { font-size: 2.25rem; margin-bottom: 16px; display: block; }
.step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.step p { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; }

.step-arrow {
  font-size: 1.5rem;
  color: var(--muted);
  align-self: center;
  flex-shrink: 0;
  padding: 0 8px;
  font-weight: 700;
}

.key-system {
  background: var(--blue-light);
  border: 2px solid var(--dark);
  box-shadow: var(--shadow-blue);
  padding: 24px 28px;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.key-system-inner { display: flex; align-items: flex-start; gap: 16px; }
.key-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.key-system strong { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.key-system p { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; }

/* ─── EARLY BIRD ─────────────────────────────────────────── */
.earlybird {
  background: var(--blue);
  border-bottom: 2px solid var(--dark);
  padding: 96px 0;
  color: var(--white);
}
.earlybird-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}
.earlybird-text { flex: 1; min-width: 280px; }
.earlybird-text h2 { color: var(--white); }
.earlybird-text p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  margin: 14px 0 24px;
  line-height: 1.7;
}
.earlybird-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.earlybird-list li { font-size: 0.9375rem; color: rgba(255,255,255,0.92); font-weight: 500; }

.bonus-card {
  background: var(--white);
  border: 2px solid var(--dark);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px;
  text-align: center;
  min-width: 220px;
}
.bonus-card img { height: 52px; width: auto; margin-bottom: 16px; }
.bonus-amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  line-height: 1;
}
.bonus-label { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.bonus-sub   { font-size: 0.75rem; color: var(--muted); margin-bottom: 20px; }

.bonus-spots { display: flex; flex-direction: column; gap: 6px; }
.spots-bar {
  height: 8px;
  background: var(--bg);
  border: 1.5px solid var(--dark);
}
.spots-fill {
  width: 69.4%;
  height: 100%;
  background: var(--urgency);
}
.bonus-spots span   { font-size: 0.75rem; color: var(--muted); }
.bonus-spots strong { color: var(--urgency); }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq { padding: 96px 0; background: var(--white); border-bottom: 2px solid var(--dark); }
.faq-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.faq-inner h2 { margin-bottom: 40px; }

.faq-list { text-align: left; display: flex; flex-direction: column; gap: 0; border: 2px solid var(--dark); box-shadow: var(--shadow-md); }
.faq-item {
  background: var(--white);
  border: none;
  border-bottom: 2px solid var(--dark);
  transition: background 0.15s;
}
.faq-item:last-child { border-bottom: none; }
.faq-item[open] { background: var(--blue-light); }
.faq-item summary {
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.15s;
  line-height: 1;
  font-family: var(--font-body);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 20px 18px;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── FINAL CTA ──────────────────────────────────────────── */
.cta-final {
  background: var(--dark);
  border-bottom: 2px solid var(--dark);
  padding: 96px 0;
  text-align: center;
  color: var(--white);
}
.cta-inner img  { height: 52px; width: auto; margin-bottom: 24px; }
.cta-inner h2   { color: var(--white); margin-bottom: 12px; }
.cta-inner p    { font-size: 1.0625rem; color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.cta-inner .hero-form { max-width: 460px; margin: 0 auto; }

.cta-urgency { font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-top: 20px; }
.cta-urgency strong { color: var(--white); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--white);
  border-top: 2px solid var(--dark);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9375rem;
}
.footer-logo img { height: 28px; width: auto; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--blue); }
.footer-copy {
  font-size: 0.8125rem;
  color: var(--muted);
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero {
    padding: 56px 0 72px;
    background-position: 50% 22%;
    background-size: 220%;
  }

  .form-row { flex-direction: column; }
  .form-row input[type="email"] {
    border-right: none;
    border-bottom: 2px solid var(--dark);
    text-align: center;
  }
  .form-row-dark input[type="email"] { border-bottom-color: rgba(255,255,255,0.5); }
  .form-row .btn { width: 100%; }

  .stats-inner  { flex-direction: column; }
  .stat-divider { width: 100%; height: 2px; }

  .steps-grid  { flex-direction: column; align-items: center; }
  .step-arrow  { transform: rotate(90deg); padding: 4px 0; }
  .step        { max-width: 100%; width: 100%; margin: 0 0 -1px 0; }

  .earlybird-inner { flex-direction: column; text-align: center; align-items: center; }
  .earlybird-list  { text-align: left; }
  .bonus-card      { width: 100%; max-width: 320px; }

  .footer-inner  { justify-content: center; text-align: center; }
  .footer-links  { justify-content: center; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.25rem; }
  .hero-brand { font-size: 2.75rem; }
}
