/* ==========================================================================
   AUTOGESTION.CSS — Estilos de la landing Programa Autogestión EB-2 NIW
   Tu Visa Americana Ya | Six Art Media
   ========================================================================== */

/* ──────────────────────────────────────────────
   1. HERO — Fondo y efectos de luz
   ────────────────────────────────────────────── */
.hero-auto {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 167, 74, 0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 15%, rgba(201, 167, 74, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #050b14 0%, #08101e 50%, #050b14 100%);
}

.hero-auto-grid {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.012) 0px,
    rgba(255, 255, 255, 0.012) 10px,
    transparent 10px,
    transparent 20px
  );
}

.hero-auto-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(201, 167, 74, 0.07) 0%, transparent 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* ──────────────────────────────────────────────
   2. BADGE FLOTANTE SUPERIOR
   ────────────────────────────────────────────── */
.badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 167, 74, 0.35);
  border-radius: 9999px;
  padding: 6px 16px 6px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c9a74a;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #c9a74a;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

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

/* ──────────────────────────────────────────────
   3. PROFILE FILTER CHIPS (Hero)
   ────────────────────────────────────────────── */
.profile-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  cursor: default;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.profile-chip:hover {
  border-color: rgba(201, 167, 74, 0.45);
  background: rgba(201, 167, 74, 0.07);
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────────
   4. PLACEHOLDER DE IMAGEN
   ────────────────────────────────────────────── */
.image-placeholder {
  background: linear-gradient(135deg, rgba(201, 167, 74, 0.08) 0%, rgba(10, 22, 40, 0.9) 100%);
  border: 2px dashed rgba(201, 167, 74, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(201, 167, 74, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 2rem;
}

.image-placeholder .placeholder-icon {
  font-size: 3rem;
  opacity: 0.45;
}

/* ──────────────────────────────────────────────
   5. MYTH/REALITY FLIP CARDS (Sección 2)
   ────────────────────────────────────────────── */
.myth-card-wrap {
  perspective: 1000px;
}

/* Soporte para tarjetas con imágenes */
.myth-card-wrap.has-img-card {
  min-height: 480px !important;
}

.myth-card-wrap.has-img-card .myth-card {
  min-height: 480px;
}

.myth-card {
  position: relative;
  width: 100%;
  min-height: 240px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

@media (hover: hover) {
  .myth-card-wrap:hover .myth-card {
    transform: rotateY(180deg);
  }
}

.myth-card-wrap.flipped .myth-card {
  transform: rotateY(180deg);
}

.myth-face,
.reality-face {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 2rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.myth-face.has-image,
.reality-face.has-image {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.myth-card-img-container {
  position: relative;
  height: 210px;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.myth-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.myth-card-wrap:hover .myth-card-img-container img {
  transform: scale(1.04);
}

.myth-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .myth-card-content {
    padding: 1.5rem;
  }
}

.myth-face {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reality-face {
  background: rgba(201, 167, 74, 0.07);
  border: 1px solid rgba(201, 167, 74, 0.35);
  transform: rotateY(180deg);
}

.myth-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.reality-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a74a;
  margin-bottom: 0.75rem;
}

/* ──────────────────────────────────────────────
   6. TIMELINE DE 2 DÍAS (Sección 3)
   ────────────────────────────────────────────── */
.timeline-day {
  position: relative;
  border: 1px solid rgba(201, 167, 74, 0.18);
  border-radius: 1.25rem;
  padding: 2rem;
  background: rgba(16, 24, 40, 0.6);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.timeline-day:hover {
  border-color: rgba(201, 167, 74, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.timeline-day-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201, 167, 74, 0.12);
}

.day-number-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(201, 167, 74, 0.12);
  border: 1px solid rgba(201, 167, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  color: #c9a74a;
  flex-shrink: 0;
}

.timeline-hito {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s;
}

.timeline-hito:last-child {
  border-bottom: none;
}

.hito-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(201, 167, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c9a74a;
}

/* ──────────────────────────────────────────────
   7. MÓDULOS / TEMARIO GRID (Sección 4)
   ────────────────────────────────────────────── */
.modulo-card {
  background: rgba(16, 24, 40, 0.65);
  border: 1px solid rgba(201, 167, 74, 0.12);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.modulo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a74a, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.modulo-card:hover {
  border-color: rgba(201, 167, 74, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.modulo-card:hover::before {
  opacity: 1;
}

.modulo-number {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(201, 167, 74, 0.5);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.modulo-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 167, 74, 0.1);
  border: 1px solid rgba(201, 167, 74, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a74a;
  margin-bottom: 1rem;
  transition: background 0.3s, border-color 0.3s;
}

.modulo-card:hover .modulo-icon-wrap {
  background: rgba(201, 167, 74, 0.18);
  border-color: rgba(201, 167, 74, 0.4);
}

/* ──────────────────────────────────────────────
   8. BONUS CARDS (Sección 5)
   ────────────────────────────────────────────── */
.bonus-card {
  background: rgba(201, 167, 74, 0.04);
  border: 1px solid rgba(201, 167, 74, 0.2);
  border-left: 4px solid #c9a74a;
  border-radius: 0 1rem 1rem 0;
  padding: 2rem 2rem 2rem 2rem;
  transition: background 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.bonus-card::after {
  content: 'BONO';
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: rgba(201, 167, 74, 0.25);
}

.bonus-card:hover {
  background: rgba(201, 167, 74, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.bonus-value-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #c9a74a;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ──────────────────────────────────────────────
   9. DHANASAR SIMPLIFICADO (Sección 6)
   ────────────────────────────────────────────── */
.dhanasar-simple-card {
  background: rgba(22, 19, 14, 0.6);
  border: 1px solid rgba(201, 167, 74, 0.15);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.dhanasar-simple-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a74a, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.dhanasar-simple-card:hover {
  border-color: rgba(201, 167, 74, 0.4);
  transform: translateY(-4px);
}

.dhanasar-simple-card:hover::before {
  opacity: 1;
}

.dhanasar-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 167, 74, 0.12);
  border: 1px solid rgba(201, 167, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #c9a74a;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   10. PRICING — CARD PRINCIPAL DEL CURSO
   ────────────────────────────────────────────── */
.course-price-card {
  background: rgba(201, 167, 74, 0.04);
  border: 1px solid rgba(201, 167, 74, 0.4);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 0 60px rgba(201, 167, 74, 0.08), 0 24px 48px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.course-price-card:hover {
  border-color: #c9a74a;
  box-shadow: 0 0 80px rgba(201, 167, 74, 0.14), 0 24px 60px rgba(0, 0, 0, 0.35);
}

.price-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #c9a74a, #e9c176);
  color: #0A1628;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 9999px;
  white-space: nowrap;
}

.roi-compare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.roi-compare-row.lawyer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.roi-compare-row.course {
  background: rgba(201, 167, 74, 0.07);
  border: 1px solid rgba(201, 167, 74, 0.3);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.check-item .check-icon {
  color: #c9a74a;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ──────────────────────────────────────────────
   11. GARANTÍAS (Sección 8)
   ────────────────────────────────────────────── */
.guarantee-card {
  background: rgba(201, 167, 74, 0.04);
  border: 1px solid rgba(201, 167, 74, 0.15);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
}

.guarantee-card:hover {
  border-color: rgba(201, 167, 74, 0.4);
  background: rgba(201, 167, 74, 0.08);
}

.guarantee-seal {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201, 167, 74, 0.1);
  border: 2px solid rgba(201, 167, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
}

/* ──────────────────────────────────────────────
   12. FAQ ACORDEÓN (Sección 9)
   ────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid rgba(201, 167, 74, 0.12);
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  cursor: pointer;
  gap: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question {
  font-weight: 600;
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(201, 167, 74, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a74a;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.3s;
}

.faq-toggle[aria-expanded="true"] .faq-icon {
  background: rgba(201, 167, 74, 0.12);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-answer.open {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-content {
  padding-bottom: 1.5rem;
  color: #94a3b8;
  font-size: 0.925rem;
  line-height: 1.75;
}

/* ──────────────────────────────────────────────
   13. BOTÓN PRIMARIO COMPARTIDO
   ────────────────────────────────────────────── */
.btn-auto-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #c9a74a, #e9c176);
  color: #0A1628;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-auto-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 167, 74, 0.4);
}

.btn-auto-primary:active {
  transform: translateY(0);
}

/* ──────────────────────────────────────────────
   14. SECTION LABEL (separador decorativo)
   ────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a74a;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(201, 167, 74, 0.4);
}

/* ──────────────────────────────────────────────
   15. STAT STRIP
   ────────────────────────────────────────────── */
.stat-strip {
  border-top: 1px solid rgba(201, 167, 74, 0.1);
  border-bottom: 1px solid rgba(201, 167, 74, 0.1);
  background: rgba(201, 167, 74, 0.03);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: #c9a74a;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ──────────────────────────────────────────────
   16. REVEAL ANIMATIONS
   ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ──────────────────────────────────────────────
   17. GLASS BADGE (utilidades heredadas)
   ────────────────────────────────────────────── */
.glass-badge {
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ──────────────────────────────────────────────
   18. CIERRE CTA FINAL (Sección 10)
   ────────────────────────────────────────────── */
.cta-final-wrap {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(201, 167, 74, 0.07) 0%, transparent 70%),
    rgba(201, 167, 74, 0.03);
  border: 1px solid rgba(201, 167, 74, 0.2);
  border-radius: 2rem;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a74a 30%, #e9c176 50%, #c9a74a 70%, transparent);
}

/* Seguro SSL / trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ──────────────────────────────────────────────
   19. LIGHT CONTRAST SECTION & CARDS
   ────────────────────────────────────────────── */
.dhanasar-card-light {
  background: #ffffff;
  border: 1px solid rgba(10, 22, 40, 0.06);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.03), 0 1px 3px rgba(10, 22, 40, 0.02);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.dhanasar-card-light:hover {
  border-color: rgba(201, 167, 74, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(10, 22, 40, 0.08);
}
.dhanasar-card-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a74a, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dhanasar-card-light:hover::before {
  opacity: 1;
}

/* ──────────────────────────────────────────────
   20. MODOS CLAROS ADICIONALES (Mitos y FAQs)
   ────────────────────────────────────────────── */
.bg-slate-50 .myth-face {
  background: #ffffff;
  border: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.02);
}
.bg-slate-50 .reality-face {
  background: rgba(201, 167, 74, 0.04);
  border: 1px solid rgba(201, 167, 74, 0.3);
  box-shadow: 0 10px 30px rgba(201, 167, 74, 0.04);
}

/* FAQ en secciones de fondo claro */
.bg-slate-50 .faq-item {
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
}
.bg-slate-50 .faq-question {
  color: #0A1628;
}
.bg-slate-50 .faq-answer-content {
  color: #475569;
}
.bg-slate-50 .faq-answer-content strong {
  color: #0A1628;
}

/* ──────────────────────────────────────────────
   21. TEXTURA DE TEMARIO COMPLETO
   ────────────────────────────────────────────── */
#auto-temario {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #11254c 0%, #091530 100%) !important;
  overflow: hidden;
}

#auto-temario::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.012) 25%, rgba(255, 255, 255, 0.012) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.012) 75%, rgba(255, 255, 255, 0.012) 76%, transparent 77%), 
    linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.012) 25%, rgba(255, 255, 255, 0.012) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.012) 75%, rgba(255, 255, 255, 0.012) 76%, transparent 77%);
  background-size: 50px 50px;
  opacity: 0.95;
  pointer-events: none;
  z-index: 1;
}

#auto-temario::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 167, 74, 0.05) 0%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

#auto-temario > div {
  position: relative;
  z-index: 2;
}

