
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000000;
  color: white;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: #111;
  position: sticky;
  top: 0;
  z-index: 1000;
}

button {
  background: #0078ef;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #fff;
  border-radius: 5px;
  text-shadow:0 1px 0 rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.6);
  box-shadow:0 0 25px rgba(0,191,255,0.5);
  transition: all 0.3s ease;
}

.pricing-slider {
  position: relative;
  top: 18px;
  width: 320px;
  height: 30px;
  overflow: hidden;
  text-align: center;
}

.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  animation: slideLoop 9s infinite;
  font-weight: bold;
  font-size: 18px;
}

/* timing para cada plan */
.slide:nth-child(1) { animation-delay: 0s; color: #00ffcc; }
.slide:nth-child(2) { animation-delay: 3s; color: #00aaff; }
.slide:nth-child(3) { animation-delay: 6s; color: #ffcc00; }

@keyframes slideLoop {
  0%   { opacity: 0; transform: translateY(20px); }
  10%  { opacity: 1; transform: translateY(0); }
  30%  { opacity: 1; transform: translateY(0); text-shadow: 0 0 10px currentColor; }
  40%  { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 0; }
}

.hero {
  display: flex;
  padding: 60px;
  align-items: center;
  justify-content: space-between;
  gap:200px;
}

.hero-text {
  max-width: 500px;
  margin-left:100px;
}

.hero h1 {
  font-size: 48px;
}

.section {
  padding: 60px;
  text-align: center;
}

.plans {
  display: flex;
  justify-content: center;
  gap: 10%;
}

.plan {
  background: #111;
  padding: 30px;
  width: 300px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}

.plan.featured {
  border: 3px solid #0078ef;
}

.plan.st {
  border: 1px solid rgba(0, 255, 204, 0.5);
}

.plan.pr {
  border: 1px solid rgba(255, 204, 0, 0.5);
}

.form {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta {
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  margin-top: 40px;
  width: 87%;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color:white;
  font-weight:700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  word-spacing: 6px;
  font-size: 0.95rem;
  text-shadow:0 1px 0 rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.6);
  box-shadow:0 0 25px rgba(60,130,255,0.9);
  transition: all 0.3s ease;
}

.cta:hover {
  transform: scale(1.08);
  box-shadow:0 0 40px rgba(60,130,255,0.9);
}

footer {
  margin-bottom: -50px;
  padding: 10px;
  text-align: center;
  background: #111;
}

.form-container { 
  width:55%;
  margin: -30px auto 0; 
  background: transparent;
  box-shadow:0 0 25px rgba(60,130,255,0.9);
  border-radius: 20px;
  padding-left: 60px; 
  padding-right: 10px;
  color: var(--text-main); 
  text-align: center; 
}

.form-container form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
  }
  
textarea,
  .form-container form label,
  .form-container form input[type="submit"],
  #selectedPlan {
    grid-column: span 2;
  }  


.cta-section { 
  padding: 80px 5%; 
  background: var(--text-main); 
  color: white; 
  border-radius: 40px; 
  margin: 20px; 
  text-align: center; 
}

input, select { 
  width: 80%; 
  padding: 15px; 
  margin-bottom: 15px; 
  background-color: transparent;
  border: 2px solid #0078ef; 
  border-radius: 10px; 
  font-size: 1rem; 
  font-family: inherit;
  color: white;
}

select { 
  width: 88%; 
  padding: 15px; 
  margin-bottom: 15px; 
  background-color: black;
  border: 2px solid #0078ef; 
  border-radius: 10px; 
  font-size: 1rem; 
  font-family: inherit;
  color: white;
}
        
textarea { 
  text-align: left;
  width: 80%; 
  padding: 15px; 
  margin-bottom: 15px; 
  background-color: transparent;
  border: 2px solid #0078ef; 
  border-radius: 10px; 
  font-size: 1rem; 
  font-family: inherit;
  color: white;
  height: 120px; 
  resize: none; 
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #000 inset !important;
  -webkit-text-fill-color: #fff !important;
  transition: background-color 5000s ease-in-out 0s;
}

input[name="captcha_input"]::-webkit-outer-spin-button,
input[name="captcha_input"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[name="captcha_input"] {
  -moz-appearance: textfield;
}

/* Starter */
.plan.starter li::marker {
  color: #00ffcc;
}

/* Growth */
.plan.growth li::marker {
  color: #00aaff;
}

/* Premium */
.plan.premium li::marker {
  color: #ffcc00;
}

/* CONTENEDOR DE LA LISTA */
.plan-list {
  display: table;        /* 💥 clave */
  margin: 0 auto;        /* centra el bloque */
  text-align: left;      /* texto alineado uniforme */
  padding-left: 20px;
}

/* ESPACIADO LIMPIO */
.plan-list li {
  margin: 8px 0;
}

/* BOTÓN */
.plan-btn {
  display: block;
  margin: 25px auto 0;   /* centrado abajo */
  font-size: 1rem;
  
}

.plan-btn-starter {
  display: block;
  margin: 25px auto 0;   /* centrado abajo */
  font-size: 1.05rem;
  background:transparent;
  font-weight: normal;
  text-shadow:none;
  box-shadow:none;
  color: #00ffcc;
  border: 1px solid #00ffcc;
}

.plan-btn-premier {
  display: block;
  margin: 25px auto 0;   /* centrado abajo */
  font-size: 1.05rem;
  background:transparent;
  font-weight: normal;
  text-shadow:none;
  box-shadow:none;
  color: #ffcc00;
  border: 1px solid #ffcc00;
}

/* color específico del Growth */
.plan.growth li::marker {
  color: #00aaff;
}

/* color Starter */
.plan.starter li::marker {
  color: #00ffcc;
}

/* Badge */
.badge {
  position: absolute;
  top: -12px;               /* lo saca por arriba */
  left: 50%;
  transform: translateX(-50%);
  
  background: #00aaff;
  color: black;
  
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 5px;
}

.sliderhor-section {
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: auto;
  background: #000;
}

.slider-track {
  display: flex;
  width: 500%; 
  animation: slideMoveContinuous 20s infinite; 
}

.slides {
  flex: 0 0 20%; 
  padding: 40px;
  text-align: center;
  box-sizing: border-box;
  color: white;
}

.slides h3 {
    color: #0078ef; /* El azul de RidePad */
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

/* 1. Eliminamos el hover del contenedor general (Bórralo si aún lo tienes) */
.sliderhor-section:hover .slider-track {
    animation-play-state: running; 
}

/* 2. Aplicamos el hover solo cuando el mouse toque un bloque de texto */
.slider-track:has(.slides:hover) {
    animation-play-state: paused;
}

/* 3. Opcional: Para asegurar compatibilidad en navegadores antiguos, 
   puedes usar esta alternativa más simple: */
.slides:hover {
    cursor: pointer;
}

.slider-track:hover {
    animation-play-state: paused;
}

@keyframes slideMoveContinuous {
  /* --- Slide 1 --- */
  0%, 20% { transform: translateX(0); }

  /* --- Slide 2 --- */
  25%, 45% { transform: translateX(-20%); }

  /* --- Slide 3 --- */
  50%, 70% { transform: translateX(-40%); }

  /* --- Slide 4 --- */
  75%, 95% { transform: translateX(-60%); }

  /* --- Slide 5 (El Puente) --- */
  /* El movimiento termina en el 100% y salta instantáneamente al 0% */
  100% { transform: translateX(-80%); }
}

.faq-section {
  padding: 60px 20px;
  text-align: center;
}

.faq-section h2 {
  margin-bottom: 40px;
  font-size: 28px;
}

/* 🔥 GRID */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

/* 🔥 ITEM */
.faq-item {
  background: #111;
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.08);
}

/* TITULO */
.faq-item h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

/* TEXTO */
.faq-item p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
}

.faq-section .faq-item h4 {
  color: #0078ef;
}

.faq-item {
  background: #111;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

/* 🔥 HOVER */
.faq-item:hover {
  border: 1px solid #0078ef;
  box-shadow: 0 0 15px rgba(0,120,239,0.6),
              0 0 30px rgba(0,120,239,0.3);
}

/* PRICING SECTION */

.pricing-section{
  padding: 40px 20px;
  text-align: center;
}

.pricing-label{
  color: #0078ef;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.pricing-title{
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
}

.pricing-title span{
  color: #0078ef;
}

.pricing-subtext{
  font-size: 15px;
  opacity: 0.75;
  margin-bottom: 50px;
  line-height: 1.6;
}

/* CARD */

.pricing-card{
  position: relative;
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 35px 25px;
  margin-bottom: 30px;
  box-shadow: 0 0 25px rgba(0,120,239,0.08);
}

/* FEATURED */

.featured-plan{
  border: 2px solid #0078ef;
  box-shadow: 0 0 35px rgba(0,120,239,0.25);
}

.popular-badge{
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0078ef;
  color: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* PLAN */

.plan-name{
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.plan-price{
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 25px;
}

.plan-price span{
  font-size: 1rem;
  opacity: 0.7;
}

.plan-features{
  text-align: left;
  margin-bottom: 35px;
}

.plan-features p{
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
}

/* BUTTON */

.plan-btn{
  width: 100%;
  background: #0078ef;
  color: white;
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.plan-btn:hover{
  transform: scale(1.02);
  background: #1590ff;
}

/* Botón de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000; /* Asegura que esté por encima de todo */
    background-color: #25d366;
    border-radius: 50%;
    padding: 7px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
    display: block;
}