/* ===============================
   DOT DISPLAY FONT
================================ */

@font-face {
  font-family: "DotDisplay";
  src: url("/assets/fonts/displdts.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===============================
   GT PRESSURA MONO
================================ */

@font-face {
  font-family: "PressuraMono";
  src: url("/assets/fonts/GT Pressura Mono Regular Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}




/* =====================
   VARIABLES (MÁS OSCURAS)
====================== */
:root {
  --bg-deep: #030405;
  --bg: #050608;
  --bg-soft: #07090c;

  --glass-strong: rgba(8, 10, 14, 0.85);
  --glass-soft: rgba(12, 15, 20, 0.55);

  --border-soft: rgba(255,255,255,0.05);
  --border-strong: rgba(255,255,255,0.08);

  --text: #f5f7fa;
  --muted: #8b9098;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-deep);
  color: var(--text);
}

/* =====================
   NAVBAR (FLOATING)
====================== */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;

  width: calc(100% - 48px);
  max-width: 1120px;

  backdrop-filter: blur(18px);
  background: linear-gradient(
  180deg,
  rgba(255,255,255,0.055),
  rgba(255,255,255,0.02)
);


  border: 1px solid var(--border-soft);
  border-radius: 14px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.navbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 56px;
  padding: 0 20px;
}

.logo {
  height: 20px;
}

.navbar-center {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.navbar-center a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.navbar-center a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.06);
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}

/* =====================
   HERO (LIMPIO, SIN ALTURAS FORZADAS)
====================== */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 120px;

  background:
    radial-gradient(
      ellipse at top,
      #0a0c10 0%,
      #030405 70%
    );

  overflow: hidden;
}

/* Overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,6,8,0) 0%,
    rgba(5,6,8,0.85) 75%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero-subtitle {
  margin-top: 20px;
  font-size: 17px;
  color: var(--muted);
  max-width: 720px;
  margin-inline: auto;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.btn-primary {
  background: #fff;
  color: #000;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.btn-secondary:hover {
  color: var(--text);
}
/* =====================
   SYSTEM STAGE (CONTENEDOR REAL)
====================== */
.system-stage {
  position: relative;
  display: flex;
  justify-content: center;

  /* 🔥 ALTURA REAL DE LA DEMO */
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 120px;
}

/* =====================
   HERO STAGE (SOLO POSICIONA)
====================== */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* =====================
   WINDOW STACK (ALTURA FIJA DEFINITIVA)
====================== */
.window-stack {
  position: relative;

  width: 1120px;

  /* 🔥 AQUÍ SE DECIDE TODO */
  height: 960px;

  max-height: calc(100vh - 200px);
}

/* =====================
   WINDOWS (CAPA VISUAL)
====================== */
.window {
  position: absolute;
  inset: 0;

  border-radius: 18px;

  background:
    radial-gradient(
      1200px 600px at 50% -20%,
      rgba(255,255,255,0.06),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      #050607 0%,
      #020304 100%
    );

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 40px 120px rgba(0,0,0,0.85),
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -1px 0 rgba(0,0,0,0.6);

  overflow: hidden;

  transition:
    transform 0.45s cubic-bezier(.2,.8,.2,1),
    opacity 0.45s ease,
    filter 0.45s ease;
}

/* =====================
   WINDOW HEADER
====================== */
.window-header {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.01)
  );

  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.window-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}

.window-title {
  margin-left: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* =====================
   WINDOW BODY
====================== */
.window-body {
  height: calc(100% - 44px);
  overflow: hidden;
  padding: 0;
}

/* =====================
   STATES
====================== */
.window.is-front {
  z-index: 2;
  opacity: 1;
  filter: none;
  transform: translate(48px, 0) scale(1);
}

.window.is-back {
  z-index: 1;
  opacity: 0.55;
  filter: blur(3px) brightness(0.8);
  transform: translate(0, 56px) scale(0.985);
}

/* =====================
   TOGGLE (SIN CAMBIOS FUNCIONALES)
====================== */
.window-toggle {
  position: absolute;
  top: -86px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 6px;
  padding: 6px;

  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);

  z-index: 5;
}

.window-toggle button {
  background: none;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}

.window-toggle button.is-active {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
/* ===============================
   DASHBOARD STRUCTURE (SANO)
=============================== */

/* CONTENEDOR PRINCIPAL */
.dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;

  height: 100%;
  width: 100%;

  overflow: hidden;
}

/* ===============================
   MAIN CONTENT (COLUMNA DERECHA)
=============================== */
.dash-main {
  position: relative;

  height: 100%;
  width: 100%;

  overflow: hidden;
  padding: 0;
}

/* ===============================
   DASH VIEWS (UNA ACTIVA A LA VEZ)
=============================== */

/*
  ⚠️ CLAVE ABSOLUTA:
  - NO absolute
  - NO height:100% sin padre
  - Scroll vive aquí
*/

.dash-view {
  display: none;

  height: 100%;
  width: 100%;

  padding: 20px 24px;

  overflow-y: auto;
  overflow-x: hidden;

  animation: dashFadeIn 0.35s ease;
}

/* ACTIVA */
.dash-view.is-active {
  display: block;
}

/* ===============================
   SCROLLBAR LIMPIO
=============================== */
.dash-view::-webkit-scrollbar {
  width: 6px;
}

.dash-view::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}

.dash-view::-webkit-scrollbar-track {
  background: transparent;
}

/* ===============================
   ANIMACIÓN SUAVE
=============================== */
@keyframes dashFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}












/* =====================================================
   HERO & SYSTEM STAGE — FUENTE ÚNICA DE ALTURA
   (SIN DUPLICADOS / SIN CONFLICTOS)
===================================================== */

/*
  IDEA CLAVE:
  - El HERO NO controla la altura de la ventana
  - LA ALTURA REAL vive en .system-stage
  - window-stack ocupa 100% de esa altura
  - dashboard scrollea dentro (ya arreglado en Parte 3)
*/

/* =====================
   HERO (SOLO CONTENEDOR VISUAL)
====================== */
.hero {
  position: relative;

  /* el hero NO fija altura de la ventana */
  padding-top: 160px;
  padding-bottom: 0;

  background:
    radial-gradient(
      ellipse at top,
      #0a0c10 0%,
      #030405 70%
    );
  overflow: visible;
}

/* Overlay visual */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,6,8,0) 0%,
    rgba(5,6,8,0.85) 75%
  );
  pointer-events: none;
}

/* =====================
   SYSTEM STAGE (ALTURA REAL)
====================== */
.system-stage {
  position: relative;

  display: flex;
  justify-content: center;

  /* 🔥 AQUÍ SE DECIDE TODO */
  height: min(94vh, 1040px);

  margin-top: 80px;
  margin-bottom: 0;
}


/* =====================
   WINDOW STACK (OCUPA TODA LA ALTURA)
====================== */
.window-stack {
  position: relative;

  width: 1120px;
  height: 100%;

  /* nada de min/max aquí */
}

/* =====================
   WINDOWS (YA ESTABLES)
====================== */
.window {
  position: absolute;
  inset: 0;

  border-radius: 18px;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #07090c 0%,
      #030405 100%
    );

  box-shadow:
    0 80px 160px rgba(0,0,0,0.9),
    inset 0 0 0 1px rgba(255,255,255,0.04),
    inset 0 20px 40px rgba(255,255,255,0.02);

  transition: all 0.45s cubic-bezier(.2,.8,.2,1);
}

/* HEADER */
.window-header {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;

  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.window-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4a4e55;
}

.window-title {
  margin-left: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* BODY = ALTURA RESTANTE */
.window-body {
  height: calc(100% - 44px);
  overflow: hidden;
  padding: 0;
}

/* =====================
   STACK STATES
====================== */
.window.is-front {
  transform: translate(48px, 0);
  z-index: 2;
  opacity: 1;
  filter: none;
}

.window.is-back {
  transform: translate(0, 56px) scale(0.985);
  z-index: 1;
  opacity: 0.6;
  filter: blur(3px) brightness(0.85);
}

/* =====================
   TOGGLE (NO TOCA ALTURA)
====================== */
.window-toggle {
  position: absolute;
  top: -86px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 6px;
  padding: 6px;

  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);

  z-index: 5;
}

.window-toggle button {
  background: none;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;

  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}

.window-toggle button.is-active {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
/* =====================================================
   DASHBOARD – RESTAURACIÓN COMPLETA (FORZADA)
===================================================== */

.dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 100%;
  width: 100%;
  color: #e5e7eb;
  font-size: 13px;
  background: transparent;
}

/* SIDEBAR */
.dash-sidebar {
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.035),
    rgba(255,255,255,0.01)
  );
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-top .brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.brand-name {
  font-weight: 600;
}

.brand-badge {
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #9ca3af;
}

/* NAV */
.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  border: none;
  font-size: 13px;
  color: #9ca3af;
  cursor: pointer;
}

.nav-item:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.nav-item.is-active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* MAIN */
.dash-main {
  position: relative;
  height: 100%;
  overflow: hidden;
}

/* VIEWS */
.dash-view {
  display: none;
  height: 100%;
  padding: 20px 24px;
  overflow-y: auto;
}

.dash-view.is-active {
  display: block;
}

/* HEADER */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-header h3 {
  font-size: 16px;
}

.dash-header p {
  font-size: 12px;
  color: #9ca3af;
}

.dash-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 14px;
  color: #fff;
  font-size: 12px;
}

/* STATS */
.dash-stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.stat-card span {
  font-size: 11px;
  color: #9ca3af;
}

.stat-card strong {
  font-size: 18px;
}

/* TICKETS GRID */
.ticket-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ticket-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.055),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.75);
}
















/* =========================================================
   DASHBOARD & TICKETS — VISUAL RESTORE (ESTILO ORIGINAL)
   ⚠️ NO TOCA ALTURAS NI POSICIÓN
========================================================= */

/* -------------------------
   HEADER DE VISTAS
-------------------------- */
.dash-header {
  margin-bottom: 24px;
}

.dash-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #f9fafb;
}

.dash-header p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.dash-btn {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.05)
  );
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

/* -------------------------
   STATS (DASHBOARD)
-------------------------- */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.stat-card span {
  font-size: 12px;
  color: #9ca3af;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 600;
  color: #f9fafb;
}

/* -------------------------
   INBOX
-------------------------- */
.dash-inbox h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #f3f4f6;
}

/* -------------------------
   TICKET GRID (CARDS)
-------------------------- */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ticket-card {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.ticket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.85);
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ticket-id {
  font-size: 11px;
  color: #9ca3af;
}

.ticket-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* -------------------------
   BADGES
-------------------------- */
.ticket-badge,
.status-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* Waiting AI */
.ai-waiting .ticket-badge,
.ticket-row.ai-waiting .status-badge {
  background: linear-gradient(
    180deg,
    rgba(59,130,246,0.35),
    rgba(59,130,246,0.15)
  );
  color: #bfdbfe;
}

/* Resolved Human */
.human-resolved .ticket-badge,
.ticket-row.human-resolved .status-badge {
  background: linear-gradient(
    180deg,
    rgba(34,197,94,0.35),
    rgba(34,197,94,0.15)
  );
  color: #86efac;
}

/* Auto */
.ai-auto .ticket-badge,
.ticket-row.ai-auto .status-badge {
  background: linear-gradient(
    180deg,
    rgba(168,85,247,0.35),
    rgba(168,85,247,0.15)
  );
  color: #e9d5ff;
}

/* -------------------------
   AI SUMMARY
-------------------------- */
.ticket-ai-summary {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(59,130,246,0.2),
    rgba(59,130,246,0.08)
  );
  border: 1px solid rgba(59,130,246,0.3);
}

.ticket-ai-summary.neutral {
  background: linear-gradient(
    180deg,
    rgba(234,179,8,0.2),
    rgba(234,179,8,0.08)
  );
  border-color: rgba(234,179,8,0.3);
}

.ticket-ai-summary.success {
  background: linear-gradient(
    180deg,
    rgba(34,197,94,0.2),
    rgba(34,197,94,0.08)
  );
  border-color: rgba(34,197,94,0.3);
}

.ticket-ai-summary strong {
  font-size: 12px;
  font-weight: 600;
  color: #e5e7eb;
}

.ticket-ai-summary p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #e5e7eb;
}

.ai-summary-footer {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

/* -------------------------
   PRIORIDADES
-------------------------- */
.priority.high { color: #f87171; }
.priority.medium { color: #facc15; }
.priority.low { color: #4ade80; }

/* -------------------------
   TICKETS TABLE (LIST VIEW)
-------------------------- */
.ticket-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-row {
  display: grid;
  grid-template-columns:
    70px
    90px
    1.2fr
    1.6fr
    170px
    120px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.ticket-row.header {
  background: transparent;
  border: none;
  box-shadow: none;
  padding-bottom: 4px;
}

.ticket-row.header span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.sentiment.negative { color: #f87171; }
.sentiment.neutral { color: #facc15; }
.sentiment.positive { color: #4ade80; }

/* =====================
   DASHBOARD · ESPACIADO FOOTER TICKETS
===================== */

/* Más aire entre contenido y footer */
.ticket-footer {
  margin-top: 16px;      /* antes 10–12px → ahora respira */
  padding-top: 6px;
}

/* Separación real del borde inferior del card */
.ticket-card {
  padding-bottom: 20px; /* refuerza el fondo */
}

/* Texto del footer un pelín más legible */
.ticket-meta {
  font-size: 12px;
  line-height: 1.4;
  color: #9ca3af;
}
/* =====================
   TICKETS · STATUS BADGES SIZE FIX
===================== */

.ticket-table .status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;            /* 🔥 NO se estira */
  max-width: fit-content; /* 🔥 se ajusta al texto */

  padding: 4px 12px;      /* tamaño correcto */
  height: 24px;           /* altura consistente */

  font-size: 11px;
  font-weight: 600;
  line-height: 1;

  border-radius: 999px;
  white-space: nowrap;
}
/* =====================================================
   AUTOMATIONS · VISUAL RESTORE (PREMIUM)
===================================================== */

/* CONTENEDOR */
.automation-list {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

/* CARD BASE */
.automation-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 20px;
  border-radius: 16px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.045),
    rgba(255,255,255,0.015)
  );

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.04);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* HOVER */
.automation-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.07),
    rgba(255,255,255,0.025)
  );

  box-shadow:
    0 28px 70px rgba(0,0,0,0.85);
}

/* LADO IZQUIERDO */
.automation-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* DOT DE ESTADO */
.automation-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ACTIVO */
.automation-card.active .automation-dot {
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34,197,94,0.9);
  animation: automationPulse 1.6s infinite;
}

/* INACTIVO */
.automation-card.inactive .automation-dot {
  background: #6b7280;
}

/* TEXTO */
.automation-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
}

.automation-info p {
  margin-top: 2px;
  font-size: 12px;
  color: #9ca3af;
}

/* BOTÓN */
.automation-toggle {
  padding: 6px 14px;
  height: 30px;

  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;

  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: #9ca3af;

  cursor: pointer;
  transition: all 0.2s ease;
}

/* BOTÓN ACTIVO */
.automation-toggle.active {
  color: #22c55e;
  border-color: rgba(34,197,94,0.5);
  background: rgba(34,197,94,0.12);
}

/* HOVER BOTÓN */
.automation-toggle:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

/* ANIMACIÓN DOT */
@keyframes automationPulse {
  0%   { opacity: 0.4; }
  50%  { opacity: 1; }
  100% { opacity: 0.4; }
}
/* =====================================================
   CUSTOMERS · VISUAL RESTORE (PREMIUM)
   (NO estructura · SOLO estética)
===================================================== */

/* GRID */
.customer-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

/* CARD BASE */
.customer-card {
  position: relative;

  padding: 20px 22px;
  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.045),
    rgba(255,255,255,0.015)
  );

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 20px 55px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.05);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* HOVER */
.customer-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.07),
    rgba(255,255,255,0.025)
  );

  box-shadow:
    0 30px 80px rgba(0,0,0,0.85),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* CLOSE (X) */
.customer-dismiss {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 22px;
  height: 22px;
  border-radius: 50%;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);

  color: #9ca3af;
  font-size: 13px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: all 0.2s ease;
}

.customer-dismiss:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* HEADER */
.customer-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.customer-top strong {
  font-size: 15px;
  font-weight: 600;
  color: #f9fafb;
}

/* VALUE BADGE */
.customer-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
}

/* BADGE VARIANTS */
.customer-badge.high {
  background: rgba(34,197,94,0.18);
  color: #4ade80;
}

.customer-badge.normal {
  background: rgba(234,179,8,0.18);
  color: #facc15;
}

.customer-badge.low {
  background: rgba(239,68,68,0.18);
  color: #f87171;
}

/* INFO ROWS */
.customer-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;

  font-size: 13px;
  margin-bottom: 6px;
}

.customer-row .label {
  color: #9ca3af;
}

.customer-row .value {
  color: #e5e7eb;
}

/* METRICS */
.customer-metrics {
  margin-top: 16px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.customer-metrics div {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 10px;

  text-align: center;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.customer-metrics span {
  font-size: 11px;
  color: #9ca3af;
}

.customer-metrics strong {
  display: block;
  margin-top: 4px;

  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
}
/* =====================================================
   SETTINGS · VISUAL RESTORE (PREMIUM)
   (NO estructura · SOLO estética)
===================================================== */

/* CONTENEDOR */
.settings-table {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

/* FILA BASE */
.settings-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 16px;

  padding: 18px 20px;
  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.045),
    rgba(255,255,255,0.015)
  );

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 20px 55px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.05);

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* HOVER */
.settings-row:hover {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.07),
    rgba(255,255,255,0.025)
  );

  box-shadow:
    0 30px 80px rgba(0,0,0,0.85),
    inset 0 1px 0 rgba(255,255,255,0.08);

  transform: translateY(-1px);
}

/* INFO IZQUIERDA */
.settings-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
}

.settings-info span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #9ca3af;
}

/* CONTROL DERECHA */
.settings-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

/* INPUT */
.settings-control input {
  height: 42px;
  padding: 0 14px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;

  color: #e5e7eb;
  font-size: 13px;
  font-family: monospace;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05);

  transition:
    border 0.2s ease,
    background 0.2s ease;
}

.settings-control input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
}

/* BOTÓN BASE */
.settings-btn {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 600;

  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: #9ca3af;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border 0.2s ease,
    color 0.2s ease;
}

/* HOVER BOTÓN */
.settings-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* ESTADOS */
.settings-row.connected .settings-btn {
  border-color: rgba(34,197,94,0.45);
  color: #22c55e;
}

.settings-row.connected .settings-btn:hover {
  background: rgba(34,197,94,0.15);
}

.settings-row.disconnected .settings-btn {
  border-color: rgba(255,255,255,0.25);
  color: #e5e7eb;
}
/* =====================================================
   SIDEBAR · ICONS RESTORE (FINAL)
   (NO estructura · SOLO visual)
===================================================== */

/* CONTENEDOR ICONO */
.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* SVG BASE */
.nav-icon svg {
  width: 18px;
  height: 18px;

  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  opacity: 0.7;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    filter 0.2s ease;
}

/* TEXTO + ICONO (NORMAL) */
.nav-item {
  color: #9ca3af;
}

/* HOVER */
.nav-item:hover {
  color: #ffffff;
}

.nav-item:hover .nav-icon svg {
  opacity: 1;
  transform: translateX(1px);
}

/* ACTIVO */
.nav-item.is-active {
  color: #ffffff;
}

.nav-item.is-active .nav-icon svg {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.35));
}

/* PEQUEÑO AJUSTE VISUAL */
.nav-item.is-active {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.25),
    0 6px 20px rgba(0,0,0,0.6);
}


/* =====================================================
   SIDEBAR · FOOTER USER (EMPLOYEE CARD)
===================================================== */

.sidebar-footer {
  position: relative;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 12px;
  margin-top: 12px;

  border-radius: 14px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.015)
  );

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 12px 30px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* AVATAR */
.user-avatar {
  width: 32px;
  height: 32px;

  border-radius: 50%;

  background: radial-gradient(
    circle at top left,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.08)
  );

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
  font-weight: 600;
  color: #ffffff;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.2),
    0 6px 18px rgba(0,0,0,0.6);
}

/* EMAIL */
.user-email {
  font-size: 12px;
  font-weight: 500;
  color: #d1d5db;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* HOVER SUTIL */
.sidebar-footer:hover {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.07),
    rgba(255,255,255,0.03)
  );
}















/* ============================
   LIVE TICKET – BASE
============================ */

.ticket-demo {
  height: 100%;
  padding: 24px 28px;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 24px;

  color: #e5e7eb;
  font-size: 13px;
}
/* ============================
   TICKET HEADER
============================ */

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

.ticket-subject {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ticket-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ticket-tags .tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #9ca3af;
}

.ticket-tags .tag.urgent {
  background: rgba(239,68,68,0.18);
  border-color: rgba(239,68,68,0.35);
  color: #fca5a5;
}

.ticket-tags .tag.sentiment {
  background: rgba(234,179,8,0.18);
  border-color: rgba(234,179,8,0.35);
  color: #fde68a;
}
/* ============================
   AI STATE
============================ */

.ticket-ai-state {
  padding: 18px 20px;
  border-radius: 16px;

  background: linear-gradient(
    180deg,
    rgba(59,130,246,0.18),
    rgba(59,130,246,0.08)
  );

  border: 1px solid rgba(59,130,246,0.25);

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket-ai-state h3 {
  font-size: 13px;
  font-weight: 600;
  color: #bfdbfe;
}

.ai-status-title {
  font-size: 15px;
  font-weight: 600;
  color: #f9fafb;
}

.ai-status-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #dbeafe;
}

.ai-next-action {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 12px;

  background: rgba(0,0,0,0.35);
  font-size: 12px;
  color: #e0e7ff;
}

.ai-confidence {
  font-size: 11px;
  color: #c7d2fe;
}
/* ============================
   TICKET LAYOUT
============================ */

.ticket-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}
/* ============================
   MESSAGE THREAD
============================ */

.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.message {
  max-width: 80%;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}

.message-author {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
  opacity: 0.85;
}

.message-meta {
  font-size: 10px;
  margin-top: 6px;
  opacity: 0.5;
}
.message-client {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  align-self: flex-start;
}

.message-ai {
  background: linear-gradient(
    180deg,
    rgba(99,102,241,0.35),
    rgba(99,102,241,0.18)
  );
  border: 1px solid rgba(99,102,241,0.45);
  align-self: flex-start;
}

.message-human {
  background: linear-gradient(
    180deg,
    rgba(16,185,129,0.35),
    rgba(16,185,129,0.18)
  );
  border: 1px solid rgba(16,185,129,0.45);
  align-self: flex-end;
}
/* ============================
   REPLY BOX
============================ */

.ticket-reply {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-reply textarea {
  min-height: 90px;
  resize: none;

  padding: 14px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  color: #e5e7eb;
  font-size: 13px;
}

.reply-actions,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reply-actions button,
.quick-actions button {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #e5e7eb;

  cursor: pointer;
}

.reply-actions button:hover,
.quick-actions button:hover {
  background: rgba(255,255,255,0.16);
}
/* ============================
   SIDE PANEL
============================ */

.ticket-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-card {
  padding: 16px;
  border-radius: 16px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  font-size: 12px;
}

.side-card h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}








.ticket-chat-panel {
  padding: 20px;
  border-radius: 20px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.015)
  );

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 30px 80px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.05);

  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ticket-reply-panel {
  margin-top: 20px;
  padding: 18px 20px;

  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.1);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.reply-actions button:last-child {
  background: linear-gradient(
    180deg,
    #6366f1,
    #4f46e5
  );

  border: none;
  color: #fff;
  font-weight: 600;

  box-shadow:
    0 10px 30px rgba(99,102,241,0.45);
}

.reply-actions button:last-child:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 40px rgba(99,102,241,0.6);
}
.ticket-side-panel {
  padding: 20px;
  border-radius: 20px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.035),
    rgba(255,255,255,0.01)
  );

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 30px 80px rgba(0,0,0,0.7);

  height: fit-content;
}


/* ============================
   DASHBOARD · TICKET ENTRANCE
============================ */

.ticket-card {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s cubic-bezier(.22,.61,.36,1),
    transform 0.6s cubic-bezier(.22,.61,.36,1);
}

.ticket-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   LIVE TICKET · MESSAGE ENTRANCE
============================ */

.message {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s cubic-bezier(.22,.61,.36,1),
    transform 0.5s cubic-bezier(.22,.61,.36,1);
}

.message.is-visible {
  opacity: 1;
  transform: translateY(0);
}








/* =====================================================
   MOBILE MODE — CLEAN & REAL (≤ 768px)
===================================================== */
@media (max-width: 768px) {

  /* =====================
     NAVBAR
  ====================== */
  .navbar {
    position: fixed;
    top: 12px;
    left: 12px;
    right: 12px;
    transform: none; 
    max-width: none;
    width: auto;
    border-radius: 14px;
    z-index: 100;
  }

  .navbar-inner {
    height: 52px;
    padding: 0 14px;
    
  }

  .navbar-center {
    display: none;
  }

  /* Hamburger */
  .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-mobile-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }

  /* Mobile menu */
  .nav-mobile {
    position: fixed;
    inset: 0;
    background: rgba(5,6,8,0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 99;
  } 

  .nav-mobile.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-mobile a {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
  }

  /* =====================
     HERO
  ====================== */
  .hero {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  /* =====================
     SYSTEM STAGE
  ====================== */
  .system-stage {
    height: auto;
    padding: 40px 0;
  }

  .window-stack {
    width: 100%;
    height: auto;
  }

  /* Solo una ventana */
  .window {
    position: relative;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    margin-bottom: 24px;
  }

  .window.is-back {
    display: none;
  }

  /* =====================
     DASHBOARD
  ====================== */
  .dashboard {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .dash-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .nav-item {
    flex: 1 1 48%;
    justify-content: center;
  }

  /* =====================
     LIVE TICKET
  ====================== */
  .ticket-demo {
    padding: 16px;
  }

  .ticket-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Sidebar pasa abajo */
  .ticket-side {
    order: 2;
  }

  .ticket-main {
    order: 1;
  }

  .message {
    max-width: 100%;
  }

  /* =====================
     REPLY
  ====================== */
  .reply-actions,
  .quick-actions {
    flex-wrap: wrap;
    gap: 6px;
  }

  .reply-actions button {
    flex: 1 1 100%;
  }

  .quick-actions button {
    flex: 1 1 48%;
  }
}
/* ============================
   MOBILE NAVBAR
============================ */

.nav-mobile-toggle {
  display: none;
}

/* Botón hamburguesa */
@media (max-width: 768px) {
  .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;

    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
  }

  .nav-mobile-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }
}

/* ============================
   MOBILE MENU PANEL
============================ */

.nav-mobile {
  display: none;
}

@media (max-width: 768px) {
  .nav-mobile {
    
    top: 56px;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 20px;

    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 90;
  }

  .nav-mobile a {
    font-size: 16px;
    color: #f9fafb;
    text-decoration: none;
    padding: 10px 0;
  }

  .nav-mobile a:hover {
    opacity: 0.8;
  }

  .nav-mobile.is-open {
    display: flex;
  }
}
@media (max-width: 768px) {
  .nav-cta {
    display: none; /* 🔥 fuera del navbar */
  }
}
.nav-mobile-cta {
  margin-top: 12px;

  padding: 12px 16px;
  border-radius: 999px;

  text-align: center;
  font-size: 14px;
  font-weight: 600;

  background: linear-gradient(
    180deg,
    #ffffff,
    #e5e7eb
  );

  color: #000;
  text-decoration: none;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.45);

  transition: transform .2s ease, box-shadow .2s ease;
}

.nav-mobile-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.6);
}

/* =====================
   TRUSTED BY
====================== */
.trusted {
  padding: 80px 0 120px;
  background:
    radial-gradient(
      ellipse at top,
      rgba(255,255,255,0.03),
      transparent 60%
    );
}

.trusted-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* Header */
.trusted-header h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.trusted-header p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
}

/* =====================
   DESKTOP LOGO GRID
====================== */
.trusted-logos--grid {
  margin-top: 64px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 64px;

  align-items: center;
  justify-items: center;
}

.trusted-logos--grid img {
  height: 36px;          /* ⬆️ más presencia */
  max-width: 180px;

  opacity: 0.75;
  filter: grayscale(1);

  transition:
    opacity .3s ease,
    filter .3s ease,
    transform .3s ease;
}


.trusted-logos--grid img {
 
  object-fit: contain;

  opacity: 0.7;
  filter: grayscale(1);

  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}

.trusted-logos--grid img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}

/* =====================
   MOBILE MARQUEE
====================== */
.trusted-logos--marquee {
  display: none;
  overflow: hidden;
  margin-top: 48px;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;

  animation: marqueeScroll 22s linear infinite;
}

.marquee-track img {
  height: 26px;
  opacity: 0.75;
  filter: grayscale(1);
}

/* Animación infinita */
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =====================
   RESPONSIVE
====================== */
@media (max-width: 768px) {

  .trusted {
    padding: 80px 0 100px;
  }

  .trusted-header h2 {
    font-size: 24px;
  }

  .trusted-header p {
    font-size: 14px;
  }

  .trusted-logos--grid {
    display: none;
  }

  .trusted-logos--marquee {
    display: block;
  }
}
/* =====================
   TRUSTED — MOBILE FIX
====================== */
@media (max-width: 768px) {

  .trusted-logos--marquee {
    display: block !important;
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
  }

  .marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .marquee-track img {
    height: 26px;
    min-width: max-content;
  }
}
@media (max-width: 768px) {
  .trusted {
    padding-bottom: 80px;
  }
}
/* =====================
   MOBILE — RELEASE GLOBAL SCROLL
====================== */
@media (max-width: 768px) {

  .dashboard,
  .dash-main,
  .dash-view {
    height: auto !important;
    overflow: visible !important;
  }

  .window-body {
    height: auto !important;
    overflow: visible !important;
  }
}
.system-stage {
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 120px;
}
@media (max-width: 768px) {
  .system-stage {
    height: auto;
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .trusted {
    margin-top: 520px;
  }
}

/* =====================
   TRUSTED · ENTRANCE
===================== */

.trusted {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.trusted.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trusted-logos--grid img,
.trusted-logos--marquee img {
  opacity: 0;
  transform: translateY(20px);
}

.trusted.is-visible .trusted-logos--grid img,
.trusted.is-visible .trusted-logos--marquee img {
  animation: logoFadeUp .6s ease forwards;
}

@keyframes logoFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.8;
    transform: translateY(0);
  }
}


/* ===== OPS FLOW ===== */

.ops-flow {
  position: relative;
  padding: 140px 24px 160px;
  overflow: hidden;
}

/* fondo */
.ops-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      rgba(255,255,255,0.08),
      transparent 65%
    ),
    radial-gradient(
      circle,
      rgba(255,255,255,0.12) 1px,
      transparent 1px
    );
  background-size: 100% 100%, 22px 22px;

  /* 🔥 máscara horizontal */
  mask-image: radial-gradient(
    ellipse at center,
    black 45%,
    transparent 85%
  );

  pointer-events: none;
}


/* header */
.ops-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 90px;
}

.ops-header h2 {
  font-size: 40px;
  font-weight: 600;
}

.ops-header p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
}

/* diagrama */
.ops-diagram {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== OPS LINE ===== */

.ops-line {
  position: absolute;
  top: 50%;
  left: 48px;
  right: 48px;
  height: 1px;
  transform: translateY(-19px); /* centro exacto del node-box */
  background: rgba(255,255,255,0.14);
  overflow: hidden;
  z-index: 1;
}

/* Línea activa (energía) */
.ops-line-active {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.9) 50%,
    rgba(255,255,255,0) 100%
  );
  box-shadow:
    0 0 6px rgba(255,255,255,0.6),
    0 0 12px rgba(255,255,255,0.35);
  transition: width 0.6s cubic-bezier(.4,0,.2,1);
}

.ops-line-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255,255,255,0.35) 50%,
    transparent 60%
  );
  animation: electricPulse 1.6s linear infinite;
}

@keyframes electricPulse {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
@media (max-width: 768px) {

  .ops-diagram {
    transform: scale(0.78);
    transform-origin: center top;
    margin-top: -20px; /* ajusta altura visual */
  }

  .ops-description {
    margin-top: 32px;
  }

  .ops-header h2 {
    font-size: 28px;
  }

  .ops-header p {
    font-size: 14px;
  }
}
@media (max-width: 768px) {

  .node-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .node-box svg {
    width: 22px;
    height: 22px;
  }

  .node-label {
    font-size: 11px;
    padding: 4px 10px;
  }
}
@media (max-width: 768px) {
  .ops-line {
    left: 40px;
    right: 40px;
  }
}


/* nodos */
.ops-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.ops-node {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* caja */
.node-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #0b0d11;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.18),
    0 10px 30px rgba(0,0,0,0.6);
  transition: transform .35s ease, box-shadow .35s ease;
}

.node-box svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
  fill: none;
}

/* colores */
.blue svg { stroke: #60a5fa; }
.green svg { stroke: #34d399; }
.purple svg { stroke: #a78bfa; }
.yellow svg { stroke: #facc15; }
.cyan svg { stroke: #38bdf8; }
.red svg { stroke: #fb7185; }

/* activo */
.ops-node.active .node-box {
  transform: scale(1.18);
  box-shadow:
    0 0 32px rgba(255,255,255,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.3);
}

.ops-node.active svg {
  filter: drop-shadow(0 0 8px currentColor);
}

/* label */
.node-label {
  margin-top: 10px;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #e5e7eb;
  white-space: nowrap;
}

/* texto */
/* ===== OPS DESCRIPTION (CARD + TITLE PILL) ===== */

.ops-description {
  max-width: 560px;
  margin: 60px auto 0;
  padding: 18px 18px;
  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.08);

  text-align: center;
}

/* Título dentro de recuadro */
.ops-description h4 {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 14px;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);

  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f9fafb;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05);

  margin: 0 auto 10px;
}

/* Subtítulo más fino y pequeño */
.ops-description p {
  margin: 0;
  font-size: 13px;        /* 👈 más pequeño */
  font-weight: 400;       /* 👈 fino */
  line-height: 1.55;
  color: rgba(255,255,255,0.62); /* 👈 más sutil que muted */
  max-width: 520px;
  margin-inline: auto;
}

/* Animación de entrada (si ya usas .show) */
.ops-description h4,
.ops-description p {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .28s ease, transform .28s ease;
}

.ops-description .show {
  opacity: 1;
  transform: translateY(0);
}
.ops-description h4 {
  box-shadow:
    0 0 18px rgba(255,255,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* =====================================================
   OPS FLOW — MOBILE (FINAL, STABLE)
===================================================== */

@media (max-width: 768px) {

  /* contenedor */
  .ops-flow {
    padding: 100px 16px 120px;
  }

  /* header */
  .ops-header h2 {
    font-size: 26px;
  }

  .ops-header p {
    font-size: 14px;
  }

  /* diagrama pasa a flow horizontal */
  .ops-diagram {
    height: auto;
    margin-top: 40px;
  }

  /* ocultamos la línea SVG */
  .ops-svg {
    display: none;
  }

  /* nodos en fila */
  .ops-nodes {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    height: auto;
  }

  /* cada nodo deja absolute */
  .ops-node {
    position: relative;
    top: 0;
    left: auto !important;
    transform: none;
    flex: 1;
    max-width: 56px;
  }

  /* caja */
  .node-box {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 14px;
  }

  .node-box svg {
    width: 22px;
    height: 22px;
  }

  /* label */
  .node-label {
    font-size: 10px;
    padding: 4px 8px;
    margin-top: 8px;
    line-height: 1.2;
  }

  /* descripción */
  .ops-description {
    margin-top: 32px;
    padding: 16px 18px;
  }

  .ops-description h4 {
    font-size: 16px;
  }

  .ops-description p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {

  .node-label {
    font-size: 10px;
    line-height: 1.25;
    padding: 4px 8px;
    max-width: 64px;          /* 🔥 controla ancho */
    text-align: center;
    white-space: normal;      /* 🔥 permite salto */
    word-break: break-word;
    margin-top: 8px;

    background: rgba(255,255,255,0.08);
    border-radius: 10px;
  }
}
@media (max-width: 768px) {
  .ops-flow {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .ops-diagram {
    max-width: 100%;
    padding: 0;
  }

  .ops-nodes {
    gap: 6px;              /* menos espacio entre nodos */
  }
}
@media (max-width: 768px) {
  .node-label {
    font-size: 5px;            /* 🔥 más pequeño pero legible */
    font-weight: 500;
    line-height: 1;
    padding: 4px 6px;

    white-space: nowrap;       /* 🔥 UNA sola línea */
    max-width: none;           /* 🔥 sin cortes */
    overflow: hidden;
    text-overflow: ellipsis;   /* por si acaso */

    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    margin-top: 6px;
  }
}












/* =========================
   COMPARE SECTION (FINAL)
========================= */

.compare-section {
  position: relative;
  padding: 160px 24px;
  overflow: hidden;
}

/* WATERMARK */
.compare-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: clamp(200px, 32vw, 420px);
  font-weight: 700;
  letter-spacing: -0.06em;

  color: rgba(255,255,255,0.025);
  pointer-events: none;
  user-select: none;

  z-index: 0;
}

/* GRID */
.compare-grid {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 80px;
}

/* DIVIDER */
.compare-divider {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
  opacity: 0.6;
}

/* COLUMNS */
.compare-col {
  position: relative;
}

/* TITLES */
.compare-title {
  font-size: 34px;
  font-weight: 600;
}

.compare-subtitle {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
  max-width: 420px;
}

/* LISTS */
.compare-list {
  margin-top: 32px;
  list-style: none;
}

.compare-list li {
  margin-bottom: 12px;
  font-size: 14px;
}

.compare-list.negative li {
  color: #9ca3af;
}

.compare-list.positive li {
  color: #e5e7eb;
}

/* MOCK PANEL */
.mock-panel.simple {
  margin-top: 40px;
  padding: 16px;
  border-radius: 16px;

  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
}

/* WISMIFY HALO */
.compare-wismify::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.05),
    transparent 70%
  );
  z-index: -1;
}












.compare-watermark {
  mix-blend-mode: soft-light; /* 🔥 lo integra con el fondo */
  filter: blur(0.5px);        /* 🔥 suaviza bordes */
}

/* evita que interfiera con columnas */
.compare-watermark {
  pointer-events: none;
  user-select: none;
}
.compare-watermark {
  mask-image: radial-gradient(
    ellipse at center,
    black 45%,
    transparent 75%
  );
}
.wismify-badge {
  position: absolute;
  top: -48px;
  right: 0;

  width: 48px;
  height: 48px;

  opacity: 0.5;
  pointer-events: none;
}

.wismify-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.25));
}
.compare-divider {
  box-shadow:
    0 0 12px rgba(255,255,255,0.15);
}
.compare-section::before,
.compare-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.12),
    transparent
  );
}

.compare-section::before {
  top: 0;
}

.compare-section::after {
  bottom: 0;
}










/* =========================================
   FEATURE STACK — STABLE OBLIQUE CAMERA (LARGE)
========================================= */

.feature-stack {
  position: relative;
  height: 360px;              /* ⬆️ más alto */
  margin-top: 56px;

  perspective: 2200px;        /* ⬆️ compensar tamaño */
  perspective-origin: 65% 45%;

  isolation: isolate;
}

/* ===============================
   CARD BASE (LARGER, STABLE)
================================ */

.feature-card {
  --z: 0px;
  --x: 7%;
  --y: -70px;


  position: absolute;
  top: 50%;
  left: 50%;

  width: 520px;               /* ⬅️ MÁS GRANDE */
  padding: 22px;         /* ⬅️ MÁS AIRE */

  transform-style: preserve-3d;
  transform-origin: center center;

  /* 📷 CÁMARA FIJA — NO SE TOCA */
  transform:
    translate(-50%, -50%)
    skewY(-4deg)
    rotateX(-14deg)
    rotateY(20deg)
    translateZ(var(--z))
    translateX(var(--x))
    translateY(var(--y));

  border-radius: 18px;        /* ⬅️ más premium */

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.085),
    rgba(255,255,255,0.03)
  );

  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);

  box-shadow:
    0 18px 50px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.035);


  transition:
    transform .32s cubic-bezier(.22,.61,.36,1),
    background .32s ease,
    box-shadow .32s ease,
    opacity .32s ease;

  will-change: transform;
}

/* ===============================
   STACK DEPTH
================================ */

.feature-card:nth-child(1) {
  --z: -160px;                /* ⬅️ más separación */
  opacity: 0.28;
  z-index: 1;
}

.feature-card:nth-child(2) {
  --z: 0px;
  opacity: 0.55;
  z-index: 2;
}

.feature-card:nth-child(3) {
  --z: 160px;
  opacity: 1;
  z-index: 3;
}

/* ===============================
   HOVER — SOLO translateY (CLAVE)
================================ */

/* ===============================
   HOVER — SUBE PERO RESPETA JERARQUIA
   (la 3 siempre por delante, la 2 nunca pisa a la 3, etc.)
================================ */

@media (any-hover: hover) {

  /* estado base cuando entras en la zona */
  .feature-stack:hover .feature-card {
  opacity: 0.22;
  filter: grayscale(1) brightness(0.85);
}


  /* la frontal SIEMPRE visible y SIEMPRE por delante */
  .feature-stack:hover .feature-card:nth-child(3) {
    opacity: 0.60;
    filter: none;
    z-index: 3; /* mantiene jerarquía */
  }

  /* la que hoverees se enciende y sube (PERO sin romper jerarquía) */
  .feature-stack:hover .feature-card:hover {
    --y: -100px;
    opacity: 1;
    filter: none;

    box-shadow:
      0 48px 140px rgba(0,0,0,0.9),
      inset 0 1px 0 rgba(255,255,255,0.14);
  }

  /* 🔒 BLOQUEO DE JERARQUIA (clave):
     aunque hoverees la 1 o la 2, NO pueden superar a la 3 */
  .feature-stack:hover .feature-card:nth-child(1) { z-index: 1; }
  .feature-stack:hover .feature-card:nth-child(2) { z-index: 2; }
  .feature-stack:hover .feature-card:nth-child(3) { z-index: 3; }
}



/* ===============================
   TEXT
================================ */

.feature-card h4 {
  font-size: 15px;            /* ⬅️ más grande */
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;            /* ⬅️ más legible */
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

/* ===============================
   MOBILE — FLAT
================================ */

@media (max-width: 768px) {
  .feature-stack {
    height: auto;
    perspective: none;
  }

  .feature-card {
    position: relative;
    top: auto;
    left: auto;

    transform: none !important;
    opacity: 1 !important;
    filter: none !important;

    width: 100%;
    margin-bottom: 16px;
  }
}


/* =========================================================
   DOT TITLE — STABLE CODE / DECODE
========================================================= */

.dot-title {
  position: relative;
  display: block;

  font-family: "DotDisplay", monospace;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 4px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;

  color: rgba(255,255,255,0.9);

  transition: color 0.3s ease;
}

/* contenedor que NO cambia tamaño */
.dot-title-inner {
  display: inline-block;
  min-width: 100%;
}

/* estado normal */
.feature-card:not(:hover) .dot-title {
  color: rgba(255,255,255,0.85);
}

/* durante hover */
.feature-card:hover .dot-title {
  color: rgba(255,255,255,1);
}










/* ===============================
   FEATURE HEADER
================================ */

.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

/* ICON CIRCLE */
.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);

  box-shadow:
    0 0 0 0 rgba(255,255,255,0.0);

  animation: pulseIdle 2.8s ease-in-out infinite;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2;
}

/* COLOR VARIANTS */
.feature-icon.green {
  background: rgba(34,197,94,0.18);
  border-color: rgba(34,197,94,0.35);
}

.feature-icon.blue {
  background: rgba(59,130,246,0.18);
  border-color: rgba(59,130,246,0.35);
}

.feature-icon.purple {
  background: rgba(168,85,247,0.18);
  border-color: rgba(168,85,247,0.35);
}

/* PULSE */
@keyframes pulseIdle {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); }
  50%  { box-shadow: 0 0 14px rgba(255,255,255,0.25); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); }
}

/* HOVER → MÁS VIDA */
.feature-card:hover .feature-icon {
  animation: pulseActive 1.4s ease-in-out infinite;
}

@keyframes pulseActive {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); }
  50%  { box-shadow: 0 0 22px rgba(255,255,255,0.55); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); }
}

/* DESCRIPTION */
.feature-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.68);
}
/* =====================================================
   FEATURE ICONS — COLOR + ACTIVE STATE
===================================================== */

/* HEADER DE CADA FEATURE */
.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

/* CONTENEDOR ICONO */
.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);

  color: #9ca3af; /* gris base */
  opacity: 0.85;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

/* SVG BASE */
.feature-icon svg {
  width: 16px;
  height: 16px;

  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;

  transition: filter 0.3s ease;
}

/* =====================================================
   COLORES POR TIPO
===================================================== */

/* CONTEXT — NARANJA */
.feature-icon--context {
  --active: #f59e0b;
}

/* TRACKING — ROJO */
.feature-icon--tracking {
  --active: #ef4444;
}

/* INTELLIGENCE — VERDE */
.feature-icon--intelligence {
  --active: #22c55e;
}

/* =====================================================
   HOVER POR TARJETA
===================================================== */

@media (any-hover: hover) {

  .feature-card:hover .feature-icon {
    color: var(--active);
    background: rgba(255,255,255,0.12);

    box-shadow:
      0 0 0 1px rgba(255,255,255,0.25),
      0 0 18px color-mix(in srgb, var(--active) 55%, transparent);

    transform: translateY(-1px);
  }

  .feature-card:hover .feature-icon svg {
    filter: drop-shadow(
      0 0 6px color-mix(in srgb, var(--active) 65%, transparent)
    );
  }
}

/* =====================================================
   ANIMACIÓN "ACTIVE / ONLINE"
===================================================== */

@media (any-hover: hover) {
  .feature-card:hover .feature-icon {
    animation: featurePulse 1.8s ease-in-out infinite;
  }
}

@keyframes featurePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); }
  50%  { box-shadow: 0 0 16px rgba(255,255,255,0.18); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); }
}

/* =====================================================
   MOBILE — SIN ANIMACIÓN (LIMPIO)
===================================================== */

@media (max-width: 768px) {
  .feature-icon {
    animation: none !important;
    box-shadow: none !important;
  }
}
/* =====================================================
   FEATURE TITLE HOVER — COLORED PILL
===================================================== */

/* BASE TITLE */
.dot-title {
  position: relative;
  display: inline-flex;
  align-items: center;

  padding: 6px 10px;
  border-radius: 999px;

  color: rgba(255,255,255,0.85);
  background: transparent;
  border: 1px solid transparent;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* =====================================================
   COLOR VARIANTS (heredan del icono)
===================================================== */

/* CONTEXT — NARANJA */
.feature-icon--context {
  --accent: #f59e0b;
}

/* TRACKING — ROJO */
.feature-icon--tracking {
  --accent: #ef4444;
}

/* INTELLIGENCE — VERDE */
.feature-icon--intelligence {
  --accent: #22c55e;
}

/* =====================================================
   HOVER EFFECT (POR TARJETA)
===================================================== */

@media (any-hover: hover) {

  .feature-card:hover .dot-title {
    color: var(--accent);

    background: color-mix(
      in srgb,
      var(--accent) 14%,
      transparent
    );

    border-color: color-mix(
      in srgb,
      var(--accent) 45%,
      transparent
    );

    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
      0 0 22px color-mix(in srgb, var(--accent) 28%, transparent);
  }
}

/* =====================================================
   DOT TITLE — DISPLAY TYPOGRAPHY
===================================================== */

.dot-title-inner {
  display: block;

  font-family: "DotDisplay", ui-monospace, monospace;
  font-size: 15px;
  line-height: 1.1;

  letter-spacing: 3px;
  white-space: nowrap;

  color: inherit; /* 🔥 hereda el color del hover */
}


/* =====================================================
   MOBILE — SIN EFECTO VISUAL
===================================================== */

@media (max-width: 768px) {
  .dot-title {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
  }
}




/* =========================================
   FEATURE CARD COLOR SYSTEM
========================================= */

.feature-card {
  --accent: 255,255,255; /* fallback */
}

/* Context-aware replies → naranja */
.feature-card:nth-child(1) {
  --accent: 249,115,22; /* orange */
}

/* Real-time tracking → rojo */
.feature-card:nth-child(2) {
  --accent: 239,68,68; /* red */
}

/* Customer intelligence → verde */
.feature-card:nth-child(3) {
  --accent: 34,197,94; /* green */
}
/* =========================================
   DOT TITLE — BASE STATE
========================================= */

.dot-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 6px 14px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);

  transition:
    color .25s ease,
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}
/* =========================================
   DOT TITLE — HOVER ACCENT
========================================= */

.feature-card:hover .dot-title {
  color: rgb(var(--accent));

  border-color: rgba(var(--accent), 0.55);

  background: linear-gradient(
    180deg,
    rgba(var(--accent), 0.18),
    rgba(var(--accent), 0.06)
  );

  box-shadow:
    0 0 0 1px rgba(var(--accent), 0.35),
    0 0 24px rgba(var(--accent), 0.25);
}
/* =========================================
   DOT FONT COLOR INHERIT
========================================= */

.dot-title-inner {
  color: inherit; /* 🔥 CLAVE */
}






/* =========================================
   GEO INDICATOR — VISITOR CITY
========================================= */

.geo-indicator {
  position: absolute;
  top: -10px;
  right: 0;

  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  color: rgb(239, 68, 68); /* rojo */

  opacity: 0.85;
  pointer-events: none;
}

/* punto activo */
.geo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;

  background: rgb(239, 68, 68);

  box-shadow:
    0 0 6px rgba(239,68,68,0.9),
    0 0 14px rgba(239,68,68,0.6);

  animation: geoPulse 1.6s ease-in-out infinite;
}

/* texto ciudad */
.geo-city {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}

/* animación pulso */
@keyframes geoPulse {
  0%   { opacity: 0.4; }
  50%  { opacity: 1; }
  100% { opacity: 0.4; }
}
/* =========================================
   GEO INLINE — INSIDE FEATURE CARD
========================================= */

.geo-inline {
  position: absolute;
  top: 14px;
  right: 16px;

  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: rgb(239, 68, 68);
  opacity: 0.9;
}

/* punto rojo */
.geo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;

  background: rgb(239, 68, 68);

  box-shadow:
    0 0 6px rgba(239,68,68,0.9),
    0 0 14px rgba(239,68,68,0.6);

  animation: geoPulse 1.6s ease-in-out infinite;
}

/* animación */
@keyframes geoPulse {
  0%   { opacity: 0.4; }
  50%  { opacity: 1; }
  100% { opacity: 0.4; }
}
.feature-location {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239,68,68,0.9);
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0%   { opacity: 0.4; }
  50%  { opacity: 1; }
  100% { opacity: 0.4; }
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 420px;
  width: calc(100% - 40px);

  background: rgba(10,12,16,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;

  display: none;
  gap: 12px;

  z-index: 999;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-actions button {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  border: none;
}

#accept-cookies {
  background: #22c55e;
  color: #000;
}

#reject-cookies {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.tracking-city {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.65);
}

.tracking-city span {
  color: #ef4444;
  font-weight: 500;
  animation: cityPulse 1.6s ease-in-out infinite;
}

@keyframes cityPulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}
/* ===============================
   WISMIFY TAGS (FEATURE HIGHLIGHTS)
================================ */

.wismify-tags {
  margin-top: 28px;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* TAG BASE */
.w-tag {
  display: inline-flex;
  align-items: center;

  padding: 8px 14px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 500;
  line-height: 1;

  color: #e5e7eb;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 6px 18px rgba(0,0,0,0.5);

  backdrop-filter: blur(10px);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease,
    color .25s ease;

  cursor: default;
}

/* HOVER SUTIL */
.w-tag:hover {
  transform: translateY(-2px);

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.04)
  );

  color: #ffffff;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 12px 30px rgba(0,0,0,0.75);
}

/* VARIANTE WISMIFY (ligero glow) */
.compare-wismify .w-tag:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 0 18px rgba(255,255,255,0.18),
    0 14px 36px rgba(0,0,0,0.8);
}

/* MOBILE */
@media (max-width: 768px) {
  .wismify-tags {
    gap: 8px;
  }

  .w-tag {
    font-size: 12px;
    padding: 7px 12px;
  }
}
/* ===============================
   OTHERS · LIMITATION LIST
   Visual but passive (FINAL)
================================ */

.compare-others .compare-list {
  margin-top: 19px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas */
  gap: 4px 12px; /* fila | columna */
}

/* ===============================
   ITEM BASE
================================ */

.compare-others .compare-list li {
  position: relative;
  padding: 9px 14px 9px 36px;

  font-size: 10px;               /* ⬇️ menor jerarquía */
  line-height: 1.45;
  font-weight: 400;

  color: rgba(255,255,255,0.52);

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.028),
    rgba(255,255,255,0.01)
  );

  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 11px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03);

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

/* ===============================
   ICONO — NEGATIVO / PASIVO
================================ */

.compare-others .compare-list li::before {
  content: "×";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);

  width: 16px;
  height: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
  font-weight: 600;

  color: rgba(255,255,255,0.32);

  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);

  opacity: 0.75;
}

/* ===============================
   HOVER — MUY SUTIL
   (NO compite con Wismify)
================================ */

.compare-others .compare-list li:hover {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.045),
    rgba(255,255,255,0.018)
  );

  color: rgba(255,255,255,0.62);
  border-color: rgba(255,255,255,0.075);
}

/* ===============================
   ÍTEMS MÁS “CRÍTICOS”
   (alerta pasiva, no agresiva)
================================ */

.compare-others .compare-list li:nth-child(2)::before,
.compare-others .compare-list li:nth-child(3)::before {
  content: "!";
  font-size: 11px;
  color: rgba(255,255,255,0.38);
}
/* ===============================
   OTHERS · SOULLESS SUPPORT INBOX
================================ */

.support-inbox {
  margin-top: 36px;
  padding: 18px 20px;

  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.015)
  );

  border: 1px solid rgba(255,255,255,0.05);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 20px 60px rgba(0,0,0,0.6);
}

/* HEADER */
.support-inbox .mock-header {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;

  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ROWS */
.support-inbox .mock-row {
  position: relative;
  padding: 10px 12px 10px 28px;
  margin-bottom: 6px;

  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.4;

  color: rgba(255,255,255,0.45);

  background: rgba(255,255,255,0.02);
  border-radius: 8px;

  border: 1px solid rgba(255,255,255,0.04);

  opacity: 0.75;
}

/* ICON — CÍRCULO APAGADO */
.support-inbox .mock-row::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);

  width: 6px;
  height: 6px;
  border-radius: 50%;

  background: rgba(255,255,255,0.25);
  opacity: 0.6;
}

/* VARIACIÓN SUTIL (TODO PARECE IGUAL PERO NO) */
.support-inbox .mock-row:nth-child(2) {
  opacity: 0.6;
}

.support-inbox .mock-row:nth-child(3) {
  opacity: 0.5;
}

.support-inbox .mock-row:nth-child(4) {
  opacity: 0.4;
}

/* ❌ SIN HOVER PROTAGONISTA */
.support-inbox .mock-row:hover {
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.45);
  cursor: default;
}



/* =====================================================
   COMPARE SECTION — MOBILE STACK FIX
===================================================== */

@media (max-width: 768px) {

  /* Sección base */
  .compare-section {
    padding: 100px 16px;
    overflow: hidden; /* 🔒 nada se desborda */
  }

  /* Grid pasa a columna */
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  /* Divider fuera */
  .compare-divider {
    display: none;
  }

  /* Columnas limpias */
  .compare-col {
    width: 100%;
    max-width: 100%;
  }

  /* Watermark OFF en móvil (clave para overflow) */
  .compare-watermark {
    display: none;
  }

  /* Halo wismify más sutil */
  .compare-wismify::before {
    inset: -20px;
    opacity: 0.35;
  }

  /* Títulos */
  .compare-title {
    font-size: 26px;
  }

  .compare-subtitle {
    font-size: 14px;
    max-width: none;
  }

  /* Listas no rompen */
  .compare-list {
    margin-top: 24px;
  }

  /* Mock panel ajustado */
  .mock-panel.simple {
    margin-top: 28px;
  }

  /* Feature stack: ya lo tienes bien, pero aseguramos */
  .feature-stack {
    height: auto;
    perspective: none;
    margin-top: 40px;
  }

}



















/* ===============================
   IMPACT SECTION · BASE
================================ */

.impact-section {
  position: relative;
  padding: 140px 24px;
  overflow: hidden;
}

.impact-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 30% 70%;
  gap: 64px;
}

/* ===============================
   LEFT COLUMN
================================ */

.impact-left {
  position: relative;
  display: flex;
  align-items: center;
}

/* ===============================
   BACKGROUND (ALIEN LINES PNG)
   Imagen 3000x3000 CONTROLADA
================================ */

.impact-bg {
  position: absolute;
  inset: -120px; /* 🔥 da aire para que no se corte */

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;
  z-index: 0;
}

.impact-bg img {
  width: 1200px;          /* ⬅️ tamaño prudente */
  max-width: 140%;
  height: auto;

  opacity: 0.35;
  filter:
    contrast(1.1)
    brightness(0.9)
    saturate(0.9)
    blur(0.2px);

  transform: rotate(-6deg) translateY(-40px);

  /* 🔥 integra con fondo */
  mix-blend-mode: screen;
}

/* Más control en pantallas pequeñas */
@media (max-width: 1200px) {
  .impact-bg img {
    width: 900px;
  }
}

@media (max-width: 768px) {
  .impact-bg img {
    width: 700px;
    opacity: 0.25;
    transform: none;
  }
}

/* ===============================
   GLASS CARD (FOREGROUND)
================================ */

.impact-glass {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 520px;

  padding: 28px 30px;
  border-radius: 20px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 40px 120px rgba(0,0,0,0.85),
    inset 0 1px 0 rgba(255,255,255,0.08);

  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===============================
   HEADER
================================ */

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

.impact-kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.55);
}

.impact-header h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ===============================
   METRICS LIST
================================ */

.impact-metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.impact-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 14px;
  border-radius: 14px;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.metric-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.metric-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;

  color: #fb7185; /* 🔴 estado inicial (caos) */
}

/* ===============================
   ACTION
================================ */

.impact-actions {
  margin-top: 4px;
}

.impact-toggle {
  width: fit-content;

  padding: 10px 18px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.06)
  );

  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;

  cursor: pointer;

  box-shadow:
    0 12px 40px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.18);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.impact-toggle:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 60px rgba(0,0,0,0.75);
}

/* ===============================
   FOOTNOTE
================================ */

.impact-footnote {
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.impact-footnote p {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.65);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

  .impact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .impact-left {
    justify-content: center;
  }

  .impact-glass {
    max-width: 100%;
  }
}












/* =====================================================
   IMPACT · RIGHT (GRAPH FINAL)
===================================================== */

.impact-inner {
  grid-template-columns: 42% 58%; /* 🔥 más espacio a la gráfica */
  align-items: center;
}

/* PANEL */
.alien-dashboard {
  width: 100%;
  padding: 28px 32px;
  border-radius: 22px;

  background: linear-gradient(180deg, #07090c, #030405);
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 80px 180px rgba(0,0,0,0.9),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* HEADER */
.alien-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.alien-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
}

.alien-status {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;

  color: #fb7185;
  background: rgba(239,68,68,0.18);
  border: 1px solid rgba(239,68,68,0.35);
}

/* WRAPPER CON ALTURA REAL */
.alien-matrix-wrapper {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
}

/* EJE Y */
.alien-y-axis {
  height: 240px;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  align-items: center;

  font-size: 11px;
  color: rgba(255,255,255,0.45);
}

/* MATRIX */
.alien-matrix {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* MESES */
.alien-months {
  display: grid;
  grid-template-columns: repeat(24, 16px);
  gap: 6px;

  font-size: 10px;
  color: rgba(255,255,255,0.45);
}

.alien-months span {
  grid-column: span 2;
  text-align: center;
}

/* GRID */
.alien-grid {
  height: 240px; /* 🔥 MISMA ALTURA QUE EJE Y */

  display: grid;
  grid-template-columns: repeat(24, 16px);
  grid-template-rows: repeat(8, 1fr);
  gap: 6px;

  padding: 12px;
  border-radius: 18px;

  border: 1px solid rgba(239,68,68,0.6);
  box-shadow:
    inset 0 0 0 1px rgba(239,68,68,0.25),
    0 0 24px rgba(239,68,68,0.25);
}

/* CELDA BASE */
.alien-cell {
  width: 16px;
  height: 16px;
  border-radius: 4px;

  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: opacity .25s ease, background .25s ease;
}

/* ROJO PRINCIPAL */
.alien-cell.red {
  background: var(--red-main);
}

/* ROJO OSCURO (fallo más grave) */
.alien-cell.red-dark {
  background: var(--red-dark);
}

/* GRIS (sin eventos) */
.alien-cell.gray {
  background: var(--gray-off);
}


@keyframes flicker {
  0%   { opacity: 0.55; }
  40%  { opacity: 1; }
  70%  { opacity: 0.7; }
  100% { opacity: 0.9; }
}

.alien-cell.flicker {
  animation: flicker 1.8s infinite ease-in-out;
}


/* LEYENDA */
.alien-legend {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.legend-box {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
}

.legend-box.chaos { background: rgba(239,68,68,0.2); color: #fb7185; }
.legend-box.transition { background: rgb(146 55 55 / 20%); color: #c77b87; }
.legend-box.control { background: rgba(255,255,255,0.15); color: #e5e7eb; }
:root {
  --red-main: #e2435a;
  --red-dark: #b83246;
  --gray-off: rgba(255,255,255,0.10);
}





:root {
  --green-main: #22c55e;
  --green-dark: #15803d;
  --green-glow: rgba(34,197,94,0.45);
}
.alien-cell.green {
  background: var(--green-main);
}

.alien-cell.green-dark {
  background: var(--green-dark);
}
.alien-dashboard.is-active .alien-grid {
  border-color: rgba(34,197,94,0.65);
  box-shadow:
    inset 0 0 0 1px rgba(34,197,94,0.35),
    0 0 28px rgba(34,197,94,0.35);
}
@keyframes activatePulse {
  0% {
    transform: scale(1);
    box-shadow: none;
  }
  40% {
    transform: scale(1.08);
    box-shadow: 0 0 32px var(--green-glow);
  }
  100% {
    transform: scale(1);
    box-shadow: none;
  }
}

.alien-cell.activate {
  animation: activatePulse 0.6s ease-out;
}
.alien-dashboard.is-active .legend-box.chaos {
  background: rgba(34,197,94,0.18);
  color: var(--green-main);
}

.alien-dashboard.is-active .legend-box.transition {
  background: rgba(34,197,94,0.12);
  color: #86efac;
}

.alien-dashboard.is-active .legend-box.control {
  background: rgba(157 157 157 / 22%);
  color: #ffffff;
}
.alien-cell.green {
  background: linear-gradient(
    180deg,
    rgba(34,197,94,0.95),
    rgba(34,197,94,0.55)
  );
}

.alien-cell.green-dark {
  background: linear-gradient(
    180deg,
    rgba(22,163,74,0.95),
    rgba(22,163,74,0.55)
  );
}





/* =====================================================
   IMPACT · CINEMATIC BOOK DEPTH (CONTROLLED)
===================================================== */

/* 1️⃣ CÁMARA GLOBAL */
.impact-section {
  perspective: 2900px; /* 🔥 muy alta = profundidad elegante */
  perspective-origin: center center;
  overflow: visible;
}

/* 2️⃣ CONTENEDOR BASE */
.impact-inner {
  position: relative;
  transform-style: preserve-3d;
}

/* =====================================================
   PANEL IZQUIERDO
===================================================== */

.impact-left {
  position: relative;
  transform-origin: right center;

  transform:
    translateZ(0px)
    rotateY(30deg);   /* 👈 exagerado pero estable */

  transition:
    transform 1.2s cubic-bezier(.22,.61,.36,1);
}

/* =====================================================
   PANEL DERECHO
===================================================== */

.impact-right {
  position: relative;
  transform-origin: left center;

  transform:
    translateZ(0px)
    rotateY(-40deg);

  transition:
    transform 1.2s cubic-bezier(.22,.61,.36,1);
}

/* =====================================================
   HUNDIMIENTO CENTRAL (LA CLAVE)
===================================================== */

/* sombra + profundidad óptica */
.impact-left::after,
.impact-right::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
}

/* izquierda → sombra hacia el centro */
.impact-left::after {
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.32),
    rgba(0,0,0,0.18) 35%,
    transparent 70%
  );
}

/* derecha → sombra hacia el centro */
.impact-right::after {
  background: linear-gradient(
    to left,
    rgba(0,0,0,0.32),
    rgba(0,0,0,0.18) 35%,
    transparent 70%
  );
}

/* =====================================================
   ESTADO ACTIVO (WISMIFY ON → SE APLANA)
===================================================== */

.impact-section.is-active .impact-left,
.impact-section.is-active .impact-right {
  transform:
    translateZ(0px)
    rotateY(0deg);
}

/* =====================================================
   MICRO AJUSTE PARA EVITAR CORTE
===================================================== */

.impact-left,
.impact-right {
  will-change: transform;
  backface-visibility: hidden;
}

/* =====================================================
   MOBILE — PLANO, SIN SHOW OFF
===================================================== */

@media (max-width: 768px) {
  .impact-section {
    perspective: none;
  }

  .impact-left,
  .impact-right {
    transform: none !important;
  }

  .impact-left::after,
  .impact-right::after {
    display: none;
  }
}

/* =====================================================
   IMPACT SECTION — HIDE ON MOBILE
===================================================== */

@media (max-width: 768px) {
  .impact-section {
    display: none !important;
  }
}

















/* =====================================================
   USE CASES — GRID LIMPIO + FADE
===================================================== */

.use-cases {
  position: relative;
  padding: 120px 24px 200px;

  background:
    radial-gradient(
      ellipse at top,
      rgba(255,255,255,0.04),
      transparent 65%
    );
}

.use-cases-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* =====================
   HEADER
===================== */

.use-cases-header {
  max-width: 720px;
  margin: 0 auto 120px;
  text-align: center;
}

.use-cases-header h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.use-cases-header p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* =====================
   GRID 2x2 REAL
===================== */

.use-cases-grid {
  width: 100%;
}

.use-cases-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;

  max-width: 1200px;
  margin-inline: auto;
}

/* =====================
   CARD BASE (PLANA)
===================== */

.use-case-card {
  width: 100%;
  padding: 28px 30px;

  border-radius: 20px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.085),
    rgba(255,255,255,0.03)
  );

  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);

  box-shadow:
    0 18px 50px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.035);

  display: flex;
  flex-direction: column;
  gap: 18px;

  /* FADE BASE */
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 0.8s cubic-bezier(.22,.61,.36,1),
    transform 0.8s cubic-bezier(.22,.61,.36,1);
}

/* visible */
.use-case-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   CARD CONTENT
===================== */

.use-case-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.use-case-label {
  align-self: flex-start;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  padding: 6px 12px;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.75);
}

.use-case-top h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.use-case-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
}

.use-case-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.use-case-list li {
  position: relative;
  padding-left: 22px;

  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.75);
}

.use-case-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255,255,255,0.4);
}

.use-case-impact {
  margin-top: auto;
  padding-top: 14px;

  display: flex;
  justify-content: space-between;

  border-top: 1px solid rgba(255,255,255,0.08);
}

.use-case-impact span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.use-case-impact strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #22c55e;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {
  .use-cases-stack {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .use-cases-header {
    margin-bottom: 80px;
  }
}




/* =====================================================
   USE CASES · HOVER FOCUS (BLUR OTHERS)
===================================================== */

@media (any-hover: hover) {

  /* estado base al entrar en la zona */
  .use-cases-stack:hover .use-case-card {
    opacity: 0.45;
    filter: blur(2px);
    transition:
      opacity 0.35s cubic-bezier(.22,.61,.36,1),
      filter 0.35s cubic-bezier(.22,.61,.36,1),
      transform 0.35s cubic-bezier(.22,.61,.36,1);
  }

  /* la card hovereada */
  .use-cases-stack:hover .use-case-card:hover {
    opacity: 1;
    filter: none;
    z-index: 2;

    /* micro lift elegante */
    transform: translateY(-4px);

    box-shadow:
      0 28px 80px rgba(0,0,0,0.75),
      inset 0 1px 0 rgba(255,255,255,0.06);
  }
}





/* =====================================================
   SENTIMENT SECTION · SOFT TOP & BOTTOM SEPARATORS
===================================================== */

.wismify-sentiment::before,
.wismify-sentiment::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
}

/* línea superior */
.wismify-sentiment::before {
  top: 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.12),
    transparent
  );

  box-shadow:
    0 -20px 60px rgba(255,255,255,0.04);
}

/* línea inferior */
.wismify-sentiment::after {
  bottom: 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.12),
    transparent
  );

  box-shadow:
    0 20px 60px rgba(255,255,255,0.04);
}








/* =========================================================
   SENTIMENT INTELLIGENCE · HARD RESET + FINAL DESIGN
   (AUTOCONTENIDO · NO COLISIONA)
========================================================= */

#wismify-sentiment,
.wismify-sentiment {
  position: relative;
  background: #050608;
  isolation: isolate;
}

/* =====================
   CONTAINER
===================== */

.wismify-sentiment__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 32px;

  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 96px;
  align-items: center;
}

/* =====================
   LEFT COLUMN (SOLID)
===================== */

.wismify-sentiment__left {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 520px;
}

/* TITLE */
.wismify-sentiment__header h2 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.wismify-sentiment__description {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
}

/* =====================
   SENTIMENT DIAL (FINAL)
===================== */

.sentiment-dial {
  position: relative;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ICON STRIP */
.sentiment-dial__ring {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* ICON BASE */
.dial-item {
  all: unset;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;

  opacity: 0.35;
  transform: scale(0.82);

  transition:
    transform 0.45s cubic-bezier(.22,.61,.36,1),
    opacity 0.35s ease,
    filter 0.35s ease;
}

.dial-item svg {
  width: 100%;
  height: 100%;
}

/* ACTIVE ICON */
.dial-item.is-active {
  opacity: 1;
  transform: scale(1.15);
  filter: saturate(1.2);
}

/* CENTER VALUE (NO FLOATING BADGE NONSENSE) */
.sentiment-dial__center {
  margin-left: 18px;
  padding: 6px 14px;

  border-radius: 999px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);

  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;

  color: #ffffff;
}

/* =====================
   META INFO
===================== */

.wismify-sentiment__meta {
  display: flex;
  gap: 36px;
  margin-top: 12px;
}

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

.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
}

.meta-value {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

/* =====================
   DIVIDER (QUIET)
===================== */

.wismify-sentiment__divider {
  width: 1px;
  height: 420px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.12),
    transparent
  );
}

/* =====================
   RIGHT COLUMN (FLOW)
===================== */

.wismify-sentiment__right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 16px;
}

/* BACKGROUND BRAND */
.wismify-sentiment__background {
  position: absolute;
  inset: -80px;
  background: url("/assets/images/logoglass.png") center / contain no-repeat;
  opacity: 0.25;
  filter: blur(1.5px);
  pointer-events: none;
}

/* =====================
   GLASS CARDS (CLEAN)
===================== */

.sentiment-card {
  position: relative;
  width: 280px;

  padding: 18px 20px;
  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);

  box-shadow:
    0 24px 70px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* HEADER */
.sentiment-card__title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.sentiment-card__description {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,0.6);
}

/* =====================
   ASSIGN SELECT
===================== */

.sentiment-select {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sentiment-select__label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.sentiment-select__input {
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);

  color: #fff;
  font-size: 14px;
}

/* =====================
   ACTIVE CUSTOMERS
===================== */

.customer-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.customer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.customer-info {
  display: flex;
  gap: 6px;
}

.customer-name {
  color: #ffffff;
}

.customer-order {
  color: rgba(255,255,255,0.55);
}

/* =====================
   SENTIMENT COLORS
===================== */

[data-sentiment="angry"] svg   { fill: #ef4444; }
[data-sentiment="upset"] svg   { fill: #f59e0b; }
[data-sentiment="neutral"] svg { fill: #9ca3af; }
[data-sentiment="happy"] svg   { fill: #22c55e; }

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 980px) {
  .wismify-sentiment__container {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .wismify-sentiment__divider {
    display: none;
  }

  .sentiment-card {
    width: 100%;
  }
}
.sentiment-wheel {
  position: relative;
  height: 140px;
  display: grid;
  place-items: center;
}

/* ICON STRIP */
.sentiment-wheel__icons {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ICON BASE */
.wheel-item {
  width: 36px;
  height: 36px;
  opacity: 0.3;
  transform: scale(0.7);
  transition:
    transform 0.45s cubic-bezier(.22,.61,.36,1),
    opacity 0.3s ease;
}

/* POSITIONS RELATIVE TO CENTER */
.wheel-item[data-pos="0"] {
  opacity: 1;
  transform: scale(1.3);
}

.wheel-item[data-pos="1"],
.wheel-item[data-pos="-1"] {
  opacity: 0.6;
  transform: scale(0.95);
}

.wheel-item[data-pos="2"],
.wheel-item[data-pos="-2"] {
  opacity: 0.35;
  transform: scale(0.7);
}

/* AXIS */
.sentiment-wheel__axis {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.axis-line {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.35);
}

.axis-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
}
/* =========================================================
   SENTIMENT · RIGHT SIDE — FINAL LINEAR STYLE
========================================================= */

/* CONTENEDOR DERECHO */
.wismify-sentiment__right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;

  /* 🔥 centra visualmente el conjunto */
  justify-content: center;

  padding: 40px 0;
  min-height: 520px;
}

/* =========================================================
   BACKGROUND ORB (3000x3000 CONTROLADO)
========================================================= */

.wismify-sentiment__background {
  position: absolute;
  inset: -120px;

  background-image: url("/assets/images/LOGOGLASS.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(900px, 90%);

  opacity: 0.32;

  filter:
    blur(1.5px)
    saturate(0.9)
    contrast(1.05);

  pointer-events: none;
  z-index: 0;
}

/* =========================================================
   CARD BASE (MÁS ANCHAS, MÁS CUERPO)
========================================================= */

.sentiment-card {
  position: relative;
  z-index: 1;

  width: 360px;                 /* ⬅️ más anchas */
  max-width: 100%;

  padding: 20px 24px;

  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.14);

  backdrop-filter: blur(18px);

  box-shadow:
    0 28px 80px rgba(0,0,0,0.75),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* =========================================================
   ASSIGN CARD — MÁS CHATA, MÁS CONTROL
========================================================= */

.sentiment-card:first-child {
  padding: 16px 22px;           /* ⬅️ menos altura */
}

/* HEADER */
.sentiment-card__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sentiment-card__title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.sentiment-card__description {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.65);
}

/* =========================================================
   SELECT — MÁS LIMPIO, MÁS LINEAR
========================================================= */

.sentiment-select {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sentiment-select__label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.sentiment-select__input {
  height: 42px;

  padding: 0 14px;

  border-radius: 12px;

  background: rgba(0,0,0,0.35);

  border: 1px solid rgba(255,255,255,0.16);

  color: #ffffff;
  font-size: 14px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05);

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.sentiment-select__input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.45);
}

/* =========================================================
   ACTIVE CUSTOMERS — MÁS CUERPO Y JERARQUÍA
========================================================= */

.customer-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.customer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 0;

  font-size: 14px;

  color: rgba(255,255,255,0.85);

  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.customer-item:last-child {
  border-bottom: none;
}

.customer-name {
  font-weight: 500;
  color: #ffffff;
}

.customer-order {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* =========================================================
   RESPONSIVE — NO SE ROMPE
========================================================= */

@media (max-width: 980px) {
  .sentiment-card {
    width: 100%;
  }

  .wismify-sentiment__background {
    background-size: 600px;
    opacity: 0.25;
  }
}


/* =========================================================
   SENTIMENT · RIGHT SIDE — ALIGNMENT & FINENESS FIX
========================================================= */

/* CONTENEDOR DERECHO: CENTRO REAL */
.wismify-sentiment__right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;

  justify-content: center;
  align-items: flex-start;

  padding: 32px 0;
  min-height: 520px;
}

/* =========================================================
   BACKGROUND ORB — ALINEADO CON LAS CARDS
========================================================= */

.wismify-sentiment__background {
  position: absolute;

  /* 🔥 MISMO EJE QUE LAS CARDS */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 720px;
  height: 720px;

  background-image: url("/assets/images/LOGOGLASS.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.28;

  filter:
    blur(1.2px)
    saturate(0.9)
    contrast(1.05);

  pointer-events: none;
  z-index: 0;
}

/* =========================================================
   CARD BASE — MÁS FINAS, MÁS UI
========================================================= */

.sentiment-card {
  position: relative;
  z-index: 1;

  width: 380px;                /* ⬅️ más anchura */
  max-width: 100%;

  padding: 14px 20px;          /* ⬅️ menos altura */

  border-radius: 16px;         /* ⬅️ menos “bubble” */

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.07),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.12);

  backdrop-filter: blur(14px);

  box-shadow:
    0 20px 56px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* =========================================================
   ASSIGN CARD — EXTRA CHATA
========================================================= */

.sentiment-card:first-child {
  padding: 12px 20px;          /* ⬅️ aún más fina */
}

/* TEXTO */
.sentiment-card__header {
  gap: 6px;
}

.sentiment-card__title {
  font-size: 10px;
  letter-spacing: 0.18em;
}

.sentiment-card__description {
  font-size: 12.5px;
  line-height: 1.4;
}

/* =========================================================
   SELECT — MÁS COMPACTO
========================================================= */

.sentiment-select {
  margin-top: 10px;
  gap: 4px;
}

.sentiment-select__label {
  font-size: 11px;
}

.sentiment-select__input {
  height: 36px;                /* ⬅️ menos alto */
  padding: 0 12px;

  border-radius: 10px;

  font-size: 13px;
}

/* =========================================================
   ACTIVE CUSTOMERS — LISTA MÁS FINA
========================================================= */

.customer-list {
  margin-top: 12px;
  gap: 10px;
}

.customer-item {
  padding: 8px 0;              /* ⬅️ menos alto */
  font-size: 13px;
}

.customer-name {
  font-weight: 500;
}

.customer-order {
  font-size: 12.5px;
  opacity: 0.7;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {
  .sentiment-card {
    width: 100%;
  }

  .wismify-sentiment__background {
    width: 560px;
    height: 560px;
    opacity: 0.22;
  }
}


/* =========================================================
   ACTIVE CUSTOMERS · SENTIMENT ICONS
========================================================= */

.customer-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customer-item {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 12px;

  padding: 8px 0;

  font-size: 13.5px;
  color: rgba(255,255,255,0.85);

  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.customer-item:last-child {
  border-bottom: none;
}

/* ICON CONTAINER */
.customer-sentiment {
  width: 18px;
  height: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0.9;
}

.customer-sentiment svg {
  width: 100%;
  height: 100%;
}

/* TEXT */
.customer-name {
  font-weight: 500;
  color: #ffffff;
}

.customer-order {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
}

/* =========================================================
   SENTIMENT COLORS
========================================================= */

.customer-item[data-sentiment="angry"] .customer-sentiment svg {
  fill: #ef4444; /* rojo */
}

.customer-item[data-sentiment="upset"] .customer-sentiment svg {
  fill: #f59e0b; /* naranja */
}

.customer-item[data-sentiment="neutral"] .customer-sentiment svg {
  fill: #9ca3af; /* gris */
}

.customer-item[data-sentiment="happy"] .customer-sentiment svg {
  fill: #22c55e; /* verde */
}

/* =========================================================
   MICRO HIERARCHY (SUTIL)
========================================================= */

.customer-item[data-sentiment="angry"] {
  color: #ffffff;
}

.customer-item[data-sentiment="happy"] {
  opacity: 0.85;
}

/* =========================================================
   SENTIMENT · ENTRANCE ANIMATIONS (INITIAL STATE)
========================================================= */

/* Cards (Assign + Active Customers) */
.sentiment-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(.22,.61,.36,1),
    transform 0.6s cubic-bezier(.22,.61,.36,1);
}

/* Visible state */
.sentiment-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   ACTIVE CUSTOMERS · STAGGER BASE
========================================================= */

.customer-item {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s cubic-bezier(.22,.61,.36,1),
    transform 0.45s cubic-bezier(.22,.61,.36,1);
}

/* Visible */
.customer-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}



/* =========================================================
   SENTIMENT · CARD HOVER (SUBTLE GLOW)
========================================================= */

.sentiment-card {
  transition:
    transform 0.35s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.35s cubic-bezier(.22,.61,.36,1),
    border-color 0.35s ease;
}

/* Hover */
@media (any-hover: hover) {
  .sentiment-card:hover {
    transform: translateY(-4px);

    border-color: rgba(255,255,255,0.28);

    box-shadow:
      0 32px 90px rgba(0,0,0,0.85),
      0 0 0 1px rgba(255,255,255,0.18),
      0 0 28px rgba(255,255,255,0.12),
      inset 0 1px 0 rgba(255,255,255,0.12);
  }
}
/* =========================================================
   ACTIVE CUSTOMERS · FOCUS HOVER
========================================================= */

.customer-list {
  position: relative;
}

/* Estado base */
.customer-item {
  transition:
    opacity 0.25s ease,
    filter 0.25s ease,
    transform 0.25s ease;
}

/* Cuando el usuario entra en la lista */
@media (any-hover: hover) {
  .customer-list:hover .customer-item {
    opacity: 0.35;
    filter: blur(1.5px);
  }

  /* El item hovereado */
  .customer-list:hover .customer-item:hover {
    opacity: 1;
    filter: none;
    transform: translateX(2px);
  }
}













/* =====================================================
   SENTIMENT WHEEL — FIX DEFINITIVO (LEFT ONLY)
===================================================== */

/* CONTENEDOR */
.sentiment-wheel {
  position: relative;
  height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* STRIP */
.sentiment-wheel__icons {
  display: flex;
  align-items: center;
  gap: 44px;
}

/* ITEM BASE */
.wheel-item {
  width: 40px;
  height: 40px;

  opacity: 0.25;
  transform: scale(0.7);

  transition:
    transform 0.45s cubic-bezier(.22,.61,.36,1),
    opacity 0.3s ease,
    filter 0.3s ease;
}

/* SVG BASE (🔥 FIX COLOR) */
.wheel-item svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* POSICIONES RELATIVAS */
.wheel-item[data-pos="0"] {
  opacity: 1;
  transform: scale(1.35);
  filter: drop-shadow(0 0 14px currentColor);
}

.wheel-item[data-pos="-1"],
.wheel-item[data-pos="1"] {
  opacity: 0.6;
  transform: scale(1);
}

.wheel-item[data-pos="-2"],
.wheel-item[data-pos="2"] {
  opacity: 0.35;
  transform: scale(0.75);
}

/* COLORES POR ESTADO */
.wheel-item[data-label="Angry"]   { color: #ef4444; }
.wheel-item[data-label="Upset"]   { color: #f59e0b; }
.wheel-item[data-label="Neutral"] { color: #9ca3af; }
.wheel-item[data-label="Happy"]   { color: #22c55e; }

/* AXIS (YA EXISTE, SOLO AJUSTE) */
.sentiment-wheel__axis {
  position: absolute;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.axis-line {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,0.35);
}

.axis-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}



/* =========================================================
   SENTIMENT WHEEL — 5 SLOTS, SYMMETRIC, INFINITE LEFT
   (solo afecta a .sentiment-wheel)
========================================================= */

.sentiment-wheel {
  position: relative;
  height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* icons container becomes "stage" */
.sentiment-wheel__icons {
  position: relative;
  width: 360px;               /* controla el ancho del dial */
  height: 60px;
}

/* 5 fixed slots */
.wheel-slot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  opacity: 0.25;
  filter: saturate(0.95);
  will-change: transform, opacity, filter;
}

/* SVG always inherits color */
.wheel-slot svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* positions (pos = -2,-1,0,1,2) */
:root { --wheel-gap: 56px; }

.wheel-slot[data-pos="-2"] { transform: translate(calc(-50% + (-2 * var(--wheel-gap))), -50%) scale(0.68); opacity: 0.22; }
.wheel-slot[data-pos="-1"] { transform: translate(calc(-50% + (-1 * var(--wheel-gap))), -50%) scale(0.92); opacity: 0.55; }
.wheel-slot[data-pos="0"]  { transform: translate(calc(-50% + ( 0 * var(--wheel-gap))), -50%) scale(1.28); opacity: 1; filter: drop-shadow(0 0 16px currentColor) saturate(1.2); }
.wheel-slot[data-pos="1"]  { transform: translate(calc(-50% + ( 1 * var(--wheel-gap))), -50%) scale(0.92); opacity: 0.55; }
.wheel-slot[data-pos="2"]  { transform: translate(calc(-50% + ( 2 * var(--wheel-gap))), -50%) scale(0.68); opacity: 0.22; }

/* animation: shift left by 1 step */
.sentiment-wheel.is-animating .wheel-slot {
  transition:
    transform 520ms cubic-bezier(.22,.61,.36,1),
    opacity 520ms cubic-bezier(.22,.61,.36,1),
    filter 520ms cubic-bezier(.22,.61,.36,1);
}

/* when animating, each slot temporarily moves one step LEFT:
   (pos -> pos - 1). We do it by toggling data-shift on the wheel.
*/
.sentiment-wheel[data-shift="1"] .wheel-slot[data-pos="-2"] { transform: translate(calc(-50% + (-3 * var(--wheel-gap))), -50%) scale(0.55); opacity: 0.0; }
.sentiment-wheel[data-shift="1"] .wheel-slot[data-pos="-1"] { transform: translate(calc(-50% + (-2 * var(--wheel-gap))), -50%) scale(0.68); opacity: 0.22; }
.sentiment-wheel[data-shift="1"] .wheel-slot[data-pos="0"]  { transform: translate(calc(-50% + (-1 * var(--wheel-gap))), -50%) scale(0.92); opacity: 0.55; filter: none; }
.sentiment-wheel[data-shift="1"] .wheel-slot[data-pos="1"]  { transform: translate(calc(-50% + ( 0 * var(--wheel-gap))), -50%) scale(1.28); opacity: 1; filter: drop-shadow(0 0 16px currentColor) saturate(1.2); }
.sentiment-wheel[data-shift="1"] .wheel-slot[data-pos="2"]  { transform: translate(calc(-50% + ( 1 * var(--wheel-gap))), -50%) scale(0.92); opacity: 0.55; }

/* axis fixed and centered */
.sentiment-wheel__axis {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.axis-line {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,0.35);
}

.axis-label {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* colors */
.wheel-slot[data-key="angry"]   { color:#ef4444; }
.wheel-slot[data-key="upset"]   { color:#f59e0b; }
.wheel-slot[data-key="neutral"] { color:#9ca3af; }
.wheel-slot[data-key="happy"]   { color:#22c55e; }





/* =====================================================
   SENTIMENT WHEEL · SMOOTH ENTRY FIX (RIGHT SIDE)
===================================================== */

/* Estado base SIEMPRE visible (evita pop-in) */
.wheel-item {
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}

/* Fuerza estado previo al entrar por la derecha */
.wheel-item[data-pos="2"] {
  opacity: 0.35;
  transform: scale(0.7);
}






/* =====================================================
   MOBILE OVERFLOW — HARD FIX
   (navbar + blur + fixed + safari safe)
===================================================== */

@media (max-width: 768px) {

  /* 1️⃣ Bloqueo global del overflow horizontal */
  html,
  body {
    width: 100%;
    overflow-x: hidden !important;
    position: relative;
  }

  /* 2️⃣ Navbar: evita que el blur cree caja fantasma */
  .navbar {
    max-width: calc(100vw - 24px);
    overflow: hidden; /* 🔥 clave */
  }

  /* 3️⃣ Neutraliza cualquier panel móvil fuera del flujo */
  .nav-mobile {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* 4️⃣ Evita que pseudo-elementos generen overflow */
  .navbar::before,
  .navbar::after {
    max-width: 100%;
  }

}
/* =====================================================
   TRACKING BADGE — MOBILE FIX
===================================================== */

.tracking-badge {
  font-size: 10px;              /* ⬇️ más pequeño */
  font-weight: 600;
  letter-spacing: 0.06em;

  color: #ef4444;

  position: relative;
  top: -6px;                    /* ⬆️ lo sube */
  margin-left: 6px;             /* aire respecto al texto */

  white-space: nowrap;
}
/* =====================================================
   GEO INLINE · TRACKING TEXT FIX (EXTRA COMPACT)
===================================================== */

.feature-location {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Punto rojo */
.location-dot {
  flex-shrink: 0;
}

/* Texto "Tracking Madrid" */
.tracking-city {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  font-size: 9px;            /* ⬇️ aún más pequeño */
  line-height: 1;

  position: relative;
  top: -10px;                /* ⬆️ sube más */
  letter-spacing: 0.06em;    /* más técnico */
}

/* Prefijo "Tracking" */
.tracking-city [data-i18n="compare.tracking.prefix"] {
  opacity: 0.65;
  font-weight: 500;
  text-transform: uppercase;
}

/* Ciudad */
#visitor-city {
  font-weight: 600;
}


/* =====================================================
   GEO DOT · ALIGN FIX (MORE UP)
===================================================== */

.location-dot {
  position: relative;
  top: -10px;        /* ⬆️ súbelo más */
  margin-right: 2px;

  width: 6px;
  height: 6px;
  border-radius: 50%;

  background: #ef4444;
  box-shadow:
    0 0 6px rgba(239,68,68,0.9),
    0 0 14px rgba(239,68,68,0.6);

  animation: pulseDot 1.6s infinite;
}
















/* =====================================================
   DEMO REQUEST · SECTION
===================================================== */

.demo-section {
  position: relative;
  padding: 160px 24px 180px;
  background:
    radial-gradient(
      ellipse at top,
      rgba(255,255,255,0.04),
      transparent 65%
    );
}

.demo-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* =====================
   HEADER
===================== */

.demo-header h2 {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.demo-header p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
}

/* =====================
   FORM
===================== */

.demo-form {
  margin-top: 48px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* FIELD */
.demo-field {
  width: 100%;
  max-width: 420px;

  display: flex;
  flex-direction: column;
  gap: 6px;

  text-align: left;
}

.demo-field span {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.demo-field input {
  height: 46px;
  padding: 0 16px;

  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);

  color: #fff;
  font-size: 14px;

  backdrop-filter: blur(10px);

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.demo-field input::placeholder {
  color: rgba(255,255,255,0.35);
}

.demo-field input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18),
    0 0 24px rgba(255,255,255,0.12);
}

/* =====================
   SUBMIT
===================== */

.demo-submit {
  margin-top: 8px;

  height: 46px;
  padding: 0 26px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;

  background: linear-gradient(
    180deg,
    #ffffff,
    #e5e7eb
  );

  color: #000;
  border: none;

  cursor: pointer;

  box-shadow:
    0 14px 40px rgba(0,0,0,0.6);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.demo-submit:hover {
  transform: translateY(-1px);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.8);
}

.demo-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =====================
   FEEDBACK
===================== */

.demo-feedback {
  margin-top: 6px;
  font-size: 13px;
  min-height: 18px;
}

.demo-feedback.success {
  color: #22c55e;
}

.demo-feedback.error {
  color: #ef4444;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {
  .demo-section {
    padding: 120px 16px 140px;
  }

  .demo-header h2 {
    font-size: 28px;
  }

  .demo-header p {
    font-size: 14px;
  }
}

/* ===============================
   FOOTER · WISMIFY
================================ */

.footer {
  position: relative;
  margin-top: 120px;
  padding: 64px 24px 32px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.01)
  );

  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  gap: 48px;
}

/* BRAND */
.footer-brand {
  max-width: 420px;
}

.footer-logo {
  height: 28px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}

/* LINKS */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 48px;
  padding-top: 16px;
  text-align: center;

  font-size: 12px;
  color: rgba(255,255,255,0.35);

  border-top: 1px solid rgba(255,255,255,0.06);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

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


/* ===============================
   COOKIE CONSENT · GLASS BLUR
================================ */

.cookie-consent {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* GLASS CARD */
.cookie-glass {
  max-width: 320px;
  padding: 16px 18px;

  display: flex;
  flex-direction: column;
  gap: 14px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.45);
}

/* TEXT */
.cookie-text {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.7);
}

.cookie-text a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* BUTTON */
.cookie-accept {
  align-self: flex-end;

  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;

  color: #fff;
  background: rgba(255,255,255,0.12);

  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.15s ease,
    border-color 0.2s ease;
}

.cookie-accept:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.cookie-accept:active {
  transform: scale(0.96);
}

/* MOBILE */
@media (max-width: 600px) {
  .cookie-consent {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .cookie-glass {
    max-width: none;
  }
}








/* ===============================
   404 · WISMIFY
================================ */

.page-404 {
  background: radial-gradient(
    1200px 600px at 50% -10%,
    rgba(255,255,255,0.06),
    transparent
  ),
  #050608;
}

/* LAYOUT */
.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

/* GLASS CARD */
.notfound-glass {
  position: relative;
  z-index: 2;

  padding: 56px 48px;
  max-width: 520px;
  text-align: center;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

/* TEXT */
.notfound-code {
  display: block;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 12px;
}

.notfound-title {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 12px;
}

.notfound-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}

/* ACTION */
.notfound-actions {
  display: flex;
  justify-content: center;
}

/* AMBIENT GRID */
.notfound-grid {
  position: absolute;
  inset: 0;
  z-index: 1;

  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
  pointer-events: none;
}

/* MOBILE */
@media (max-width: 600px) {
  .notfound-glass {
    padding: 40px 24px;
    margin: 0 16px;
  }

  .notfound-code {
    font-size: 48px;
  }
}
/* ===============================
   LEGAL PAGES · WISMIFY
================================ */

.legal-page {
  background: #050608;
  color: rgba(255,255,255,0.85);
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 24px 120px;
}

.legal-header {
  margin-bottom: 48px;
}

.legal-header h1 {
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

.legal-section ul {
  margin: 12px 0 0 18px;
}

.legal-section li {
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.legal-footer {
  margin-top: 64px;
}

.legal-back {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.legal-back:hover {
  color: rgba(255,255,255,0.9);
}


/* =========================
   DEMO MODAL (POPUP)
========================= */
html.is-modal-open,
body.is-modal-open {
  overflow: hidden;
}

/* overlay */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.demo-modal.is-open {
  display: block;
}

.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* panel */
.demo-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  width: min(560px, calc(100% - 32px));
  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.03)
  );

  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 50px 140px rgba(0,0,0,0.85),
    inset 0 1px 0 rgba(255,255,255,0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  padding: 22px 22px 18px;
  opacity: 0;
  animation: demoModalIn 260ms cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes demoModalIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.98); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.demo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.demo-modal__close:hover {
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}

.demo-modal__header h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.demo-modal__header p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
}

/* form tweaks inside modal */
.demo-form--modal {
  margin-top: 18px;
}

/* make navbar CTA still look like pill button even as <button> */
.nav-cta {
  cursor: pointer;
}

/* keep hero primary as button style (if you relied on <a>) */
.btn-primary {
  border: none;
  cursor: pointer;
}

/* mobile */
@media (max-width: 768px) {
  .demo-modal__panel {
    padding: 18px 16px 14px;
    border-radius: 16px;
  }

  .demo-modal__header h2 {
    font-size: 22px;
  }
}
/* =========================
   DEMO SECTION · FORM EXTENDED
========================= */

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* FIELD */
.demo-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-field span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}

/* INPUT */
.demo-field input {
  height: 44px;
  padding: 0 14px;

  border-radius: 12px;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);

  color: #ffffff;
  font-size: 14px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05);

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.demo-field input::placeholder {
  color: rgba(255,255,255,0.35);
}

.demo-field input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.45);

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* SUBMIT */
.demo-submit {
  margin-top: 6px;

  height: 46px;
  padding: 0 20px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;

  background: linear-gradient(
    180deg,
    #ffffff,
    #e5e7eb
  );

  color: #000;
  border: none;

  cursor: pointer;

  box-shadow:
    0 12px 40px rgba(0,0,0,0.55);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.demo-submit:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 60px rgba(0,0,0,0.75);
}

.demo-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* FEEDBACK */
.demo-feedback {
  margin-top: 6px;
  min-height: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.demo-feedback.success {
  color: #22c55e;
}

.demo-feedback.error {
  color: #ef4444;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .demo-form {
    gap: 12px;
  }

  .demo-field input {
    height: 42px;
    font-size: 13px;
  }

  .demo-submit {
    height: 44px;
    font-size: 13px;
  }
}
