/* preguntas.css - Versión espectacular */
/* RESET Y BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
}

/* =========================
   HERO PREGUNTAS ESPECTACULAR
========================== */
.hero-preguntas {
  height: 80vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 102, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 230, 230, 0.1) 0%, transparent 40%),
    linear-gradient(135deg, #000 0%, #111 50%, #000 100%);
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.particles-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(1px);
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.abstract-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: #ff66ff;
  top: 10%;
  left: 10%;
  animation: floatShape 20s infinite alternate ease-in-out;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: #00e6e6;
  bottom: 20%;
  right: 15%;
  animation: floatShape 25s infinite alternate-reverse ease-in-out;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: #ff3366;
  top: 50%;
  left: 80%;
  animation: floatShape 30s infinite alternate ease-in-out;
}

@keyframes floatShape {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(100px, -100px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 2em;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text-wrapper {
  margin-bottom: 2em;
}

.titulo-preguntas {
  font-family: 'Rouge Script', cursive;
  font-size: 6em;
  margin-bottom: 0.3em;
  line-height: 1;
  position: relative;
  display: inline-block;
  text-shadow: 
    0 0 20px rgba(255, 102, 255, 0.8),
    0 0 40px rgba(255, 102, 255, 0.4);
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0%, 100% {
    transform: translate(0);
    text-shadow: 
      0 0 20px rgba(255, 102, 255, 0.8),
      0 0 40px rgba(255, 102, 255, 0.4);
  }
  1%, 1.5% {
    transform: translate(-2px, 1px);
    text-shadow: 
      0 0 20px rgba(0, 230, 230, 0.8),
      0 0 40px rgba(0, 230, 230, 0.4);
  }
  2%, 2.5% {
    transform: translate(2px, -1px);
    text-shadow: 
      0 0 20px rgba(255, 51, 102, 0.8),
      0 0 40px rgba(255, 51, 102, 0.4);
  }
}

.subtitulo-preguntas {
  font-size: 1.8em;
  margin-bottom: 1.5em;
  line-height: 1.6;
  color: #f0f0f0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 2em auto;
  max-width: 400px;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, #ff66ff, transparent);
}

.divider-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 102, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff66ff;
  font-size: 1.2em;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  position: relative;
  margin: 0 auto 10px;
}

.wheel {
  width: 4px;
  height: 10px;
  background: #ff66ff;
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

.arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid #ff66ff;
  border-bottom: 2px solid #ff66ff;
  transform: rotate(45deg);
  margin: 0 auto;
  animation: arrowPulse 2s infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* =========================
   CONTENIDO PRINCIPAL
========================== */
.preguntas-main {
  position: relative;
  z-index: 1;
}

.faq-section {
  padding: 6em 8%;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(0, 230, 230, 0.05) 0%, transparent 50%);
  z-index: -1;
}

.faq-intro {
  text-align: center;
  margin-bottom: 4em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.faq-intro.animated {
  opacity: 1;
  transform: translateY(0);
}

.faq-title {
  font-family: 'Special Elite', system-ui;
  font-size: 3em;
  margin-bottom: 0.5em;
  color: #fff;
  position: relative;
  display: inline-block;
}

.faq-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, #ff66ff, #00e6e6);
  border-radius: 2px;
}

.faq-subtitle {
  font-size: 1.3em;
  color: #aaa;
  max-width: 600px;
  margin: 0 auto 2em;
}

.faq-stats {
  display: flex;
  justify-content: center;
  gap: 3em;
  margin-top: 3em;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Special Elite', system-ui;
  font-size: 3em;
  color: #ff66ff;
  margin-bottom: 0.2em;
  line-height: 1;
}

.stat-icon {
  font-size: 3em;
  margin-bottom: 0.2em;
  line-height: 1;
}

.stat-label {
  color: #aaa;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================
   ACORDEÓN DE PREGUNTAS
========================== */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
}

.faq-item.animated {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:hover {
  border-color: rgba(255, 102, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 102, 255, 0.1);
}

.faq-item.active {
  border-color: #ff66ff;
  background: rgba(255, 102, 255, 0.05);
  transform: translateY(-5px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 102, 255, 0.2);
}

.faq-header {
  padding: 2em;
  display: flex;
  align-items: center;
  gap: 1.5em;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.faq-item.active .faq-header {
  padding-bottom: 1em;
}

.faq-number {
  font-family: 'Special Elite', system-ui;
  font-size: 2.5em;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
  min-width: 60px;
  transition: all 0.3s ease;
}

.faq-item.active .faq-number {
  color: #ff66ff;
}

.faq-question {
  flex: 1;
  font-size: 1.4em;
  color: #fff;
  font-family: 'Klee One', cursive;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question {
  color: #ffccff;
}

.faq-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 102, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff66ff;
  font-size: 1.3em;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  background: rgba(255, 102, 255, 0.3);
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-item.active .faq-body {
  max-height: 500px;
}

.faq-answer {
  padding: 0 2em 2em;
  color: #ddd;
  line-height: 1.7;
  font-size: 1.1em;
  position: relative;
  z-index: 2;
}

.faq-decoration {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.1;
}

.faq-drip,
.faq-splatter,
.faq-sparkle,
.faq-stripe,
.faq-dot,
.faq-confetti,
.faq-line,
.faq-circle,
.faq-wave,
.faq-note,
.faq-glow {
  position: absolute;
  filter: blur(10px);
}

.faq-drip {
  width: 80px;
  height: 120px;
  background: linear-gradient(to bottom, #ff66ff, transparent);
  border-radius: 0 0 40px 40px;
  bottom: 0;
  right: 20%;
  transform: rotate(10deg);
}

.faq-splatter {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #00e6e6, transparent 70%);
  top: 30%;
  left: 10%;
}

.faq-sparkle {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #ff3366, transparent 70%);
  top: 20%;
  right: 15%;
}

.faq-stripe {
  width: 150px;
  height: 20px;
  background: linear-gradient(90deg, #ff66ff, #00e6e6);
  bottom: 20%;
  left: 5%;
  transform: rotate(-15deg);
}

.faq-dot {
  width: 40px;
  height: 40px;
  background: #ff66ff;
  border-radius: 50%;
  top: 40%;
  right: 30%;
}

.faq-confetti {
  width: 120px;
  height: 80px;
  background: linear-gradient(45deg, #ff66ff, #ff3366, #00e6e6);
  bottom: 10%;
  left: 20%;
  border-radius: 10px;
}

.faq-line {
  width: 200px;
  height: 3px;
  background: linear-gradient(to right, #00e6e6, transparent);
  top: 60%;
  left: 5%;
}

.faq-circle {
  width: 60px;
  height: 60px;
  border: 3px solid #00e6e6;
  border-radius: 50%;
  top: 30%;
  right: 25%;
}

.faq-wave {
  width: 180px;
  height: 40px;
  background: linear-gradient(90deg, transparent, #ff66ff, transparent);
  bottom: 30%;
  left: 10%;
  border-radius: 20px;
}

.faq-note {
  width: 80px;
  height: 40px;
  background: linear-gradient(45deg, #ff66ff, #ff3366);
  top: 50%;
  left: 15%;
  border-radius: 5px 20px 20px 5px;
}

.faq-glow {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #ff66ff, transparent 70%);
  top: 20%;
  right: 10%;
}

/* =========================
   CTA FINAL
========================== */
.faq-cta {
  margin-top: 6em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.faq-cta.animated {
  opacity: 1;
  transform: translateY(0);
}

.cta-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 3em;
  display: flex;
  align-items: center;
  gap: 2em;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.cta-card:hover {
  border-color: rgba(255, 102, 255, 0.3);
  transform: translateY(-10px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 102, 255, 0.1);
}

.cta-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff66ff, #00e6e6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 2em;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.cta-card:hover .cta-icon {
  transform: scale(1.1) rotate(10deg);
}

.cta-content {
  flex: 1;
}

.cta-content h3 {
  font-size: 2em;
  color: #fff;
  margin-bottom: 0.5em;
  font-family: 'Special Elite', system-ui;
}

.cta-content p {
  color: #ddd;
  font-size: 1.1em;
  margin-bottom: 1.5em;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  background: linear-gradient(135deg, #ff66ff, #00e6e6);
  color: #000;
  padding: 1em 2em;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 10px 25px rgba(255, 102, 255, 0.3),
    0 0 30px rgba(255, 102, 255, 0.2);
  gap: 1.2em;
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(255, 102, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 230, 230, 0.1) 0%, transparent 50%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.cta-card:hover .cta-glow {
  opacity: 0.5;
}

/* =========================
   PREFOOTER Y FOOTER
========================== */
.prefooter {
  background: linear-gradient(to bottom, #000, #111);
  padding: 4em 8%;
  position: relative;
  overflow: hidden;
}

.prefooter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #ff66ff, transparent);
}

.prefooter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3em;
  max-width: 1200px;
  margin: 0 auto;
}

.prefooter-col h3 {
  font-family: 'Klee One', cursive;
  font-size: 1.4em;
  margin-bottom: 1em;
  color: #fff;
  position: relative;
  padding-bottom: 0.5em;
}

.prefooter-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #ff66ff;
}

.prefooter-col p,
.prefooter-col li {
  margin-bottom: 0.8em;
  line-height: 1.6;
  color: #aaa;
}

.prefooter-col ul {
  list-style: none;
  padding: 0;
}

.prefooter-col ul li {
  position: relative;
  padding-left: 1.5em;
}

.prefooter-col ul li::before {
  content: '•';
  color: #ff66ff;
  position: absolute;
  left: 0;
}

.prefooter-icons {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}

.prefooter-icons .social-link {
  color: #fff;
  font-size: 1em;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.prefooter-icons .social-link:hover {
  color: #ff66ff;
  transform: translateX(5px);
}

footer {
  background: #000;
  text-align: center;
  padding: 2em;
  color: #666;
  font-size: 0.9em;
  border-top: 1px solid #222;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, #ff66ff, #00e6e6);
}

/* =========================
   RESPONSIVE DESIGN
========================== */
@media (max-width: 1024px) {
  .titulo-preguntas {
    font-size: 4.5em;
  }
  
  .faq-stats {
    gap: 2em;
  }
  
  .stat-number,
  .stat-icon {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .hero-preguntas {
    height: 70vh;
    min-height: 500px;
  }
  
  .titulo-preguntas {
    font-size: 3.5em;
  }
  
  .subtitulo-preguntas {
    font-size: 1.4em;
  }
  
  .faq-section {
    padding: 4em 5%;
  }
  
  .faq-title {
    font-size: 2.5em;
  }
  
  .faq-stats {
    flex-direction: column;
    gap: 1.5em;
  }
  
  .faq-header {
    padding: 1.5em;
    gap: 1em;
  }
  
  .faq-number {
    font-size: 2em;
    min-width: 50px;
  }
  
  .faq-question {
    font-size: 1.2em;
  }
  
  .faq-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1em;
  }
  
  .faq-answer {
    padding: 0 1.5em 1.5em;
  }
  
  .cta-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5em;
    padding: 2em;
  }
  
  .cta-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5em;
  }
  
  .prefooter-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2em;
  }
  
  .prefooter-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .prefooter-col ul li {
    padding-left: 0;
  }
  
  .prefooter-col ul li::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .titulo-preguntas {
    font-size: 2.8em;
  }
  
  .subtitulo-preguntas {
    font-size: 1.2em;
  }
  
  .faq-title {
    font-size: 2em;
  }
  
  .faq-header {
    padding: 1.2em;
  }
  
  .faq-number {
    font-size: 1.5em;
    min-width: 40px;
  }
  
  .faq-question {
    font-size: 1em;
  }
  
  .cta-content h3 {
    font-size: 1.6em;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}