:root {
  --bg: #050505;
  --card: #080808;
  --text: #ffffff;
  --muted: #a1a1aa;
  --gold: #ffe600;
  --line: rgba(255, 230, 0, .25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* NAVBAR */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: #050505;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.nav__container {
  max-width: 1400px;
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav__logo-img {
  width: 50px;
}

.nav__menu {
  display: flex;
  gap: 40px;
}

.nav__link {
  color: #a1a1aa;
  font-weight: 500;
  transition: .3s;
}

.nav__link:hover {
  color: white;
}

.nav__link--active {
  color: white;
  position: relative;
}

.nav__link--active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -14px;
  background: var(--gold);
}

.nav__cta {
  background: var(--gold);
  color: black;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
}

/* HERO */

.hero-robot {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .55)),
    url('img/Fondo\ Curso.png');
  background-size: cover;
  background-position: center;
}

.hero-robot__overlay {
  z-index: 5;
}

.hero-robot__logo {
  width: 220px;
  margin: auto;
  margin-bottom: 30px;
}

.hero-robot__tagline {
  font-size: 54px;
  font-weight: 800;
  max-width: 900px;
  margin: auto;
}

.hero-robot__tagline em {
  color: #d4a752;
  font-style: italic;
}

.hero-robot__tagline strong {
  color: var(--gold);
}

.hero-robot__cta {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 15px;

  margin-top: 650px;

}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: .3s;
}

.btn--primary {
  background: var(--gold);
  color: black;
  padding: 18px 40px;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .15);
  color: white;
  padding: 18px 40px;
}

.btn:hover {
  transform: translateY(-3px);
}

/* SECTION */

.section {
  padding: 120px 0;
}

.container {
  width: min(1300px, 90%);
  margin: auto;
}

.section__title {
  font-size: 58px;
  text-align: center;
  margin-bottom: 20px;
}

.section__sub {
  color: var(--muted);
  text-align: center;
  max-width: 700px;
  margin: auto auto 70px;
}

/* PRICING */

.grid--pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card-price {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all .35s ease;
}

.card-price h3 {
  font-size: 65px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 15px;

  background: linear-gradient(180deg,
      #fff8c9 0%,
      #ffe600 20%,
      #ffcc00 45%,
      #c78b00 75%,
      #fff2a0 100%);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  text-shadow:
    0 0 10px rgba(255, 230, 0, .4),
    0 0 20px rgba(255, 215, 0, .35),
    0 0 35px rgba(255, 180, 0, .25);

  position: relative;
}

.offer-text {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 35px;
}

.card-price p {
  color: var(--muted);
}

.card-price__amount {
  margin: 35px 0;
}

.card-price__num {
  font-size: 72px;
  font-weight: 900;
}

.card-price__currency {
  color: var(--muted);
  font-weight: 600;
}

.card-price__features {
  list-style: none;
  margin-top: 25px;
}

.card-price__features li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  line-height: 1.6;
}

.card-price__features li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 12px;
}

.card-price .btn {
  width: 100%;
  margin-top: 40px;
}

.card-price--featured {
  border: 1px solid var(--gold);
  background:
    linear-gradient(180deg,
      rgba(255, 230, 0, .05),
      rgba(255, 230, 0, .01));
}

.card-price:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: #ffe600;

  box-shadow:
    0 0 20px rgba(255, 230, 0, .3),
    0 0 40px rgba(255, 230, 0, .2),
    0 0 80px rgba(255, 230, 0, .1);
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 90px 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
}

.footer__logo {
  font-size: 56px;
  color: #d4a752;
  font-weight: 900;
}

.footer__brand p {
  margin-top: 20px;
  color: #d4d4d4;
  max-width: 350px;
  line-height: 1.8;
}

.footer h4 {
  color: #ffe600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.footer a {
  display: block;
  color: #d4d4d4;
  margin-bottom: 15px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 60px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  color: #8a8a8a;
}

/* MOBILE */

@media(max-width:1024px) {

  .grid--pricing {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-robot__tagline {
    font-size: 40px;
  }

  .nav__menu {
    display: none;
  }

  .hero-robot__cta {
    flex-direction: column;
    align-items: center;
    /* <- AGREGA ESTO */
    margin-top: 500px;
  }

  .btn--primary {
    padding: 14px 30px;
    font-size: 16px;
  }

}

.wa-float {
  position: fixed;
  right: 25px;
  bottom: 25px;

  width: 60px;
  height: 60px;

  border-radius: 50%;
  background: #25D366;

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;

  box-shadow:
    0 0 15px rgba(37, 211, 102, .45),
    0 0 30px rgba(37, 211, 102, .25);

  transition: .3s;
}

.wa-float:hover {
  transform: scale(1.08);
}


.wa-float img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.card-price--locked {
  position: relative;
  overflow: hidden;
}

.locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(3px);
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.locked-content {
  display: flex;
  flex-direction: column;
  gap: 10px;

  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.locked-content span {
  font-size: .95rem;
  opacity: .9;
}

.offer-text {
  margin-top: 15px;
  margin-bottom: 30px;
  color: white !important;
  font-size: 1.3rem;
}

.countdown-box {
  margin: 30px 0;
}

.countdown {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 2px;
}

@media(max-width:768px) {

  .countdown {
    font-size: 1.5rem;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
  }

}

.month-card.inactive {
  position: relative;
  overflow: hidden;
}

.month-card.inactive::before {
  content: "";
  position: absolute;
  inset: 0;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  background: rgba(0, 0, 0, .25);

  z-index: 5;
}

.month-card.inactive>* {
  opacity: .20;
}

.month-card.inactive .locked-message {
  opacity: .85 !important;
  z-index: 20;
}

.month-card.inactive .countdown-box {
  display: none;
}

.action-btn {
  width: 100%;
  margin-top: 40px;
}

.days-left {
  margin-top: 25px;
  text-align: center;
  color: #d4d4d4;
  font-size: 1rem;
}

.days-left span {
  color: #ffe600;
  font-weight: 800;
}

.bottom-price {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  margin-top: 25px;
}

.card-price {
  display: flex;
  flex-direction: column;
}

.card-price__features {
  flex: 1;
}

.month-card.inactive {
  opacity: .55;
}

.month-card.inactive .bottom-price {
  display: none;
}

.month-card.inactive .countdown-box {
  display: none;
}

.locked-message {
  position: absolute;

  top: 52%;
  left: 50%;

  transform: translate(-50%, -50%);

  z-index: 20;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 14px;
}

.locked-icon {
  font-size: 52px;
  color: #ffe600;
}

.locked-text {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

@media(max-width:1024px) {

  .grid--pricing {
    display: flex;
    flex-direction: column;
  }

  .month-card.active {
    order: -1;
  }

}

#btnDescuentos {

  display: block;

  flex: 0 0 260px;

  height: 116px !important;


  background-image: url("img/Boton\ Descuentos.png");

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  transition: .3s;

}

#btnDescuentos:hover {

  transform: scale(1.03);

}

#btnTestimonios {

  display: block;

  flex: 0 0 260px;

  height: 170px !important;

  background-image: url("img/Boton Testimonios.png");

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  transition: .3s;

}

#btnTestimonios:hover {

  transform: scale(1.03);

}

@media(max-width:768px){

.hero-robot__cta{

    position:absolute;
    left:50%;
    bottom:-20px;
    transform:translateX(-50%);

    display:flex;
    flex-direction:row;
    gap:12px;

}

}
  #btnDescuentos {

    width: 185px;

    height: 45px;

    flex: none;

  }


  #btnTestimonios {

    width: 200px;

    height: 45px;

    flex: none;


  }



.footer__logo img {

  width: 140px;
  height: auto;

  display: block;

}

.video-futurista {

  max-width: 1200px;

  margin: 120px auto;

  position: relative;

}

.video-header {

  text-align: center;

  color: #ffe600;

  font-size: 28px;

  font-weight: 800;

  letter-spacing: 2px;

  margin-bottom: 20px;

  text-transform: uppercase;

}

.video-frame {

  position: relative;

  padding: 25px;

  border: 2px solid rgba(255, 230, 0, .45);

  border-radius: 25px;

  box-shadow:
    0 0 15px rgba(255, 230, 0, .25),
    0 0 40px rgba(255, 230, 0, .12);

  background: #050505;

}

/* esquinas futuristas */

.video-frame::before {

  content: "";

  position: absolute;

  top: -2px;
  left: -2px;

  width: 120px;
  height: 120px;

  border-top: 8px solid #ffe600;
  border-left: 8px solid #ffe600;

  border-radius: 20px 0 0 0;

}

.video-frame::after {

  content: "";

  position: absolute;

  bottom: -2px;
  right: -2px;

  width: 120px;
  height: 120px;

  border-bottom: 8px solid #ffe600;
  border-right: 8px solid #ffe600;

  border-radius: 0 0 20px 0;

}

.video-frame video {

  width: 100%;

  display: block;

  border-radius: 15px;

  border: 1px solid rgba(255, 230, 0, .25);

}


@media(max-width:768px) {

  .video-futurista {

    width: 95%;

  }

  .video-header {

    font-size: 20px;

  }

  .video-frame {

    padding: 12px;

  }

  .video-frame::before,
  .video-frame::after {

    width: 60px;
    height: 60px;

  }



}


.videos-exclusivos {

  width: min(1300px, 90%);
  margin: 120px auto;

}

.videos-header {

  text-align: center;

  margin-bottom: 40px;

}

.videos-title {

  text-align: center;

  color: #ffe600;

  font-size: 42px;

  font-weight: 900;

}

.videos-container {

  position: relative;

}

.videos-slider {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 30px;

}

.video-arrow {

  position: absolute;

  width: 60px;
  height: 60px;

  border: none;
  border-radius: 50%;

  background: #ffe600;
  color: #000;

  font-size: 28px;
  font-weight: 900;

  cursor: pointer;

  z-index: 100;

}


#prevVideos {

  left: 10px;

  top: 50%;

  transform: translateY(-50%);

}

#nextVideos {

  right: 10px;

  top: 50%;

  transform: translateY(-50%);

}

.video-arrow:hover {

  transform: scale(1.08);

}

.videos-slider {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

}

.video-card {

  background: #080808;

  border: 1px solid rgba(255, 230, 0, .25);

  border-radius: 28px;

  overflow: hidden;

  transition: .35s;

}

.video-card:hover {

  transform: translateY(-8px);

  border-color: #ffe600;

  box-shadow:
    0 0 20px rgba(255, 230, 0, .25),
    0 0 40px rgba(255, 230, 0, .10);

}

.video-card video {

  width: 100%;

  height: 650px;

  object-fit: cover;

  display: block;

}



.hidden {

  display: none;

}

@media(max-width:1024px) {

  .videos-slider {

    grid-template-columns: 1fr;

  }

  .videos-header {

    grid-template-columns: 60px 1fr 60px;

  }

}

.video-wrapper {

  position: relative;

}

.testimonio-video {

  width: 100%;

  height: 780px;

  object-fit: cover;

  display: block;

}

.custom-play {

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  width: 90px;

  height: 90px;

  border-radius: 50%;

  background: rgba(0, 0, 0, .45);

  border: 2px solid #ffffff;

  color: white;

  font-size: 42px;

  display: flex;

  align-items: center;

  justify-content: center;

  pointer-events: none;

  z-index: 5;

  box-shadow:
    0 0 20px rgba(255, 230, 0, .35);

}

@media(max-width:768px) {

  .hero-robot {

    background:
      linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .45)),
      url("img/Fondo\ curso\ movil.png");

    background-size: cover;

    background-position: center top;

    min-height: 100vh;




  }

}




.faq-section {
  width: min(1100px, 90%);
  margin: 80px auto;
}

.faq-left h2 {
  font-size: 42px;
  line-height: 1.1;
}

.faq-right {
  width: 100%;
}

.faq-link {

  display: inline-block;
  margin-top: 80px;

  font-size: 24px;
  font-weight: 600;

  border-bottom: 1px solid white;
  padding-bottom: 5px;

}

.faq-item {

  border-bottom: 1px solid rgba(255, 255, 255, .15);

}

.faq-header {

  display: grid;

  grid-template-columns: 80px 1fr 40px;

  align-items: center;

  cursor: pointer;

  padding: 18px 0;

}

.faq-number {
  font-size: 28px;
  font-weight: 500;
}

.faq-header h3 {
  font-size: 18px;
  line-height: 1.4;
}

.faq-icon {
  font-size: 28px;
}

.faq-content {

  max-height: 0;

  overflow: hidden;

  color: #bdbdbd;

  font-size: 20px;

  line-height: 1.8;

  transition: .4s ease;

  padding-left: 80px;



}

.faq-item.active .faq-content {

  max-height: 250px;

  padding-bottom: 30px;

}

.faq-item.active .faq-icon {

  transform: rotate(45deg);

}


@media(max-width:768px) {

  .faq-section {

    grid-template-columns: 1fr;

    gap: 40px;

  }

  .faq-left h2 {

    font-size: 48px;

  }

  .faq-link {

    margin-top: 25px;
    font-size: 18px;

  }

  .faq-number {

    font-size: 34px;

  }

  .faq-header h3 {

    font-size: 20px;

  }

  .faq-content {

    font-size: 16px;

    padding-left: 50px;

  }

}


.faq-main-title {

  text-align: center;

  font-size: 48px;

  font-weight: 800;

  letter-spacing: 2px;

  margin-bottom: 50px;

  color: #fff;

  text-transform: uppercase;

}


.video-controls {

  position: absolute;

  top: 15px;

  left: 15px;

  right: 15px;

  display: flex;

  justify-content: space-between;

  z-index: 20;

}

.mute-btn,
.play-btn {

  width: 42px;

  height: 42px;

  border: none;

  border-radius: 50%;

  background: rgba(0, 0, 0, .7);

  color: #fff;

  cursor: pointer;

  font-size: 18px;

  backdrop-filter: blur(6px);

}

.video-wrapper {

  position: relative;

}


html {
  scroll-behavior: smooth;
}


@media(max-width:768px) {

  .faq-section {

    width: 95%;

    margin: 60px auto;

    grid-template-columns: 1fr;

  }

  .faq-header {

    grid-template-columns: 60px 1fr 30px;

    gap: 10px;

  }

  .faq-number {

    font-size: 24px;

  }

  .faq-header h3 {

    font-size: 18px;

    line-height: 1.4;

  }

  .faq-content {

    padding-left: 0;

    font-size: 15px;

  }

  .faq-main-title {

    font-size: 34px;

    padding: 0 20px;

  }

}

.cambiar-testimonios {

  grid-column: 1 / -1;

  display: flex;

  justify-content: center;

  margin-top: 30px;

}

#toggleVideos {

  background: #ffe600;

  color: #000;

  border: none;

  padding: 16px 40px;

  border-radius: 40px;

  font-weight: 800;

  font-size: 16px;

  cursor: pointer;

  transition: .3s;

}

#toggleVideos:hover {

  transform: scale(1.05);

}

@media (max-width: 768px) {

  .section__title {
    font-size: 2rem;
    line-height: 1.1;
    text-align: center;
    padding: 0 20px;
  }

}

@media (max-width: 768px) {

  .month-card.inactive {
    display: none;
  }

}


@media(max-width:768px) {

  .video-futurista {

    width: 95%;

    margin: 30px auto 50px auto;

  }

}

@media(max-width:768px) {

  .videos-slider {

    display: flex;
    overflow-x: auto;

    gap: 16px;

    padding: 0 10px 15px;

    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;

  }

  .videos-slider::-webkit-scrollbar {
    display: none;
  }

  .video-card {

    flex: 0 0 85%;

    scroll-snap-align: center;

  }

  .testimonio-video {

    height: 550px;

  }

  .cambiar-testimonios {

    margin-top: 25px;

    display: flex;

    justify-content: center;

  }

}

#descuentos {
  padding-bottom: 40px;
}

.video-futurista {
  margin-top: 20px;
}

@media(max-width:768px) {

  .videos-exclusivos {

    margin-top: 40px;

  }

}

@media(max-width:768px) {

  .wa-float {

    width: 55px;
    height: 55px;

    top: 20px;
    right: 15px;

    bottom: auto;

  }

}

.faq-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 30px 0;
}

.faq-tab {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  background: #161616;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: .3s;
}

.faq-tab.active {
  background: white;
  color: black;
}

.faq-group {
  display: none;
}

.faq-group.active {
  display: block;
}