/* ==========================================================================
   MiAsisMed LANDING PAGE - PREMIUM STYLES (web3)
   Design System: Nocturnal Glassmorphism, Kinetic Glow & Cockpit Precision
   ========================================================================== */

/* Local Variable Fonts - Instant 0ms Load & Zero FOUT */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../assets/fonts/Outfit-Variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../assets/fonts/Inter-Variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
  src: url('../assets/fonts/PlusJakartaSans-Variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Color Tokens */
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(20, 184, 166, 0.35);
  
  --primary-teal: #14b8a6;
  --primary-teal-dark: #0d9488;
  --primary-teal-light: #5eead4;
  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows & Depth */
  --shadow-glow: 0 0 40px rgba(20, 184, 166, 0.25);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-device: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 60px rgba(20, 184, 166, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 45%);
}

/* Background Gradients Orbs */
.bg-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  will-change: transform;
  transform: translateZ(0);
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-teal) 0%, transparent 70%);
  top: -120px;
  right: -100px;
}
.orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
  top: 35%;
  left: -200px;
}

/* Containers & Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* Glassmorphism Panel Base */
.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  box-shadow: inset 0 1px 0 0 var(--border-highlight), var(--shadow-card);
  border-radius: 1.6rem;
  transition: var(--transition-smooth);
  will-change: transform, box-shadow;
}

.glass-panel:hover {
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.2), 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(20, 184, 166, 0.15);
  transform: translateY(-4px);
}

.glow-teal {
  box-shadow: var(--shadow-glow);
}

/* Typography & Headings */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-teal-light) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

/* Badges & Pills */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.4rem;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.25);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-teal-light);
  margin-bottom: 1.8rem;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-teal);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 1.1rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px -5px rgba(20, 184, 166, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px -5px rgba(20, 184, 166, 0.65), inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-3px);
  color: #ffffff;
}

.btn-large {
  padding: 0.9rem 2.6rem;
  font-size: 1.15rem;
  border-radius: 1.1rem;
}

.btn-glow {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 10px 30px -5px rgba(20, 184, 166, 0.45);
  }
  50% {
    box-shadow: 0 10px 50px -5px rgba(20, 184, 166, 0.7);
  }
}

/* Scroll margin para navegación con navbar sticky */
section[id] {
  scroll-margin-top: 84px;
}

/* ==========================================================================
   NAVBAR - ESTRUCTURA STICKY FLOTANTE PERMANENTE
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  padding: 0.75rem 0;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* --- IZQUIERDA: Botón Volver --- */
.nav-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.nav-back-pill:hover {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.4);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.2);
}

.nav-back-pill .back-arrow {
  font-family: var(--font-body);
  transition: transform 0.2s ease;
}

.nav-back-pill .infolabs-icon {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  transition: stroke 0.2s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.nav-back-pill:hover .back-arrow {
  transform: translateX(-3px);
  color: var(--primary-teal-light);
}

.nav-back-pill:hover .infolabs-icon {
  stroke: var(--primary-teal-light);
  transform: scale(1.08);
}

/* --- IZQUIERDA: Botón Volver + Brand (juntos como en GastosIA) --- */
.navbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* --- CENTRO: Enlaces de navegación --- */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
}

.brand-tag {
  font-size: 0.7rem;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 0.4rem;
  margin-left: 0.4rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-teal-light);
}

/* --- DERECHA: Idioma + Botón + Hamburguesa --- */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
  margin-right: 5rem;
}

.lang-switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.3rem 0.55rem;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switch-pill:hover {
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.2);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0.55rem;
  border-radius: 1rem;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.lang-btn.active {
  background: var(--primary-teal);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.4);
}

.lang-btn:hover:not(.active) {
  color: #ffffff;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  user-select: none;
}

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

.nav-actions .btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  white-space: nowrap;
  border-radius: 1.1rem;
}

/* Hamburguesa (oculta en desktop) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.hamburger-line {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Menú Móvil (panel lateral fuera de flujo y sin proyección de overflow) */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(7, 10, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-glass);
  padding: 6rem 2rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-panel.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  transition: var(--transition-fast);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mobile-nav-link:hover {
  color: var(--primary-teal-light);
  transform: translateX(4px);
}

.mobile-nav-actions {
  margin-top: 1rem;
}
.mobile-nav-actions .btn {
  width: 100%;
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
}

.mobile-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.4rem 0.7rem;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  align-self: flex-start;
}

.mobile-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-back-pill:hover {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.4);
  color: #ffffff;
}

.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 999;
  transition: opacity 0.3s ease, visibility 0.3s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.no-scroll {
  overflow: hidden;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  padding: 2.2rem 0 4rem 0;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.hero-tagline {
  font-size: 2.15rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  display: block;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 2.8rem auto;
  font-weight: 400;
  line-height: 1.7;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 2.5rem auto 0 auto;
}

.hero-trust-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.hero-trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.35);
  background: rgba(20, 184, 166, 0.08);
  box-shadow: 0 12px 30px -10px rgba(20, 184, 166, 0.25);
}

.trust-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-icon-wrapper.icon-teal {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
}
.trust-icon-wrapper.icon-green {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.trust-icon-wrapper.icon-blue {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.trust-icon-wrapper.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.trust-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.trust-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   SHOWCASE (Carousel)
   ========================================================================== */
/*.showcase-section {
  padding: 4rem 0 6rem 0;
}
*/
.showcase-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  padding: 3.5rem;
  align-items: center;
}

.showcase-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 1.25rem 1.4rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.showcase-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.showcase-item.active {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: 0 10px 30px -10px rgba(20, 184, 166, 0.2), inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

.showcase-item-icon {
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 1rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.showcase-item.active .showcase-item-icon {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.4);
}

.showcase-item-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.showcase-item.active .showcase-item-content h3 {
  color: var(--primary-teal-light);
}

.showcase-item-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.active-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--primary-teal-light);
  opacity: 0;
  transition: var(--transition-fast);
}

.showcase-item.active .active-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.showcase-viewport {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 44px;
  border: 10px solid #1e293b;
  box-shadow: var(--shadow-device);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.phone-notch {
  position: absolute;
  top: 0;
  width: 140px;
  height: 24px;
  background: #1e293b;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 10;
}

.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(20, 184, 166, 0.5);
  color: var(--primary-teal-light);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: var(--transition-fast);
}

.carousel-arrow:hover {
  background: var(--primary-teal);
  color: #fff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 25px rgba(20, 184, 166, 0.6);
}

.arrow-prev {
  left: -24px;
}
.arrow-next {
  right: -24px;
}

.carousel-dots {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background: var(--primary-teal);
  width: 28px;
  border-radius: 6px;
  box-shadow: 0 0 10px var(--primary-teal);
}

/* ==========================================================================
   COMPARISON (Aliado Práctico)
   ========================================================================== */
.comparison-section {
  padding: 6rem 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}

.comparison-card {
  padding: 2.2rem 2rem;
  border-radius: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.card-muted {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.88;
}

.card-muted:hover {
  opacity: 1;
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-featured {
  background: linear-gradient(145deg, rgba(20, 184, 166, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(20, 184, 166, 0.4);
  box-shadow: 0 20px 50px -10px rgba(20, 184, 166, 0.25);
  transform: scale(1.03);
  z-index: 2;
}

.card-featured:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 25px 60px -10px rgba(20, 184, 166, 0.4);
}

.comparison-badge {
  display: inline-block;
  align-self: center;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.badge-neutral {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-featured {
  background: rgba(20, 184, 166, 0.2);
  color: var(--primary-teal-light);
  border: 1px solid rgba(20, 184, 166, 0.4);
}

.comparison-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.comparison-list .cross {
  color: #ef4444;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

.comparison-list .check {
  color: var(--primary-teal-light);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

/* ==========================================================================
   STEPS
   ========================================================================== */
/*.steps-section {
  padding: 6rem 0;
}
*/
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 860px;
  margin: 0 auto;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding: 2rem 2.4rem;
  border-radius: 1.8rem;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ==========================================================================
   PRIVACY
   ========================================================================== */
.privacy-section {
  padding: 6rem 0;
}

.privacy-card {
  padding: 4.5rem 3.5rem;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 2.2rem;
}

.privacy-icon {
  font-size: 3.8rem;
  margin-bottom: 1rem;
}

.privacy-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

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

.privacy-item {
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem 1.8rem;
  border-radius: 1.4rem;
  border: 1px solid var(--border-glass);
}

.privacy-check {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.9rem;
}

.privacy-item h4 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.privacy-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA (Descarga)
   ========================================================================== */
.cta-section {
  padding: 6rem 0;
}

.cta-box {
  padding: 5.5rem 3.5rem;
  max-width: 940px;
  margin: 0 auto;
  border-radius: 2.5rem;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1.4rem;
  font-weight: 800;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.8rem auto;
}

.cta-buttons {
  margin-bottom: 1.8rem;
}

.cta-note {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.footer-brand {
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.footer-sub {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.88rem;
  margin: 0.8rem 0;
}

.footer-legal-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--primary-teal-light);
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.4);
}

.footer-sep {
  color: var(--border-glass);
  font-size: 0.8rem;
}


.footer-disclaimer {
  font-size: 0.78rem;
  color: #64748b;
  max-width: 820px;
  margin: 1.2rem auto 0 auto;
  line-height: 1.5;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* ==========================================================================
   RESPONSIVE - INTERMEDIO Y MÓVIL
   ========================================================================== */

/* A partir de 1200px: ocultamos enlaces y botón de descarga, mostramos hamburguesa */
@media (max-width: 1200px) {
  .nav-links {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .nav-center {
    display: none;
  }
  .nav-right-group {
    margin-right: 0;
  }
  /* Ocultamos texto "InfoLabs" para ahorrar espacio */
  .nav-back-pill .back-text {
    display: none;
  }
  .nav-back-pill {
    padding: 0.4rem 0.7rem;
  }
  /* Ajustamos gap para que no se amontonen */
  .navbar-container {
    gap: 0.6rem;
  }
}

/* Para tablets y móviles más pequeños (debajo de 768px) mantenemos el mismo estilo */
@media (max-width: 768px) {
  .comparison-grid,
  .privacy-features {
    grid-template-columns: 1fr;
  }
  .card-featured {
    transform: none;
  }
  .card-featured:hover {
    transform: translateY(-4px);
  }
  .phone-mockup {
    width: 290px;
    height: 580px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-section {
    padding: 1.6rem 0 3rem 0;
  }
  .hero-tagline {
    font-size: 1.5rem;
  }
  .btn-large {
    width: 100%;
  }
}

/* Ajuste fino para pantallas entre 1200px y 1400px (donde aún se ven enlaces) */
@media (min-width: 1201px) and (max-width: 1400px) {
  .nav-links {
    gap: 1.2rem;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .nav-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 1.1rem;
  }
}

/* Móviles muy pequeños (menos de 480px) */
@media (max-width: 480px) {
  .navbar-container {
    padding: 0 0.75rem;
    gap: 0.5rem;
  }
  .navbar-left {
    gap: 8px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  .brand-tag {
    font-size: 0.55rem;
    padding: 0.1rem 0.35rem;
  }
  .lang-switch-pill {
    padding: 0.2rem 0.4rem;
    font-size: 0.65rem;
  }
  .lang-btn {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
  }
  .nav-back-pill {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
  }
  .nav-back-pill .infolabs-icon {
    width: 14px;
    height: 14px;
  }
  .mobile-menu-toggle {
    width: 24px;
    height: 16px;
  }
  .showcase-card {
    padding: 1.5rem;
  }
  .privacy-card,
  .cta-box {
    padding: 2.5rem 1.5rem;
  }
  .cta-title {
    font-size: 2rem;
  }
}