:root {
  --bg-primary: #07090e;
  --bg-secondary: #0c0f17;
  --bg-card: rgba(18, 22, 34, 0.75);
  --bg-card-hover: rgba(26, 32, 48, 0.9);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(163, 230, 53, 0.4);
  
  --accent-lime: #a3e635;
  --accent-lime-glow: rgba(163, 230, 53, 0.25);
  --accent-sky: #38bdf8;
  --accent-sky-glow: rgba(56, 189, 248, 0.2);
  --accent-purple: #a855f7;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background Atmosphere Glows */
.bg-glow-1 {
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.12) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 80%);
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-2 {
  position: fixed;
  bottom: 10%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
  filter: blur(160px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* Top Announcement Banner (Addon: Entrega Exprés & SSL) */
.top-bar {
  background: rgba(12, 15, 23, 0.95);
  border-bottom: 1px solid var(--border-color);
  font-size: 11px;
  padding: 8px 0;
  backdrop-blur: 12px;
  position: relative;
  z-index: 50;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-left, .top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-ingredient {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(163, 230, 53, 0.12);
  color: var(--accent-lime);
  border: 1px solid rgba(163, 230, 53, 0.3);
}

.badge-sky {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-sky);
  border-color: rgba(56, 189, 248, 0.3);
}

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

/* Main Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.25), rgba(56, 189, 248, 0.25));
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-lime);
  box-shadow: 0 0 20px var(--accent-lime-glow);
}

.brand-text h1 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-text span {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher (Addon: Bilingüe $20) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 3px;
  cursor: pointer;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--accent-lime);
  color: #000;
  box-shadow: 0 0 10px var(--accent-lime-glow);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-lime);
  color: #000;
  font-weight: 800;
  font-size: 12px;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 25px var(--accent-lime-glow);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(163, 230, 53, 0.5);
  background: #bef264;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(163, 230, 53, 0.08);
  border: 1px solid var(--border-highlight);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-lime);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-lime) 75%, var(--accent-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Interactive Metrics Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(12px);
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.metric-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.metric-val {
  font-size: 28px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #fff;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

/* Feature Showcase Grid (Ingredientes) */
.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-sky);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 30px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-lime);
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-action {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Interactive Checkout Modal (Addon: Pasarela de Pagos $80) */
.checkout-preview {
  background: #0f131d;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  margin-top: 20px;
}

.payment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.payment-tab {
  flex: 1;
  padding: 8px;
  text-align: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-tab.active {
  background: rgba(163, 230, 53, 0.15);
  border-color: var(--accent-lime);
  color: var(--accent-lime);
}

/* Interactive FAQ Accordion (Addon: FAQ $10) */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: var(--border-highlight);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  user-select: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* Interactive Floating WhatsApp (Addon: WhatsApp $15) */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  font-size: 13px;
  font-weight: 800;
  transition: all 0.25s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

/* AI Assistant Widget Flotante (Addon: Asistente IA Gemini $60) */
.ai-widget-button {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #fff;
  padding: 12px 20px;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.35);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s;
}

.ai-widget-button:hover {
  transform: scale(1.05);
}

.ai-modal-box {
  position: fixed;
  bottom: 84px;
  left: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: #0f131d;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  z-index: 110;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.ai-modal-box.open {
  display: flex;
}

.ai-header {
  padding: 16px 20px;
  background: rgba(56, 189, 248, 0.1);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-body {
  padding: 16px;
  height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-msg {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
  max-width: 85%;
}

.ai-msg.bot {
  background: rgba(255, 255, 255, 0.05);
  align-self: flex-start;
  color: #e2e8f0;
}

.ai-msg.user {
  background: var(--accent-sky);
  color: #000;
  align-self: flex-end;
  font-weight: 600;
}

.ai-footer {
  padding: 12px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
}

.ai-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  outline: none;
}

/* PWA App Install Banner (Addon: PWA $100) */
.pwa-banner {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.15), rgba(56, 189, 248, 0.15));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

/* Instagram Feed Simulation (Addon: Feed $25) */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.insta-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #181d2a;
  border: 1px solid var(--border-color);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insta-item:hover img {
  transform: scale(1.08);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: opacity 0.25s ease;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

/* Toast Notification (Addon: n8n $50) */
.toast-n8n {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 200;
  background: #10141f;
  border: 1px solid #f59e0b;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.25);
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  max-width: 380px;
}

.toast-n8n.show {
  display: flex;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .nav-links {
    display: none;
  }
  .ai-widget-button {
    bottom: 84px;
  }
}
