:root {
  --primary: #ff6b00;
  --primary-glow: rgba(255, 107, 0, 0.3);
  --bg: #ffffff;
  --surface: #f8f9fa;
  --text: #111827;
  --text-muted: #6b7280;
  --glass: rgba(255, 255, 255, 0.8);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #030712;
    --surface: #111827;
    --text: #f9fafb;
    --text-muted: #9ca3af;
    --glass: rgba(17, 24, 39, 0.8);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  scroll-behavior: smooth;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero {
  padding: 100px 0 60px;
  text-align: center;
  background: radial-gradient(
    circle at 50% 0%,
    var(--primary-glow),
    transparent 70%
  );
}
.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.btn-main {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: white;
  padding: 20px 40px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 25px -5px var(--primary-glow);
}
.btn-main:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 30px -5px var(--primary-glow);
}

/* AMAZON PROMO */
.amazon-promo {
  padding: 40px 0;
  background: var(--bg);
}

.promo-card {
  background: linear-gradient(135deg, #232f3e 0%, #131921 100%);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  overflow: hidden;
  position: relative;
}

.promo-content {
  flex: 1;
  z-index: 2;
}

.promo-tag {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}

.promo-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: white;
}

.promo-card p {
  color: #9ca3af;
  margin-bottom: 24px;
  max-width: 450px;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff9900; /* Color corporativo de Amazon */
  color: #000 !important;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s;
}

.btn-amazon:hover {
  transform: scale(1.05);
  background: #ffb347;
}

.icon-cart {
  width: 20px;
  height: 20px;
}

/* Decoración visual de la baliza */
.promo-visual {
  flex: 0 0 150px;
  display: flex;
  justify-content: center;
  position: relative;
}

.beacon-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 50px var(--primary);
  animation: pulse-beacon 2s infinite;
}

@keyframes pulse-beacon {
  0% {
    transform: scale(1);
    opacity: 0.8;
    box-shadow: 0 0 20px var(--primary);
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 0 60px var(--primary);
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
    box-shadow: 0 0 20px var(--primary);
  }
}

@media (max-width: 600px) {
  .promo-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .promo-visual {
    margin-top: 30px;
    order: -1;
  }
  .promo-card p {
    margin: 0 auto 24px;
  }
}

/* FAQ */
.faq-section {
  padding: 80px 0;
  background: var(--surface);
  border-radius: 48px 48px 0 0;
  margin-top: 40px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.02em;
}
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
article {
  background: var(--bg);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}
article p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* FOOTER */
.site-footer {
  background: var(--surface);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}
.footer-logo span {
  color: var(--primary);
}
.footer-links {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}
.sep {
  color: var(--text-muted);
  opacity: 0.5;
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* COOKIES */
.cookie-banner {
  position: fixed;
  bottom: -200px; /* Oculto al inicio */
  left: 0;
  right: 0;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 107, 0, 0.2);
  padding: 15px 0;
  z-index: 9999;
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
}

.btn-cookie {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.2s;
  white-space: nowrap;
}

.btn-cookie:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .cookie-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ANIMATIONS */
.scroll-hint {
  margin-top: 60px;
  animation: bounce 2s infinite;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@media (min-width: 768px) {
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas */
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
