/* =========================================
   VARIABLES & GLOBALS
========================================= */
:root {
  /* Colors - Premium Dark Mode */
  --color-bg: #0B0F19; /* Very dark blue/slate */
  --color-bg-darker: #06090F; /* Even darker for contrast sections */
  
  --color-primary: #10B981; /* Emerald Green */
  --color-primary-light: #34D399;
  --color-primary-dark: #059669;
  
  --color-accent: #F59E0B; /* Premium Gold */
  --color-accent-light: #FCD34D;
  --color-accent-dark: #D97706;
  
  --color-text: #F3F4F6;
  --color-text-muted: #9CA3AF;
  --color-white: #FFFFFF;
  
  --color-glass-bg: rgba(30, 41, 59, 0.6);
  --color-glass-border: rgba(255, 255, 255, 0.08);
  --color-glass-highlight: rgba(16, 185, 129, 0.15);
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-headings: 'Outfit', sans-serif;
  
  /* Shadows & Glows */
  --shadow-glow-primary: 0 0 40px rgba(16, 185, 129, 0.2);
  --shadow-glow-accent: 0 0 40px rgba(245, 158, 11, 0.2);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================================
   TYPOGRAPHY & UTILS
========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}

.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.7; }

.text-center { text-align: center; }
.align-center { align-items: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.pb-4 { padding-bottom: 4rem; }

.img-fluid { max-width: 100%; height: auto; }
.rounded-xl { border-radius: 16px; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.max-w-lg { max-width: 900px; margin: 0 auto; }
.max-w-md { max-width: 800px; margin: 0 auto; }

.relative { position: relative; }
.absolute { position: absolute; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }

/* =========================================
   COMPONENTS
========================================= */

/* Top Banner */
.top-banner {
  background: linear-gradient(90deg, #b91c1c, #dc2626);
  color: white;
  padding: 8px 0;
  z-index: 1000;
  position: relative;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 10px #fff;
  animation: pulse-dot-anim 1.5s infinite;
}

@keyframes pulse-dot-anim {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-glass-border);
  padding: 1rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-headings);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary-light);
}

@media (max-width: 768px) {
  .hidden-mobile { display: none; }
}

/* Buttons */
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(5, 150, 105, 0.5);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: white;
}

.btn-large {
  font-size: 1.25rem;
  padding: 1.25rem 3rem;
  border-radius: 16px;
}

.btn-small {
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
}

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

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

/* Glass Card */
.glass-card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.4);
}

.glass-card h3 {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.glass-card ul {
  padding-left: 0;
}

.glass-card ul li {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.glass-card ul li i {
  color: var(--color-primary);
  margin-top: 4px;
  margin-right: 10px;
}

/* =========================================
   SECTIONS
========================================= */
section {
  padding: 6rem 0;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.section-title .subtitle {
  color: var(--color-text-muted);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Hero */
#hero {
  position: relative;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.5rem; }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.price-box {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem;
}

.precio-tachado {
  text-decoration: line-through;
  color: var(--color-text-muted);
  font-size: 1.2rem;
}

.precio-destacado {
  color: var(--color-accent);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-headings);
}

.secure-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.secure-text i { color: #10B981; margin-right: 5px; }

/* Hero Image & Glows */
.hero-image-wrapper {
  position: relative;
  perspective: 1000px;
}

.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
  filter: blur(40px);
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 16px;
  transform: rotateY(-5deg) rotateX(5deg);
  box-shadow: 20px 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: rotateY(0) rotateX(0);
}

/* Social Proof Ribbon */
.social-proof-ribbon {
  background: var(--color-bg-darker);
  border-top: 1px solid var(--color-glass-border);
  border-bottom: 1px solid var(--color-glass-border);
  padding: 1.5rem 0;
}

.social-proof-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.social-proof-container i {
  color: var(--color-primary);
  margin-right: 6px;
  font-size: 1.1rem;
}

.dot-separator {
  color: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .dot-separator { display: none; }
}

/* Grids */
.grid-2 {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr;
}

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

.grid-3 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Check Lists */
.check-list {
  list-style: none;
}
.check-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: var(--color-text);
}
.check-list i {
  color: var(--color-primary);
  margin-right: 12px;
  font-size: 1.25rem;
}

.shadow-glow {
  box-shadow: var(--shadow-glow-primary);
}

/* Background Accents */
.bg-glow-accent, .bg-glow-primary {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: 0;
  opacity: 0.15;
}
.bg-glow-accent {
  background: var(--color-accent);
  top: -100px;
  left: -100px;
}
.bg-glow-primary {
  background: var(--color-primary);
  bottom: -100px;
  right: -100px;
}

/* Bonos Card tweaks */
.badge-gratis {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--color-accent);
  color: #000;
  font-weight: 800;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transform: rotate(5deg);
}

.bono-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.glass-card:hover .bono-img {
  transform: scale(1.05);
}

/* Oferta Image */
.oferta-heading {
  font-size: 3rem;
  font-family: var(--font-headings);
}
.oferta-image {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-glow-accent);
}

/* Garantia */
.garantia-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(30,41,59,0.8), rgba(15,23,42,0.9));
}

@media (min-width: 768px) {
  .garantia-box {
    flex-direction: row;
    padding: 3rem;
  }
}

.garantia-img-wrapper {
  flex: 0 0 150px;
}

.garantia-content {
  flex: 1;
}

.pulse-slow {
  animation: pulse-slow-anim 4s infinite;
}

@keyframes pulse-slow-anim {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(245,158,11,0.4)); }
  100% { transform: scale(1); }
}

/* Testimonios */
.testimonial-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-glass-border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial-img:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
}

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

.faq-item.active {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(30, 41, 59, 0.8);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-white);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-glass-border);
  background: var(--color-bg-darker);
}

.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1) opacity(0.5);
  margin-bottom: 1.5rem;
}

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

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem;
  z-index: 1000;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.sticky-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .mobile-sticky-bar { display: none; }
}

/* =========================================
   ANIMATIONS (AOS Custom)
========================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }