/*
  Profesional Pro — Rediseño Minimalista Premium
  Estilo: Hero oscuro + Secciones blancas (Stripe / Lemon Squeezy)
  Tipografías: Google Fonts (Outfit & Inter)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

/* ─────────────────────────────────────────────────────────────────
   1. TOKENS DE DISEÑO
──────────────────────────────────────────────────────────────────*/
:root {
  /* Dark Hero */
  --hero-bg:       #0a0a0f;
  --hero-card-bg:  rgba(255,255,255,0.04);
  --hero-border:   rgba(255,255,255,0.10);

  /* Secciones Blancas */
  --white:         #ffffff;
  --surface:       #f8f9fc;
  --surface-alt:   #f1f5f9;

  /* Texto */
  --text-dark:     #0f172a;
  --text-body:     #334155;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;
  --text-hero:     #f1f5f9;
  --text-hero-muted: rgba(241,245,249,0.65);

  /* Acento: Índigo premium */
  --indigo:        #4f46e5;
  --indigo-dark:   #3730a3;
  --indigo-light:  #6366f1;
  --indigo-glow:   rgba(79,70,229,0.25);
  --indigo-bg:     rgba(79,70,229,0.08);

  /* Verde éxito (WhatsApp / OK) */
  --green:         #16a34a;
  --green-light:   #22c55e;
  --whatsapp:      #25d366;

  /* Bordes y sombras */
  --border:        #e2e8f0;
  --border-dark:   #cbd5e1;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:     0 25px 60px rgba(0,0,0,0.16);
  --shadow-indigo: 0 8px 30px rgba(79,70,229,0.30);

  /* Tipografías */
  --font-heading:  'Outfit', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Transiciones */
  --ease:          cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition:    all 0.35s var(--ease);
}

/* ─────────────────────────────────────────────────────────────────
   2. RESET & BASE
──────────────────────────────────────────────────────────────────*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

img, video, iframe {
  display: block;
  max-width: 100%;
}

/* ─────────────────────────────────────────────────────────────────
   3. ANIMACIONES
──────────────────────────────────────────────────────────────────*/
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%,100% { box-shadow: var(--shadow-indigo); transform: translateY(0); }
  50%      { box-shadow: 0 12px 40px rgba(79,70,229,0.5); transform: translateY(-2px); }
}

@keyframes blink {
  0%,100% { opacity: .2; }
  20%     { opacity: 1; }
}

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

/* ─────────────────────────────────────────────────────────────────
   4. TIPOGRAFÍA & UTILIDADES
──────────────────────────────────────────────────────────────────*/
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-dark);
}

.gradient-text {
  background: linear-gradient(135deg, var(--indigo) 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--indigo-bg);
  color: var(--indigo-light);
  border: 1px solid rgba(99,102,241,0.25);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.badge-hero {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.15);
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--indigo);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 14px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────
   5. BOTONES
──────────────────────────────────────────────────────────────────*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: var(--shadow-indigo);
  animation: pulse 3s ease-in-out infinite;
}
.btn-primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(79,70,229,0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-hero);
  border: 1.5px solid var(--hero-border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--text-body);
  border: 1.5px solid var(--border-dark);
}
.btn-ghost-dark:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* ─────────────────────────────────────────────────────────────────
   5.5. POP-UP DE OFERTA TEMPORAL (PROMO POPUP)
──────────────────────────────────────────────────────────────────*/
.promo-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 290px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), var(--indigo-glow);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  transform: translateY(120px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.promo-popup.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.close-promo-popup {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.close-promo-popup:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.promo-popup-badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--indigo);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

.promo-popup-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.25;
  color: #fff;
}

.promo-popup-price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.promo-popup-price .old-price {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--text-light);
  opacity: 0.6;
}
.promo-popup-price .current-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--green-light);
}

.promo-popup-timer {
  font-family: monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-light);
  background: rgba(22, 197, 94, 0.08);
  border: 1px solid rgba(22, 197, 94, 0.2);
  padding: 6px;
  border-radius: 8px;
  text-align: center;
  letter-spacing: 1px;
}

.promo-popup-btn {
  background: var(--indigo);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}
.promo-popup-btn:hover {
  background: var(--indigo-dark);
  box-shadow: var(--shadow-indigo);
}

@media (max-width: 600px) {
  .promo-popup {
    bottom: 0;
    right: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 18px 24px;
    gap: 10px;
    transform: translateY(100%);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
  }
  .promo-popup.active {
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────────────────────────────────
   6. HEADER / NAV
──────────────────────────────────────────────────────────────────*/
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hero-border);
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.5s var(--ease) forwards;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  color: #fff;
}
.logo span { color: var(--indigo-light); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--indigo);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79,70,229,0.35);
}

@media (max-width: 1150px) {
  .nav-cta-price { display: none; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.85rem; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
}

/* ─────────────────────────────────────────────────────────────────
   7. HERO — DARK PREMIUM
──────────────────────────────────────────────────────────────────*/
.hero {
  background: var(--hero-bg);
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ── Fondo de prompts animados estilo Midjourney ── */
.hero-prompt-bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 0;
  opacity: 0.32;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  /* Mask: se desvanece en el centro donde está el contenido principal */
  mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(0,0,0,0) 20%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,1) 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(0,0,0,0) 20%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,1) 80%);
}

.prompt-row {
  display: flex;
  white-space: nowrap;
  width: max-content;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88rem;
  line-height: 1.85;
  letter-spacing: 0.4px;
}

.prompt-row span { display: inline-block; }

.row-1  { animation: scrollLeft  55s linear infinite; color: #818cf8; }
.row-2  { animation: scrollRight 65s linear infinite; color: #a5b4fc; }
.row-3  { animation: scrollLeft  60s linear infinite; color: #6366f1; }
.row-4  { animation: scrollRight 50s linear infinite; color: #818cf8; }
.row-5  { animation: scrollLeft  70s linear infinite; color: #c7d2fe; }
.row-6  { animation: scrollRight 58s linear infinite; color: #a5b4fc; }
.row-7  { animation: scrollLeft  62s linear infinite; color: #818cf8; }
.row-8  { animation: scrollRight 72s linear infinite; color: #6366f1; }
.row-9  { animation: scrollLeft  48s linear infinite; color: #c7d2fe; }
.row-10 { animation: scrollRight 68s linear infinite; color: #a5b4fc; }
.row-11 { animation: scrollLeft  54s linear infinite; color: #818cf8; }
.row-12 { animation: scrollRight 63s linear infinite; color: #6366f1; }

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Gradiente radial superior para dar profundidad al hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(79,70,229,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 100%, rgba(99,102,241,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.9s var(--ease) forwards;
}

.hero-badge {
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: #818cf8;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-hero-muted);
  max-width: 560px;
  margin: 0 auto 42px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-pricing {
  margin: -16px auto 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeUp 0.9s var(--ease) 0.15s both;
}
.price-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-hero-muted);
}
.price-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.price-old {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  text-decoration: line-through;
  color: var(--text-hero-muted);
  opacity: 0.55;
  font-weight: 600;
}
.price-current {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  font-family: var(--font-heading);
  text-shadow: 0 0 30px rgba(255,255,255,0.1);
}
.price-discount {
  background: var(--indigo);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-hero-muted);
  font-size: 0.85rem;
}

.hero-proof-item .check {
  width: 18px;
  height: 18px;
  background: rgba(22,197,94,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--green-light);
  flex-shrink: 0;
}

/* ── Urgency Live Counter ── */
.live-counter-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 163, 74, 0.06);
  border: 1.5px solid rgba(34, 197, 94, 0.25);
  padding: 8px 18px;
  border-radius: 50px;
  margin: -12px auto 36px;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.05);
  animation: fadeUp 0.9s var(--ease) 0.1s both;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--green-light);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.live-pulse::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: var(--green-light);
  border-radius: 50%;
  position: absolute;
  inset: 0;
  animation: livePulseAnim 2s infinite ease-out;
}
@keyframes livePulseAnim {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.5); opacity: 0; }
}
.live-counter-text strong {
  color: var(--green-light);
  font-weight: 700;
}

/* ── Compatibility Logo Bar ── */
.logo-bar {
  background: var(--surface);
  padding: 36px 5% 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.logo-bar-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
}
.logo-bar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  flex-wrap: wrap;
  width: 100%;
  max-width: 1100px;
}
.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  opacity: 0.65;
}
.logo-item:hover {
  opacity: 0.95;
  color: var(--text-dark);
}
.logo-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Línea divisoria del Hero → secciones blancas */
.hero-wave {
  display: block;
  width: 100%;
  height: 80px;
  background: var(--hero-bg);
  position: relative;
}
.hero-wave::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* ─────────────────────────────────────────────────────────────────
   8. SECCIÓN DE VIDEOS
──────────────────────────────────────────────────────────────────*/
.videos-section {
  background: var(--white);
  padding: 90px 5% 80px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--indigo-light);
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

/* Image wrapper replaces iframe */
.video-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0f0c22;
}

.video-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.video-card:hover .video-img-wrapper img {
  transform: scale(1.04);
}

.video-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,30,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px 18px;
  pointer-events: none;
}

.video-tag-overlay {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  background: rgba(79,70,229,0.75);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.video-card-body {
  padding: 18px 22px 22px;
}

.video-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--indigo);
  background: var(--indigo-bg);
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 8px;
}

.video-card-body h4 {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.video-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────────────
   9. CASOS DE USO REAL (antes Pain Points)
──────────────────────────────────────────────────────────────────*/
.use-cases {
  background: var(--white);
  padding: 90px 5%;
  border-top: 1px solid var(--border);
}
.use-cases-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.use-cases .section-title em {
  font-style: normal;
  color: var(--indigo);
}

/* Grid de casos Sin IA → Con IA */
.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.use-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}
.use-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: #c7d2fe;
}

.use-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.use-icon { font-size: 1.6rem; }

.use-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 50px;
}
.use-tag.work  { background: #e0e7ff; color: var(--indigo); }
.use-tag.life  { background: #d1fae5; color: #065f46; }

.use-before, .use-after {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.86rem;
  line-height: 1.6;
}
.use-before {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #881337;
}
.use-after {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #14532d;
}

.label-small {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  opacity: 0.7;
}
.label-small.ai-label { color: #15803d; }

.use-arrow {
  text-align: center;
  font-size: 1.3rem;
  color: var(--indigo);
  font-weight: 900;
}

/* Banner de Ingresos con IA */
.income-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
  border-radius: 24px;
  padding: 40px 44px;
  color: white;
  position: relative;
  overflow: hidden;
}
.income-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(99,102,241,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.income-banner-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}
.income-icon { font-size: 2.4rem; flex-shrink: 0; margin-top: 2px; }
.income-banner-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  line-height: 1.25;
}
.income-banner-header h3 em {
  font-style: normal;
  color: #a5b4fc;
}
.income-banner-header p {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

.income-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.income-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 22px 20px;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.income-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(165,180,252,0.4);
  transform: translateY(-4px);
}

.income-card-icon { font-size: 1.6rem; display: block; margin-bottom: 12px; }

.income-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}
.income-card p {
  font-size: 0.83rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 14px;
}

.income-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(5,150,105,0.15));
  border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .income-banner { padding: 28px 22px; }
  .income-banner-header { flex-direction: column; gap: 12px; }
  .income-banner-header h3 { font-size: 1.2rem; }
  .use-arrow { display: none; }
}

/* ─────────────────────────────────────────────────────────────────
   9.5. SECCIÓN CALIFICADORA (Para quién es / no es)
──────────────────────────────────────────────────────────────────*/
.qualifier-section {
  background: var(--surface);
  padding: 90px 5%;
  border-top: 1px solid var(--border);
}
.qualifier-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.qualifier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.qualifier-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.qualifier-col:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.qualifier-col h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}
.qualifier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.qualifier-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}
.q-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.is-for-you {
  border-top: 4px solid var(--green);
}
.is-for-you h3 {
  color: var(--green);
}
.is-for-you .q-icon {
  background: #d1fae5;
  color: #065f46;
}
.is-not-for-you {
  border-top: 4px solid #ef4444;
}
.is-not-for-you h3 {
  color: #ef4444;
}
.is-not-for-you .q-icon {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 768px) {
  .qualifier-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .qualifier-col {
    padding: 28px 24px;
  }
}

/* ─────────────────────────────────────────────────────────────────
   10. QUÉ INCLUYE
──────────────────────────────────────────────────────────────────*/
.included {
  background: var(--white);
  padding: 100px 5%;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.included-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.included-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), #818cf8);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.included-card:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.included-card:hover::before { transform: scaleX(1); }

.included-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.included-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.included-list {
  list-style: none;
}

.included-list li {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.included-list li::before {
  content: '✓';
  color: var(--indigo);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─────────────────────────────────────────────────────────────────
   11. SIMULADOR DE IA — ESTILO CHAT PREMIUM
──────────────────────────────────────────────────────────────────*/
.previewer {
  background: #f0f4ff;
  padding: 100px 5%;
  border-top: 1px solid var(--border);
}

/* Selector de Tema */
.topic-selector {
  text-align: center;
  margin-bottom: 28px;
}
.topic-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}
.topic-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.topic-pill {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 9px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.topic-pill:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: var(--indigo-bg);
  transform: translateY(-2px);
}
.topic-pill.active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}

/* Prompt compartido */
.shared-prompt-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 24px;
  max-width: 820px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-sm);
}
.shared-prompt-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}
.dot-prompt {
  width: 7px; height: 7px;
  background: var(--indigo);
  border-radius: 50%;
  display: inline-block;
}
.shared-prompt-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.65;
  font-family: var(--font-body);
  font-style: italic;
  margin: 0;
}

/* Selector de IA */
.ai-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ai-tab {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
  min-width: 190px;
}
.ai-tab:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.ai-tab-icon { font-size: 1.5rem; }
.ai-tab-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.ai-tab-trait {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: var(--font-body);
}

/* ChatGPT → verde */
.ai-tab:nth-child(1).active {
  border-color: #10a37f;
  background: #f0faf7;
  box-shadow: 0 4px 20px rgba(16,163,127,0.2);
}
.ai-tab:nth-child(1).active .ai-tab-name { color: #0d8c6b; }

/* Claude → naranja */
.ai-tab:nth-child(2).active {
  border-color: #d97706;
  background: #fffbf0;
  box-shadow: 0 4px 20px rgba(217,119,6,0.2);
}
.ai-tab:nth-child(2).active .ai-tab-name { color: #b45309; }

/* Gemini → azul */
.ai-tab:nth-child(3).active {
  border-color: #1a73e8;
  background: #f0f6ff;
  box-shadow: 0 4px 20px rgba(26,115,232,0.2);
}
.ai-tab:nth-child(3).active .ai-tab-name { color: #1558b0; }

/* Ventana de chat principal */
.sim-chat-window {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(79,70,229,0.12), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

/* Header del chat — oscuro como ChatGPT */
.chat-header {
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 600;
  font-family: var(--font-heading);
}

.status-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.ai-personality-badge {
  font-size: 0.7rem;
  color: #94a3b8;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 10px;
  border-radius: 50px;
  font-family: var(--font-body);
  white-space: nowrap;
}

.chat-system-label {
  font-size: 0.68rem;
  color: #475569;
  font-family: monospace;
  white-space: nowrap;
}

/* Cuerpo del chat */
.chat-body {
  padding: 24px 22px;
  flex: 1;
  min-height: 340px;
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-behavior: smooth;
  background: #f8faff;
}
.chat-body::-webkit-scrollbar { width: 5px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: #c7d2fe; border-radius: 99px; }

/* Burbujas de chat */
.chat-bubble {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: fadeUp 0.35s var(--ease) both;
}

.chat-bubble.user { flex-direction: row-reverse; }

/* Avatar */
.chat-bubble::before {
  content: attr(data-avatar);
  min-width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
}
.chat-bubble.assistant::before {
  content: '🤖';
  background: #0f172a;
  border-color: #1e293b;
}
.chat-bubble.user::before {
  content: '👤';
  background: var(--indigo-bg);
  border-color: #c7d2fe;
}

/* Contenido de burbuja */
.bubble-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-top-left-radius: 4px;
  padding: 14px 18px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 82%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.chat-bubble.user .bubble-content {
  background: #4f46e5;
  border-color: #4338ca;
  color: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 4px;
}

/* Header de burbuja IA */
.ai-bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.ai-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.copy-sim-btn {
  background: var(--indigo-bg);
  border: 1px solid #c7d2fe;
  color: var(--indigo);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.copy-sim-btn:hover { background: var(--indigo); color: #fff; }

.ai-sim-result {
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--text-body);
  white-space: pre-wrap;
  font-family: var(--font-body);
  margin: 0;
}

/* Área de input */
.chat-input-area {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-prompt-input {
  background: #f8faff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  height: 42px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.chat-submit-btn {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(79,70,229,0.3);
}
.chat-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #4338ca, #4f46e5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79,70,229,0.4);
}
.chat-submit-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Indicador de escritura */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.typing-indicator span {
  width: 7px; height: 7px;
  background: #94a3b8;
  border-radius: 50%;
  animation: blink 1.4s infinite both;
}
.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }

/* Nota educativa */
.sim-edu-note {
  max-width: 820px;
  margin: 20px auto 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  border: 1px solid #c7d2fe;
  border-radius: 14px;
  padding: 16px 22px;
  font-size: 0.87rem;
  color: var(--text-body);
  line-height: 1.6;
}
.sim-edu-note span { font-size: 1.3rem; flex-shrink: 0; }

@media (max-width: 640px) {
  .ai-selector { flex-direction: column; align-items: center; }
  .ai-tab { min-width: 280px; justify-content: center; }
  .topic-pills { gap: 8px; }
  .topic-pill { font-size: 0.82rem; padding: 8px 16px; }
}


.simulator-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  max-width: 960px;
  margin: 0 auto;
  min-height: 500px;
}

.simulator-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-menu-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-body);
  width: 100%;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.sim-menu-btn:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow-md);
}

.sim-menu-btn.active {
  border-color: var(--indigo);
  background: var(--indigo-bg);
}

.sim-icon { font-size: 1.4rem; }

.sim-btn-title {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  color: var(--text-dark);
}

.sim-btn-desc {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.chat-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 490px;
  box-shadow: var(--shadow-md);
}

.chat-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 600;
}

.status-dot {
  width: 8px; height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green-light);
}

.chat-system-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-family: monospace;
}

.chat-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
  background: #fbfcfe;
}

.chat-bubble {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.chat-bubble.assistant {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-body);
  border-top-left-radius: 4px;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--indigo-bg);
  border: 1px solid #c7d2fe;
  color: var(--text-dark);
  border-top-right-radius: 4px;
}

.chat-input-area {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-prompt-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  height: 42px;
  display: flex;
  align-items: center;
}

.chat-submit-btn {
  background: var(--indigo);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.chat-submit-btn:hover:not(:disabled) {
  background: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(79,70,229,0.3);
}
.chat-submit-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.ai-bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.ai-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.copy-sim-btn {
  background: var(--indigo-bg);
  border: 1px solid #c7d2fe;
  color: var(--indigo);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.copy-sim-btn:hover { background: var(--indigo); color: white; }

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.typing-indicator span {
  width: 6px; height: 6px;
  background: var(--text-light);
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.4s infinite both;
}
.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }

@media (max-width: 820px) {
  .simulator-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .simulator-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .sim-menu-btn {
    width: auto;
    flex-shrink: 0;
  }
}

/* ─────────────────────────────────────────────────────────────────
   12. FAQ
──────────────────────────────────────────────────────────────────*/
.faq {
  background: var(--white);
  padding: 100px 5%;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  user-select: none;
}
.faq-question:hover { color: var(--indigo); }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--indigo);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), margin-top 0.3s ease, opacity 0.3s ease;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0;
  opacity: 0;
}
.faq-answer p { padding-top: 12px; line-height: 1.7; }
.faq-item.active .faq-answer {
  max-height: 280px;
  margin-top: 4px;
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────────
   13. FOOTER
──────────────────────────────────────────────────────────────────*/
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 5%;
  text-align: center;
  color: var(--text-light);
  font-size: 0.88rem;
}

/* ─────────────────────────────────────────────────────────────────
   14. MODAL DE PAGO — DUAL VISIBLE (SINPE + PAYPAL)
──────────────────────────────────────────────────────────────────*/
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

@media (min-height: 700px) {
  .modal-overlay { align-items: center; }
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--white);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
  margin: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.close-modal {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.close-modal:hover {
  background: var(--surface-alt);
  color: var(--text-dark);
}

/* ── Modal Header ── */
.modal-header-section {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.modal-header-section h3 {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.modal-header-section p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.modal-price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--indigo) 0%, #818cf8 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 6px 22px;
  border-radius: 50px;
}
.modal-price-old {
  font-size: 0.95rem;
  text-decoration: line-through;
  opacity: 0.65;
  font-weight: 500;
}
.modal-price-current {
  font-size: 1.35rem;
  font-weight: 900;
}
.modal-price-tag {
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── Bloque SINPE ── */
.payment-block {
  margin-bottom: 20px;
}

.payment-block-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sinpe-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.sinpe-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.sinpe-row:last-of-type { border-bottom: none; }

.sinpe-label { font-size: 0.85rem; color: var(--text-muted); }

.sinpe-val {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}
.sinpe-val.highlight {
  color: var(--indigo);
  font-size: 1.1rem;
}

.copy-mini-btn {
  background: var(--indigo-bg);
  color: var(--indigo);
  border: 1px solid #c7d2fe;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 8px;
}
.copy-mini-btn:hover { background: var(--indigo); color: white; }

.modal-instructions {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #78350f;
  margin: 12px 0;
}
.modal-instructions ol { padding-left: 16px; }
.modal-instructions li { margin-bottom: 5px; }

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  border: none;
  padding: 13px 20px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  width: 100%;
  box-shadow: 0 4px 14px rgba(37,211,102,0.25);
}
.whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

/* ── Divider OR ── */
.payment-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.payment-divider::before,
.payment-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.payment-divider span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

/* ── Bloque PayPal ── */
.paypal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px 12px 0 0;
  padding: 11px 16px;
  border-bottom: none;
}

.paypal-price-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.paypal-price-value {
  font-weight: 700;
  color: var(--indigo);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.paypal-price-old {
  font-size: 0.82rem;
  text-decoration: line-through;
  color: var(--text-light);
  font-weight: 500;
}

.paypal-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 10px 16px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

#paypal-button-container {
  min-height: 120px;
  position: relative;
  z-index: 10;
  overflow: visible !important;
}

/* ─────────────────────────────────────────────────────────────────
   15. MODAL PAYWALL
──────────────────────────────────────────────────────────────────*/
.paywall-icon { font-size: 3rem; margin-bottom: 14px; }

/* ─────────────────────────────────────────────────────────────────
   16. MODAL DE ÉXITO
──────────────────────────────────────────────────────────────────*/
.download-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}
.download-link-card:hover {
  border-color: var(--indigo-light);
  background: var(--indigo-bg);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────────────────────
   17. BOTÓN CTA FLOTANTE (scroll de regreso al pago)
──────────────────────────────────────────────────────────────────*/
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--indigo);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.cta-button:hover {
  background: var(--indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,70,229,0.35);
}

/* ─────────────────────────────────────────────────────────────────
   18. RESPONSIVE GLOBAL
──────────────────────────────────────────────────────────────────*/
}

/* ─────────────────────────────────────────────────────────────────
   19. CALCULADORA DE ROI, TIMELINE Y PREVIEW TABS
──────────────────────────────────────────────────────────────────*/
.calc-section {
  background: var(--white);
  padding: 90px 5%;
  border-top: 1px solid var(--border);
}
.calc-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.calc-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
  align-items: center;
}
.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.control-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.control-header label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}
.control-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--indigo);
  background: var(--indigo-bg);
  padding: 4px 12px;
  border-radius: 8px;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: -4px;
}
.calc-desc-small {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Estilos de Sliders (Inputs Range) */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border-dark);
  border-radius: 3px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid var(--indigo);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--indigo);
  transform: scale(1.1);
}

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.main-result {
  border-left: 5px solid var(--indigo);
  background: linear-gradient(to right, var(--white), var(--surface));
}
.result-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
.result-value {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 6px;
}
.sub-value {
  font-size: 1.6rem;
}
.highlight-green {
  color: var(--green);
}
.result-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.results-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Flow Section ── */
.flow-section {
  background: var(--white);
  padding: 90px 5%;
  border-top: 1px solid var(--border);
}
.flow-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
  position: relative;
}
.flow-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
}
.flow-step:hover {
  border-color: var(--indigo-glow);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.flow-step-num {
  width: 40px;
  height: 40px;
  background: var(--indigo);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-indigo);
}
.flow-step h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.flow-step p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Tour Section ── */
.tour-section {
  background: var(--surface);
  padding: 90px 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tour-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.tour-container {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.tour-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.tour-tab-btn {
  background: transparent;
  border: none;
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.tour-tab-btn:hover {
  color: var(--text-dark);
}
.tour-tab-btn.active {
  color: var(--indigo);
  border-bottom-color: var(--indigo);
}
.tour-panels {
  position: relative;
  min-height: 380px;
}
.tour-panel {
  display: none;
  animation: fadeIn 0.4s var(--ease) forwards;
}
.tour-panel.active {
  display: block;
}
.tour-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.tour-panel-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tour-panel-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
}
.tour-panel-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.tour-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tour-panel-list li {
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.tour-panel-list li::before {
  content: "•";
  color: var(--indigo);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 0.9;
  flex-shrink: 0;
}
.tour-panel-image {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  max-width: 480px;
  justify-self: center;
}
.tour-image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: visible; /* Permitir que los tooltips sobresalgan */
}
.tour-image-wrapper img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--surface-alt);
  display: block;
}
.hotspot {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--indigo);
  border: 3.5px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(79,70,229,0.7);
  z-index: 10;
  transition: transform 0.25s var(--ease), background-color 0.25s ease, border-color 0.25s ease;
}
.hotspot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1.5px solid var(--indigo-light);
  border-radius: 50%;
  animation: hotspotPulse 2s infinite ease-out;
  pointer-events: none;
}
@keyframes hotspotPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}
.hotspot:hover {
  transform: scale(1.25);
  background: var(--green-light);
  border-color: #fff;
  box-shadow: 0 0 16px rgba(34,197,94,0.8);
}
/* Tooltip del Hotspot */
.hotspot::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 145%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 200px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.76rem;
  line-height: 1.45;
  font-family: var(--font-body);
  font-weight: 500;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 30;
}
.hotspot:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 860px) {
  .calc-container {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
  .tour-panel-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ─────────────────────────────────────────────────────────────────
   21. SISTEMA DE REVEAL Y SCROLL ANIMATIONS (STYLE STRIPE/LINEAR)
──────────────────────────────────────────────────────────────────*/
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Staggered Delays */
.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;
}

/* Específico: Animación suave en hover de tarjetas */
.use-card, .video-card, .included-card, .flow-step, .qualifier-col, .calc-container {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ─────────────────────────────────────────────────────────────────
   22. SECCIÓN SOBRE NOSOTROS / MANIFIESTO
──────────────────────────────────────────────────────────────────*/
.about-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 5%;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.manifesto-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px 80px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Sutil adorno de fondo en el manifiesto */
.manifesto-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--indigo) 0%, #818cf8 100%);
}

.manifesto-badge {
  display: inline-block;
  background: var(--indigo-bg);
  color: var(--indigo);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.manifesto-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 32px;
  line-height: 1.25;
}

.manifesto-content {
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
}

.manifesto-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--indigo);
  margin-bottom: 24px;
  border-left: 3px solid var(--indigo-light);
  padding-left: 16px;
}

.manifesto-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 20px;
}

.manifesto-content p:last-child {
  margin-bottom: 0;
}

.manifesto-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
}

.signature-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.team-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.team-location {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Responsividad para el manifiesto */
@media (max-width: 768px) {
  .about-section {
    padding: 60px 20px;
  }
  .manifesto-card {
    padding: 40px 30px;
  }
  .manifesto-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .manifesto-lead {
  }
}

/* ─────────────────────────────────────────────────────────────────
   23. SECCIÓN TESTIMONIOS
──────────────────────────────────────────────────────────────────*/
.testimonials-section {
  padding: 100px 5%; /* Añadido padding lateral para alinear con el resto de la web */
  background: var(--white);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.testimonials-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 8px 40px; /* Padding ajustado para no recortar sombras */
  margin: 16px auto 0;
  max-width: 1100px; /* Ancho máximo limitado para que no sea de lado a lado */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Ocultar barra estándar y añadir barra minimalista */
.testimonials-grid::-webkit-scrollbar {
  height: 6px;
}
.testimonials-grid::-webkit-scrollbar-track {
  background: var(--surface);
  border-radius: 10px;
}
.testimonials-grid::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 10px;
}
.testimonials-grid::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

.testimonial-card {
  flex: 0 0 350px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  text-align: left;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--indigo-light);
}

.testimonial-stars {
  color: #fbbf24; /* Dorado cálido */
  font-size: 1.15rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.author-info {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Responsividad para Testimonios */
@media (max-width: 860px) {
  .testimonials-section {
    padding: 60px 5%; /* Ajustado padding lateral en móviles */
  }
  .testimonials-grid {
    padding: 16px 8px 30px; /* Padding de scroll ajustado */
    gap: 16px;
  }
  .testimonial-card {
    flex: 0 0 290px;
    padding: 24px;
  }
}

/* ── Formulario para agregar valoración ── */
.add-review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 680px;
  margin: 60px auto 0;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.add-review-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.add-review-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.input-group label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.input-group input,
.input-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: var(--transition);
  width: 100%;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--indigo-light);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--indigo-glow);
}

.star-rating-input {
  display: flex;
  gap: 8px;
  font-size: 1.8rem;
  line-height: 1;
}

.star-rating-input .star-btn {
  color: var(--text-light);
  cursor: pointer;
  transition: transform 0.2s var(--ease), color 0.2s ease;
  user-select: none;
}

.star-rating-input .star-btn:hover {
  transform: scale(1.15);
}

.star-rating-input .star-btn.active {
  color: #fbbf24;
}

.submit-review-btn {
  background: var(--indigo);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

.submit-review-btn:hover {
  background: var(--indigo-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-indigo);
}

.review-success-msg {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--indigo-bg);
  border: 1px solid #c7d2fe;
  color: var(--indigo-dark);
  border-radius: 12px;
  padding: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.review-success-msg span {
  font-size: 1.5rem;
}

@media (max-width: 600px) {
  .add-review-card {
    padding: 30px 20px;
  }
  .form-row {
    flex-direction: column;
    gap: 16px;
  }
}

/* ─────────────────────────────────────────────────────────────────
   PESTAÑA IA REAL — Live Gemini
──────────────────────────────────────────────────────────────────*/

/* Pestaña especial con badge LIVE */
.ai-tab-real {
  border: 1.5px solid rgba(34, 197, 94, 0.35) !important;
  background: rgba(34, 197, 94, 0.06) !important;
}
.ai-tab-real:hover,
.ai-tab-real.active {
  border-color: #22c55e !important;
  background: rgba(34, 197, 94, 0.12) !important;
}
.ai-tab-real .ai-tab-name { color: #4ade80; }
.ai-tab-real.active .ai-tab-name { color: #86efac; }

.real-ai-badge {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 4px;
  animation: pulseBadge 1.8s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* Barra de contador de pruebas */
.real-trial-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(34, 197, 94, 0.07);
  border-bottom: 1px solid rgba(34, 197, 94, 0.18);
  flex-wrap: wrap;
}
.trial-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trial-dots {
  display: flex;
  gap: 6px;
}
.trial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  transition: background 0.3s, transform 0.3s;
}
.trial-dot.used {
  background: rgba(100, 116, 139, 0.3);
  transform: scale(0.8);
}
.trial-count-text {
  font-size: 0.76rem;
  color: #22c55e;
  font-weight: 700;
  margin-left: auto;
}
.trial-count-text.warn { color: #f59e0b; }
.trial-count-text.empty { color: #ef4444; }

/* Área de input libre */
.real-input-area {
  border-top: 1px solid var(--border);
  padding: 12px 14px;
  background: var(--hero-bg);
}
.real-prompt-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #f1f5f9;
  font-family: var(--font-body);
  font-size: 0.87rem;
  line-height: 1.6;
  padding: 12px 14px;
  resize: none;
  outline: none;
  transition: border-color 0.25s;
}
.real-prompt-textarea::placeholder { color: rgba(255,255,255,0.3); }
.real-prompt-textarea:focus {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
}
.real-input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 10px;
}
.char-counter {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  font-family: monospace;
}
.real-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 9px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.real-send-btn:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.35);
}
.real-send-btn:disabled {
  background: rgba(100,116,139,0.4);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Burbuja de respuesta real de Gemini */
.chat-bubble.real-response .bubble-content {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.real-ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.real-ai-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.real-response-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(241,245,249,0.92);
  white-space: pre-wrap;
  font-family: var(--font-body);
}

/* Rating de estrellas post-respuesta */
.real-rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(79, 70, 229, 0.06);
  border-top: 1px solid rgba(79, 70, 229, 0.15);
  flex-wrap: wrap;
  animation: fadeUp 0.4s ease forwards;
}
.rating-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.rating-stars {
  display: flex;
  gap: 3px;
}
.rstar {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 2px 3px;
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
}
.rstar:hover,
.rstar.hovered,
.rstar.selected { color: #f59e0b; transform: scale(1.15); }
.rating-feedback {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f59e0b;
  margin-left: auto;
}

/* Copia botón en respuesta real */
.copy-real-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  margin-left: auto;
}
.copy-real-btn:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* Typing dots para IA real */
@keyframes realTyping {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

