/* =============================================================================
   DBV Unreal AI — Estilos de la web de presentación (GitHub Pages / docs/)
   Copyright (c) 2026 David Bueno Vallejo and David Bueno Carmona · MIT License
   Diseño sobrio y profesional para desarrolladores y artistas técnicos de Unreal Engine 5.
   ============================================================================= */

:root {
  --bg-primary:     #0b0f17;
  --bg-secondary:   #121824;
  --bg-tertiary:    #1a2334;
  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;
  --accent:         #38bdf8;
  --accent-hover:   #7dd3fc;
  --accent-glow:    rgba(56, 189, 248, 0.18);
  --unreal-orange:  #f59e0b;
  --success:        #10b981;
  --danger:         #ef4444;
  --border:         #232f45;
  --border-focus:   #3b82f6;
  --shadow:         rgba(0, 0, 0, 0.55);
  --radius:         12px;
  --radius-sm:      6px;
  --max-width:      1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

code {
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, Menlo, Consolas, monospace;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.88em;
  color: #e2e8f0;
}

kbd {
  font-family: inherit;
  font-size: 0.8em;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 2px 7px;
  color: var(--text-primary);
}

section > *, .nav-inner, .footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
}

/* ─── Botones ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background-color: var(--accent);
  color: #041320;
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-ghost {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(56, 189, 248, 0.05);
}
.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
  border-radius: 10px;
}
.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: 6px;
}
.btn-nav {
  display: none;
}

/* ─── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.nav-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--text-secondary);
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-github {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-lang {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 600;
  font-size: 13px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-lang:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 68px 24px 44px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.badge-version {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-sub {
  color: var(--text-secondary);
  font-size: 16.5px;
  line-height: 1.6;
  margin-bottom: 26px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.hero-note {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}
.hero-ecosystem {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-ecosystem-label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-ecosystem-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.eco-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
  text-decoration: none;
}
.eco-pill:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}
.eco-pill-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

.hero-shot {
  position: relative;
}
.window-frame {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px var(--shadow);
}
.window-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-r { background-color: #ff5f57; }
.dot-y { background-color: #febc2e; }
.dot-g { background-color: #28c840; }
.window-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: inherit;
}

.hero-screenshot {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  cursor: zoom-in;
}

/* ─── Stats ───────────────────────────────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-secondary);
}
.stats-inner {
  padding: 30px 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ─── Ecosistema y Aplicaciones Compatibles ──────────────────────────────── */
.ecosystem-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}
.ecosystem-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  text-align: center;
}
.ecosystem-section h2 {
  font-size: 2.1rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: #fff;
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}
.ecosystem-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ecosystem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}
.ecosystem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 16px 36px var(--shadow);
}
.ecosystem-card:hover::before {
  background: linear-gradient(90deg, var(--accent), #818cf8);
}
.ecosystem-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.ecosystem-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background-color: var(--bg-tertiary);
  transition: transform 0.2s ease;
}
.ecosystem-card:hover .ecosystem-icon-wrapper {
  transform: scale(1.06);
}
.ecosystem-icon-wrapper.unreal {
  background: radial-gradient(circle, rgba(14, 17, 40, 0.9) 0%, rgba(11, 15, 23, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.18);
}
.ecosystem-icon-wrapper.worldlabs {
  background: radial-gradient(circle, rgba(30, 30, 38, 0.9) 0%, rgba(11, 15, 23, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.18);
}
.ecosystem-icon-wrapper.tripo {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(11, 15, 23, 0.95) 100%);
  border-color: rgba(99, 102, 241, 0.35);
}
.ecosystem-icon {
  width: 28px;
  height: 28px;
  display: block;
}
.ecosystem-card-titles h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.ecosystem-type {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
}
.ecosystem-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.ecosystem-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.ecosystem-badges .badge {
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 500;
}
.ecosystem-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease, transform 0.15s ease;
  margin-top: auto;
}
.ecosystem-link:hover {
  color: var(--accent-hover);
  transform: translateX(3px);
}

/* ─── Manifiesto / Por qué ────────────────────────────────────────────────── */
.why {
  padding: 72px 24px;
  text-align: center;
}
.why-inner {
  max-width: 780px;
}
.why h2 {
  font-size: 1.85rem;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
  color: #fff;
}
.why p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}
.why strong {
  color: var(--text-primary);
}
.why p + p {
  margin-top: 16px;
}

/* ─── Vídeo de Demostración ─────────────────────────────────────────────── */
.demo-video-section {
  padding: 68px 24px 76px;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.demo-video-inner {
  max-width: var(--max-width);
  margin-inline: auto;
}
.demo-video-section h2 {
  font-size: 2rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: #fff;
}
.video-frame-wrapper {
  max-width: 960px;
  margin: 32px auto 0;
  box-shadow: 0 20px 48px var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-container {
  position: relative;
  width: 100%;
  background-color: #05070a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-video {
  width: 100%;
  height: auto;
  max-height: 540px;
  display: block;
  background-color: #000;
  outline: none;
}

/* ─── Steps: Del prompt al nivel de Unreal ───────────────────────────────── */
.steps {
  padding: 64px 24px 80px;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-inner {
  text-align: center;
}
.steps h2 {
  font-size: 1.9rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: #fff;
}
.section-sub {
  color: var(--text-secondary);
  margin-top: 0;
  margin-bottom: 40px;
  font-size: 15.5px;
  max-width: 68ch;
  margin-inline: auto;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}
.step-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}
.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.step-card h3 {
  font-size: 15.5px;
  color: var(--text-primary);
  margin: 0;
}
.step-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── Galería de Capturas Reales ─────────────────────────────────────────── */
.showcase {
  padding: 72px 24px 80px;
  background-color: var(--bg-primary);
}
.showcase-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  text-align: center;
}
.showcase h2 {
  font-size: 1.95rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: #fff;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  text-align: left;
}
.showcase-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px var(--shadow);
}
.showcase-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  cursor: zoom-in;
  transition: transform 0.25s ease;
}
.showcase-card:hover img {
  transform: scale(1.02);
}
.showcase-body {
  padding: 18px 20px;
}
.showcase-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 6px;
}
.showcase-body h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.showcase-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ─── Características Técnicas ────────────────────────────────────────────── */
.features {
  padding: 72px 24px 80px;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.features-inner {
  text-align: center;
}
.features h2 {
  font-size: 1.95rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: #fff;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
  margin-top: 36px;
}
.feature-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 24px;
  margin-bottom: 12px;
}
.feature-icon--svg {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 28px;
  margin-bottom: 12px;
}
.feature-icon--svg img {
  width: 26px;
  height: 26px;
  display: block;
}
.feature-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── IA Opcional y Privacidad ───────────────────────────────────────────── */
.ai-section {
  padding: 72px 24px 80px;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
}
.ai-inner {
  text-align: center;
}
.ai-inner h2 {
  font-size: 1.95rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: #fff;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
  margin-top: 36px;
}
.ai-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.ai-card h3 {
  font-size: 15.5px;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.ai-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── Descarga e Instalación ──────────────────────────────────────────────── */
.download {
  padding: 72px 24px 88px;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
  border-top: 1px solid var(--border);
}
.download-inner {
  text-align: center;
}
.download h2 {
  font-size: 2rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: #fff;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}
.download-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.download-card--featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.08), var(--bg-primary));
}
.download-badge {
  display: inline-block;
  background-color: rgba(56, 189, 248, 0.15);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.download-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: #fff;
}
.download-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.5;
}
.download-files {
  list-style: none;
  margin-bottom: 22px;
}
.download-files li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.download-files strong {
  color: var(--text-primary);
}
.download-soon {
  margin-top: 36px;
  padding: 18px 24px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--text-muted);
  text-align: center;
}
.download-soon strong {
  color: var(--text-secondary);
}

/* ─── Lightbox / Zoom Modal ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 10, 18, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.lightbox.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}
.lightbox-container {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border);
  object-fit: contain;
}
.lightbox-caption {
  color: var(--text-primary);
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
  max-width: 78ch;
  line-height: 1.5;
  background: rgba(13, 17, 23, 0.88);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  background: #1f242c;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background-color 0.15s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.lightbox-close:hover {
  background-color: var(--danger);
  transform: scale(1.1);
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
  background-color: var(--bg-primary);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-brand p {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 13px;
  max-width: 38ch;
  line-height: 1.5;
}
.footer-links {
  display: flex;
  gap: 56px;
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Legal (Privacidad / Privacy) ────────────────────────────────────────── */
.legal {
  max-width: 740px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  color: var(--text-primary);
}
.legal h1 {
  font-size: 32px;
  margin-bottom: 6px;
  color: #fff;
}
.legal .legal-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 20px;
  margin: 36px 0 12px;
  color: var(--accent);
}
.legal p, .legal li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}
.legal ul {
  padding-left: 20px;
  margin: 8px 0;
}
.legal li {
  margin-bottom: 6px;
}
.legal-summary {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0 16px;
}
.legal-summary p {
  color: var(--text-primary);
  margin: 0;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .ai-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .btn-nav { display: inline-flex; }
}

@media (max-width: 680px) {
  .ecosystem-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}
