/* =========================================
   RESPONSIVE MASTER FILE
   Mobile First Optimization
========================================= */

@media (max-width: 768px) {
  /* ================= GLOBAL ================= */

  body {
    overflow-x: hidden;
  }

  .container {
    width: 92%;
    padding: 40px 0;
  }

  h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* ================= BOTONES ================= */

  .btn-primary,
  .btn-secondary {
    width: 100%;
    display: block;
    text-align: center;
    padding: 16px;
    font-size: 16px;
    border-radius: 30px;
  }

  .btn-primary {
    margin-top: 20px;
  }

  /* ================= HERO ================= */

  .hero {
    padding-top: 40px;
    text-align: center;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-highlight {
    font-size: 15px;
  }

  .hero-benefits {
    margin: 25px 0;
  }

  .hero-benefits li {
    font-size: 15px;
    text-align: left;
    margin-bottom: 10px;
  }

  .hero-learning ul {
    padding-left: 18px;
    text-align: left;
  }

  .hero-warning {
    font-size: 12px;
    margin-top: 12px;
  }

  /* ================= PREVIDEO ================= */

  .prevideo p {
    font-size: 15px;
  }

  /* ================= VIDEO ================= */

  .video-wrapper {
    margin: 20px 0;
    border-radius: 12px;
  }

  video {
    width: 100%;
    height: auto;
  }

  .unlock-info {
    font-size: 12px;
  }

  /* ================= POST VIDEO ================= */

  .postvideo h2 {
    font-size: 22px;
  }

  /* ================= CTA ================= */

  .cta {
    text-align: center;
  }

  .cta-box {
    padding: 20px;
    margin-top: 20px;
  }

  .cta-box ul {
    padding-left: 18px;
    text-align: left;
  }

  .cta-box li {
    font-size: 14px;
    margin-bottom: 8px;
  }

  /* ================= CALENDAR ================= */

  .calendar h2 {
    font-size: 22px;
  }

  .calendly-wrapper {
    margin-top: 20px;
  }

  .calendly-wrapper iframe {
    width: 100% !important;
    min-height: 650px;
  }

  /* ================= RECURSOS ================= */

  .resources h2 {
    font-size: 22px;
  }

  .resource-item {
    padding: 18px;
    margin-bottom: 15px;
  }

  .resource-item h3 {
    font-size: 16px;
  }

  /* ================= FAQ ================= */

  .faq p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* ================= FOOTER ================= */

  .footer {
    font-size: 12px;
    padding: 15px 0;
    text-align: center;
  }
}

/* =========================================
   EXTRA SMALL DEVICES (iPhone SE etc.)
========================================= */

@media (max-width: 400px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 14px;
    padding: 14px;
  }
}
/* =========================
   VIDEO PROGRESS BAR
========================= */

.progress-container {
  width: 100%;
  height: 8px;
  background: #1e293b;
  border-radius: 20px;
  margin-top: 15px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00c3ff, #0072ff);
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 8px;
}
/* =========================
   UNLOCK ANIMATION
========================= */

.fade-in-unlock {
  animation: fadeUnlock 1.2s ease forwards;
}

@keyframes fadeUnlock {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================
   FLOATING MOBILE CTA
========================= */

.floating-cta {
  display: none;
}

@media (max-width: 768px) {
  .floating-cta {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #00c3ff, #0072ff);
    color: white;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 999;
    animation: pulseCTA 2s infinite;
  }
}

@keyframes pulseCTA {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.05);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}
/* =========================
   MICRO ANIMATIONS
========================= */

.btn-primary,
.btn-secondary {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.resource-item {
  transition: transform 0.3s ease;
}

.resource-item:hover {
  transform: translateY(-5px);
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: linear-gradient(145deg, #111, #000);
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  border: 2px solid #ff9601;
}

.modal-content input {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
  background: #1e1e1e;
  color: white;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  cursor: pointer;
  font-size: 22px;
  color: #ffc500;
}
