@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --bg: #1A1C20;
  --surface: #25282F;
  --surface-2: #2A2D34;
  --border: #33373F;
  --border-glow: #D90429;
  --accent: #D90429;
  --accent-rgb: 217, 4, 41;
  --success: #06d6a0;
  --success-rgb: 6, 214, 160;
  --warn: #ffd166;
  --muted: #ADB5BD;
  --text: #F8F9FA;
  --text-white: #ffffff;
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg);
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: var(--bg);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--border);
  border-radius: var(--radius-sm);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg);
}

/* Global Glowing Background Lights */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, rgba(var(--bg), 0) 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--success-rgb), 0.03) 0%, rgba(var(--bg), 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* --- LAYOUT UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-white) 30%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}

.btn-primary:hover {
  background-color: #ff4d5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.45);
}

.btn-secondary {
  background-color: var(--surface);
  border-color: var(--border);
  color: var(--text-white);
}

.btn-secondary:hover {
  background-color: var(--surface-2);
  border-color: #444;
  transform: translateY(-2px);
}

.btn-disabled {
  background-color: #1a1a1a;
  border-color: var(--border);
  color: #555;
  cursor: not-allowed;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  min-width: 180px;
}

/* Activo (link configurado en el admin): app.js le quita .disabled → botón ROJO. */
.store-badge:not(.disabled) {
  background-color: var(--accent);
  border-color: var(--accent);
  cursor: pointer;
}
.store-badge:not(.disabled) i,
.store-badge:not(.disabled) .badge-text,
.store-badge:not(.disabled) .badge-text span {
  color: #fff;
}
.store-badge:hover:not(.disabled) {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.store-badge.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.store-badge i {
  font-size: 1.8rem;
  color: var(--text-white);
}

.store-badge .badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.2;
}

.store-badge .badge-text span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  font-family: var(--font-title);
}

.store-badge .coming-soon {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--surface-2);
  color: var(--warn);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-top: 2px;
  font-weight: 600;
}

/* --- BANNER / AVISOS --- */
.promo-banner {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.15) 0%, rgba(var(--bg), 0) 100%);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.2);
  padding: 12px 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.promo-banner i {
  color: var(--accent);
  animation: float 2s infinite ease-in-out;
}

/* --- NAVBAR --- */
header {
  position: sticky;
  top: 0;
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-white);
}

.logo i {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
}

/* --- ANIMATIONS (Scroll) --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* --- CONTACT FORM SECTION --- */
.contact-section {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form .form-group {
  margin-bottom: 24px;
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-white);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

#contact-status {
  margin-top: 16px;
  font-size: 0.95rem;
  display: none;
}
#contact-status.success {
  display: block;
  color: var(--success);
}
#contact-status.error {
  display: block;
  color: var(--accent);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 120px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-white) 50%, #8a8a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 span {
  color: var(--accent);
  -webkit-text-fill-color: initial;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-wrapper {
  width: 320px;
  height: 650px;
  background-color: #000;
  border-radius: 44px;
  border: 12px solid #222;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9),
              0 0 40px rgba(var(--accent-rgb), 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s infinite ease-in-out;
}

.phone-screen-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
  position: relative;
}

.phone-screen-placeholder i.phone-main-icon {
  font-size: 5rem;
  color: var(--accent);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 15px rgba(var(--accent-rgb), 0.5));
}

.phone-screen-placeholder h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.phone-screen-placeholder p {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 200px;
}

.phone-notch {
  width: 110px;
  height: 25px;
  background-color: #222;
  z-index: 2;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

/* --- GALLERY / INTERACTIVE SHOWCASE --- */
.gallery-section {
  background-color: #0d0d0d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.slides-container {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 40px;
  gap: 40px;
}

.slide-content h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slide-content h3 i {
  color: var(--accent);
}

.slide-content p {
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.slide-features {
  list-style: none;
}

.slide-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--text);
}

.slide-features li i {
  color: var(--success);
  font-size: 1.1rem;
}

.slide-media {
  display: flex;
  justify-content: center;
}

.mockup-screenshot {
  width: 220px;
  height: 440px;
  background-color: var(--surface-2);
  border: 6px solid #222;
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  border: 1px solid var(--border);
}

.mockup-screenshot .screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mockup-screenshot .screenshot-placeholder i {
  font-size: 3rem;
  color: #333;
}

.mockup-screenshot .screenshot-placeholder span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Captura real de la app: cubre el placeholder, que queda de fallback si la
   imagen aún no está subida. app.js oculta la img si su carga falla (404). */
.app-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Showcase de flyers de marketing (imágenes enteras, parte del diseño de la página).
   Nota: los PNG son ~500 KB c/u (sin herramienta de resize disponible); van con
   loading="lazy" y se pueden optimizar/comprimir después. */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.showcase-shot {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.showcase-shot:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(217, 4, 41, 0.25);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--border);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

.slider-btn-prev {
  left: 20px;
}

.slider-btn-next {
  right: 20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #333;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* --- FEATURES GRID --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #3f3f3f;
  box-shadow: var(--shadow);
}

.feature-card:hover::before {
  background-color: var(--accent);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.feature-icon i {
  font-size: 1.8rem;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* --- PRICING SECTION --- */
.pricing-section {
  background-color: #0d0d0d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(var(--accent-rgb), 0.1);
}

.pricing-card.featured .pricing-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--accent);
  color: var(--text-white);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.pricing-name {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-price {
  font-size: 2.5rem;
  color: var(--text-white);
  font-weight: 800;
  margin-bottom: 8px;
  font-family: var(--font-title);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.pricing-description {
  font-size: 0.95rem;
  margin-bottom: 32px;
  min-height: 48px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text);
}

.pricing-features li i {
  color: var(--success);
  font-size: 1.1rem;
  margin-top: 3px;
}

.pricing-features li.disabled {
  color: #555;
  text-decoration: line-through;
}

.pricing-features li.disabled i {
  color: #444;
}

/* --- FAQ SECTION --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  user-select: none;
  font-family: var(--font-title);
  color: var(--text-white);
}

.faq-question i {
  transition: var(--transition);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: rgba(0,0,0,0.1);
}

.faq-answer p {
  padding: 0 24px 24px 24px;
  font-size: 0.95rem;
}

.faq-item.active {
  border-color: #3f3f3f;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* --- FOOTER --- */
footer {
  background-color: #050505;
  border-top: 1px solid var(--border);
  padding: 60px 0 40px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-info p {
  margin-top: 16px;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 1.05rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-title);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text-white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  color: var(--muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--muted);
}

.footer-socials a:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
  transform: translateY(-2px);
}

.admin-portal-link {
  font-size: 0.8rem;
  color: #333;
}

.admin-portal-link:hover {
  color: var(--accent);
}

/* --- ANIMATIONS --- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas, .hero-buttons, .hero-stores {
    justify-content: center;
    align-items: center;
  }

  .hero-mockup {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple burger menu can be styled, or hidden for promo page simplicity */
  }

  .slide {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 30px;
  }

  .slide-media {
    order: -1;
  }

  .mockup-screenshot {
    width: 200px;
    height: 400px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* --- PRICING TOGGLE ADDITIONS --- */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-toggle-container .toggle-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.pricing-toggle-container .toggle-label.active {
  color: var(--text-white);
}

.pricing-toggle-container .discount-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background-color: rgba(6, 214, 160, 0.12);
  color: var(--success);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  border: 1px solid rgba(6, 214, 160, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Specific pricing switch configuration */
.pricing-toggle-container .switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.pricing-toggle-container .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing-toggle-container .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  transition: .4s;
  border-radius: 34px;
}

.pricing-toggle-container .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-white);
  transition: .4s;
  border-radius: 50%;
}

.pricing-toggle-container input:checked + .slider {
  background-color: var(--accent);
  border-color: var(--accent);
}

.pricing-toggle-container input:checked + .slider:before {
  transform: translateX(24px);
}

/* --- MOBILE NAVIGATION TOGGLE BUTTON --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  transition: var(--transition);
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle:hover {
  color: var(--accent);
}

/* --- SUPERPOWERS SECTION --- */
.superpowers-section {
  background-color: var(--bg);
  border-top: 1px solid var(--border);
}

.superpowers-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 20px;
}

.superpower-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.superpower-card.inverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.superpower-card.inverse .superpower-visual {
  order: -1;
}

.superpower-visual {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

.superpower-visual::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.05) 0%, rgba(var(--bg), 0) 70%);
  top: -50px;
  left: -50px;
  pointer-events: none;
}

/* Mock Social Post visual */
.mock-post {
  width: 100%;
  max-width: 380px;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.mock-post:hover {
  transform: translateY(-2px);
  border-color: #3f3f3f;
}

.mock-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.mock-post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--text-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.mock-post-user {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mock-post-user .user-name {
  color: var(--text-white);
  font-weight: 600;
  font-family: var(--font-title);
}

.mock-post-user .post-time {
  font-size: 0.75rem;
  color: var(--muted);
}

.mock-post-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-pr {
  background-color: rgba(230, 57, 70, 0.12);
  color: var(--accent);
  border: 1px solid rgba(230, 57, 70, 0.2);
}

.mock-post-content {
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.5;
}

.mock-post-actions {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.action-item i {
  margin-right: 6px;
}

.text-danger {
  color: var(--accent);
}

.text-warn {
  color: var(--warn);
}

/* Mock Nutrición e IA visual */
.mock-diet {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diet-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.diet-header h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.diet-header h4 i {
  color: var(--success);
}

.diet-header span {
  font-size: 0.78rem;
  color: var(--muted);
}

.diet-result {
  display: flex;
  gap: 12px;
}

.macro-badge {
  flex: 1;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.macro-badge .val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  font-family: var(--font-title);
}

.macro-badge .lbl {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.macro-badge.text-warn .val { color: var(--warn); }
.macro-badge.text-success .val { color: var(--success); }
.macro-badge.text-accent .val { color: #63b3ff; }

.grocery-preview {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.grocery-preview h5 {
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.grocery-preview h5 i {
  color: var(--accent);
}

.grocery-item {
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.grocery-item:last-child {
  margin-bottom: 0;
}

.grocery-item i {
  font-size: 0.95rem;
}

.superpower-info h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.superpower-info h3 i {
  color: var(--accent);
}

.superpower-info p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.superpower-info ul {
  list-style: none;
}

.superpower-info li {
  font-size: 1rem;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.superpower-info li:last-child {
  margin-bottom: 0;
}

.superpower-info li i {
  color: var(--success);
  margin-top: 4px;
  font-size: 1.1rem;
}

/* --- MEDIA QUERY RESPONSIVENESS OVERRIDES --- */
@media (max-width: 992px) {
  .superpower-card, .superpower-card.inverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .superpower-card.inverse .superpower-visual {
    order: 0;
  }

  .superpower-visual {
    min-height: auto;
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 30px 24px;
    gap: 24px;
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    display: block;
    width: 100%;
  }

  .navbar {
    position: relative;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-actions .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   RESPONSIVE MÓVIL — mejoras (2026-07-31)
   ============================================================ */

/* Redes sociales del footer: OCULTAS hasta tener las cuentas (IG / YouTube).
   Para reactivarlas: borra esta regla y pon los enlaces reales en el footer. */
.footer-socials { display: none; }

@media (max-width: 768px) {
  /* En móvil 100px de padding vertical es demasiado aire entre secciones. */
  .section-padding { padding: 64px 0; }

  /* Títulos más contenidos para que no ocupen media pantalla. */
  .hero-content h1 { font-size: 2.4rem; }
  .section-header h2 { font-size: 1.9rem; }
  .section-header p  { font-size: 1rem; }

  /* Showcase de flyers: en vez de una pila altísima (6 imágenes verticales),
     una tira HORIZONTAL deslizable — se ve el primero + un peek del siguiente. */
  .showcase-grid {
    display: flex;
    max-width: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
    scrollbar-width: none;                 /* Firefox */
  }
  .showcase-grid::-webkit-scrollbar { display: none; }   /* WebKit */
  .showcase-shot {
    flex: 0 0 68%;
    scroll-snap-align: center;
  }
}

@media (max-width: 480px) {
  /* Pantallas chicas (iPhone SE, Android compactos). */
  .container { padding: 0 16px; }

  .hero-content h1  { font-size: 2rem; }
  .section-header h2 { font-size: 1.65rem; }

  /* El teléfono del hero (320px + borde) NO cabe en ~320-360px de ancho → escalar. */
  .phone-wrapper {
    width: 260px;
    height: 528px;
    border-width: 10px;
    border-radius: 36px;
  }

  /* Captura del carrusel un poco más chica también. */
  .mockup-screenshot {
    width: 180px;
    height: 360px;
  }

  .showcase-shot { flex: 0 0 78%; }

  /* CTA principal full-width para el pulgar. */
  .btn-lg { width: 100%; justify-content: center; }
}
