/* ═══════════════════════════════════════════════════════════════════════════
   LEX JUNIOR BROWSER — OFFICIAL WEBSITE STYLESHEET
   Modern Dark Glassmorphism · Neon Indigo / Cyan Accents · Responsive
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg-base: #09090E;
  --bg-surface: #12121C;
  --bg-elevated: #1A1A28;
  --bg-card: rgba(20, 20, 32, 0.72);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.42);
  --accent-primary: #6366F1;
  --accent-purple: #A855F7;
  --accent-cyan: #38BDF8;
  --accent-emerald: #10B981;
  --text-primary: #F4F4F6;
  --text-secondary: #A1A1B5;
  --text-muted: #6E6E85;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-deep: 0 24px 64px rgba(0, 0, 0, 0.65);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ─── Fondos Ambientales Animados ─── */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.45;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.42), transparent 70%);
  top: -140px;
  left: -120px;
}

.orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3), rgba(168, 85, 247, 0.2), transparent 70%);
  bottom: 10%;
  right: -120px;
  animation-delay: -7s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.08); }
}

.ambient-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, rgba(0, 0, 0, 0.9), transparent 80%);
  pointer-events: none;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

code {
  font-family: 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.88em;
  background: rgba(99, 102, 241, 0.14);
  color: #C7D2FE;
  padding: 2px 6px;
  border-radius: 5px;
}

/* ─── Animaciones Reveal al Hacer Scroll ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Navbar con Glassmorphism ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 14, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.5);
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.6px;
  background: linear-gradient(90deg, #38BDF8, #818CF8, #C084FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #A5B4FC;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #FFFFFF;
}

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

.mobile-menu-btn {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 1.15rem;
  cursor: pointer;
}

/* ─── Botones ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #6366F1 0%, #7C3AED 60%, #2563EB 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 14px 38px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.btn-main-label {
  font-size: 1.04rem;
  font-weight: 700;
}

.btn-sub-label {
  font-size: 0.74rem;
  opacity: 0.85;
  font-weight: 400;
}

/* ─── Hero Section ─── */
.hero {
  padding: 82px 0 54px;
  text-align: center;
}

.hero-content {
  max-width: 860px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #6EE7B7;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(90deg, #38BDF8 0%, #818CF8 50%, #C084FC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 34px;
}

.hero-Subtitle strong, .hero-subtitle strong {
  color: var(--text-primary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.trust-item strong {
  color: var(--text-primary);
}

/* ─── Encabezados de Sección ─── */
section {
  padding: 72px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ─── Showcase Interactivo del Navegador ─── */
.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.showcase-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-tab:hover {
  color: var(--text-primary);
  border-color: rgba(99, 102, 241, 0.4);
}

.showcase-tab.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.24), rgba(168, 85, 247, 0.2));
  border-color: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
}

/* ─── Ventana Mockup Realista de Lex Junior Browser ─── */
.browser-window {
  background: #0B0B10;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  box-shadow: var(--shadow-deep), 0 0 50px rgba(99, 102, 241, 0.16);
  overflow: hidden;
}

.bw-titlebar {
  background: #09090D;
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
  border-bottom: 1px solid #1E1E2A;
  user-select: none;
}

.bw-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 8px;
}

.bw-brand img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.bw-brand span {
  font-size: 0.72rem;
  font-weight: 800;
  background: linear-gradient(90deg, #38BDF8, #818CF8, #C084FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bw-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  overflow-x: auto;
}

.bw-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.bw-tab.active {
  background: #1C1C28;
  border: 1px solid #2D2D42;
  color: #F4F4F6;
  font-weight: 600;
}

.bw-tab-inactive {
  background: #12121A;
  color: #8E8EA0;
}

.bw-tab-close {
  opacity: 0.6;
  font-size: 0.7rem;
  margin-left: 4px;
}

.bw-newtab-btn, .bw-incog-btn {
  background: transparent;
  border: none;
  color: #A1A1AA;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.82rem;
}

.bw-win-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8E8EA0;
  font-size: 0.78rem;
}

/* Barra de Navegación de Lex Junior */
.bw-navbar {
  background: #13131C;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #222230;
  flex-wrap: wrap;
}

.bw-nav-btns {
  display: flex;
  gap: 10px;
  color: #A1A1B5;
  font-size: 0.88rem;
}

.bw-omnibox {
  flex: 1;
  min-width: 200px;
  background: #1C1C28;
  border: 1px solid #2D2D40;
  border-radius: 16px;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.bw-lock {
  font-size: 0.75rem;
}

.bw-url {
  flex: 1;
  font-size: 0.8rem;
  color: #E4E4EE;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bw-shield-pill {
  background: #17253B;
  border: 1px solid #253E66;
  color: #60A5FA;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 99px;
}

.bw-utilities {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bw-util-btn {
  background: #1E1B4B;
  border: 1px solid #3730A3;
  color: #C7D2FE;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bw-vol-btn {
  color: #38BDF8;
  border-color: #0284C7;
}

.bw-media-btn {
  background: #181824;
  border-color: #2A2A3C;
  color: #D4D4D8;
}

.dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
}

.bw-telemetry-pill {
  background: #181822;
  border: 1px solid #272736;
  color: #A1A1AA;
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bw-icon-btn {
  color: #A1A1AA;
  font-size: 0.85rem;
  padding: 2px 5px;
}

/* Barra de Marcadores */
.bw-bookmarks {
  background: #101017;
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  border-bottom: 1px solid #1E1E2A;
  font-size: 0.74rem;
  color: #D4D4D8;
}

.bw-bk-pin {
  background: #1C1C28;
  border: 1px solid #2A2A3C;
  padding: 2px 9px;
  border-radius: 6px;
}

.bw-bk-sep {
  width: 1px;
  height: 14px;
  background: #272736;
}

.bw-bk-item {
  background: #181822;
  padding: 2px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.yt-dot { color: #EF4444; }
.g-dot { color: #38BDF8; font-weight: 800; }
.tw-dot { color: #A855F7; }

/* Viewport de las 5 Vistas Interactivas */
.bw-viewport {
  min-height: 410px;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.14), #0B0B10 70%);
  position: relative;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bw-view {
  display: none;
  width: 100%;
  animation: fadeView 0.3s ease;
}

.bw-view.active {
  display: block;
}

@keyframes fadeView {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Vista 1: Nueva Pestaña Oficial */
#view-newtab {
  text-align: center;
}

.nt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.nt-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nt-brand span {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(90deg, #38BDF8, #818CF8, #C084FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nt-clock {
  font-size: 3.4rem;
  font-weight: 200;
  line-height: 1.05;
  color: #FAFAFA;
}

.nt-date {
  font-size: 0.82rem;
  color: #71717A;
  margin-bottom: 20px;
}

.nt-search {
  max-width: 520px;
  margin: 0 auto 24px;
  background: #161622;
  border: 1px solid #2A2A3D;
  border-radius: 999px;
  padding: 6px 8px 6px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nt-g-icon {
  font-weight: 800;
  color: #38BDF8;
}

.nt-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: #A1A1B5;
  font-size: 0.85rem;
  outline: none;
}

.nt-search button {
  background: #6366F1;
  color: #FFF;
  border: none;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.nt-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.nt-card {
  width: 82px;
  padding: 12px 8px;
  background: rgba(24, 24, 34, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: #A1A1AA;
  transition: transform 0.2s, border-color 0.2s;
}

.nt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.5);
  color: #FFF;
}

.nt-card svg {
  width: 28px;
  height: 28px;
}

/* Vista 2: YouTube + Amplificador 300% */
.yt-demo-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
  align-items: center;
}

.yt-video-stage {
  background: linear-gradient(145deg, #151525, #0D0D17);
  border: 1px solid #2A2A40;
  border-radius: 14px;
  padding: 24px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.yt-badge-shield {
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6EE7B7;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.yt-screen-art {
  text-align: center;
  margin: auto 0;
}

.yt-wave-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 56px;
  margin-bottom: 14px;
}

.yt-wave-bars span {
  width: 7px;
  background: linear-gradient(180deg, #38BDF8, #6366F1);
  border-radius: 99px;
  animation: soundWave 1.1s ease-in-out infinite alternate;
}

.yt-wave-bars span:nth-child(1) { height: 22px; animation-delay: 0.0s; }
.yt-wave-bars span:nth-child(2) { height: 44px; animation-delay: 0.15s; }
.yt-wave-bars span:nth-child(3) { height: 32px; animation-delay: 0.3s; }
.yt-wave-bars span:nth-child(4) { height: 54px; animation-delay: 0.1s; }
.yt-wave-bars span:nth-child(5) { height: 38px; animation-delay: 0.25s; }
.yt-wave-bars span:nth-child(6) { height: 48px; animation-delay: 0.4s; }
.yt-wave-bars span:nth-child(7) { height: 24px; animation-delay: 0.2s; }

@keyframes soundWave {
  0% { transform: scaleY(0.45); }
  100% { transform: scaleY(1.05); }
}

.popup-card {
  background: #14141F;
  border: 1px solid #2E2E42;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 0.92rem;
}

.vol-pill {
  background: #1E1B4B;
  border: 1px solid #3730A3;
  color: #38BDF8;
  padding: 2px 10px;
  border-radius: 8px;
  font-weight: 800;
}

.demo-slider {
  width: 100%;
  accent-color: #6366F1;
  cursor: pointer;
  margin-bottom: 6px;
}

.popup-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #71717A;
  margin-bottom: 14px;
}

.cyan, .cyan-txt { color: #38BDF8 !important; }

.popup-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.preset-btn {
  background: #1C1C2A;
  border: 1px solid #2D2D42;
  color: #D4D4D8;
  padding: 6px;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.preset-btn.primary {
  background: #1E1B4B;
  border-color: #4338CA;
  color: #C7D2FE;
}

.popup-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Vista 3: Detector Multimedia */
.sniffer-demo-wrap {
  max-width: 580px;
  margin: 0 auto;
}

.sub-green {
  font-size: 0.75rem;
  color: #10B981;
  font-weight: 500;
}

.btn-stop-demo {
  background: #3F1D28;
  border: 1px solid #9F1239;
  color: #FDA4AF;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 8px;
}

.sniffer-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sniffer-filters span {
  background: #1C1C2A;
  border: 1px solid #2A2A3C;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  color: #A1A1AA;
}

.sniffer-filters span.active {
  background: #1E1B4B;
  border-color: #4338CA;
  color: #C7D2FE;
  font-weight: 700;
}

.sniffer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.sniffer-item {
  background: #1B1B29;
  border: 1px solid #2A2A3D;
  border-radius: 9px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fmt-badge {
  background: #1E1B4B;
  color: #A5B4FC;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.sniffer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sniffer-info strong {
  font-size: 0.82rem;
}

.sniffer-info span {
  font-size: 0.72rem;
  color: #71717A;
}

.dl-mini-btn {
  background: #6366F1;
  color: #FFF;
  border: none;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 600;
}

.sniffer-footer-note {
  font-size: 0.76rem;
  color: var(--text-secondary);
  border-top: 1px solid #252536;
  padding-top: 10px;
}

/* Vista 4: Página Flotante */
.pip-demo-stage {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px;
  align-items: center;
}

.pip-bg-code h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pip-bg-code p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.floating-page-mock {
  background: #0F0F17;
  border: 2px solid #4F46E5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.fp-header {
  background: #14141F;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  border-bottom: 1px solid #27273A;
}

.fp-badge {
  background: #1E1B4B;
  color: #818CF8;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
}

.fp-title {
  flex: 1;
  color: #A1A1AA;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp-btn {
  background: #1F1F2E;
  padding: 2px 6px;
  border-radius: 4px;
  color: #D4D4D8;
}

.fp-close {
  color: #F87171;
  padding: 0 4px;
}

.fp-body {
  padding: 36px 20px;
  text-align: center;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), #09090E);
}

.fp-video-box {
  font-weight: 700;
  color: #E0E7FF;
}

/* Vista 5: Modo Incógnito */
.incog-demo-stage {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.incog-pill {
  display: inline-block;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #D8B4FE;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.incog-demo-stage h3 {
  margin-bottom: 20px;
}

.incog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}

.incog-box {
  background: #141420;
  border: 1px solid #2B2B40;
  padding: 16px;
  border-radius: 12px;
}

.incog-box strong {
  display: block;
  margin-bottom: 6px;
  color: #E9D5FF;
}

.incog-box p {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

/* ─── Bento Grid de Características ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

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

.bento-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.55), rgba(20, 20, 32, 0.8));
}

.card-icon {
  font-size: 1.9rem;
  margin-bottom: 14px;
}

.bento-card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* ─── Sección 0 Telemetría ─── */
.telemetry-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.telemetry-info h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 10px 0 14px;
}

.telemetry-info p {
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.telemetry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.telemetry-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.telemetry-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: 800;
}

.telemetry-list strong {
  color: var(--text-primary);
}

.telemetry-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 0.9rem;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6EE7B7;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.compare-row {
  display: grid;
  grid-template-columns: 135px 1fr 70px;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.83rem;
}

.comp-track {
  height: 10px;
  background: #1C1C2A;
  border-radius: 99px;
  overflow: hidden;
}

.comp-fill {
  height: 100%;
  border-radius: 99px;
}

.fill-lex {
  background: linear-gradient(90deg, #10B981, #38BDF8);
}

.fill-other {
  background: linear-gradient(90deg, #F43F5E, #FB923C);
}

.comp-val {
  text-align: right;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ─── Requisitos del Sistema ─── */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.spec-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.spec-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ─── FAQ ─── */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "＋";
  color: var(--accent-cyan);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "－";
}

.faq-item p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

/* ─── CTA Final y Footer ─── */
.final-cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(168, 85, 247, 0.16));
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 52px 28px;
  text-align: center;
}

.cta-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.final-cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}

.final-cta-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: #FFF;
}

/* ─── Adaptabilidad Móvil y Tablet ─── */
@media (max-width: 920px) {
  .bento-grid,
  .specs-grid,
  .telemetry-grid,
  .yt-demo-layout,
  .pip-demo-stage,
  .incog-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0D0D15;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 18px;
    gap: 14px;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-block;
  }
}

