/* ===============================
   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;
}

/* =====================
   NAV DROPDOWN
====================== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.nav-dropdown-trigger:hover {
  color: var(--text);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;

  padding: 8px;
  border-radius: 14px;
  background: rgba(12, 14, 18, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-soft);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.04);

  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: all 0.2s cubic-bezier(.2,.8,.2,1);

  z-index: 200;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dd-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;

  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}

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

.nav-dd-item--active {
  background: rgba(255,255,255,0.04);
}

.nav-dd-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  grid-row: 1 / -1;
}

.nav-dd-dot--cx {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.4);
}

.nav-dd-dot--hub {
  background: #a855f7;
  box-shadow: 0 0 8px rgba(168,85,247,0.4);
}

.nav-dd-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.nav-dd-desc {
  font-size: 11px;
  color: var(--muted);
}

/* =====================
   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);
}
/* =====================
   HERO
====================== */
.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;

  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

/* Subtle ambient glow behind the window stack */
.system-stage::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}


/* =====================
   PRODUCT TOGGLE
====================== */
.product-toggle {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(8,10,14,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
  width: fit-content;
  margin: 0 auto 32px;
  z-index: 5;
  position: relative;
}

.product-toggle button,
.product-toggle .product-toggle-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.product-toggle button:hover,
.product-toggle .product-toggle-link:hover {
  color: var(--text);
}

.product-toggle button.is-active {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  box-shadow: 0 0 12px rgba(34,197,94,0.1);
}

.product-toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.product-toggle-dot--cx {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.8);
}

.product-toggle-dot--hub {
  background: #a855f7;
  box-shadow: 0 0 6px rgba(168,85,247,0.8);
}

/* =====================
   PRODUCT WINDOW
====================== */
.product-previews {
  position: relative;
  height: 700px;
  max-width: 1120px;
  margin: 0 auto;
}

.product-window {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10,14,20,0.95), rgba(5,6,8,0.98));
  border: 1px solid rgba(34,197,94,0.15);
  box-shadow:
    0 60px 140px rgba(0,0,0,0.85),
    0 30px 60px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 20px 40px rgba(255,255,255,0.015);
  transition: all 0.5s cubic-bezier(.2,.8,.2,1);
}

.product-window.is-front {
  z-index: 2;
  opacity: 1;
  filter: none;
}

.product-window-header {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.product-window-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.product-window-header span:nth-child(1) {
  background: #ff5f57;
  box-shadow: 0 0 6px rgba(255,95,87,0.3);
}

.product-window-header span:nth-child(2) {
  background: #febc2e;
  box-shadow: 0 0 6px rgba(254,188,46,0.3);
}

.product-window-header span:nth-child(3) {
  background: #28c840;
  box-shadow: 0 0 6px rgba(40,200,64,0.3);
}

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

.product-window-body {
  height: calc(100% - 44px);
  overflow: hidden;
}

/* =====================================================
   PREVIEW DASHBOARD (LAYOUT)
===================================================== */
.preview-dashboard {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 100%;
  font-size: 12px;
  color: #e5e7eb;
}

.preview-sidebar {
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-right: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.preview-brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
  color: #4ade80;
}

.preview-brand strong {
  font-size: 11px;
  font-weight: 600;
}

.preview-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.preview-nav-item {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 11px;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.preview-nav-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

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

.preview-nav-item.is-active {
  background: rgba(34,197,94,0.1);
  color: #4ade80;
}

.preview-nav-badge {
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}

.preview-nav-badge--cx {
  background: rgba(34,197,94,0.2);
  color: #4ade80;
}

.preview-sidebar-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.preview-automation-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.preview-auto-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.preview-auto-dot--active {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.8);
  animation: previewPulse 1.6s infinite;
}

@keyframes previewPulse {
  0%   { opacity: 0.5; }
  50%  { opacity: 1; }
  100% { opacity: 0.5; }
}

.preview-user {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #9ca3af;
}

.preview-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34,197,94,0.2);
  border: 1px solid rgba(34,197,94,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: #4ade80;
}

.preview-avatar--cx {
  background: rgba(34,197,94,0.2);
  border-color: rgba(34,197,94,0.4);
  color: #4ade80;
}

/* Main area */
.preview-main {
  padding: 16px 20px;
  overflow-y: auto;
  overflow-x: hidden;
}

.preview-main::-webkit-scrollbar {
  width: 4px;
}

.preview-main::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
}

/* View system */
.preview-view {
  display: none;
  animation: previewFadeIn .25s ease;
}
.preview-view.is-active {
  display: block;
}
@keyframes previewFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Topbar */
.preview-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.preview-topbar h4 {
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
}

.preview-topbar-sub {
  font-size: 10px;
  color: #6b7280;
  display: block;
  margin-top: 2px;
}

.preview-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-search-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 10px;
  color: #6b7280;
}

.preview-search-bar svg {
  width: 12px;
  height: 12px;
}

.preview-notif {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.preview-notif svg {
  width: 14px;
  height: 14px;
  color: #9ca3af;
}

.preview-notif-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}

/* Stats */
.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.preview-stats--4 {
  grid-template-columns: repeat(4, 1fr);
}

.preview-stats--5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 0 16px;
  margin-bottom: 10px;
}

.preview-stat {
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
}

.preview-stat span {
  font-size: 9px;
  color: #9ca3af;
  display: block;
}

.preview-stat strong {
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-top: 2px;
  color: #f9fafb;
}

.preview-stat--mini {
  padding: 8px 10px;
}
.preview-stat--mini span {
  font-size: 7px;
}
.preview-stat--mini strong {
  font-size: 14px;
}

.preview-stat-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.preview-stat-icon svg {
  width: 12px;
  height: 12px;
}

.preview-stat-icon--cx {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
}

.preview-stat-icon--amber {
  background: rgba(234,179,8,0.15);
  color: #fbbf24;
}

.preview-stat-icon--green {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
}

.preview-stat-icon--purple {
  background: rgba(168,85,247,0.15);
  color: #c084fc;
}

.preview-stat-change {
  font-size: 8px !important;
  color: #6b7280 !important;
  margin-top: 2px;
}

.preview-stat-change--up {
  color: #4ade80 !important;
}

.preview-stat-change--down {
  color: #4ade80 !important;
}

/* Two-column layout */
.preview-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

/* Chart card */
.preview-chart-card {
  padding: 12px;
  border-radius: 10px;
  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);
}

.preview-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.preview-chart-title {
  font-size: 11px;
  font-weight: 600;
  color: #e5e7eb;
}

.preview-chart-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 999px;
}

.preview-chart-badge--cx {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
}

/* Mini bar chart */
.preview-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 70px;
  padding-top: 4px;
}

.preview-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(34,197,94,0.35), rgba(34,197,94,0.1));
  position: relative;
  min-height: 4px;
  transition: height 0.4s ease;
}

.preview-bar span {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7px;
  color: #6b7280;
  white-space: nowrap;
}

.preview-bar--today {
  background: linear-gradient(180deg, rgba(34,197,94,0.6), rgba(34,197,94,0.2));
  box-shadow: 0 0 8px rgba(34,197,94,0.3);
}

/* Resolution list */
.preview-resolution-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-resolution-item {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #e5e7eb;
}

.preview-res-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.preview-res-value {
  font-weight: 600;
  color: #f9fafb;
}

.preview-res-bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

.preview-res-bar > div {
  height: 100%;
  border-radius: 999px;
}

/* Ticket table */
.preview-content-label {
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  margin-top: 4px;
}

.preview-ticket-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-ticket-row {
  display: grid;
  grid-template-columns: 40px 1fr 80px 55px 60px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 10px;
  color: #e5e7eb;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.03);
}

.preview-ticket-row--header {
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 4px;
}

.preview-ticket-row:not(.preview-ticket-row--header):hover {
  background: rgba(255,255,255,0.04);
}

.preview-ticket-id {
  font-family: "PressuraMono", monospace;
  font-weight: 700;
}

/* Badges */
.preview-ticket-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.badge--blue { background: rgba(59,130,246,0.2); color: #93c5fd; }
.badge--green { background: rgba(34,197,94,0.2); color: #86efac; }
.badge--purple { background: rgba(168,85,247,0.2); color: #d8b4fe; }
.badge--yellow { background: rgba(251,191,36,0.12); color: #fbbf24; }

.priority--high { color: #f87171; font-size: 10px; }
.priority--medium { color: #facc15; font-size: 10px; }
.priority--low { color: #4ade80; font-size: 10px; }

.sentiment--negative { color: #f87171; font-size: 10px; }
.sentiment--neutral { color: #facc15; font-size: 10px; }
.sentiment--positive { color: #4ade80; font-size: 10px; }

/* Button */
.preview-btn-new {
  padding: 5px 10px;
  border-radius: 8px;
  border: none;
  font-size: 10px;
  font-weight: 600;
  cursor: default;
}

.preview-btn-new--cx {
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 5px;
  border: none;
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.08));
  color: #22c55e;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* Filter bar */
.preview-filter-bar {
  display: flex;
  gap: 2px;
  padding: 0 16px;
  margin-bottom: 12px;
}
.preview-filter {
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 4px;
  color: #9ca3af;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all .15s ease;
}
.preview-filter.is-active {
  background: rgba(255,255,255,0.08);
  color: #f5f7fa;
  border-color: rgba(255,255,255,0.1);
}

.preview-filter-bar--tickets {
  padding: 0 16px;
  margin-bottom: 10px;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}
.preview-search-bar--sm {
  font-size: 8px;
  padding: 4px 8px;
  gap: 4px;
  flex: 0 0 auto;
}
.preview-search-bar--sm svg {
  width: 10px;
  height: 10px;
}

/* Ticket card grid */
.preview-ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px 12px;
}

.preview-tcard {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-tcard-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.preview-tcard-id {
  font-size: 11px;
  font-weight: 700;
  color: #e5e7eb;
  font-family: "PressuraMono", monospace;
}

.preview-tcard-title {
  font-size: 10px;
  font-weight: 600;
  color: #f5f7fa;
  line-height: 1.35;
}

.preview-tcard-meta {
  font-size: 8px;
  color: #6b7280;
}

.preview-tcard-state {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(0,0,0,0.2);
  border-left: 3px solid #22c55e;
  margin-top: 2px;
}
.preview-tcard-state--waiting { border-left-color: #22c55e; }
.preview-tcard-state--ai { border-left-color: #a855f7; }
.preview-tcard-state--transport { border-left-color: #f59e0b; }

.preview-tcard-state-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
}
.preview-tcard-state--waiting .preview-tcard-state-dot {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.4);
}
.preview-tcard-state--ai .preview-tcard-state-dot {
  background: #a855f7;
  box-shadow: 0 0 6px rgba(168,85,247,0.4);
}
.preview-tcard-state--transport .preview-tcard-state-dot {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245,158,11,0.4);
}

.preview-tcard-state strong {
  font-size: 9px;
  color: #d1d5db;
  display: block;
  margin-bottom: 3px;
}
.preview-tcard-state p {
  font-size: 8px;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 4px;
}
.preview-tcard-confidence {
  font-size: 7px;
  color: #4b5563;
}

/* Automation cards */
.preview-automation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px;
}
.preview-auto-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px;
}
.preview-auto-card--active {
  border-color: rgba(34,197,94,0.15);
}
.preview-auto-card--draft {
  border-color: rgba(255,255,255,0.05);
  opacity: 0.7;
}
.preview-auto-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.preview-auto-card-header strong {
  font-size: 10px;
  color: #e5e7eb;
  flex: 1;
}
.preview-auto-dot-lg {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.preview-auto-dot-lg--active {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.4);
}
.preview-auto-dot-lg--draft {
  background: #6b7280;
}
.preview-auto-badge {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}
.preview-auto-badge--active {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
}
.preview-auto-badge--draft {
  background: rgba(107,114,128,0.12);
  color: #9ca3af;
}
.preview-auto-desc {
  font-size: 9px;
  color: #9ca3af;
  line-height: 1.4;
  margin-bottom: 8px;
}
.preview-auto-meta {
  display: flex;
  gap: 12px;
  font-size: 8px;
  color: #6b7280;
}

/* Customer cards */
.preview-customer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px;
}
.preview-customer-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px;
  position: relative;
}
.preview-customer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.preview-customer-header strong {
  font-size: 10px;
  color: #e5e7eb;
  display: block;
}
.preview-customer-header span {
  font-size: 8px;
  color: #6b7280;
}
.preview-customer-stats {
  display: flex;
  gap: 12px;
}
.preview-customer-stats > div {
  text-align: center;
}
.preview-customer-stats span {
  font-size: 8px;
  color: #6b7280;
  display: block;
}
.preview-customer-stats strong {
  font-size: 11px;
  color: #e5e7eb;
}
.preview-customer-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 7px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.preview-customer-tag--vip {
  background: rgba(234,179,8,0.12);
  color: #eab308;
}
.preview-customer-tag--repeat {
  background: rgba(59,130,246,0.12);
  color: #60a5fa;
}
.preview-customer-tag--new {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
}

/* Settings list */
.preview-settings-list {
  padding: 0 16px;
}
.preview-settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.preview-settings-item:last-child {
  border-bottom: none;
}
.preview-settings-item strong {
  font-size: 10px;
  color: #e5e7eb;
  display: block;
  margin-bottom: 2px;
}
.preview-settings-item > div span {
  font-size: 9px;
  color: #6b7280;
}
.preview-settings-action {
  font-size: 9px;
  color: #22c55e;
  cursor: pointer;
}

/* Toggle switch */
.preview-toggle {
  width: 28px;
  height: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  position: relative;
  cursor: pointer;
  transition: background .2s ease;
}
.preview-toggle.is-on {
  background: rgba(34,197,94,0.4);
}
.preview-toggle-knob {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform .2s ease;
}
.preview-toggle.is-on .preview-toggle-knob {
  transform: translateX(12px);
}

/* =====================================================
   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 & PREVIEW
  ====================== */
  .system-stage {
    padding: 0 16px 40px;
  }

  .product-toggle {
    margin-bottom: 20px;
  }

  .product-previews {
    height: 500px;
  }

  .product-window {
    position: relative;
  }

  .preview-dashboard {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-stats--4,
  .preview-stats--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-two-col {
    grid-template-columns: 1fr;
  }

  .preview-ticket-row {
    grid-template-columns: 35px 1fr 70px;
  }

  .preview-ticket-row span:nth-child(4),
  .preview-ticket-row span:nth-child(5) {
    display: none;
  }

  .preview-ticket-row--header span:nth-child(4),
  .preview-ticket-row--header span:nth-child(5) {
    display: none;
  }

  .preview-ticket-grid,
  .preview-automation-grid,
  .preview-customer-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================
   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;
  }
}
/* Old mobile dashboard overrides removed */

/* =====================
   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 — N8N NODES ===== */

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

.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;
  mask-image: radial-gradient(ellipse at center, black 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 45%, transparent 85%);
  pointer-events: none;
}

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

.ops-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.ops-header h2 { font-size: 40px; font-weight: 600; line-height: 1.15; }
.ops-header p  { margin-top: 14px; font-size: 16px; color: var(--muted); line-height: 1.6; }

/* ─── CANVAS ─── */
.flow-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 20px;
  background: rgba(6,8,12,0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.flow-canvas {
  position: relative;
  width: 1160px;
  height: 520px;
  margin: 0 auto;
}

.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease 0.15s;
}
.flow-canvas.is-visible .flow-svg { opacity: 1; }

/* ─── NODES ─── */
.flow-node {
  position: absolute;
  z-index: 2;
  transform: translateX(-50%) translateY(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.flow-canvas.is-visible .flow-node {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.flow-canvas.is-visible .flow-node--email    { transition-delay: 0.1s; }
.flow-canvas.is-visible .flow-node--ai       { transition-delay: 0.3s; }
.flow-canvas.is-visible .flow-node--resolved { transition-delay: 0.5s; }
.flow-canvas.is-visible .flow-node--support  { transition-delay: 0.6s; }
.flow-canvas.is-visible .flow-node--sentiment{ transition-delay: 0.75s; }

/* Positions */
.flow-node--email     { left: 130px; top: 163px; }
.flow-node--ai        { left: 460px; top: 148px; }
.flow-node--resolved  { left: 850px; top: 75px; }
.flow-node--support   { left: 850px; top: 330px; }
.flow-node--sentiment { left: 1060px; top: 345px; }

/* ─── CARDS ─── */
.flow-node-card {
  padding: 18px 24px;
  border-radius: 14px;
  background: rgba(10,12,16,0.9);
  border: 1.5px solid rgba(255,255,255,0.09);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  min-width: 140px;
  position: relative;
}
.flow-node:hover .flow-node-card { transform: translateY(-3px); }

.flow-node-card--gold {
  border-color: rgba(250,204,21,0.3);
  box-shadow: 0 8px 32px rgba(250,204,21,0.06), inset 0 1px 0 rgba(250,204,21,0.06);
}
.flow-node:hover .flow-node-card--gold {
  border-color: rgba(250,204,21,0.5);
  box-shadow: 0 12px 40px rgba(250,204,21,0.1);
}

.flow-node-card--blue {
  border-color: rgba(96,165,250,0.3);
  box-shadow: 0 8px 32px rgba(96,165,250,0.06), inset 0 1px 0 rgba(96,165,250,0.06);
  padding-bottom: 12px;
}
.flow-node:hover .flow-node-card--blue {
  border-color: rgba(96,165,250,0.5);
  box-shadow: 0 12px 40px rgba(96,165,250,0.1);
}

.flow-node-card--green {
  border-color: rgba(34,197,94,0.3);
  box-shadow: 0 8px 32px rgba(34,197,94,0.06), inset 0 1px 0 rgba(34,197,94,0.06);
}
.flow-node:hover .flow-node-card--green {
  border-color: rgba(34,197,94,0.5);
  box-shadow: 0 12px 40px rgba(34,197,94,0.1);
}

.flow-node-card--dashed {
  border: 1.5px dashed rgba(255,255,255,0.18);
  box-shadow: none;
}
.flow-node:hover .flow-node-card--dashed { border-color: rgba(255,255,255,0.3); }

.flow-node-card--subtle {
  padding: 14px 22px;
  border-color: rgba(255,255,255,0.05);
  background: rgba(10,12,16,0.7);
  min-width: 120px;
}

/* ─── EMAIL SELECT BOX ─── */
.flow-node-select {
  position: relative;
  padding: 12px;
  border: 1.5px dashed rgba(250,204,21,0.2);
  border-radius: 20px;
}

/* ─── ICON ─── */
.flow-node-icon { width: 32px; height: 32px; margin: 0 auto 8px; }
.flow-node-icon svg { width: 100%; height: 100%; }
.flow-node-card--gold .flow-node-icon   { color: #facc15; }
.flow-node-card--blue .flow-node-icon   { color: #60a5fa; }
.flow-node-card--green .flow-node-icon  { color: #4ade80; }
.flow-node-card--dashed .flow-node-icon { color: rgba(255,255,255,0.45); }

/* ─── TEXT ─── */
.flow-node-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.flow-node-name--lg { font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.flow-node-desc { font-size: 11px; color: var(--muted); white-space: nowrap; }

/* ─── BADGE ─── */
.flow-node-badge {
  position: absolute;
  top: -6px; left: -6px;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: rgba(250,204,21,0.12);
  border: 1px solid rgba(250,204,21,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  z-index: 3;
}

/* ─── TAG & STAT ─── */
.flow-node-tag,
.flow-node-tag-inner {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
}
.flow-node-tag { margin-top: 10px; }
.flow-node-tag-inner { display: block; margin-bottom: 6px; }

.flow-node-stat {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
}
.flow-node-stat--green { color: rgba(34,197,94,0.6); }

/* ─── AI AGENT PORT (top) ─── */
.flow-node-port-top {
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
}
.flow-node-port-top span {
  display: block; width: 10px; height: 10px;
  border-radius: 50%;
  background: #60a5fa;
  border: 2.5px solid rgba(10,12,16,0.9);
  box-shadow: 0 0 8px rgba(96,165,250,0.4);
}

/* ─── AI AGENT PORTS (bottom) ─── */
.flow-node-ports {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.flow-port {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(96,165,250,0.35);
  border: 2px solid rgba(10,12,16,0.9);
}
.flow-port::after {
  content: attr(data-label);
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: rgba(255,255,255,0.28);
  white-space: nowrap;
}

/* ─── AI AGENT SUBS ─── */
.flow-node-subs {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.flow-sub {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.flow-sub-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
}
.flow-sub-meta { display: flex; flex-direction: column; gap: 1px; }
.flow-sub-label {
  font-size: 9px; font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.flow-sub-desc { font-size: 10px; color: rgba(255,255,255,0.4); }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .ops-flow { padding: 100px 16px 80px; }
  .ops-header h2 { font-size: 28px; }
  .ops-header p { font-size: 14px; }
  .flow-wrap { padding: 24px 8px; border-radius: 16px; }
}




/* =========================
   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;
  }
}
