/* ============================================================
   DRIVEPRO — LANDING PAGE STYLES
   Estilos específicos de la página principal (index.html)
   ============================================================ */

/* ── HERO LAYOUT ─────────────────────────────────────────── */
.hero-badge {
  animation: pulse-glow 3s infinite;
}

.hero-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 0 80px;
}

/* ── MOCKUP (lado derecho del hero) ──────────────────────── */
.mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
}

/* ── PROCESO / PASOS ─────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* Línea conectora entre pasos */
.process-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.25;
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 36px 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.process-step:hover {
  border-color: var(--border-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.4);
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── TESTIMONIOS ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 5rem;
  color: rgba(108, 99, 255, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.stars {
  color: #FCD34D;
  font-size: 15px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 14px;
}

.author-detail {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── PRECIOS ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(108, 99, 255, 0.1), rgba(67, 207, 186, 0.05));
}

.pricing-card.featured::before {
  content: 'Más popular';
  position: absolute;
  top: 22px;
  right: -28px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(35deg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.pricing-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.pricing-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li .check {
  color: #4ADE80;
  font-size: 14px;
  flex-shrink: 0;
  font-weight: 700;
}

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(67, 207, 186, 0.08));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.08) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

/* ── NAVBAR HAMBURGER (MÓVIL) ────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Menú móvil desplegable */
.mobile-nav {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: rgba(13, 14, 26, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.mobile-nav a:hover {
  background: var(--bg-glass);
  color: var(--text-primary);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

.mobile-nav .btn {
  text-align: center;
  margin-top: 4px;
}

/* ── RESPONSIVE LANDING ──────────────────────────────────── */

/* Tablets grandes (≤ 1024px) */
@media (max-width: 1024px) {
  .hero-grid-two {
    gap: 40px;
    padding: 100px 0 60px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .pricing-card {
    padding: 28px 20px;
  }
}

/* Tablets (≤ 768px) */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .navbar-nav    { display: none; }
  .navbar-actions { display: none; }

  .hero-grid-two {
    grid-template-columns: 1fr;
    padding: 90px 0 50px;
    gap: 0;
  }

  .hero-visual-side { display: none; }

  .hero h1 { font-size: 2.4rem; }
  .hero p  { font-size: 16px; }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .cta-section {
    padding: 50px 24px;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Móviles (≤ 480px) */
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }

  .process-steps {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 32px;
  }

  .hero-stats {
    justify-content: space-around;
  }

  .stat-number { font-size: 1.6rem; }

  .section-title { font-size: 1.7rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-section {
    padding: 40px 16px;
  }

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