/* ==========================================================================
   COMPRA CONCIENCIA — MODERN DESIGN SYSTEM & STYLESHEET (FASE BETA)
   Aesthetics: Crystal Water, Forest Greens, High-Contrast Glassmorphism
   ========================================================================== */

:root {
  /* Colors */
  --primary-50: #ecfdf5;
  --primary-100: #d1fae5;
  --primary-200: #a7f3d0;
  --primary-300: #6ee7b7;
  --primary-400: #34d399;
  --primary-500: #10b981;
  --primary-600: #059669;
  --primary-700: #047857;
  --primary-800: #065f46;
  --primary-900: #064e3b;

  --cyan-50: #ecfeff;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-900: #164e63;

  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  
  --danger-50: #fef2f2;
  --danger-100: #fee2e2;
  --danger-500: #ef4444;
  --danger-600: #dc2626;
  --danger-700: #b91c1c;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(6, 78, 59, 0.25);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.45);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.45);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: var(--slate-50);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   Typography & High-Contrast Helpers
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-900);
}

.text-white {
  color: #ffffff !important;
}

.text-white-bold {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.text-light {
  color: #f1f5f9 !important;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #22d3ee 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section {
  padding-block: 5.5rem;
  position: relative;
}

.section-header {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-700);
  background-color: var(--primary-100);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-badge.badge-green {
  color: var(--primary-800);
  background-color: #dcfce7;
  border-color: #bbf7d0;
}

.section-badge.badge-cyan {
  color: var(--cyan-900);
  background-color: var(--cyan-50);
  border-color: var(--cyan-400);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   BETA Badges
   ========================================================================== */
.badge-beta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.55rem;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
  animation: pulseGlow 2.5s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 4px rgba(245, 158, 11, 0.4); }
  100% { box-shadow: 0 0 12px rgba(245, 158, 11, 0.7); }
}

.pill-beta-tag {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--slate-800);
  color: #ffffff;
}

.btn-secondary:hover {
  background: var(--slate-900);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 80%
  );
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.75s ease;
}

.btn-glow:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-main-text {
  font-size: 1.05rem;
  line-height: 1.2;
}

.btn-sub-text {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 400;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-wrapper {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-icon-wrapper {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-500), var(--cyan-500));
  border-radius: var(--radius-sm);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.brand-icon {
  width: 1.4rem;
  height: 1.4rem;
}

.brand-leaf {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.9rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--slate-500);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-600);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-500);
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-600);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--slate-800);
}

/* ==========================================================================
   SECCIÓN 1: HERO
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 7.5rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  background-image: url('../assets/images/hero_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 78, 59, 0.94) 0%,
    rgba(15, 23, 42, 0.9) 55%,
    rgba(22, 78, 99, 0.92) 100%
  );
  z-index: 1;
}

.hero-ambient-glow {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1.15rem;
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.75rem;
}

.pill-text {
  color: #f1f5f9;
}

.hero-title {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.4;
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.hero-subtitle strong {
  font-weight: 700;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--cyan-400);
}

.hero-description {
  font-size: 1.1rem;
  color: #f8fafc;
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: #e2e8f0;
}

.stat-divider {
  width: 1px;
  height: 2.2rem;
  background-color: rgba(255, 255, 255, 0.25);
}

/* Hero Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-frame {
  width: 320px;
  height: 590px;
  background: #0f172a;
  border: 10px solid #334155;
  border-radius: 42px;
  box-shadow: var(--shadow-2xl), 0 0 50px rgba(16, 185, 129, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mockup-speaker {
  width: 90px;
  height: 18px;
  background: #1e293b;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.mockup-screen {
  flex: 1;
  background: #0a0f1d;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.scanner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  font-size: 0.8rem;
  color: #f1f5f9;
}

.scanner-brand-inline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mockup-header-icon {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

.scanner-app-name {
  font-weight: 700;
  color: #34d399;
}

.scanner-beta-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  background: var(--amber-500);
  color: #ffffff;
  border-radius: var(--radius-full);
}

.scanner-viewport {
  position: relative;
  height: 230px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.scanner-target-box {
  width: 170px;
  height: 120px;
  position: relative;
}

.corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #34d399;
}

.top-left { top: 0; left: 0; border-top: 3px solid; border-left: 3px solid; }
.top-right { top: 0; right: 0; border-top: 3px solid; border-right: 3px solid; }
.bottom-left { bottom: 0; left: 0; border-bottom: 3px solid; border-left: 3px solid; }
.bottom-right { bottom: 0; right: 0; border-bottom: 3px solid; border-right: 3px solid; }

.laser-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ef4444, #10b981, transparent);
  box-shadow: 0 0 12px #10b981;
  animation: scanLaser 2.2s ease-in-out infinite alternate;
}

@keyframes scanLaser {
  0% { top: 5%; opacity: 0.4; }
  50% { opacity: 1; }
  100% { top: 90%; opacity: 0.4; }
}

.scanner-product-preview {
  margin-top: 1rem;
}

.barcode-visual {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.barcode-lines {
  font-family: monospace;
  letter-spacing: 2px;
  font-size: 1.1rem;
  display: block;
}

.barcode-code {
  font-size: 0.75rem;
  font-family: monospace;
  color: #67e8f9;
}

.scanner-result-card {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.result-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
}

.result-badge-tag.danger {
  background-color: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.6);
}

.result-badge-tag .badge-icon {
  width: 0.8rem;
  height: 0.8rem;
}

.result-title {
  font-size: 0.85rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.result-company {
  font-size: 0.75rem;
  display: flex;
  gap: 0.35rem;
}

.company-label {
  color: #cbd5e1;
}

.highlight-danger {
  color: #f87171;
  font-weight: 700;
}

.result-decision-tip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  color: #67e8f9;
}

.result-decision-tip .tip-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  font-size: 0.85rem;
  z-index: 5;
}

.floating-badge small {
  display: block;
  font-size: 0.72rem;
  color: #cbd5e1;
}

.badge-top-right {
  top: 10%;
  right: -25px;
  animation: floatTop 4s ease-in-out infinite alternate;
}

.badge-bottom-left {
  bottom: 8%;
  left: -25px;
  animation: floatBottom 4s ease-in-out infinite alternate 1s;
}

.badge-emoji {
  font-size: 1.5rem;
}

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

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

/* ==========================================================================
   SECCIÓN 2: ¿QUÉ HACE LA APP? (3 TARJETAS CON IMÁGENES)
   ========================================================================== */
.section-features {
  background-color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.card-image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--slate-100);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.feature-card:hover .card-img {
  transform: scale(1.08);
}

.card-step-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.card-step-badge.badge-alert {
  background: rgba(220, 38, 38, 0.9);
}

.card-step-badge.badge-success {
  background: rgba(5, 150, 105, 0.9);
}

.card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-emoji {
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.35rem;
  color: var(--slate-900);
}

.card-description {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.875rem;
  color: var(--slate-700);
  font-weight: 500;
}

.card-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-check {
  width: 1rem;
  height: 1rem;
  color: var(--primary-600);
  stroke-width: 3;
}

/* ==========================================================================
   SECCIÓN 3: CÓMO FUNCIONA LA APP & VIDEO PLACEHOLDER
   ========================================================================== */
.section-how-it-works {
  background: linear-gradient(180deg, var(--slate-100) 0%, var(--primary-50) 100%);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.workflow-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.workflow-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.workflow-step-item:hover {
  transform: translateX(6px);
  border-color: var(--primary-400);
  box-shadow: var(--shadow-md);
}

.wf-icon-box {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-md);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wf-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.wf-step-tag {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--slate-900);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-title {
  font-size: 1.1rem;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}

.wf-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Video Placeholder Container */
.video-placeholder-container {
  display: flex;
  justify-content: center;
}

.video-box-frame {
  width: 100%;
  min-height: 380px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  border: 2px solid #334155;
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
}

.video-overlay-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 420px;
}

.video-play-button-pulse {
  position: relative;
  margin-bottom: 0.5rem;
}

.video-play-icon-circle {
  width: 4.5rem;
  height: 4.5rem;
  background: linear-gradient(135deg, var(--danger-500), #dc2626);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.5);
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.video-play-icon-circle:hover {
  transform: scale(1.1);
}

.video-play-svg {
  width: 1.75rem;
  height: 1.75rem;
  margin-left: 3px;
}

.video-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #67e8f9;
}

.video-placeholder-title {
  font-size: 1.35rem;
  color: #ffffff;
}

.video-placeholder-text {
  font-size: 0.9rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.video-specs-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

.yt-icon {
  width: 1rem;
  height: 1rem;
  color: #ef4444;
}

/* ==========================================================================
   SECCIÓN 4: AGRADECIMIENTO Y AVISO OPEN FOOD FACTS (ALTO CONTRASTE)
   ========================================================================== */
.section-off-thanks {
  background-color: #ffffff;
}

.off-hero-card {
  background: linear-gradient(135deg, #091e17 0%, #064e3b 50%, #0b1e33 100%);
  border-radius: var(--radius-xl);
  padding: 4.5rem;
  color: #ffffff !important;
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 2.5rem;
}

.off-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.off-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 1.15rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: #22d3ee;
  margin-bottom: 1.5rem;
}

.off-badge-logo-img {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #ffffff;
}

.off-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: #ffffff !important;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.off-highlight {
  color: #34d399 !important;
  text-decoration: underline;
  text-decoration-color: #22d3ee;
}

.off-statement {
  font-size: 1.2rem;
  line-height: 1.65;
  color: #ffffff !important;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

.off-statement strong {
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #34d399;
}

.off-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.off-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.3);
  border: 1px solid rgba(52, 211, 153, 0.6);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.b-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.off-benefit-item h4 {
  font-size: 1.05rem;
  color: #ffffff !important;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.off-benefit-item p {
  font-size: 0.92rem;
  color: #f1f5f9 !important;
  line-height: 1.4;
}

.off-illustration-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.off-brand-official-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.off-official-logo {
  height: 2.2rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.off-card-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.off-illustration-card:hover .off-card-img {
  transform: scale(1.05);
}

.off-floating-stat {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  color: #ffffff;
}

.stat-icon {
  font-size: 1.75rem;
}

.off-floating-stat strong {
  color: #ffffff;
}

.off-floating-stat small {
  display: block;
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* Disclaimer / Warning on Open Food Facts Data Card */
.off-disclaimer-card {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  background: #fffbeb;
  border: 2px solid #fcd34d;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.disclaimer-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  background: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.disclaimer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.disclaimer-icon {
  width: 1.85rem;
  height: 1.85rem;
}

.disclaimer-content {
  flex: 1;
}

.disclaimer-title {
  font-size: 1.25rem;
  color: #92400e;
  margin-bottom: 0.6rem;
}

.disclaimer-text {
  font-size: 0.95rem;
  color: #78350f;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.disclaimer-text strong {
  color: #451a03;
}

.disclaimer-action-row {
  margin-top: 1.25rem;
}

/* ==========================================================================
   SECCIÓN 5: CÓMO AYUDAR A OPEN FOOD FACTS
   ========================================================================== */
.section-contribute {
  background-color: var(--slate-50);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-400);
}

.step-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-300);
}

.step-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.step-lucide-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--slate-900);
}

.step-text {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.5;
}

.contribute-callout {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  border-radius: var(--radius-xl);
  padding: 3.25rem 2rem;
  color: #ffffff !important;
  box-shadow: var(--shadow-xl);
}

.callout-inner {
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.callout-text h3 {
  font-size: 1.85rem;
  color: #ffffff !important;
  margin-bottom: 0.5rem;
}

.callout-text p {
  font-size: 1.1rem;
  color: #f1f5f9 !important;
}

/* ==========================================================================
   SECCIÓN 6: CONTACTO & FOOTER
   ========================================================================== */
.section-contact {
  background-color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-sm);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.contact-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--slate-900);
}

.contact-item p {
  font-size: 0.85rem;
  color: var(--slate-600);
}

.beta-status-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, #fef3c7 0%, #ecfdf5 100%);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.beta-card-icon {
  font-size: 2rem;
}

.beta-card-text strong {
  font-size: 1rem;
  color: #92400e;
  font-family: var(--font-display);
}

.beta-card-text p {
  font-size: 0.85rem;
  color: #451a03;
  line-height: 1.4;
  margin-top: 0.2rem;
}

/* Contact Form Card */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
}

.form-card-title {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.form-card-subtitle {
  font-size: 0.95rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--slate-400);
  pointer-events: none;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.85rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--slate-800);
  transition: all var(--transition-fast);
}

.form-textarea {
  padding-left: 1rem;
  resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: #ffffff;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100);
}

.form-input.error, .form-textarea.error {
  border-color: var(--danger-500);
  background-color: var(--danger-50);
}

.error-msg {
  display: none;
  font-size: 0.78rem;
  color: var(--danger-600);
  font-weight: 500;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-feedback-toast {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  animation: fadeIn 0.4s ease;
}

.toast-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary-600);
  flex-shrink: 0;
}

/* ==========================================================================
   Footer (Alto Contraste)
   ========================================================================== */
.site-footer {
  background: var(--slate-950);
  color: #e2e8f0;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--slate-800);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--slate-800);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: block;
}

.brand-leaf-lg {
  font-size: 1.75rem;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff !important;
}

.footer-tagline {
  font-size: 0.95rem;
  color: #cbd5e1 !important;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 1.5rem;
}

.footer-beta-badge {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fcd34d;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-col-title {
  font-size: 1.05rem;
  color: #ffffff !important;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #34d399;
  padding-left: 4px;
}

.footer-legal-text {
  font-size: 0.88rem;
  color: #94a3b8 !important;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.copyright {
  color: #cbd5e1 !important;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #34d399;
}

.back-to-top:hover {
  color: #6ee7b7;
}

.top-icon {
  width: 1rem;
  height: 1rem;
}

/* Global Toast Popup */
.global-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--slate-900);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--primary-500);
  z-index: 999;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--transition-normal);
  pointer-events: none;
}

.global-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.global-toast-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-400);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-pill, .hero-description {
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-inline: auto;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

  .off-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--slate-200);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    opacity: 0;
    visibility: hidden;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .mobile-toggle {
    display: block;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .mockup-frame {
    width: 290px;
    height: 560px;
  }

  .off-hero-card {
    padding: 2.5rem 1.5rem;
  }

  .off-disclaimer-card {
    flex-direction: column;
    padding: 1.75rem;
  }

  .form-card {
    padding: 2rem 1.5rem;
  }
}
