/* ==========================================================================
   GASTROCODE - LANDING PAGE SAAS DE MENÚ DIGITAL INTELIGENTE
   Estilo Visual: Apple Style / Clean UI / Minimalista de Alta Gama
   Autor: Senior Frontend & Web Designer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO (DESIGN TOKENS - APPLE PALETTE)
   -------------------------------------------------------------------------- */
:root {
  /* Fondos */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --bg-tertiary: #E8E8ED;
  --bg-card: #FFFFFF;
  --bg-card-subtle: rgba(245, 245, 247, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-dark: rgba(29, 29, 31, 0.82);
  --bg-dark: #1D1D1F;
  --bg-dark-card: #2C2C2E;

  /* Tipografía y Textos */
  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-tertiary: #86868B;
  --text-light: #F5F5F7;
  --text-white: #FFFFFF;

  /* Acentos */
  --accent-apple-blue: #0071E3;
  --accent-apple-blue-hover: #0077ED;
  --accent-apple-blue-subtle: rgba(0, 113, 227, 0.08);
  --accent-emerald: #34C759;
  --accent-emerald-subtle: rgba(52, 199, 89, 0.12);
  --accent-orange: #FF9500;
  --accent-red: #FF3B30;
  --accent-purple: #AF52DE;

  /* Bordes & Sombras */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-glass: rgba(255, 255, 255, 0.4);
  --border-dark-subtle: rgba(255, 255, 255, 0.12);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 980px;

  /* Sombras Apple */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.09);
  --shadow-elevated: 0 30px 60px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
  --shadow-device: 0 40px 90px -20px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.08);
  --shadow-blue-glow: 0 12px 32px -4px rgba(0, 113, 227, 0.35);

  /* Tipografías */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* Layout */
  --container-max-width: 1200px;
  --container-wide-width: 1360px;
  --section-padding-y: 110px;
  --header-height: 52px;

  /* Transiciones */
  --transition-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --speed-fast: 0.2s;
  --speed-normal: 0.35s;
  --speed-slow: 0.6s;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--speed-fast) ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. TIPOGRAFÍA & UTILIDADES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
}

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-apple-blue);
  margin-bottom: 14px;
}

.section-dark .eyebrow {
  color: #64D2FF;
}

.eyebrow-pill {
  padding: 6px 14px;
  background-color: var(--accent-apple-blue-subtle);
  border-radius: var(--radius-pill);
}

.section-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-subtitle {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.section-dark .section-subtitle {
  color: #A1A1A6;
}

.gradient-text {
  background: linear-gradient(135deg, #1D1D1F 30%, #0071E3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #0071E3 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   4. BOTONES & CTAs (APPLE STYLE)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: all var(--speed-normal) var(--transition-apple);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background-color: var(--accent-apple-blue);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-apple-blue-hover);
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  transform: scale(1.02);
}

.btn-ghost {
  background-color: transparent;
  color: var(--accent-apple-blue);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--accent-apple-blue-hover);
}

.btn-ghost .arrow-icon {
  transition: transform var(--speed-fast) ease;
}

.btn-ghost:hover .arrow-icon {
  transform: translateX(4px);
}

.btn-dark {
  background-color: var(--text-primary);
  color: var(--text-white);
}

.btn-dark:hover {
  background-color: #333336;
  transform: scale(1.02);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   5. TOP ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: #1D1D1F;
  color: #F5F5F7;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 9px 16px;
  text-align: center;
  position: relative;
  z-index: 101;
}

.top-bar a {
  color: #64D2FF;
  font-weight: 500;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVEGACIÓN (BLURRED GLASS APPLE STYLE)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: background-color var(--speed-normal) ease, box-shadow var(--speed-normal) ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #1D1D1F 0%, #0071E3 100%);
  color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

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

.nav-item {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-primary);
  opacity: 0.8;
  letter-spacing: -0.01em;
  transition: opacity var(--speed-fast) ease, color var(--speed-fast) ease;
}

.nav-item:hover {
  opacity: 1;
  color: var(--accent-apple-blue);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: transform var(--speed-normal) var(--transition-apple), opacity var(--speed-fast) ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 40px 24px;
  flex-direction: column;
  gap: 24px;
  z-index: 99;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s var(--transition-apple), opacity 0.3s ease;
  pointer-events: none;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-link {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   7. HERO SECTION (MINIMALISTA IMPACTANTE + IPHONE MOCKUP HD)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 80px;
  padding-bottom: 100px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(0, 113, 227, 0.05) 0%, rgba(255, 255, 255, 0) 65%);
  overflow: hidden;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s var(--transition-apple);
}

.hero-badge-tag {
  color: var(--accent-apple-blue);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--transition-apple);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px auto;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.9s var(--transition-apple);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  animation: fadeInUp 1s var(--transition-apple);
}

.hero-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.guarantee-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero Mockup Stage */
.hero-mockup-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  perspective: 1000px;
}

.mockup-ambient-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.18) 0%, rgba(52, 199, 89, 0.08) 40%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.hero-mockup-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --------------------------------------------------------------------------
   8. COMPONENTE HARDWARE: MOCKUP IPHONE 15/16 PRO (CSS PURO HD)
   -------------------------------------------------------------------------- */
.iphone-frame {
  width: 330px;
  height: 680px;
  background: #1C1C1E;
  border-radius: 52px;
  padding: 12px;
  box-shadow: var(--shadow-device);
  position: relative;
  border: 4px solid #3A3A3C; /* Borde Titanio */
  box-sizing: border-box;
  user-select: none;
  transition: transform 0.4s var(--transition-apple);
}

.iphone-frame:hover {
  transform: translateY(-6px);
}

/* Botones laterales simulados */
.iphone-frame::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 110px;
  width: 3px;
  height: 48px;
  background: #3A3A3C;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 60px 0 #3A3A3C, 0 115px 0 #3A3A3C;
}

.iphone-frame::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 150px;
  width: 3px;
  height: 70px;
  background: #3A3A3C;
  border-radius: 0 3px 3px 0;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 27px;
  background: #000000;
  border-radius: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.sensor-camera {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #0F1E36 0%, #05080E 100%);
  border-radius: 50%;
  margin-left: auto;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

/* Barra de estado */
.iphone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 6px 22px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1D1D1F;
  background: #FFFFFF;
  z-index: 10;
}

.status-bar-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Contenido de la Carta Demo en el iPhone */
.phone-menu-app {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #FAF9F6;
  position: relative;
  scrollbar-width: none;
}
.phone-menu-app::-webkit-scrollbar {
  display: none;
}

/* Cabecera del Restaurante en la Carta */
.app-restaurant-header {
  padding: 14px 16px 10px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.restaurant-top-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.table-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #0071E3;
  background: rgba(0, 113, 227, 0.09);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.lang-selector-mini {
  display: flex;
  gap: 4px;
}

.lang-btn {
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #F5F5F7;
  color: #6E6E73;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: #1D1D1F;
  color: #FFFFFF;
}

.app-restaurant-title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1D1D1F;
}

.app-restaurant-meta {
  font-size: 0.6875rem;
  color: #86868B;
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

/* Categorías Horizontales */
.app-categories-strip {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #FFFFFF;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.app-categories-strip::-webkit-scrollbar {
  display: none;
}

.category-chip {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 14px;
  white-space: nowrap;
  background: #F5F5F7;
  color: #6E6E73;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-chip.active {
  background: #0071E3;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 113, 227, 0.25);
}

/* Platos en la Carta del Móvil */
.app-dishes-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dish-card-mobile {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  display: flex;
  gap: 10px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.dish-card-mobile.out-of-stock {
  opacity: 0.55;
  filter: grayscale(0.5);
}

.dish-card-mobile.out-of-stock::after {
  content: "AGOTADO";
  position: absolute;
  top: 8px;
  right: 8px;
  background: #FF3B30;
  color: #FFFFFF;
  font-size: 0.5625rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.dish-thumb-box {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #F5F5F7;
  flex-shrink: 0;
  position: relative;
}

.dish-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-info-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.dish-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}

.dish-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1D1D1F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dish-price {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #0071E3;
}

.dish-desc {
  font-size: 0.6875rem;
  color: #86868B;
  line-height: 1.3;
  margin: 2px 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dish-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dish-badges {
  display: flex;
  gap: 4px;
}

.allergen-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #F5F5F7;
  font-size: 0.5625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6E6E73;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

/* Barra inferior del teléfono */
.phone-bottom-nav {
  padding: 8px 14px 14px 14px;
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.call-waiter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #1D1D1F;
  background: #F5F5F7;
  padding: 6px 10px;
  border-radius: 8px;
}

.bill-summary-btn {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #FFFFFF;
  background: #0071E3;
  padding: 6px 12px;
  border-radius: 8px;
}

.iphone-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: #1D1D1F;
  border-radius: 2px;
}

/* Floating callouts around hero phone */
.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.hero-floating-card.card-left {
  left: -40px;
  top: 25%;
}

.hero-floating-card.card-right {
  right: -40px;
  bottom: 25%;
  animation-delay: 2s;
}

.floating-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.floating-icon.blue {
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent-apple-blue);
}

.floating-icon.green {
  background: rgba(52, 199, 89, 0.12);
  color: var(--accent-emerald);
}

.floating-text-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.floating-text-subtitle {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   9. SOCIAL PROOF & STATS STRIP
   -------------------------------------------------------------------------- */
.stats-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   10. BENTO GRID (APPLE STYLE - CARACTERÍSTICAS PRINCIPALES)
   -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--transition-apple), box-shadow 0.35s var(--transition-apple), border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.12);
}

/* Variantes de columnas del Bento */
.bento-col-8 {
  grid-column: span 8;
}

.bento-col-4 {
  grid-column: span 4;
}

.bento-col-6 {
  grid-column: span 6;
}

.bento-col-12 {
  grid-column: span 12;
}

.bento-card-header {
  margin-bottom: 24px;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-apple-blue);
  margin-bottom: 12px;
}

.bento-title {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.bento-description {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 540px;
}

.bento-visual {
  margin-top: 24px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Bento Card 1: Simulador interactivo en tiempo real */
.interactive-toggle-box {
  width: 100%;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.sync-demo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.sync-dish-title {
  font-weight: 600;
  font-size: 0.9375rem;
}

.sync-dish-price-input {
  width: 70px;
  padding: 6px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-apple-blue);
  text-align: right;
  font-family: inherit;
}

.ios-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
}

.ios-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #E9E9EB;
  transition: .3s;
  border-radius: 28px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .slider-round {
  background-color: var(--accent-emerald);
}

input:checked + .slider-round:before {
  transform: translateX(20px);
}

.sync-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-top: 10px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(52, 199, 89, 0.4);
  animation: pulseGreen 2s infinite;
}

/* Bento Card 2: Multilenguaje */
.lang-flags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.flag-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.flag-card:hover, .flag-card.active {
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
  color: var(--accent-apple-blue);
}

.flag-emoji {
  font-size: 1.25rem;
}

/* Bento Card 3: Cero Descargas QR */
.qr-feature-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.qr-code-box {
  width: 130px;
  height: 130px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.speed-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1D1D1F;
  background: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Bento Card 4: Gestión Integral Tabs */
.sections-chips-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.showcase-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Bento Card 5: Alérgenos Oficiales UE */
.allergen-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.allergen-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Bento Card 6: Analíticas Dashboard Mini */
.mini-analytics-chart {
  width: 100%;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 20px;
}

.analytics-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.analytics-big-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.analytics-trend {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.mini-bars-graph {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
}

.mini-bar {
  flex: 1;
  background: #E5E5EA;
  border-radius: 4px;
  transition: height 0.3s ease, background-color 0.2s ease;
}

.mini-bar.highlight {
  background: var(--accent-apple-blue);
}

/* --------------------------------------------------------------------------
   11. SECCIÓN DEMO DUAL: CLIENTE VS PANEL DE CONTROL (INTERACTIVO)
   -------------------------------------------------------------------------- */
.dual-demo-container {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
}

/* Dispositivo 1: Teléfono del Cliente */
.phone-perspective-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-caption {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Dispositivo 2: Laptop / Panel Web Mockup */
.laptop-mockup-frame {
  width: 100%;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: var(--shadow-device);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.laptop-window-header {
  background: #F5F5F7;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #FF5F56; }
.dot-yellow { background-color: #FFBD2E; }
.dot-green { background-color: #27C93F; }

.window-address-bar {
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 6px;
  padding: 3px 16px;
  font-size: 0.6875rem;
  color: #86868B;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 260px;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.admin-dashboard-body {
  display: flex;
  height: 520px;
  background: #FBFBFD;
}

/* Admin Sidebar */
.admin-sidebar {
  width: 180px;
  background: #FFFFFF;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6E6E73;
  transition: all 0.2s ease;
  cursor: pointer;
}

.admin-nav-item.active {
  background: rgba(0, 113, 227, 0.08);
  color: #0071E3;
  font-weight: 600;
}

/* Admin Main Content */
.admin-main-panel {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.admin-top-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-page-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1D1D1F;
}

.admin-stats-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.admin-mini-stat {
  background: #FFFFFF;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.mini-stat-title {
  font-size: 0.6875rem;
  color: #86868B;
  margin-bottom: 4px;
}

.mini-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1D1D1F;
}

/* Interactive Dish Editor in Admin */
.admin-table-container {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 16px;
}

.admin-interactive-dish-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.admin-interactive-dish-row:last-child {
  border-bottom: none;
}

.dish-admin-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dish-admin-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.dish-admin-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1D1D1F;
}

.dish-admin-cat {
  font-size: 0.6875rem;
  color: #86868B;
}

.dish-admin-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quick-action-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-toggle-stock {
  background: rgba(255, 59, 48, 0.1);
  color: #FF3B30;
}
.btn-toggle-stock:hover {
  background: #FF3B30;
  color: #FFFFFF;
}

.btn-toggle-stock.active-out {
  background: rgba(52, 199, 89, 0.15);
  color: #34C759;
}

/* --------------------------------------------------------------------------
   12. CASOS DE USO / EVENTOS Y PROMOCIONES
   -------------------------------------------------------------------------- */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.use-case-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--transition-apple), box-shadow 0.35s var(--transition-apple);
  display: flex;
  flex-direction: column;
}

.use-case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.use-case-media {
  height: 220px;
  position: relative;
  background-color: #E8E8ED;
  overflow: hidden;
}

.use-case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.use-case-card:hover .use-case-img {
  transform: scale(1.05);
}

.use-case-badge-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(29, 29, 31, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.use-case-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.use-case-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.use-case-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.use-case-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-apple-blue);
}

/* --------------------------------------------------------------------------
   13. PLANES Y PRECIOS
   -------------------------------------------------------------------------- */
.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
}

.pricing-toggle-btn {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.pricing-toggle-btn.active {
  color: var(--text-primary);
  font-weight: 700;
}

.pricing-switch {
  position: relative;
  width: 52px;
  height: 30px;
  background: #E5E5EA;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pricing-switch.checked {
  background-color: var(--accent-apple-blue);
}

.pricing-switch-handle {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--transition-apple);
}

.pricing-switch.checked .pricing-switch-handle {
  transform: translateX(22px);
}

.savings-badge {
  background: rgba(52, 199, 89, 0.12);
  color: #248A3D;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--transition-apple), box-shadow 0.35s var(--transition-apple);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border: 2px solid var(--accent-apple-blue);
  box-shadow: var(--shadow-blue-glow);
  transform: scale(1.02);
}
.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-apple-blue);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0, 113, 227, 0.3);
}

.pricing-plan-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 42px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-amount {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.feature-check-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-apple-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card-footer {
  margin-top: auto;
}

.guarantee-note-box {
  margin-top: 48px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   14. FAQ (PREGUNTAS FRECUENTES - ACORDEÓN APPLE)
   -------------------------------------------------------------------------- */
.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  transition: transform 0.3s var(--transition-apple);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-apple-blue);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-apple), padding 0.3s ease;
  padding: 0 28px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer-panel {
  max-height: 300px;
  padding-bottom: 24px;
}

/* --------------------------------------------------------------------------
   15. BANNER CTA FINAL
   -------------------------------------------------------------------------- */
.cta-banner-card {
  background: linear-gradient(135deg, #1D1D1F 0%, #0B192C 100%);
  color: var(--text-white);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.cta-banner-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-banner-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.cta-banner-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: #A1A1A6;
  max-width: 620px;
  margin: 0 auto 36px auto;
  position: relative;
  z-index: 2;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   16. FOOTER (APPLE CLEAN UI)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 60px;
  padding-bottom: 40px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.footer-top-links {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-col p {
  margin-top: 12px;
  line-height: 1.5;
  max-width: 280px;
  color: var(--text-secondary);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-apple-blue);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 18px;
}

.footer-legal-link {
  color: var(--text-tertiary);
}
.footer-legal-link:hover {
  text-decoration: underline;
}

.lang-selector-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   17. MODAL DE CÓDIGO QR INTERACTIVO
   -------------------------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-device);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s var(--transition-apple);
}

.modal-overlay.active .modal-content-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-qr-frame {
  margin: 24px auto;
  width: 200px;
  height: 200px;
  background: #FAF9F6;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   18. ANIMACIONES
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-12px);
  }
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(52, 199, 89, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
  }
}

/* Scroll reveal utility */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--transition-apple), transform 0.8s var(--transition-apple);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE / MEDIA QUERIES (MOBILE FIRST COMPATIBILITY)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .bento-col-8 {
    grid-column: span 12;
  }
  .bento-col-4 {
    grid-column: span 6;
  }
  .bento-col-6 {
    grid-column: span 12;
  }

  .dual-demo-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding-y: 72px;
  }

  .nav-links,
  .nav-actions .btn-secondary {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-drawer {
    display: flex;
  }

  .hero-floating-card {
    display: none; /* Hide floating pills on small mobile to keep hero clean */
  }

  .iphone-frame {
    width: 300px;
    height: 620px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .bento-col-4 {
    grid-column: span 12;
  }

  .admin-dashboard-body {
    flex-direction: column;
    height: auto;
  }

  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .admin-stats-overview {
    grid-template-columns: 1fr;
  }

  .footer-top-links {
    grid-template-columns: 1fr;
  }
  .footer-brand-col {
    grid-column: span 1;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
