/* ============================================================
   VISION+ — STYLESHEET PREMIUM
   Organización: Variables → Reset → Base → Layout → Componentes → Secciones → Responsive
============================================================ */

/* ============================================================
   1. VARIABLES GLOBALES
============================================================ */
:root {
  /* Colores principales */
  --color-bg:          #0B0B0F;
  --color-bg-2:        #101827;
  --color-bg-3:        #1A1F2E;
  --color-bg-card:     rgba(26, 31, 46, 0.7);
  --color-blue:        #2F6BFF;
  --color-blue-dark:   #1a4fd6;
  --color-blue-light:  #5c8fff;
  --color-purple:      #7B3CFF;
  --color-purple-dark: #5a25cc;
  --color-cyan:        #00CFFF;
  --color-white:       #FFFFFF;
  --color-text:        #B8C0D0;
  --color-text-muted:  #6B7280;
  --color-border:      rgba(255, 255, 255, 0.08);
  --color-border-hover:rgba(47, 107, 255, 0.4);

  /* Gradientes */
  --gradient-primary:  linear-gradient(135deg, var(--color-blue) 0%, var(--color-purple) 100%);
  --gradient-cyan:     linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
  --gradient-bg:       linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-2) 100%);
  --gradient-card:     linear-gradient(135deg, rgba(47,107,255,0.08) 0%, rgba(123,60,255,0.08) 100%);
  --gradient-text:     linear-gradient(135deg, var(--color-blue) 0%, var(--color-cyan) 100%);

  /* Sombras */
  --shadow-sm:         0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:         0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:         0 16px 64px rgba(0,0,0,0.5);
  --shadow-glow-blue:  0 0 40px rgba(47,107,255,0.3);
  --shadow-glow-purple:0 0 40px rgba(123,60,255,0.3);
  --shadow-glow-cyan:  0 0 40px rgba(0,207,255,0.3);

  /* Tipografía */
  --font-title:  'Poppins', sans-serif;
  --font-body:   'Inter', 'Poppins', sans-serif;

  /* Tamaños */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Espaciado */
  --space-section: 100px;

  /* Bordes */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full:9999px;

  /* Transiciones */
  --transition-fast:   0.15s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.5s ease;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 5vw, 2rem);
  --header-h:      72px;
}

/* ============================================================
   2. RESET Y NORMALIZACIÓN
============================================================ */
*, *::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);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

/* Reducir animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   3. UTILIDADES BASE
============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 70px);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cyan);
  background: rgba(0,207,255,0.1);
  border: 1px solid rgba(0,207,255,0.2);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Animaciones de entrada */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate="fade-left"] {
  transform: translateX(40px);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translate(0);
}

/* ============================================================
   4. BOTONES
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  text-decoration: none;
}

/* Ripple effect */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

/* Tamaños */
.btn--sm  { font-size: var(--text-sm); padding: 8px 20px; }
.btn--lg  { font-size: var(--text-base); padding: 14px 32px; }
.btn--xl  { font-size: var(--text-lg); padding: 18px 40px; }

/* Variantes */
.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 24px rgba(47,107,255,0.4);
}
.btn--primary:hover {
  box-shadow: 0 8px 40px rgba(47,107,255,0.6);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.05);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* ============================================================
   5. LOGO
============================================================ */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo__text {
  font-family: var(--font-title);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.logo__plus {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   6. HEADER
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.is-scrolled {
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

/* Nav */
.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: block;
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-white);
  background: rgba(255,255,255,0.07);
}

.header__cta {
  margin-left: 8px;
  flex-shrink: 0;
}

/* Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  margin-left: auto;
}

.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), width var(--transition-base);
  transform-origin: center;
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle__bar:nth-child(2) { opacity: 0; width: 0; }
.menu-toggle.is-open .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay móvil */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
  backdrop-filter: blur(4px);
}
.nav-overlay.is-open { display: block; }

/* ============================================================
   7. HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--color-bg);
}

/* Canvas partículas */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Luces de fondo */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 8s ease-in-out infinite alternate;
}

.hero__glow--blue {
  width: 600px;
  height: 600px;
  background: var(--color-blue);
  top: -100px;
  left: -100px;
}

.hero__glow--purple {
  width: 500px;
  height: 500px;
  background: var(--color-purple);
  bottom: -50px;
  right: -50px;
  animation-delay: -4s;
}

@keyframes glowPulse {
  from { opacity: 0.15; transform: scale(1); }
  to   { opacity: 0.3;  transform: scale(1.1); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding-top: clamp(40px, 6vh, 80px);
  padding-bottom: clamp(40px, 6vh, 80px);
  min-height: calc(100vh - var(--header-h));
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  margin-bottom: 20px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
  animation: dotBlink 2s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Logo en hero */
.hero__logo-wrap { margin-bottom: 16px; }

.hero__logo {
  height: clamp(56px, 8vw, 80px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(47,107,255,0.5));
}

.hero__logo-text {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero__logo-text span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Título */
.hero__title {
  font-family: var(--font-title);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-5xl));
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__title--gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-lg));
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__stat strong {
  font-family: var(--font-title);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
}

/* Visual / mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__device-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__device-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(47,107,255,0.4) 0%, rgba(123,60,255,0.2) 60%, transparent 100%);
  filter: blur(40px);
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

.hero__device {
  position: relative;
  z-index: 1;
  max-height: 600px;
  width: auto;
  filter: drop-shadow(0 24px 80px rgba(47,107,255,0.4));
  animation: deviceFloat 6s ease-in-out infinite;
}

/* Placeholder cuando no hay imagen */
.hero__device--placeholder {
  width: 280px;
  height: 520px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes deviceFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 6px;
}

.hero__scroll-dot {
  width: 4px;
  height: 4px;
  background: var(--color-white);
  border-radius: 50%;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   8. SECCIÓN FUNCIONES
============================================================ */
.features {
  padding: var(--space-section) 0;
  background: var(--color-bg-2);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-blue), var(--color-purple), transparent);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-base);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: inherit;
}

.feature-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-blue), var(--shadow-md);
}

.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.feature-card__icon--blue   { background: rgba(47,107,255,0.15); color: var(--color-blue-light); box-shadow: 0 0 20px rgba(47,107,255,0.2); }
.feature-card__icon--purple { background: rgba(123,60,255,0.15); color: #a97fff; box-shadow: 0 0 20px rgba(123,60,255,0.2); }
.feature-card__icon--cyan   { background: rgba(0,207,255,0.12); color: var(--color-cyan); box-shadow: 0 0 20px rgba(0,207,255,0.15); }

.feature-card__title {
  font-family: var(--font-title);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ============================================================
   9. SECCIÓN CAPTURAS
============================================================ */
.screenshots {
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.screenshots__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.screenshots__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
}

.screenshots__glow--left  { background: var(--color-blue);   left: -100px; top: 50%; transform: translateY(-50%); }
.screenshots__glow--right { background: var(--color-purple); right: -100px; top: 50%; transform: translateY(-50%); }

/* Carrusel (visible en móvil y tablet) */
.carousel {
  position: relative;
  display: none;
}

.carousel__track-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__slide {
  min-width: 100%;
  padding: 0 12px;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26,31,46,0.95);
  border: 1px solid var(--color-border);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.carousel__btn:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  box-shadow: var(--shadow-glow-blue);
}

.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.carousel__dot.is-active,
.carousel__dot:hover {
  background: var(--color-blue);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px var(--color-blue);
}

/* Grid (visible en desktop) */
.screenshots__grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.screenshot-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-3);
  transition: all var(--transition-base);
  position: relative;
  /* Sin aspect-ratio forzado: la imagen decide su tamaño */
  display: inline-flex;
  max-width: 420px;
  width: 100%;
}

.screenshot-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--color-border-hover);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), var(--shadow-glow-blue);
}

.screenshot-card img {
  width: 100%;
  height: auto;           /* altura natural, sin cortar */
  display: block;
  transition: transform var(--transition-slow);
}

.screenshot-card:hover img { transform: scale(1.02); }

/* ============================================================
   10. SECCIÓN DE VIDEO
============================================================ */
.video-section {
  padding: var(--space-section) 0;
  background: var(--color-bg-2);
  position: relative;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-purple), var(--color-cyan), transparent);
}

.video-player {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.video-player__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), var(--shadow-glow-purple);
  background: var(--color-bg-3);
  aspect-ratio: 16/9;
}

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

.video-player__video--iframe {
  position: absolute;
  inset: 0;
  border: none;
}

.video-player__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,11,15,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-base);
  backdrop-filter: blur(2px);
}

.video-player__overlay:hover { background: rgba(11,11,15,0.3); }
.video-player__overlay.is-hidden { display: none; }

.video-player__play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 20px rgba(47,107,255,0.15), var(--shadow-glow-blue);
  transition: all var(--transition-base);
  padding-left: 4px;
}

.video-player__play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 30px rgba(47,107,255,0.1), 0 0 60px rgba(47,107,255,0.5);
}

/* ---- Controles personalizados del video ---- */
.vp-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 32px 16px 14px;
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 3;
}

.video-player__frame:hover .vp-controls,
.video-player__frame:focus-within .vp-controls,
.vp-controls.is-visible {
  opacity: 1;
}

/* Barra de progreso */
.vp-progress {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 6px;
  padding: 6px 0;
}

.vp-progress__bg,
.vp-progress__fill {
  position: absolute;
  left: 0;
  height: 4px;
  border-radius: 2px;
  pointer-events: none;
}

.vp-progress__bg   { width: 100%; background: rgba(255,255,255,0.2); }
.vp-progress__fill { width: 0%;   background: var(--gradient-primary); transition: width 0.1s linear; }

.vp-progress__thumb {
  position: absolute;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-white);
  transform: translate(-50%, 0);
  pointer-events: none;
  box-shadow: 0 0 6px rgba(47,107,255,0.6);
  transition: transform var(--transition-fast);
}

.vp-progress:hover .vp-progress__thumb { transform: translate(-50%, 0) scale(1.3); }

/* Fila de controles */
.vp-controls__row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vp-spacer { flex: 1; }

/* Botones */
.vp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.85);
  background: transparent;
  border: none;
  transition: background var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.vp-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
}

.vp-btn__label {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  bottom: 5px;
}

/* Tiempo */
.vp-time {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding: 0 4px;
}

/* Volumen */
.vp-volume {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vp-volume__slider-wrap {
  width: 0;
  overflow: hidden;
  transition: width var(--transition-base);
}

.vp-volume:hover .vp-volume__slider-wrap,
.vp-volume:focus-within .vp-volume__slider-wrap {
  width: 72px;
}

.vp-volume__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 68px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  outline: none;
  cursor: pointer;
  accent-color: var(--color-blue);
}

.vp-volume__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-white);
  cursor: pointer;
}

/* Overlay inicial oculto cuando el video está en reproducción */
.video-player__overlay.is-hidden { display: none; }

/* ============================================================
   11. SECCIÓN DE DESCARGA
============================================================ */
.download {
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.download__bg { position: absolute; inset: 0; pointer-events: none; }

.download__glow--center {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(47,107,255,0.15) 0%, rgba(123,60,255,0.1) 40%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}

.download__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 60px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.download__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  pointer-events: none;
}

.download__content {
  position: relative;
  z-index: 1;
}

.download__content .section-title { text-align: left; }
.download__content .section-tag   { display: inline-block; }

.download__desc {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 32px;
  margin-top: 8px;
}

/* Meta del APK */
.apk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
}

.apk-meta__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.apk-meta__item svg { color: var(--color-cyan); flex-shrink: 0; }
.apk-meta__item strong { color: var(--color-white); }

/* Pasos de instalación */
.download__steps {
  position: relative;
  z-index: 1;
}

.download__steps-title {
  font-family: var(--font-title);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 24px;
}

.steps-list { display: flex; flex-direction: column; gap: 16px; }

.steps-list__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.steps-list__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(47,107,255,0.3);
}

.steps-list__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 6px;
}

.steps-list__body strong {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-white);
}

.steps-list__body span {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================================================
   12. SECCIÓN SOPORTE
============================================================ */
.support {
  padding: var(--space-section) 0;
  background: var(--color-bg-2);
  position: relative;
}

.support::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), var(--color-blue), transparent);
}

.support__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

.support-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  transition: all var(--transition-base);
  backdrop-filter: blur(16px);
  text-decoration: none;
}

.support-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
}

.support-card--whatsapp:hover { box-shadow: 0 16px 48px rgba(37,211,102,0.2); border-color: rgba(37,211,102,0.3); }
.support-card--telegram:hover  { box-shadow: 0 16px 48px rgba(0,136,204,0.2); border-color: rgba(0,136,204,0.3); }

.support-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-card--whatsapp .support-card__icon {
  background: rgba(37,211,102,0.12);
  color: #25D366;
  box-shadow: 0 0 20px rgba(37,211,102,0.2);
}

.support-card--telegram .support-card__icon {
  background: rgba(0,136,204,0.12);
  color: #0088CC;
  box-shadow: 0 0 20px rgba(0,136,204,0.2);
}

.support-card__body h3 {
  font-family: var(--font-title);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 6px;
}

.support-card__body p {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.support-card__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-blue-light);
  transition: color var(--transition-fast);
}

.support-card--whatsapp .support-card__cta { color: #25D366; }
.support-card--telegram .support-card__cta { color: #0088CC; }

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq__title {
  font-family: var(--font-title);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 28px;
}

.faq__list { display: flex; flex-direction: column; gap: 10px; }

.faq__item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
  backdrop-filter: blur(16px);
}

.faq__item.is-open { border-color: var(--color-border-hover); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-white);
  text-align: left;
  transition: background var(--transition-fast);
}

.faq__question:hover { background: rgba(255,255,255,0.04); }

.faq__question svg {
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-text-muted);
}

.faq__item.is-open .faq__question svg { transform: rotate(180deg); color: var(--color-blue); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__item.is-open .faq__answer { max-height: 200px; }

.faq__answer p {
  padding: 0 20px 18px;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
}

/* ============================================================
   13. FOOTER
============================================================ */
.footer {
  background: var(--color-bg-3);
  border-top: 1px solid var(--color-border);
}

.footer__top { padding: clamp(40px, 6vw, 70px) 0; }

.footer__top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.footer__brand .logo { margin-bottom: 16px; }

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer__social-link--wa:hover  { background: rgba(37,211,102,0.15); border-color: #25D366; color: #25D366; }
.footer__social-link--tg:hover  { background: rgba(0,136,204,0.15);  border-color: #0088CC; color: #0088CC; }

.footer__nav-title {
  font-family: var(--font-title);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

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

.footer__nav-list a {
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.footer__nav-list a:hover { color: var(--color-white); }

.footer__download .btn { margin-bottom: 10px; }

.footer__btn-exe {
  margin-top: 8px;
  border-color: rgba(0,207,255,0.3);
  color: var(--color-cyan);
}
.footer__btn-exe:hover {
  border-color: var(--color-cyan);
  background: rgba(0,207,255,0.08);
}

.footer__version {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 10px;
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__disclaimer { opacity: 0.6; }

/* ============================================================
   14. SCROLL TO TOP
============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-blue);
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  pointer-events: none;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(47,107,255,0.6);
}

/* ============================================================
   15. BOTONES DE DESCARGA (Android + PC)
============================================================ */
.download__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  min-width: 200px;
  flex: 1;
}

.download-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.download-btn:hover { transform: translateY(-3px); }
.download-btn:hover::before { opacity: 1; }
.download-btn:active { transform: scale(0.98); }

/* Android */
.download-btn--android {
  background: linear-gradient(135deg, rgba(47,107,255,0.15), rgba(123,60,255,0.15));
  border-color: rgba(47,107,255,0.4);
  box-shadow: 0 4px 24px rgba(47,107,255,0.2);
}
.download-btn--android::before {
  background: linear-gradient(135deg, rgba(47,107,255,0.1), rgba(123,60,255,0.1));
}
.download-btn--android:hover {
  border-color: rgba(47,107,255,0.7);
  box-shadow: 0 8px 40px rgba(47,107,255,0.35);
}
.download-btn--android .download-btn__icon { color: #5c8fff; }

/* PC / Windows */
.download-btn--pc {
  background: linear-gradient(135deg, rgba(0,207,255,0.1), rgba(47,107,255,0.1));
  border-color: rgba(0,207,255,0.35);
  box-shadow: 0 4px 24px rgba(0,207,255,0.15);
}
.download-btn--pc::before {
  background: linear-gradient(135deg, rgba(0,207,255,0.08), rgba(47,107,255,0.08));
}
.download-btn--pc:hover {
  border-color: rgba(0,207,255,0.6);
  box-shadow: 0 8px 40px rgba(0,207,255,0.3);
}
.download-btn--pc .download-btn__icon { color: var(--color-cyan); }

/* Icono */
.download-btn__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Texto */
.download-btn__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}
.download-btn__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.download-btn__platform {
  font-family: var(--font-title);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
}

/* Badge formato */
.download-btn__badge {
  font-family: var(--font-title);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--color-text);
  align-self: center;
  flex-shrink: 0;
}

/* ============================================================
   15b. SOPORTE — info box (sin botones de contacto)
============================================================ */
.support__info-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto 56px;
  padding: 28px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

.support__info-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(47,107,255,0.12);
  color: var(--color-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(47,107,255,0.2);
}

.support__info-title {
  font-family: var(--font-title);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.support__info-text {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
}

/* ============================================================
   16. TESTIMONIOS
============================================================ */
.testimonials {
  padding: var(--space-section) 0;
  background: var(--color-bg-2);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-blue), var(--color-cyan), transparent);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

/* Tarjeta de testimonio */
.tcard {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition-base);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.tcard::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 18px;
  font-size: 100px;
  font-family: Georgia, serif;
  color: rgba(47,107,255,0.08);
  line-height: 1;
  pointer-events: none;
}

.tcard:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--shadow-glow-blue);
}

.tcard__stars {
  color: #FFB800;
  font-size: var(--text-base);
  letter-spacing: 2px;
}

.tcard__text {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.tcard__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.tcard__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.tcard__avatar--1 { background: linear-gradient(135deg, #2F6BFF, #7B3CFF); }
.tcard__avatar--2 { background: linear-gradient(135deg, #00CFFF, #2F6BFF); }
.tcard__avatar--3 { background: linear-gradient(135deg, #7B3CFF, #FF3C7B); }
.tcard__avatar--4 { background: linear-gradient(135deg, #00CFFF, #7B3CFF); }
.tcard__avatar--5 { background: linear-gradient(135deg, #FF8C00, #FF3C7B); }
.tcard__avatar--6 { background: linear-gradient(135deg, #2F6BFF, #00CFFF); }

.tcard__author strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
}

.tcard__author span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Estadísticas de testimonios */
.testimonials__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  backdrop-filter: blur(16px);
}

.tstats__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tstats__number {
  font-family: var(--font-title);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.tstats__item span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.tstats__divider {
  width: 1px;
  height: 48px;
  background: var(--color-border);
}

/* ============================================================
   17. FOOTER — estrellas
============================================================ */
.footer__stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.footer__stars span:first-child {
  color: #FFB800;
  font-size: var(--text-base);
  letter-spacing: 2px;
}

.footer__stars-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================================
   18. POPUP NOTIFICACIONES DE SUSCRIPCIÓN
============================================================ */
.sub-toast {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(16, 24, 39, 0.96);
  border: 1px solid rgba(47,107,255,0.35);
  border-radius: var(--radius-lg);
  padding: 14px 18px 14px 14px;
  max-width: 320px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 24px rgba(47,107,255,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  /* Animación */
  opacity: 0;
  transform: translateX(-20px) translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.sub-toast.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
  pointer-events: auto;
}

.sub-toast__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(47,107,255,0.4);
}

.sub-toast__body {
  flex: 1;
  min-width: 0;
}

.sub-toast__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sub-toast__plan {
  font-size: var(--text-xs);
  color: var(--color-cyan);
  margin-top: 2px;
}

.sub-toast__close {
  font-size: 12px;
  color: var(--color-text-muted);
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.sub-toast__close:hover { color: var(--color-white); }

/* ============================================================
   19. RESPONSIVE
============================================================ */

/* --- Tablet grande (< 1100px) --- */
@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

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

  .footer__top-inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* --- Tablet (< 900px) --- */
@media (max-width: 900px) {
  :root { --space-section: 70px; }

  /* Header / nav móvil */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(320px, 85vw);
    background: rgba(16, 24, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--color-border);
    z-index: 999;
    transition: right var(--transition-base);
    padding: calc(var(--header-h) + 20px) 24px 32px;
    overflow-y: auto;
    margin-left: 0;
  }

  .nav.is-open { right: 0; }

  .nav__list { flex-direction: column; gap: 4px; }

  .nav__link {
    padding: 12px 16px;
    font-size: var(--text-base);
  }

  .header__cta { display: none; }
  .menu-toggle { display: flex; }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }

  .hero__visual { order: -1; }

  .hero__device {
    max-height: 380px;
  }

  .hero__badge, .hero__actions, .hero__stats {
    justify-content: center;
  }

  .hero__subtitle { margin: 0 auto 36px; }

  .hero__stats { justify-content: center; }

  /* Download */
  .download__inner {
    grid-template-columns: 1fr;
  }

  .download__btns { flex-direction: column; }
  .download-btn { min-width: 0; }

  /* Testimonios */
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__stats { gap: 24px; padding: 28px 24px; }

  /* Screenshots */
  .screenshots__grid { display: none; }
  .carousel { display: block; }
}

/* --- Móvil (< 600px) --- */
@media (max-width: 600px) {
  :root { --space-section: 56px; }

  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 320px; justify-content: center; }

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

  .download__inner { padding: 28px 20px; }

  .footer__top-inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }

  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .testimonials__grid { grid-template-columns: 1fr; }
  .tstats__divider { display: none; }
  .testimonials__stats { gap: 20px; }

  .support__info-box { flex-direction: column; padding: 20px; }

  .sub-toast { left: 12px; right: 12px; max-width: none; bottom: 16px; }

  .scroll-top { bottom: 20px; right: 20px; }

  .carousel__btn--prev { left: -4px; }
  .carousel__btn--next { right: -4px; }
}

/* --- Móvil pequeño (< 380px) --- */
@media (max-width: 380px) {
  .hero__stat-divider { display: none; }
  .hero__stats { flex-direction: column; align-items: center; gap: 12px; }
}
