/* index.css - Diseño Premium y Persuasivo para Recetario de Inciensos Artesanales */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Variables de Diseño System */
:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Montserrat', sans-serif;

  /* Colores */
  --bg-darker: #070b09;       /* Fondo ultra oscuro, místico */
  --bg-dark: #0f1814;         /* Fondo de secciones principal */
  --bg-card: #15241d;         /* Tarjetas de contenido */
  --bg-card-hover: #1b2e25;   /* Hover en tarjetas */
  --border-color: #233c30;    /* Bordes suaves */
  
  --primary-gold: #d4af37;    /* Oro principal para acentos y prestigio */
  --light-gold: #f3e5ab;      /* Oro suave para subtítulos */
  
  --btn-green: #10b981;       /* Botón de compra / CTA */
  --btn-green-hover: #059669; /* Botón de compra hover */
  
  --text-white: #f9fafb;      /* Texto de alto contraste */
  --text-muted: #9ca3af;      /* Texto secundario */
  --text-light: #d1d5db;      /* Texto normal */
  
  --red-accent: #ef4444;      /* Urgencia / Descuento */
  --shadow-gold: 0 0 15px rgba(212, 175, 55, 0.15);
  --shadow-green: 0 4px 20px rgba(16, 185, 129, 0.4);
}

/* Estilos de Reinicio */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-darker);
  color: var(--text-light);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* Tipografías e Impacto */
h1, h2, h3, h4 {
  color: var(--text-white);
  font-weight: 700;
}

h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.2;
}

h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  position: relative;
  margin-bottom: 1.5rem;
}

.text-gold {
  color: var(--primary-gold);
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--light-gold) 0%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cintillo de Urgencia */
.urgency-bar {
  background: linear-gradient(90deg, #b91c1c 0%, #dc2626 50%, #b91c1c 100%);
  color: var(--text-white);
  text-align: center;
  padding: 8px 15px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: pulse-red 2s infinite;
}

/* Estructura y Contenedores */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
}

.section-darker {
  background-color: var(--bg-darker);
}

/* Grid de Dos Columnas Estándar */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.2rem;
  }
  h2 {
    font-size: 2.6rem;
  }
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

/* Efectos de Revelado Scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

/* Botones de Llamado a la Acción (CTA) */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: var(--text-white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-green);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  letter-spacing: 0.5px;
  text-align: center;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-cta:active {
  transform: translateY(1px) scale(0.98);
}

.btn-pulse {
  animation: pulse-button 2s infinite;
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
              var(--bg-darker);
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-gold);
  padding-left: 15px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 2rem;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--light-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  border-radius: 12px;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
  animation: float 6s ease-in-out infinite;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(20px);
}

/* Sección de Agitación */
.problem-card {
  background: linear-gradient(135deg, #181111 0%, #110707 100%);
  border: 1px solid #3b1818;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
}

.problem-card h3 {
  color: #ef4444;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.solution-card {
  background: linear-gradient(135deg, #0e1e16 0%, #08120d 100%);
  border: 1px solid #143525;
  border-radius: 16px;
  padding: 30px;
}

.solution-card h3 {
  color: var(--primary-gold);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checked-list {
  list-style: none;
  margin-top: 15px;
}

.checked-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.checked-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--btn-green);
  font-weight: bold;
}

.crossed-list {
  list-style: none;
  margin-top: 15px;
}

.crossed-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.crossed-list li::before {
  content: "✖";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}

/* Sección de Módulos / Partes */
.part-showcase {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  margin-bottom: 40px;
}

.part-showcase:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.3);
}

.part-image {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.part-info {
  padding: 30px;
}

.part-badge {
  display: inline-block;
  background: var(--primary-gold);
  color: var(--bg-darker);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.part-info h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Pestañas Interactivas de las 40 Recetas */
.recipes-section {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.03) 0%, transparent 70%), var(--bg-darker);
}

.tabs-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  border-color: var(--primary-gold);
  color: var(--text-white);
}

.tab-btn.active {
  background: var(--primary-gold);
  color: var(--bg-darker);
  border-color: var(--primary-gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 576px) {
  .tab-content.active {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .tab-content.active {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.recipe-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.2s ease;
}

.recipe-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.2);
  background-color: var(--bg-card-hover);
}

.recipe-icon {
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.recipe-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.recipe-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sección de Bonos Premium */
.bonuses-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.bonuses-intro h2 {
  margin-bottom: 15px;
}

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .bonus-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.bonus-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(21, 36, 29, 0.6) 100%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

.bonus-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-gold), #b58d15);
}

.bonus-tag {
  align-self: flex-start;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--primary-gold);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.bonus-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-style: italic;
}

.bonus-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.bonus-list {
  list-style: none;
  margin-bottom: 25px;
}

.bonus-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.bonus-list li::before {
  content: "✨";
  position: absolute;
  left: 0;
  color: var(--primary-gold);
}

.bonus-value {
  margin-top: auto;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.value-strike {
  text-decoration: line-through;
  color: var(--text-muted);
}

.value-free {
  color: var(--primary-gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Bonos Extra Rápidos (Grid de Fichas) */
.extra-bonuses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 576px) {
  .extra-bonuses-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.extra-bonus-card {
  background: rgba(21, 36, 29, 0.4);
  border: 1px solid rgba(35, 60, 48, 0.4);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.extra-bonus-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.extra-bonus-title {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Sección de Testimonios / Opiniones */
.opinions-title {
  text-align: center;
  margin-bottom: 50px;
}

.opinions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .opinions-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.opinion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.opinion-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.opinion-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sección de la Oferta Principal */
.offer-section {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  padding: 100px 0;
}

.offer-box {
  max-width: 650px;
  margin: 0 auto;
  background: linear-gradient(145deg, #101c16 0%, #070c09 100%);
  border: 3px solid var(--primary-gold);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), var(--shadow-gold);
  overflow: hidden;
}

.offer-box::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(212,175,55,0.1) 50%, transparent 55%);
  transform: rotate(45deg);
  animation: shine 4s infinite linear;
  pointer-events: none;
}

.offer-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--red-accent);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  transform: rotate(5deg);
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.offer-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.value-list {
  text-align: left;
  max-width: 420px;
  margin: 0 auto 25px auto;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.value-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.value-item.total {
  font-weight: 700;
  color: var(--text-white);
  font-size: 1.05rem;
}

.price-container {
  margin: 30px 0;
}

.old-price {
  font-size: 1.3rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.new-price {
  font-size: 3.5rem;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--primary-gold);
  line-height: 1;
}

.price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.price-notice {
  font-size: 0.8rem;
  color: var(--light-gold);
  max-width: 450px;
  margin: 15px auto 0 auto;
}

.guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 25px;
}

/* Cuenta Regresiva (Scarcity) */
.countdown-container {
  margin: 25px 0 10px 0;
}

.countdown-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ef4444;
  margin-bottom: 10px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.timer-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: 8px;
  min-width: 50px;
}

.timer-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-white);
}

.timer-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Sección de Garantía */
.guarantee-section {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.guarantee-badge {
  font-size: 4rem;
  margin-bottom: 20px;
  display: inline-block;
  animation: rotate-badge 10s linear infinite;
}

/* Preguntas Frecuentes (FAQs) */
.faq-intro {
  text-align: center;
  margin-bottom: 50px;
}

.faq-container {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-white);
  padding: 22px 25px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-family: var(--font-sans);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-gold);
  transition: transform 0.3s ease;
}

.faq-item.active {
  border-color: rgba(212, 175, 55, 0.3);
  background-color: var(--bg-card-hover);
}

.faq-item.active .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: #040705;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 25px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

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

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-disclaimer {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 25px;
  line-height: 1.5;
}

/* ANIMACIONES */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-button {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes pulse-red {
  0% { opacity: 1; }
  50% { opacity: 0.9; }
  100% { opacity: 1; }
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

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

/* Clases Helper */
.text-center { text-align: center; }
.my-10 { margin-top: 10px; margin-bottom: 10px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
