/* ==========================================================================
   FEMICORE LANDING PAGE - DISEÑO PREMIUM & SCROLL VIDEO CANVAS
   ========================================================================== */

:root {
  --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Paleta de Colores Femenina, Médica y Sofisticada */
  --bg-deep: #0b0f19;
  --bg-card: rgba(18, 24, 38, 0.72);
  --bg-card-hover: rgba(26, 34, 53, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(244, 114, 182, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-rose: #f472b6;
  --accent-rose-dark: #db2777;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-gold: #f59e0b;
  --accent-cyan: #38bdf8;

  --gradient-brand: linear-gradient(135deg, #f472b6 0%, #c084fc 50%, #818cf8 100%);
  --gradient-cta: linear-gradient(135deg, #e11d48 0%, #ec4899 50%, #f43f5e 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(244, 114, 182, 0.18), transparent 70%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-deep);
}

/* ==========================================================================
   PRELOADER OVERLAY
   ========================================================================== */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #080c14;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-overlay.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  max-width: 380px;
  padding: 2rem;
}

.loader-brand {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.loader-brand span {
  font-size: 1rem;
  vertical-align: super;
}

.loader-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width 0.15s ease-out;
}

.progress-percent {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-rose);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   CANVAS DE FONDO & CINEMATIC VIGNETTE
   ========================================================================== */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  object-fit: cover;
  will-change: transform;
}

.cinematic-vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(11, 15, 25, 0.45) 0%,
    rgba(11, 15, 25, 0.78) 70%,
    rgba(11, 15, 25, 0.92) 100%
  );
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 2rem;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 24, 38, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.logo-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  background: rgba(244, 114, 182, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 114, 182, 0.3);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-emerald);
}

.btn-cta-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-cta);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.35);
  transition: var(--transition-smooth);
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
}

/* ==========================================================================
   SCROLL TRACKER LATERAL
   ========================================================================== */
.scroll-tracker {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.tracker-track {
  width: 4px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.tracker-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: height 0.1s linear;
}

.tracker-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTENEDOR DE SECCIONES (EXPERIENCIA NARRATIVA)
   ========================================================================== */
.scroll-container {
  position: relative;
  z-index: 10;
}

.story-section {
  min-height: 130vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  position: relative;
}

/* Glassmorphism Panel Base */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  position: relative;
  transition: var(--transition-smooth);
}

.story-card {
  max-width: 680px;
  width: 100%;
  opacity: 0.15;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.story-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Alineaciones */
.text-left { text-align: left; }
.text-center { text-align: center; }

/* Badges / Pastillas */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.9rem;
  background: rgba(244, 114, 182, 0.12);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 114, 182, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.pill-purple {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  border-color: rgba(168, 85, 247, 0.25);
}

.pill-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.25);
}

.pill-gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  border-color: rgba(245, 158, 11, 0.25);
}

.pill-rose {
  background: rgba(225, 29, 72, 0.15);
  color: #fb7185;
  border-color: rgba(225, 29, 72, 0.3);
}

.pill-glow {
  background: var(--gradient-brand);
  color: #ffffff;
  border: none;
  box-shadow: 0 0 15px rgba(244, 114, 182, 0.4);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-rose);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 114, 182, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(244, 114, 182, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 114, 182, 0); }
}

/* Tipografía de Títulos */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.25;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description, .section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   SECCIÓN 1: HERO HIGHLIGHTS
   ========================================================================== */
.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #e2e8f0;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 6px;
  background: var(--accent-rose);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.6s infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* ==========================================================================
   SECCIÓN 2: GRID DEL PROBLEMA
   ========================================================================== */
.grid-problem {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.problem-box {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: left;
  transition: var(--transition-smooth);
}

.problem-box:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-3px);
}

.problem-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-purple);
  margin-bottom: 0.5rem;
}

.problem-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.problem-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SECCIÓN 3: SOLUCIÓN FEMICORE
   ========================================================================== */
.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.bullet-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
}

.bullet-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.bullet-card strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.bullet-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SECCIÓN 4: TARJETAS DE CONFIANZA Y HONESTIDAD
   ========================================================================== */
.trust-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.trust-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.2rem;
  text-align: center;
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.trust-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   SECCIÓN 5: GARANTÍA DE 60 DÍAS
   ========================================================================== */
.guarantee-card {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 780px;
}

.guarantee-badge-container {
  flex-shrink: 0;
}

.guarantee-seal {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.3);
  border: 4px dashed rgba(255, 255, 255, 0.6);
  animation: rotateSeal 25s linear infinite;
}

@keyframes rotateSeal {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.seal-days {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: #0b0f19;
}

.seal-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0b0f19;
  letter-spacing: 0.1em;
}

.seal-sub {
  font-size: 0.65rem;
  font-weight: 800;
  color: #451a03;
  letter-spacing: 0.05em;
}

.guarantee-content {
  text-align: left;
}

.guarantee-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.guarantee-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.guarantee-features {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

/* ==========================================================================
   SECCIÓN 6: CTA FINAL DE ALTO IMPACTO
   ========================================================================== */
.cta-panel {
  max-width: 740px;
  border-color: var(--border-glow);
  box-shadow: 0 0 60px rgba(244, 114, 182, 0.18);
}

.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  line-height: 1.25;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.cta-subheadline {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-action-box {
  margin-bottom: 2rem;
}

.btn-main-affiliate {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 580px;
  background: var(--gradient-cta);
  color: #ffffff;
  text-decoration: none;
  padding: 1.3rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.45);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-main-affiliate:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 15px 40px rgba(225, 29, 72, 0.65);
}

.btn-main-affiliate::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: rotate(30deg);
  animation: shine 3.5s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.btn-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.btn-subtext {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
}

.btn-arrow {
  position: absolute;
  right: 1.5rem;
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  transition: transform 0.3s ease;
}

.btn-main-affiliate:hover .btn-arrow {
  transform: translateX(5px);
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
}

.badges-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* ==========================================================================
   SECCIÓN ESTÁTICA: PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */
.static-section {
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 10;
}

.max-w-container {
  max-width: 820px;
  margin: 0 auto;
}

.mb-10 { margin-bottom: 2.5rem; }
.mt-10 { margin-top: 2.5rem; }

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item[open] {
  border-color: rgba(244, 114, 182, 0.35);
  background: rgba(18, 24, 38, 0.75);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-rose);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  background: #060910;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 1.5rem 2.5rem 1.5rem;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.footer-disclaimer strong {
  color: #94a3b8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-rose);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MÓVILES Y TABLETS)
   ========================================================================== */
@media (max-width: 900px) {
  .grid-problem, .trust-cards-container {
    grid-template-columns: 1fr;
  }

  .guarantee-card {
    flex-direction: column;
    text-align: center;
  }

  .guarantee-content {
    text-align: center;
  }

  .guarantee-features {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .nav-container {
    padding: 0.6rem 1rem;
  }

  .secure-badge {
    display: none;
  }

  .btn-cta-nav {
    font-size: 0.75rem;
    padding: 0.5rem 0.9rem;
  }

  .scroll-tracker {
    display: none;
  }

  .glass-panel {
    padding: 2rem 1.25rem;
  }

  .story-section {
    min-height: 110vh;
    padding: 3rem 1rem;
  }

  .btn-arrow {
    display: none;
  }

  .btn-text {
    font-size: 1rem;
  }

  .btn-subtext {
    font-size: 0.75rem;
  }

  .badges-row {
    gap: 0.8rem;
  }

  .badge-item {
    font-size: 0.78rem;
  }
}
