/* ==========================================================================
   GIGA.AI — CLON EDUCATIVO
   Tokens extraídos del CSS de producción real (Tailwind v4) de giga.ai.
   Tipografías originales (Emilio Display / Giga Sans / Geist Mono) sustituidas
   por Fraunces / Inter / JetBrains Mono — ver informe de análisis.
   ========================================================================== */

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

:root {
  /* --- color: tema oscuro (valores oklch literales tomados del CSS real) --- */
  --bg: oklch(16.3% .003 30);
  --fg: oklch(100% 0 0);
  --surface: oklch(17% 0 0);
  --surface-raised: oklch(22% 0 0);
  --surface-elevated: #232223;
  --muted: oklch(18% 0 0);
  --muted-fg: oklch(73% 0 0);
  --border: oklch(100% 0 0 / 8%);

  --accent-orange: oklch(69% .185 40);
  --accent-blue: oklch(68% .17 230);
  --accent-teal: oklch(51% .09 171);
  --accent-lime: oklch(88% .2 128);
  --accent-violet: #9d8bff;

  --pulse-orange: #f76b1580;
  --pulse-lime: #bdee6380;

  --button-bg: #131313;       /* botones sobre fondo claro */
  --button-bg-hover: #000;
  --button-dark-bg: #171615;  /* botones "Explore X" sobre tarjeta oscura */
  --button-dark-bg-hover: #1d1b1a;

  --stepped-feature-panel: #262828;

  /* --- tipografía --- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --text-eyebrow: .6875rem;
  --text-hero: max(2.75rem, 4.6vw);
  --text-headline: clamp(2.5rem, 4vw, 3rem);
  --text-headline-tight: clamp(2.1875rem, 4.4vw, 3rem);
  --text-cta: clamp(2.5rem, 5vw, 3.75rem);
  --text-canvas-title: 2.1875rem;
  --text-section-intro: clamp(.875rem, 1vw + .5rem, 1rem);

  /* --- radios / sombras / easing (literales) --- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-image: 6px;
  --ease-out: cubic-bezier(0,0,.2,1);
  --max-w-section: 1280px;

  --header-h: 74px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.section-inner {
  max-width: var(--max-w-section);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  text-transform: uppercase;
  letter-spacing: .1px;
}
.eyebrow-dark { color: #000; }
.eyebrow-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }

.dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dot-orange { background: var(--accent-orange); animation: pulse-dot-colored 2s var(--ease-out) infinite; --pulse-color: var(--pulse-orange); }
.dot-lime { background: #bdee63; animation: pulse-dot-colored 2s var(--ease-out) infinite; --pulse-color: var(--pulse-lime); box-shadow: 0 0 4px 0 var(--pulse-lime); }

.headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-headline);
  line-height: 1.3;
  letter-spacing: -.01em;
  max-width: 320px;
}
.headline-tight { font-size: var(--text-headline-tight); }
.headline-dark { color: #000; max-width: 640px; }

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: .875rem;
  font-family: var(--font-sans);
  white-space: nowrap;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), backdrop-filter .3s var(--ease-out);
}
.btn-primary { background: var(--fg); color: #000; }
.btn-primary:hover { background: rgba(255,255,255,.6); backdrop-filter: blur(20px); }
.btn-lg { height: 42px; padding: 9px 24px; }
.btn-black { background: var(--button-bg); color: #fff; }
.btn-black:hover { background: var(--button-bg-hover); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 20px 20px auto 20px;
  z-index: 50;
  height: 54px;
  color: #fff;
}
.header-inner {
  height: 100%;
  max-width: 2000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Las dos "píldoras" translúcidas del header: una agrupa logo+nav a la
   izquierda, otra agrupa acciones a la derecha, dejando el centro
   transparente en vez de una única barra a todo el ancho. */
.header-left,
.header-actions {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  transition: background-color .3s var(--ease-out);
}
.header-left { padding-left: 14px; }
.site-header.scrolled .header-left,
.site-header.scrolled .header-actions { background: rgba(255,255,255,.14); }

/* Tema claro del header: se activa por JS cuando el usuario ha hecho scroll
   sobre una sección con [data-nav-theme="light"] (spotlight/CTA/footer),
   igual que el sitio original alterna el color del nav al pasar sobre
   secciones blancas. */
.site-header.light { color: #000; }
.site-header.light .header-left,
.site-header.light .header-actions { background: rgba(0,0,0,.05); }
.site-header.light .nav-trigger { color: #000; }

.logo { display: flex; align-items: center; gap: 8px; height: 100%; }
.logo-mark { width: 22px; height: 22px; flex-shrink: 0; }
.logo-img { width: 32px; height: 32px; flex-shrink: 0; object-fit: contain; }
.logo-footer { width: 24px; height: 24px; }
.logo-word { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.logo-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.logo-letter.in { opacity: 1; transform: translateY(0); }

.main-nav { display: none; align-items: center; gap: 8px; height: 100%; margin-left: 16px; }
@media (min-width: 810px) { .main-nav { display: flex; } }

.nav-trigger {
  height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 0 12px 0 22px;
  font-size: .875rem;
  color: #fff;
  transition: opacity .15s var(--ease-out);
}
.nav-trigger:hover { opacity: .75; }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Selector de idioma ES/EN */
.lang-switch {
  display: none;
  align-items: center;
  gap: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  padding: 3px;
}
@media (min-width: 810px) { .lang-switch { display: flex; } }
.lang-option {
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .05em;
  color: rgba(255,255,255,.55);
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.lang-option.is-active { background: #fff; color: #000; }
.site-header.light .lang-switch { background: rgba(0,0,0,.06); }
.site-header.light .lang-option { color: rgba(0,0,0,.5); }
.site-header.light .lang-option.is-active { background: #000; color: #fff; }

/* En el menú móvil el selector siempre se muestra (no depende del breakpoint) */
.mobile-menu .lang-switch { display: flex; align-self: flex-start; margin-top: 4px; }

.menu-toggle {
  width: 36px; height: 36px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
@media (min-width: 810px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-out); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  margin-top: 8px;
  background: rgba(20,20,20,.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px 6px; font-size: .95rem; }
.mobile-menu .btn { margin-top: 8px; }
@media (min-width: 810px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  padding: 140px 20px 130px;
  text-align: center;
}

/* Fondo real: fondo.png (atardecer púrpura/naranja sobre cordillera,
   enmarcado por ramas de pino). Imagen provista por el usuario. */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  will-change: transform;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.75) 78%, #000 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  color: #fff;
  /* Entrada al cargar la página (no ligada a scroll): equivalente al
     keyframe real hero-rise{opacity:0,translateY(16px) -> opacity:1,translateY(0)} */
  animation: hero-rise .9s var(--ease-out) .2s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1px 8px 1px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(20px);
  color: #fff;
}
.hero-badge svg { opacity: .7; transition: opacity .1s; }
.hero-badge:hover svg { opacity: 1; }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: pulse-dot 2s var(--ease-out) infinite;
}

.hero-title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-hero);
  line-height: 1.2;
}
.hero-subtitle { margin-top: 12px; font-size: 1rem; line-height: 2; color: #fff; }

/* Marquee de logos de clientes */
.marquee-wrap {
  position: absolute;
  left: 0; right: 0;
  bottom: 100px;
  z-index: 2;
}
.marquee-mask {
  max-width: 1152px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 30s linear infinite;
}
.cust-logo {
  margin-right: 64px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}

/* Tarjeta demo (video excluido, placeholder estático) */
.demo-card {
  position: absolute;
  left: 20px; bottom: 128px; z-index: 2;
  display: none;
  align-items: center;
  gap: 12px;
  width: 356px; height: 125px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(40px);
  text-align: left;
}
@media (min-width: 810px) { .demo-card { display: flex; } }
.demo-thumb {
  width: 179px; height: 101px; flex-shrink: 0;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3a3f4a, #17181c);
}
.demo-text p { font-size: .875rem; color: #fff; }
.demo-text span { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-section { background: linear-gradient(to bottom, #000 1%, var(--bg)); padding: 20px 0 24px; }
.stats-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px 20px;
}
@media (min-width: 810px) {
  .stats-inner { flex-direction: row; justify-content: space-between; align-items: center; min-height: 152px; }
}
.stats-lead { max-width: 340px; font-size: 1rem; line-height: 1.5; }
.stats-numbers { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 810px) { .stats-numbers { flex-direction: row; gap: 0; } }
.stat-block { position: relative; width: 200px; padding-left: 14px; border-left: 1px solid var(--border); }
.stat-label { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; }
.stat-value { margin-top: 10px; font-family: var(--font-sans); font-size: 2.75rem; line-height: 1; }

/* ==========================================================================
   FEATURE GRID (bloques de 3 iconos)
   ========================================================================== */
.feature-grid-section { padding: 20px 0 56px; }
.feature-grid {
  margin-top: 16px;
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr;
}
@media (min-width: 810px) { .feature-grid { grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; } }

.feature-list { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 810px) { .feature-list { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.feature-list li { padding-left: 24px; border-left: 1px solid var(--border); }
@media (min-width: 810px) { .feature-list li { padding: 0 12px; max-width: 200px; } }
.feature-icon { color: rgba(255,255,255,.9); }
.feature-list h3 { margin-top: 12px; font-size: .875rem; font-weight: 400; }
.feature-list p { margin-top: 12px; font-size: .875rem; color: rgba(255,255,255,.5); max-width: 280px; }

/* ==========================================================================
   PANEL "CADA MINUTO CUESTA UNA VENTA" (sección "Improve as you go")
   Recreación de venta.png con la paleta oscura y tipografía de Briqia.
   Las barras y los porcentajes se animan al entrar en viewport reutilizando
   [data-reveal].is-in (misma sección) y el contador de main.js.
   ========================================================================== */
.conversion-panel {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0,0,0,.2);
  padding: 28px 24px;
}
@media (min-width: 810px) { .conversion-panel { flex-direction: row; padding: 32px; gap: 56px; } }

.conversion-stats { display: flex; flex-direction: column; }
@media (min-width: 810px) { .conversion-stats { width: 32%; flex-shrink: 0; } }
.conv-stat { padding: 20px 0; border-top: 1px solid var(--border); }
.conv-stat:first-child { border-top: none; padding-top: 0; }
.conv-stat b { display: block; font-family: var(--font-sans); font-size: 2rem; font-weight: 600; color: #fff; }
.conv-stat p { margin-top: 8px; font-size: .85rem; line-height: 1.45; color: rgba(255,255,255,.55); max-width: 320px; }
.conv-source { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.3); }

.conversion-chart { flex: 1; min-width: 0; }
.conv-title { margin-top: 12px; font-size: 1.75rem; }
.conv-title em { font-style: italic; color: var(--accent-orange); }

.conv-bars { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.conv-bar-top { display: flex; align-items: baseline; gap: 10px; font-size: .8rem; flex-wrap: wrap; }
.conv-bar-top b { color: #fff; font-weight: 500; flex-shrink: 0; }
.conv-flag { color: var(--accent-orange); font-size: .7rem; margin-right: auto; }
.conv-value { margin-left: auto; font-family: var(--font-mono); font-weight: 500; color: rgba(255,255,255,.45); flex-shrink: 0; }
.conv-value.up { color: var(--accent-lime); }

.conv-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; margin-top: 8px; }
.conv-bar span { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 1.1s cubic-bezier(.16,1,.3,1); }
[data-reveal].is-in .conv-bar span { width: var(--bar-w); }
.conv-bar-best span { background: #fff; }
.conv-bar-base span { background: rgba(255,255,255,.35); }
.conv-bar-warm span { background: var(--accent-orange); }
.conv-bar-hot span { background: #d9622f; }
.conv-bar-worst span { background: #e0455f; }

.conv-callout {
  margin-top: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  padding: 18px 20px;
}
.conv-callout p { font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.55); }

/* ==========================================================================
   STEPPED FEATURE (Agent Canvas / Smart Insights)
   ========================================================================== */
.stepped-section { padding: 0 0 48px; }
.stepped-card {
  display: flex;
  flex-direction: column;
  gap: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0,0,0,.2);
  padding: 24px;
}
@media (min-width: 810px) {
  .stepped-card { flex-direction: row; min-height: 780px; padding: 24px; }
  .stepped-card.reverse { flex-direction: row-reverse; }
}

.stepped-text { flex: 0 0 auto; }
@media (min-width: 810px) { .stepped-text { width: 33%; display: flex; flex-direction: column; } }
.stepped-heading { display: flex; align-items: center; gap: 12px; }
.canvas-title { font-family: var(--font-display); font-size: var(--text-canvas-title); font-weight: 400; }
.grad-text-orange { background: linear-gradient(90deg, rgb(255,154,234) -10%, #fff 45%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-green { background: linear-gradient(90deg, rgb(195,234,202) 0%, #fff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-blue { background: linear-gradient(90deg, rgb(136,187,245) 0%, #fff 40%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stepped-desc { margin-top: 16px; max-width: 320px; font-size: var(--text-section-intro); color: rgba(255,255,255,.5); }
.stepped-desc em { font-family: var(--font-display); font-style: italic; color: rgba(255,255,255,.8); }
.roadmap-layout .stepped-desc { max-width: 480px; }

/* Variante "dashboard-layout": usada por Agent Canvas para el panel de
   pro.png. El panel de 3 columnas necesita todo el ancho de la tarjeta, así
   que el texto va arriba a todo lo ancho (con un max-width legible) y el
   dashboard ocupa una fila propia debajo. El stepper de texto (Create the
   agent/Define policies/...) se quitó a pedido del usuario. */
.stepped-card.dashboard-layout { flex-direction: column; min-height: auto; gap: 20px; }
.dashboard-layout > .stepped-text { width: 100%; max-width: 480px; }
.dashboard-layout .dashboard-visual { width: 100%; min-height: auto; margin-top: 0; }
/* El panel del dashboard sobresale un poco del contenedor estándar de la
   sección (sin mover el título "Agente Briqia", que queda alineado con el
   resto de los encabezados del sitio). */
@media (min-width: 810px) {
  .dashboard-layout .dashboard-visual {
    width: calc(100% + 120px);
    margin-left: -60px;
    margin-right: -60px;
  }
}

/* Sin fondo/borde de tarjeta: la sección queda homogénea con el negro de
   la página (a pedido del usuario, ver cambio.png). */
.stepped-card.no-card-bg { background: transparent; border: none; padding: 0; }

.stepped-visual {
  position: relative;
  flex: 1;
  min-height: 300px;
  border-radius: var(--radius-image);
  overflow: hidden;
  background: var(--stepped-feature-panel);
}
@media (min-width: 810px) { .stepped-visual { min-height: auto; } }

/* ==========================================================================
   DASHBOARD "BANDEJA UNIFICADA" (Agent Canvas)
   Recreación de pro.png con la paleta oscura y tipografía de Briqia:
   Fraunces/Inter para texto, JetBrains Mono para etiquetas en mayúscula,
   degradado naranja→violeta como acento (mismo del ícono de Agent Canvas).
   ========================================================================== */
.stepped-visual.dashboard-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px 0;
  background: transparent;
  border-radius: 0;
  overflow: auto;
}

.dash-window {
  width: 100%;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  font-size: .75rem;
  flex-shrink: 0;
}

.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.dash-dots { display: flex; gap: 5px; }
.dash-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.15); }
.dash-url { font-family: var(--font-mono); font-size: .65rem; color: rgba(255,255,255,.4); }
.dash-search {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.35);
  font-size: .65rem;
}
.dash-search svg { flex-shrink: 0; }
.dash-avatar {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-violet));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 600;
}

.dash-body { display: flex; }

.dash-label {
  font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase;
  letter-spacing: .06em; color: rgba(255,255,255,.4);
}

.dash-sidebar {
  width: 26%; min-width: 118px;
  padding: 14px 10px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px;
}
.dash-nav { display: flex; flex-direction: column; gap: 1px; margin-top: 6px; }
.dash-nav li { display: flex; justify-content: space-between; gap: 6px; padding: 6px 8px; border-radius: 6px; color: rgba(255,255,255,.6); }
.dash-nav li.is-active { background: rgba(255,255,255,.08); color: #fff; font-weight: 500; }
.dash-count { color: rgba(255,255,255,.3); }
.dash-nav li.is-active .dash-count { color: rgba(255,255,255,.55); }

.dash-inbox {
  width: 42%; min-width: 190px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.dash-inbox-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.dash-live { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: .6rem; color: var(--accent-lime); }
.dash-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-lime);
  animation: pulse-dot-colored 2s var(--ease-out) infinite; --pulse-color: var(--pulse-lime);
}

.dash-conversations li {
  display: flex; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), background-color .2s var(--ease-out);
}
.dash-window.is-in .dash-conversations li { opacity: 1; transform: none; }
.dash-conversations li:nth-child(1) { transition-delay: .05s; }
.dash-conversations li:nth-child(2) { transition-delay: .15s; }
.dash-conversations li:nth-child(3) { transition-delay: .25s; }
.dash-conversations li:nth-child(4) { transition-delay: .35s; }
.dash-conversations li.is-active { background: rgba(255,255,255,.045); }
.dash-avatar-sm {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 500;
}
.dash-convo-top { display: flex; justify-content: space-between; gap: 6px; font-size: .7rem; }
.dash-convo-top b { font-weight: 500; color: #fff; }
.dash-time { color: rgba(255,255,255,.3); font-size: .6rem; flex-shrink: 0; }
.dash-convo-text { min-width: 0; }
.dash-convo-text p { margin-top: 3px; color: rgba(255,255,255,.5); font-size: .68rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-tags { display: flex; gap: 5px; margin-top: 6px; }
.tag { padding: 2px 7px; border-radius: 999px; font-size: .55rem; background: rgba(255,255,255,.06); color: rgba(255,255,255,.5); }
.tag-hot { background: rgba(240,110,70,.18); color: #f0a080; }
.tag-new { background: rgba(100,160,240,.18); color: #8dbcf5; }
.tag-warm { background: rgba(230,180,80,.18); color: #e5c078; }
.tag-done { background: rgba(140,220,150,.18); color: #9adca4; }

.dash-detail { flex: 1; min-width: 190px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.dash-detail-head { display: flex; align-items: center; gap: 8px; }
.dash-detail-head b { display: block; font-size: .75rem; color: #fff; }
.dash-sub { font-size: .6rem; color: rgba(255,255,255,.4); }
.dash-bubble {
  background: rgba(255,255,255,.05); border-radius: 10px 10px 10px 2px;
  padding: 10px 12px; font-size: .68rem; color: rgba(255,255,255,.75); line-height: 1.4;
}

.dash-suggestion {
  border: 1px solid rgba(255,154,241,.25);
  background: linear-gradient(160deg, rgba(244,149,101,.1), rgba(255,154,241,.06));
  border-radius: 10px;
  padding: 10px 12px;
}
.dash-suggestion-label { font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .04em; color: #f0a884; margin-bottom: 4px; }
.dash-suggestion-text { font-size: .68rem; color: rgba(255,255,255,.85); line-height: 1.4; transition: opacity .25s var(--ease-out); }
.dash-suggestion-actions { display: flex; gap: 8px; margin-top: 10px; transition: opacity .25s var(--ease-out); }
.dash-btn-send, .dash-btn-edit { padding: 5px 12px; border-radius: 999px; font-size: .65rem; }
.dash-btn-send { background: #fff; color: #000; }
.dash-btn-edit { background: transparent; border: 1px solid rgba(255,255,255,.2); color: #fff; }

/* Animación "escribiendo…": cada tantos segundos, main.js alterna .is-typing
   para simular que Briqia está redactando una nueva sugerencia (ver informe:
   sustituye la interactividad real que no se puede ver en una imagen estática). */
.dash-typing { display: none; align-items: center; gap: 4px; height: 0; padding: 0; }
.dash-typing span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.5); animation: typing-bounce 1s ease-in-out infinite; }
.dash-typing span:nth-child(2) { animation-delay: .15s; }
.dash-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-3px); opacity: 1; }
}
.dash-suggestion.is-typing .dash-suggestion-text,
.dash-suggestion.is-typing .dash-suggestion-actions { opacity: 0; height: 0; overflow: hidden; margin: 0; }
.dash-suggestion.is-typing .dash-typing { display: flex; height: auto; padding: 6px 0; }

.dash-stats { border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; }
.dash-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 8px; }
.dash-stat-value { display: block; font-family: var(--font-sans); font-size: 1.1rem; font-weight: 500; color: #fff; }
.dash-stats-grid span { font-size: .6rem; color: rgba(255,255,255,.4); }

@media (max-width: 700px) {
  .dash-body { flex-direction: column; }
  .dash-sidebar, .dash-inbox, .dash-detail { width: 100%; min-width: 0; border-right: none; border-bottom: 1px solid var(--border); }
}

/* ==========================================================================
   CÓMO TRABAJAMOS (antes "Voice Experience") — recreación de road.png,
   conservando la tonalidad celeste/azul (--accent-blue/--accent-violet) y el
   panel animado que tenía la sección original.
   ========================================================================== */
.voice-section { padding: 0 0 90px; }
.voice-card {
  display: flex; flex-direction: column; gap: 48px;
  border: 1px solid var(--border); border-radius: 16px;
  background: rgba(0,0,0,.2); padding: 24px;
}
@media (min-width: 810px) { .voice-card { flex-direction: row; min-height: 500px; } }

/* En este layout el panel necesita todo el ancho (4 pasos en fila), así que
   se apila debajo del texto en vez de ir al lado, igual que en Agent Canvas. */
.voice-card.roadmap-layout { flex-direction: column; }
@media (min-width: 810px) { .voice-card.roadmap-layout { flex-direction: column; min-height: auto; } }
.roadmap-layout .stepped-text { max-width: 640px; }
.roadmap-visual { width: 100%; }

.roadmap-steps {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  margin-top: 40px;
}
@media (min-width: 810px) { .roadmap-steps { grid-template-columns: repeat(4, 1fr); gap: 12px; } }

.roadmap-node-wrap { display: flex; align-items: center; }
.roadmap-node {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.4);
  transition: color .4s var(--ease-out), border-color .4s var(--ease-out), background-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.roadmap-num { font-family: var(--font-mono); font-size: .7rem; }
.roadmap-check { display: none; }
.roadmap-connector { flex: 1; height: 1px; background: rgba(255,255,255,.12); margin: 0 2px; position: relative; overflow: hidden; }
.roadmap-connector-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-violet));
  transform-origin: left; transform: scaleX(0);
  transition: transform 1s var(--ease-out);
}

.roadmap-step.is-done .roadmap-node { background: var(--accent-blue); border-color: transparent; color: #fff; }
.roadmap-step.is-done .roadmap-check { display: block; }
.roadmap-step.is-done .roadmap-num { display: none; }
.roadmap-step.is-done .roadmap-connector-fill,
.roadmap-step.is-active .roadmap-connector-fill { transform: scaleX(1); }
.roadmap-step.is-active .roadmap-node {
  border-color: var(--accent-blue); color: #fff;
  box-shadow: 0 0 0 5px rgba(125,178,240,.15);
  animation: pulse-dot-colored 2s var(--ease-out) infinite;
  --pulse-color: rgba(125,178,240,.55);
}

.roadmap-step h3 { margin-top: 20px; font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.4); transition: color .4s var(--ease-out); }
.roadmap-step p { margin-top: 8px; font-size: .8rem; line-height: 1.55; color: rgba(255,255,255,.25); transition: color .4s var(--ease-out); max-width: 260px; }
.roadmap-step.is-active h3, .roadmap-step.is-done h3 { color: #fff; }
.roadmap-step.is-active p, .roadmap-step.is-done p { color: rgba(255,255,255,.5); }

.roadmap-legend {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border);
}
@media (min-width: 810px) { .roadmap-legend { grid-template-columns: repeat(3, 1fr); } }
.roadmap-legend > div { position: relative; padding-left: 18px; }
.roadmap-legend > div::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-blue);
}
.roadmap-legend b { display: block; font-size: .85rem; font-weight: 500; color: #fff; margin-bottom: 6px; }
.roadmap-legend p { font-size: .8rem; line-height: 1.55; color: rgba(255,255,255,.45); }

/* ==========================================================================
   SECCIONES CLARAS (cta final / footer)
   ========================================================================== */
.light-section { background: #fff; color: #000; }

.final-cta { padding: 100px 0 120px; }
.cta-row { display: flex; flex-direction: column; gap: 40px; margin-top: 24px; }
@media (min-width: 810px) { .cta-row { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 24px; } }
.cta-title { font-size: var(--text-cta); max-width: 560px; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 420px; }
.cta-side p { font-size: .875rem; line-height: 1.5; color: rgb(120,120,120); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; }
.footer-glow {
  position: absolute; inset: -20% -10% 40% -10%;
  background:
    radial-gradient(circle at 20% 30%, rgba(140,190,255,.28), transparent 55%),
    radial-gradient(circle at 55% 55%, rgba(255,220,200,.32), transparent 50%),
    radial-gradient(circle at 80% 25%, rgba(255,180,210,.25), transparent 55%);
  filter: blur(70px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.9) 35%, rgba(0,0,0,.9) 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.9) 35%, rgba(0,0,0,.9) 65%, transparent 100%);
  animation: gradient-drift 12s ease-in-out infinite alternate;
}
.footer-panel {
  position: relative;
  margin-top: 260px;
  background: linear-gradient(to bottom, rgba(255,255,255,.9), #fff);
  backdrop-filter: blur(30px);
  padding: 30px 0;
}
.footer-top { display: flex; flex-direction: column-reverse; gap: 48px; padding-bottom: 40px; }
@media (min-width: 810px) { .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer-brand { display: flex; flex-direction: column-reverse; gap: 30px; }
@media (min-width: 810px) { .footer-brand { flex-direction: column; gap: 56px; } }
.logo-dark { color: #000; }

.compliance { display: flex; flex-direction: column; gap: 12px; }
.compliance-tag { display: flex; align-items: center; gap: 14px; }
.compliance-tag .eyebrow { color: rgba(0,0,0,.6); }
.badges { display: flex; align-items: center; gap: 12px; }
.badge {
  position: relative;
  width: 48px; height: 48px; border-radius: 50%;
  background: #f2f2f2; color: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .55rem; text-align: center; line-height: 1.1;
  cursor: default;
}
.badge::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 12px); left: 0;
  width: 205px; padding: 10px;
  background: rgba(0,0,0,.85); color: #fff;
  border-radius: var(--radius-sm); font-size: .7rem; line-height: 1.4;
  opacity: 0; transform: translateY(4px) scale(.98);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
  pointer-events: none;
}
.badge:hover::after { opacity: 1; transform: translateY(0) scale(1); }
.badge-more { font-size: .875rem; color: rgba(0,0,0,.5); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid rgba(0,0,0,.1);
}
.footer-bottom p { font-size: .875rem; color: rgba(0,0,0,.3); }
.socials { display: flex; align-items: center; gap: 20px; }
.socials a { opacity: .3; transition: opacity .3s var(--ease-out); }
.socials a:hover { opacity: 1; }

/* ==========================================================================
   REVEAL ON SCROLL (equivalente vanilla del patrón Framer Motion + IntersectionObserver)
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   KEYFRAMES (copiados literalmente del CSS de producción de giga.ai)
   ========================================================================== */
@keyframes pulse-dot {
  0% { box-shadow: 0 0 rgba(255,255,255,.6); }
  70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
  to { box-shadow: 0 0 rgba(255,255,255,0); }
}
@keyframes pulse-dot-colored {
  0% { box-shadow: 0 0 0 0 var(--pulse-color, #0009); }
  70% { box-shadow: 0 0 0 6px transparent; }
  to { box-shadow: 0 0 transparent; }
}
@keyframes marquee {
  0% { transform: translate(0); }
  to { transform: translateX(-50%); }
}
@keyframes gradient-drift {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(2%, -3%) scale(1.05); }
  to { transform: translate(-2%, 2%) scale(1); }
}
@keyframes hero-rise {
  0% { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE — ajustes finos
   ========================================================================== */
@media (max-width: 809px) {
  .hero-title { font-size: 2.25rem; }
  .marquee-wrap { bottom: 40px; }
  .stat-block { width: auto; }
}
