/* =============================================================================
   AITENES WEBSITE - STYLES.CSS
   =============================================================================
   ÍNDICE:
   1. VARIABLES CSS (SISTEMA DE DISEÑO)
   2. ESTILOS GLOBALES Y BASE
   3. COMPONENTES REUTILIZABLES (Botones, Badges, etc.)
   4. HEADER / NAVBAR
   5. MOBILE MENU
   6. HERO SECTION
   7. PRODUCT SHOWCASE SECTION
   8. FEATURES SECTION
   9. ABOUT SECTION
   10. FUTURE PRODUCTS SECTION
   11. CTA SECTION
   12. FOOTER
   13. ANIMACIONES Y UTILIDADES
   14. MEDIA QUERIES (TABLET Y DESKTOP)
   ============================================================================= */

/* =============================================================================
   1. VARIABLES CSS (SISTEMA DE DISEÑO)
   ============================================================================= */
:root {
  /* ========== COLORES OFICIALES AITENES ========== */
  --brand-dark: #1A1A1A;        /* Negro principal AITENES */
  --brand-blue-dark: #1A4D8F;   /* Azul oscuro del isotipo */
  --brand-blue: #2B7EC1;        /* Azul medio */
  --brand-cyan: #0CCAC3;        /* Cyan/turquesa principal - color destacado */

  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --white: #FFFFFF;

  /* Gradientes ajustados al branding */
  --gradient-brand: linear-gradient(135deg, #1A4D8F 0%, #2B7EC1 50%, #0CCAC3 100%);
  --gradient-dark: linear-gradient(180deg, #1A1A1A 0%, #1A4D8F 100%);
  --gradient-text: linear-gradient(135deg, #2B7EC1 0%, #0CCAC3 100%);
  --gradient-hero: linear-gradient(180deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 77, 143, 0.75) 100%);

  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;

  /* ========== TIPOGRAFÍA DISTINTIVA (NO Inter/Roboto genéricas) ========== */
  --font-primary: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-display: 'Syne', 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;  /* 18px */
  --text-xl: 1.25rem;   /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem;  /* 36px */
  --text-5xl: 2.5rem;   /* 40px - Mobile Hero */
  --text-6xl: 3.75rem;  /* 60px - Desktop Hero */

  /* ========== SPACING ========== */
  --spacing-xs: 0.5rem;  /* 8px */
  --spacing-sm: 1rem;    /* 16px */
  --spacing-md: 1.5rem;  /* 24px */
  --spacing-lg: 2rem;    /* 32px */
  --spacing-xl: 3rem;    /* 48px */
  --spacing-2xl: 4rem;   /* 64px */
  --spacing-3xl: 6rem;   /* 96px */

  /* ========== LAYOUT ========== */
  --container-max-width: 1280px;
  --container-padding: var(--spacing-sm);
  --navbar-height: 70px;
  --border-radius-sm: 0.5rem;
  --border-radius-md: 0.75rem;
  --border-radius-lg: 1rem;

  /* ========== SOMBRAS ========== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* ========== TRANSICIONES ========== */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   2. ESTILOS GLOBALES Y BASE
   ============================================================================= */
body {
  font-family: var(--font-primary);
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); font-weight: 800; }
h2 { font-size: var(--text-4xl); font-weight: 700; }
h3 { font-size: var(--text-2xl); font-weight: 600; }
h4 { font-size: var(--text-xl); font-weight: 600; }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--gray-700);
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--brand-cyan);
}

strong {
  font-weight: 600;
}

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

.section-padding {
  padding-top: var(--spacing-2xl);
  padding-bottom: var(--spacing-2xl);
}

.bg-light {
  background-color: var(--gray-50);
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 50%, #5EEAD4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.text-muted {
    color: var(--gray-500);
}

/* =============================================================================
   3. COMPONENTES REUTILIZABLES
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: var(--text-sm);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Efecto ripple para botones */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, #0AAFA9 100%);
  color: var(--brand-dark);
  border-color: transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #0AAFA9 0%, var(--brand-cyan) 100%);
  color: var(--brand-dark);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(12, 202, 195, 0.5),
              0 5px 15px rgba(12, 202, 195, 0.3),
              0 0 0 2px rgba(12, 202, 195, 0.1);
}

.btn--primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 5px 15px rgba(12, 202, 195, 0.4);
}

.btn--secondary {
  background-color: var(--gray-800);
  color: var(--white);
  border-color: var(--gray-800);
}

.btn--secondary:hover {
  background-color: var(--gray-700);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(26, 26, 26, 0.3);
}

.btn--secondary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 5px 15px rgba(26, 26, 26, 0.2);
}

.btn--outline-cyan {
  background-color: transparent;
  color: var(--brand-cyan);
  border-color: var(--brand-cyan);
}

.btn--outline-cyan:hover {
  background-color: var(--brand-cyan);
  color: var(--brand-dark);
}

.btn--ghost {
    background-color: transparent;
    color: var(--brand-blue);
    border-color: transparent;
}

.btn--ghost:hover {
    background-color: var(--gray-100);
    color: var(--brand-blue-dark);
}

.btn__icon {
  width: 1.2em;
  height: 1.2em;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
}

.badge--success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.3);
}

.badge--warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  color: var(--warning);
  border-color: rgba(245, 158, 11, 0.3);
}

.section-header {
  margin-bottom: var(--spacing-xl);
}

.section-header__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--brand-cyan);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: linear-gradient(135deg, rgba(12, 202, 195, 0.1) 0%, rgba(43, 126, 193, 0.1) 100%);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(12, 202, 195, 0.2);
}

.section-header__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--spacing-sm);
}

.section-header__subtitle {
  font-size: var(--text-lg);
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================================================
   4. HEADER / NAVBAR
   ============================================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar {
  height: var(--navbar-height);
  transition: all var(--transition-base);
}

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

.navbar__logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-base);
}

.navbar__logo:hover {
  opacity: 0.85;
}

.navbar__logo img {
  height: 40px;
  width: auto;
  display: block;
}

.navbar__menu {
  display: none; /* Hidden on mobile */
}

.navbar__link {
  color: var(--gray-700);
  font-weight: 500;
  font-family: var(--font-primary);
  padding: var(--spacing-sm);
  position: relative;
  transition: color 0.3s ease;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar__link:hover {
  color: var(--brand-cyan);
}

.navbar__link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1),
              0 1px 0 rgba(255, 255, 255, 0.5) inset;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header.scrolled .navbar__link {
    color: var(--gray-800);
}

.navbar__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  z-index: 10000; /* Por encima del mobile-menu */
  position: relative;
  transition: background-color 0.3s ease;
}

.navbar__toggle:hover {
  background-color: rgba(12, 202, 195, 0.1);
}

.navbar__toggle:active {
  transform: scale(0.95);
}

.navbar__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  border-radius: 2px;
  margin: 3px 0;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  transform-origin: center;
}

/* Hamburger to X animation - más fluida */
.mobile-menu-open .navbar__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--brand-cyan);
}
.mobile-menu-open .navbar__toggle-bar:nth-child(2) {
  transform: scaleX(0);
  opacity: 0;
}
.mobile-menu-open .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--brand-cyan);
}


/* =============================================================================
   5. MOBILE MENU
   ============================================================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height para iOS */
  /* Fondo sólido primero, luego gradientes decorativos */
  background-color: #0a0a0f;
  background-image:
    radial-gradient(ellipse at top, rgba(12, 202, 195, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(26, 77, 143, 0.15) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Más alto que todo */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  /* Asegurar que cubra todo */
  overflow: hidden;
}

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

/* Asegurar que el body no tenga scroll cuando el menú está abierto */
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  padding: var(--spacing-lg);
}

.mobile-menu__link {
  color: var(--gray-200);
  font-size: var(--text-3xl);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  position: relative;
  padding: var(--spacing-xs) var(--spacing-md);
  opacity: 0;
  transform: translateY(30px);
  transition: color 0.3s ease, transform 0.3s ease, opacity 0.5s ease;
}

/* Animación staggered de entrada */
.mobile-menu-open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-open .mobile-menu__links li:nth-child(1) .mobile-menu__link { transition-delay: 0.1s; }
.mobile-menu-open .mobile-menu__links li:nth-child(2) .mobile-menu__link { transition-delay: 0.15s; }
.mobile-menu-open .mobile-menu__links li:nth-child(3) .mobile-menu__link { transition-delay: 0.2s; }
.mobile-menu-open .mobile-menu__links li:nth-child(4) .mobile-menu__link { transition-delay: 0.25s; }
.mobile-menu-open .mobile-menu__links li:nth-child(5) .mobile-menu__link,
.mobile-menu-open .mobile-menu__links li:nth-child(5) .btn { transition-delay: 0.3s; }

/* Underline animado en hover */
.mobile-menu__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  border-radius: 3px;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  color: var(--brand-cyan);
}

.mobile-menu__link:hover::after,
.mobile-menu__link:active::after {
  width: 100%;
}

/* CTA button en mobile menu */
.mobile-menu .btn {
  margin-top: var(--spacing-lg);
  font-size: var(--text-lg);
  padding: var(--spacing-sm) var(--spacing-xl);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.mobile-menu-open .mobile-menu .btn {
  opacity: 1;
  transform: translateY(0);
}

/* Decoración sutil */
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(12, 202, 195, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.mobile-menu::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(26, 77, 143, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

/* =============================================================================
   6. HERO SECTION
   ============================================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  margin-top: var(--navbar-height);
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero__bg-video,
.hero__bg-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 77, 143, 0.75) 100%);
  animation: gradientShift 15s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Partículas flotantes - Sistema responsivo */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: linear-gradient(135deg, rgba(12, 202, 195, 0.4), rgba(43, 126, 193, 0.4));
  border-radius: 50%;
  opacity: 0.6;
  animation: float 20s infinite ease-in-out;
  will-change: transform, opacity;
}

/* Mobile: Partículas más pequeñas y cercanas al centro */
.particle:nth-child(1) {
  width: 60px;
  height: 60px;
  left: 15%;
  top: 25%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 45px;
  height: 45px;
  left: 65%;
  top: 35%;
  animation-duration: 22s;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  width: 70px;
  height: 70px;
  left: 45%;
  top: 55%;
  animation-duration: 25s;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  width: 40px;
  height: 40px;
  left: 75%;
  top: 65%;
  animation-duration: 20s;
  animation-delay: 1s;
}

.particle:nth-child(5) {
  width: 55px;
  height: 55px;
  left: 25%;
  top: 75%;
  animation-duration: 24s;
  animation-delay: 3s;
}

.particle:nth-child(6) {
  width: 65px;
  height: 65px;
  left: 85%;
  top: 20%;
  animation-duration: 21s;
  animation-delay: 5s;
}

.particle:nth-child(7) {
  width: 50px;
  height: 50px;
  left: 35%;
  top: 50%;
  animation-duration: 19s;
  animation-delay: 2.5s;
}

.particle:nth-child(8) {
  width: 58px;
  height: 58px;
  left: 55%;
  top: 80%;
  animation-duration: 23s;
  animation-delay: 4.5s;
}

/* Animación con movimiento proporcional a viewport */
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-4vh) translateX(3vw) rotate(90deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-8vh) translateX(-3vw) rotate(180deg);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-4vh) translateX(4vw) rotate(270deg);
    opacity: 0.7;
  }
}

/* Tablet: Partículas medianas */
@media (min-width: 768px) {
  .particle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    top: 20%;
  }

  .particle:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 70%;
    top: 30%;
  }

  .particle:nth-child(3) {
    width: 90px;
    height: 90px;
    left: 50%;
    top: 60%;
  }

  .particle:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 80%;
    top: 70%;
  }

  .particle:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 20%;
    top: 80%;
  }

  .particle:nth-child(6) {
    width: 85px;
    height: 85px;
    left: 88%;
    top: 15%;
  }

  .particle:nth-child(7) {
    width: 55px;
    height: 55px;
    left: 30%;
    top: 45%;
  }

  .particle:nth-child(8) {
    width: 75px;
    height: 75px;
    left: 60%;
    top: 85%;
  }
}

/* Desktop: Partículas más grandes y mejor distribuidas */
@media (min-width: 1200px) {
  .particle:nth-child(1) {
    width: 100px;
    height: 100px;
    left: 8%;
    top: 18%;
  }

  .particle:nth-child(2) {
    width: 75px;
    height: 75px;
    left: 72%;
    top: 28%;
  }

  .particle:nth-child(3) {
    width: 120px;
    height: 120px;
    left: 48%;
    top: 58%;
  }

  .particle:nth-child(4) {
    width: 65px;
    height: 65px;
    left: 82%;
    top: 68%;
  }

  .particle:nth-child(5) {
    width: 85px;
    height: 85px;
    left: 18%;
    top: 78%;
  }

  .particle:nth-child(6) {
    width: 105px;
    height: 105px;
    left: 90%;
    top: 12%;
  }

  .particle:nth-child(7) {
    width: 70px;
    height: 70px;
    left: 28%;
    top: 42%;
  }

  .particle:nth-child(8) {
    width: 90px;
    height: 90px;
    left: 62%;
    top: 88%;
  }

  /* Movimiento más amplio en pantallas grandes */
  @keyframes float {
    0%, 100% {
      transform: translateY(0) translateX(0) rotate(0deg);
      opacity: 0.6;
    }
    25% {
      transform: translateY(-50px) translateX(40px) rotate(90deg);
      opacity: 0.8;
    }
    50% {
      transform: translateY(-100px) translateX(-40px) rotate(180deg);
      opacity: 0.4;
    }
    75% {
      transform: translateY(-50px) translateX(50px) rotate(270deg);
      opacity: 0.7;
    }
  }
}

/* Ultra-wide: Ajustes para pantallas muy anchas */
@media (min-width: 1920px) {
  .particle:nth-child(1) { left: 12%; }
  .particle:nth-child(2) { left: 68%; }
  .particle:nth-child(3) { left: 50%; }
  .particle:nth-child(4) { left: 78%; }
  .particle:nth-child(5) { left: 22%; }
  .particle:nth-child(6) { left: 85%; }
  .particle:nth-child(7) { left: 32%; }
  .particle:nth-child(8) { left: 58%; }
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.hero__title {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--gray-200);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.hero__badges {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  font-size: var(--text-sm);
  color: var(--gray-300);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--white);
  font-size: var(--text-xs);
  opacity: 0.7;
}

.scroll-icon {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* =============================================================================
   7. PRODUCT SHOWCASE SECTION
   ============================================================================= */
.product-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.product-showcase__visual {
  position: relative;
}

.product-showcase__visual img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

/* Videos de Amicura - Diseño moderno y responsivo */
.product-videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  width: 100%;
}

.product-video-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-color: var(--gray-900);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-video-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(12, 202, 195, 0.2);
}

.product-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95), rgba(26, 26, 26, 0.7), transparent);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-mono);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-showcase__badge {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  z-index: 10;
}

.product-showcase__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--spacing-xs);
}

.product-showcase__tagline {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: var(--spacing-md);
}

.product-showcase__description {
  margin-bottom: var(--spacing-lg);
}

.product-showcase__features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.product-showcase__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.product-showcase__features svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--brand-cyan);
  margin-top: 2px;
}

.product-showcase__features p {
  margin-bottom: 0;
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.product-showcase__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

/* =============================================================================
   8. STACK TECNOLÓGICO Y MÉTRICAS
   ============================================================================= */

/* Tech Stack Grid */
.tech-stack {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.tech-stack__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-3xl);
}

.tech-card {
  background-color: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--gray-200);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(12, 202, 195, 0.1), transparent);
  transition: left 0.6s ease;
}

.tech-card:hover::before {
  left: 100%;
}

.tech-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--brand-cyan);
  box-shadow: 0 20px 40px rgba(12, 202, 195, 0.2);
}

.tech-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  border-radius: var(--border-radius-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card:hover .tech-card__icon {
  transform: rotateY(360deg) scale(1.1);
  background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-blue) 100%);
}

.tech-card__icon svg {
  color: var(--white);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.tech-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--gray-900);
  margin-bottom: var(--spacing-xs);
  letter-spacing: -0.01em;
}

.tech-card__description {
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  color: var(--gray-500);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Métricas Animadas */
.metrics {
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-3xl);
  border-top: 2px solid var(--gray-200);
}

.metrics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.metric-card {
  text-align: center;
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, rgba(12, 202, 195, 0.05), rgba(43, 126, 193, 0.05));
  border-radius: var(--border-radius-lg);
  transition: transform 0.3s ease;
}

.metric-card:hover {
  transform: scale(1.05);
}

.metric-card__number {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.03em;
}

.metric-card__label {
  font-size: var(--text-xs);
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Responsive para tech stack */
@media (min-width: 640px) {
  .tech-stack__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 1024px) {
  .tech-stack__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }

  .metrics__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .metric-card__number {
    font-size: 4rem;
  }
}

/* =============================================================================
   9. FEATURES SECTION
   ============================================================================= */
.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.9) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(12, 202, 195, 0.2),
              0 10px 20px rgba(26, 77, 143, 0.1);
  border-color: rgba(12, 202, 195, 0.3);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(12, 202, 195, 0.1);
  margin-bottom: var(--spacing-md);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-card__icon {
  background-color: var(--brand-cyan);
  transform: scale(1.1) rotate(5deg);
}

.feature-card__icon svg {
  color: var(--brand-cyan);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-card__icon svg {
  color: var(--white);
  transform: scale(1.1);
}

.feature-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-sm);
}

.feature-card__description {
  font-size: var(--text-base);
  color: var(--gray-500);
  margin-bottom: 0;
}

/* =============================================================================
   9. ABOUT SECTION
   ============================================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about__visual img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.about__text {
  margin: var(--spacing-lg) 0;
}

.about__text p {
  margin-bottom: var(--spacing-md);
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.value-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--brand-blue);
}

.value-item h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-xs);
}

.value-item p {
  margin-bottom: 0;
  color: var(--gray-500);
}

/* =============================================================================
   10. FUTURE PRODUCTS SECTION
   ============================================================================= */
.future-products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.future-product-card {
  border: 2px dashed var(--gray-300);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
}

.future-product-card:hover {
  border-color: var(--brand-cyan);
  border-style: solid;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(43, 126, 193, 0.2);
}

.future-product-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.future-product-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--gray-200);
}

.future-product-card__icon svg {
  color: var(--gray-700);
}

.future-product-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-sm);
}

.future-product-card__description {
  margin-bottom: var(--spacing-md);
}

.future-product-card__features {
  font-size: var(--text-sm);
  color: var(--gray-500);
  padding-left: var(--spacing-sm);
}

.future-product-card__features li {
  position: relative;
  padding-left: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
}

.future-product-card__features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand-cyan);
}

.future-products__cta {
  text-align: center;
  margin-top: var(--spacing-xl);
  font-size: var(--text-lg);
}

/* =============================================================================
   11. CTA SECTION
   ============================================================================= */
.cta-section {
  position: relative;
  padding: var(--spacing-2xl) 0;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.cta-section__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at top left, rgba(12, 202, 195, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(26, 77, 143, 0.4) 0%, transparent 50%),
    linear-gradient(135deg, #1A4D8F 0%, #1A1A2E 50%, #0a0a0f 100%);
  z-index: -1;
}

.cta-section__background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.cta-section__content {
  max-width: 650px;
  margin: 0 auto;
}

.cta-section__title {
  font-size: var(--text-3xl);
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cta-section__subtitle {
  font-size: var(--text-lg);
  color: var(--gray-200);
  margin-bottom: var(--spacing-lg);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.cta-form__input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-md);
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gray-900);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-form__input:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(12, 202, 195, 0.2),
              0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.cta-form__input::placeholder {
  color: var(--gray-400);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.cta-section__note {
  font-size: var(--text-sm);
  color: var(--gray-200);
  opacity: 0.8;
}

.form-message {
    margin-top: var(--spacing-sm);
    font-weight: 500;
}
.form-message.success { color: var(--success); }
.form-message.error { color: var(--error); }

/* =============================================================================
   12. FOOTER
   ============================================================================= */
.footer {
  background: linear-gradient(180deg, var(--gray-900) 0%, var(--brand-dark) 100%);
  color: var(--gray-300);
  padding-top: var(--spacing-2xl);
}

.footer__brand {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.footer__brand .footer__logo {
  margin-bottom: var(--spacing-sm);
  height: 36px;
  width: auto;
  display: block;
}

.footer__tagline {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-xs);
}

.footer__description {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: 0;
}

.footer__links h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer__links a {
  color: var(--gray-400);
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

.footer__links a:hover {
  color: var(--brand-cyan);
  padding-left: 4px;
}

.footer__social {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.footer__social a {
  color: var(--gray-400);
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social a:hover {
  color: var(--brand-cyan);
  background: rgba(12, 202, 195, 0.1);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(12, 202, 195, 0.2);
}

.footer__bottom {
  border-top: 1px solid var(--gray-700);
  padding: var(--spacing-lg) 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.footer__made-with {
  display: block;
  margin-top: var(--spacing-xs);
}

/* =============================================================================
   13. ANIMACIONES Y UTILIDADES
   ============================================================================= */

/* Animaciones de entrada reactivadas con efectos profesionales */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variantes de animación */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animations para listas */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback para no-js */
.no-js .fade-in,
.no-js .fade-in-left,
.no-js .fade-in-scale,
.no-js .stagger-item {
  opacity: 1;
  transform: none;
}

/* Glow effect para elementos destacados */
.glow-cyan {
  box-shadow: 0 0 20px rgba(12, 202, 195, 0.3),
              0 0 40px rgba(12, 202, 195, 0.1);
}

.glow-cyan-hover:hover {
  box-shadow: 0 0 30px rgba(12, 202, 195, 0.5),
              0 0 60px rgba(12, 202, 195, 0.2);
}

/* Text shimmer effect */
@keyframes textShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.text-shimmer {
  background: linear-gradient(
    90deg,
    var(--brand-blue) 0%,
    var(--brand-cyan) 25%,
    var(--white) 50%,
    var(--brand-cyan) 75%,
    var(--brand-blue) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 3s linear infinite;
}

/* =============================================================================
   14. MEDIA QUERIES (MOBILE FIRST)
   ============================================================================= */

/* Mobile-specific improvements (max-width: 767px) */
@media (max-width: 767px) {
  /* Touch-friendly tap targets */
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    font-size: var(--text-sm);
  }

  /* Tech cards más compactas en móvil */
  .tech-card {
    padding: var(--spacing-md);
  }

  .tech-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--spacing-sm);
  }

  .tech-card__icon svg {
    width: 28px;
    height: 28px;
  }

  .tech-card__title {
    font-size: var(--text-base);
  }

  .tech-card__description {
    font-size: var(--text-xs);
  }

  /* Feature cards más compactas */
  .feature-card {
    padding: var(--spacing-md);
  }

  .feature-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-sm);
  }

  .feature-card__icon svg {
    width: 24px;
    height: 24px;
  }

  .feature-card__title {
    font-size: var(--text-lg);
  }

  .feature-card__description {
    font-size: var(--text-sm);
  }

  /* Future product cards compactas */
  .future-product-card {
    padding: var(--spacing-md);
  }

  .future-product-card__icon {
    width: 40px;
    height: 40px;
  }

  .future-product-card__title {
    font-size: var(--text-lg);
  }

  /* Hero mobile optimizations */
  .hero {
    min-height: 100svh; /* Safe viewport height para iOS */
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.1;
  }

  .hero__subtitle {
    font-size: var(--text-base);
    padding: 0 var(--spacing-xs);
  }

  .hero__cta {
    width: 100%;
    padding: 0 var(--spacing-sm);
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__badges {
    font-size: var(--text-xs);
    padding: 0 var(--spacing-sm);
  }

  /* Cards móviles con touch feedback */
  .feature-card,
  .tech-card,
  .future-product-card {
    -webkit-tap-highlight-color: rgba(12, 202, 195, 0.1);
  }

  .feature-card:active,
  .tech-card:active,
  .future-product-card:active {
    transform: scale(0.98);
  }

  /* Product section mobile */
  .product-showcase__title {
    font-size: var(--text-3xl);
  }

  .product-videos {
    gap: var(--spacing-sm);
  }

  .product-video-container {
    border-radius: var(--border-radius-md);
  }

  /* Section headers móviles */
  .section-header__title {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
    padding: 0 var(--spacing-xs);
  }

  .section-header__subtitle {
    font-size: var(--text-sm);
  }

  /* CTA section mobile */
  .cta-section__title {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
  }

  .cta-form {
    padding: 0 var(--spacing-xs);
  }

  .cta-form__input {
    font-size: 16px; /* Previene zoom en iOS */
  }

  /* Footer mobile */
  .footer__grid {
    text-align: center;
  }

  .footer__brand {
    margin-bottom: var(--spacing-md);
  }

  .footer__social {
    justify-content: center;
  }

  /* Métricas móviles */
  .metric-card__number {
    font-size: 2.5rem;
  }

  /* Reducir animaciones para mejor performance en móvil */
  @media (prefers-reduced-motion: reduce) {
    .fade-in,
    .fade-in-left,
    .fade-in-scale,
    .stagger-item {
      transition: none;
      opacity: 1;
      transform: none;
    }

    .gradient-text {
      animation: none;
    }
  }
}

/* Small mobile (max-width: 380px) */
@media (max-width: 380px) {
  .hero__title {
    font-size: 1.75rem;
  }

  .hero__badge {
    font-size: var(--text-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .mobile-menu__link {
    font-size: var(--text-2xl);
  }

  .section-header__label {
    font-size: 0.65rem;
  }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
  :root {
    --text-5xl: 3rem; /* 48px */
    --container-padding: var(--spacing-lg);
    --navbar-height: 80px;
  }

  .section-padding {
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
  }

  .section-header__title {
    font-size: var(--text-4xl);
  }

  .navbar__toggle {
    display: none;
  }

  .navbar__menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
  }
  
  .navbar__container {
    gap: var(--spacing-lg);
  }

  .hero__cta {
    flex-direction: row;
    justify-content: center;
  }

  .hero__badges {
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-md);
  }

  .product-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
  }

  /* Videos lado a lado en tablet */
  .product-videos {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

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

  .about__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
  }

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

  .cta-form {
    flex-direction: row;
  }

  .cta-form__input {
    flex-grow: 1;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    text-align: left;
  }

  .footer__made-with {
    display: inline;
    margin-top: 0;
    margin-left: var(--spacing-sm);
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  :root {
    --text-6xl: 3.75rem; /* 60px */
  }

  h1 {
    font-size: var(--text-6xl);
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* =============================================================================
   15. PÁGINAS LEGALES (PRIVACIDAD Y TÉRMINOS)
   ============================================================================= */
.legal-content {
  background-color: var(--white);
  min-height: 100vh;
  padding-top: calc(var(--navbar-height) + var(--spacing-2xl));
}

.legal-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 2px solid var(--gray-200);
}

.legal-header h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-date {
  font-size: var(--text-base);
  color: var(--gray-600);
  margin: 0;
}

.legal-body {
  color: var(--gray-800);
  line-height: 1.8;
}

.legal-section {
  margin-bottom: var(--spacing-2xl);
}

.legal-section h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--gray-200);
}

.legal-section h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--gray-800);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.legal-section p {
  margin-bottom: var(--spacing-md);
  font-size: var(--text-base);
  line-height: 1.8;
}

.legal-section ul {
  list-style: disc;
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.legal-section ul li {
  margin-bottom: var(--spacing-sm);
  font-size: var(--text-base);
  line-height: 1.7;
}

.legal-section ul.contact-info {
  list-style: none;
  padding-left: 0;
}

.legal-section ul.contact-info li {
  margin-bottom: var(--spacing-sm);
}

.legal-section a {
  color: var(--brand-blue);
  text-decoration: underline;
  transition: color var(--transition-base);
}

.legal-section a:hover {
  color: var(--brand-cyan);
}

.legal-section strong {
  font-weight: 600;
  color: var(--gray-900);
}

@media (min-width: 768px) {
  .legal-header h1 {
    font-size: var(--text-5xl);
  }

  .legal-section h2 {
    font-size: var(--text-3xl);
  }
}
