/* ═══════════════════════════════════
   PIONEROS Landing — Ingresarios
   Premium dark theme, glassmorphism
   ═══════════════════════════════════ */

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

:root {
  --bg:           #03120A;
  --bg-surface:   #081f14;
  --bg-card:      rgba(255,255,255,0.03);
  --border:       rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --text:         rgba(255,255,255,0.88);
  --text-muted:   rgba(255,255,255,0.55);
  --text-dim:     rgba(255,255,255,0.35);
  --green:        #00e676;
  --green-dark:   #00c853;
  --blue:         #00b7ff;
  --orange:       #f97316;
  --gold:         #f2c500;
  --radius:       16px;
  --radius-lg:    24px;
  --radius-sm:    12px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition:   .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a { color: inherit; text-decoration: none; }

.text-green  { color: var(--green); }
.text-orange { color: var(--orange); }
.text-blue   { color: var(--blue); }
.text-left   { text-align: left; }

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}


/* ═══════════════════
   HERO
   ═══════════════════ */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.hero__bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .15;
}
.hero__orb--blue {
  width: 500px; height: 500px;
  background: var(--blue);
  top: -150px; right: -100px;
}
.hero__orb--green {
  width: 400px; height: 400px;
  background: var(--green);
  bottom: -100px; left: -80px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  height: 40px;
  margin-bottom: 28px;
  opacity: .9;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 28px;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(0.7); }
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 960px;
}
.hero__highlight {
  background: linear-gradient(135deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Video placeholder */
.hero__video-wrap {
  width: 100%;
  max-width: 720px;
  margin-bottom: 40px;
}
.hero__video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}
.hero__video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,183,255,0.06), transparent 70%);
}
.hero__video-placeholder:hover {
  border-color: var(--border-hover);
  transform: scale(1.01);
}
.hero__play-btn {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: var(--transition);
}
.hero__play-btn svg {
  margin-left: 4px;
}
.hero__video-placeholder:hover .hero__play-btn {
  background: rgba(255,255,255,0.15);
  transform: scale(1.08);
}
.hero__video-label {
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 500;
  z-index: 1;
}

.hero__micro {
  font-size: 15px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.hero__micro-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}


/* ═══════════════════
   CTA WHATSAPP BUTTON
   ═══════════════════ */
.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--bg);
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow:
    0 0 30px rgba(0,230,118,0.2),
    0 4px 20px rgba(0,0,0,0.3);
  animation: cta-glow 3s ease-in-out infinite;
}
.cta-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 40px rgba(0,230,118,0.35),
    0 8px 30px rgba(0,0,0,0.4);
}
.cta-whatsapp__icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.cta-whatsapp--large {
  padding: 22px 48px;
  font-size: 17px;
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(0,230,118,0.2), 0 4px 20px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 0 50px rgba(0,230,118,0.35), 0 4px 20px rgba(0,0,0,0.3); }
}


/* ═══════════════════
   PAIN POINTS
   ═══════════════════ */
.pain {
  padding: 100px 0;
  background: var(--bg-surface);
}

.pain__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pain__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.pain__card:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.pain__emoji {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}
.pain__card p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}
.pain__card strong {
  color: var(--text);
}


/* ═══════════════════
   ABOUT PIONEROS
   ═══════════════════ */
.about {
  padding: 100px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  background: rgba(0,183,255,0.1);
  border: 1px solid rgba(0,183,255,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.about__desc {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.about__desc strong {
  color: var(--green);
}

.about__feature-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.about__feature:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.05);
}
.about__feature-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}
.about__feature strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--text);
}
.about__feature p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ═══════════════════
   URGENCY / STEPS
   ═══════════════════ */
.urgency {
  padding: 100px 0;
  background: var(--bg-surface);
}

.urgency__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
}

.urgency__step {
  flex: 1;
  max-width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.urgency__step:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.urgency__step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--bg);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.urgency__step h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}
.urgency__step p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.urgency__connector {
  color: var(--text-dim);
  flex-shrink: 0;
}

.urgency__alert {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 24px;
  background: rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--radius);
}
.urgency__alert-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.urgency__alert-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
.urgency__alert-text strong {
  color: var(--orange);
}


/* ═══════════════════
   HOW TO JOIN (TUTORIAL)
   ═══════════════════ */
.howto {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.howto::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,230,118,0.04), transparent 65%);
  pointer-events: none;
}

.howto__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  position: relative;
  z-index: 1;
}

.howto__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.howto__phone-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 500px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  transition: var(--transition);
}
.howto__step:hover .howto__phone-wrap {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow:
    0 16px 60px rgba(0,0,0,0.5),
    0 0 30px rgba(0,230,118,0.08),
    0 0 0 1px rgba(255,255,255,0.06) inset;
}

.howto__phone {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.howto__step .howto__step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--bg);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.howto__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}
.howto__desc strong {
  color: var(--text);
}


/* ═══════════════════
   SPEAKER
   ═══════════════════ */
.speaker {
  padding: 0;
  position: relative;
  min-height: 0;
  aspect-ratio: 941 / 1672;
  display: flex;
  align-items: center;
  background-color: var(--bg);
  background-image: url('/pioneros-equipo-mobile.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

@media (min-width: 768px) {
  .speaker {
    aspect-ratio: 1672 / 941;
    background-image: url('/pioneros-equipo-desktop.jpg');
    background-size: contain;
  }
}

.speaker__grid {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 100%;
  margin: 0;
  padding: 40px 0;
}

@media (min-width: 768px) {
  .speaker__grid {
    max-width: 45%;
    padding: 80px 0;
  }
}

.speaker__info {
  flex: 1;
}

.speaker__photo-wrap {
  display: none;
}

.speaker__tag {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-bottom: 12px;
}

.speaker__name {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 4px;
}

.speaker__role {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.speaker__bio {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
}


/* ═══════════════════
   FINAL CTA
   ═══════════════════ */
.final-cta {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--bg-surface), var(--bg));
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,230,118,0.06), transparent 65%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 700px;
}

.final-cta__sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

.final-cta__note {
  margin-top: 24px;
  font-size: 16px;
  color: var(--text-muted);
}

.final-cta__timezones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-dim);
}


/* ═══════════════════
   FOOTER
   ═══════════════════ */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer__logo {
  height: 28px;
  margin: 0 auto 20px;
  opacity: .5;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.footer__links a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.footer__links a:hover {
  color: var(--text);
}
.footer__disclaimer {
  max-width: 800px;
  margin: 0 auto 24px;
}
.footer__disclaimer p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
  opacity: 0.7;
  margin-bottom: 12px;
}
.footer > .container > p {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 24px;
}


/* ═══════════════════
   RESPONSIVE
   ═══════════════════ */
@media (max-width: 768px) {
  .hero {
    padding: 48px 0 60px;
    min-height: auto;
  }
  .hero__title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

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

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about .section-title {
    text-align: center;
  }

  .urgency__steps {
    flex-direction: column;
    gap: 16px;
  }
  .urgency__connector {
    transform: rotate(90deg);
  }
  .urgency__step {
    max-width: 100%;
    width: 100%;
  }

  .howto {
    padding: 60px 0;
  }
  .howto__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 340px;
    margin: 0 auto;
  }
  .howto__phone-wrap {
    max-width: 260px;
    height: 460px;
  }

  .speaker {
    min-height: auto;
    aspect-ratio: auto;
    background-color: var(--bg);
    background-image: url('/pioneros-equipo-mobile.jpg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    padding-bottom: 120vw;
  }
  .speaker__grid {
    flex-direction: column;
    text-align: center;
    max-width: 100%;
    padding: 60px 0 20px;
  }
  .speaker__bio {
    max-width: 100%;
  }

  .cta-whatsapp {
    padding: 16px 28px;
    font-size: 14px;
  }
  .cta-whatsapp--large {
    padding: 18px 32px;
    font-size: 15px;
  }

  .final-cta__timezones {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero__badge {
    font-size: 10px;
    padding: 5px 12px;
  }
  .pain__card {
    padding: 20px 16px;
  }
  .howto__phone-wrap {
    max-width: 240px;
    height: 420px;
    border-radius: 22px;
  }
}

/* ═══════════════════
   MASONRY GRID (Testimonials)
   ═══════════════════ */
.masonry-grid {
  column-count: 3;
  column-gap: 20px;
  width: 100%;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  display: block;
  transform: translateZ(0); /* Fixes some rendering issues in Safari */
}

@media (max-width: 900px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
    column-count: 1;
  }
}

/* ═══════════════════
   TESTIMONIALS GRID
   ═══════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
