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

  --purple-main: #a855f7;
  --purple-light: #c084fc;
  --purple-dark: #7c3aed;
  --purple-glow: rgba(168,85,247,0.45);

  --red-main: #e2435a;
  --red-dark: #b83246;
  --gray-off: rgba(255,255,255,0.10);
}

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

/* =====================
   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
====================== */
.hero {
  position: relative;
  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;
}

.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;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

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

.btn-secondary:hover {
  color: var(--text);
}

/* =====================
   SYSTEM STAGE
====================== */
.system-stage {
  position: relative;

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

/* Subtle ambient glow behind the window stack — PURPLE */
.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(168,85,247,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(168,85,247,0.15);
  color: #c084fc;
  box-shadow: 0 0 12px rgba(168,85,247,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(168,85,247,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-dashboard--hub {
  /* Purple accent variant */
}

.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-sidebar--hub {
  border-right-color: rgba(168,85,247,0.08);
}

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

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

.preview-brand-logo--hub {
  background: rgba(168,85,247,0.15);
  border-color: rgba(168,85,247,0.3);
  color: #c084fc;
}

.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(168,85,247,0.1);
  color: #c084fc;
}

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

.preview-nav-badge--hub {
  background: rgba(168,85,247,0.2);
  color: #c084fc;
}

.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: #a855f7;
  box-shadow: 0 0 6px rgba(168,85,247,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-user-info {
  display: flex;
  flex-direction: column;
}

.preview-user-info strong {
  font-size: 10px;
  color: #e5e7eb;
}

.preview-user-info span {
  font-size: 9px;
  color: #6b7280;
}

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

.preview-avatar--hub {
  background: rgba(168,85,247,0.2);
  border-color: rgba(168,85,247,0.4);
  color: #c084fc;
}

/* 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-breadcrumb {
  font-size: 10px;
  color: #6b7280;
  display: block;
  margin-bottom: 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;
}

.preview-notif-dot--hub {
  background: #a855f7;
}

/* Alert banner */
.preview-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 10px;
  margin-bottom: 12px;
}

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

.preview-alert a {
  margin-left: auto;
  font-weight: 600;
  white-space: nowrap;
  cursor: default;
}

.preview-alert--warning {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  color: #fca5a5;
}

.preview-alert--warning a {
  color: #f87171;
}

/* 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--hub {
  background: rgba(168,85,247,0.15);
  color: #c084fc;
}

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

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

.preview-stat-icon--blue {
  background: rgba(59,130,246,0.15);
  color: #60a5fa;
}

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

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

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

.preview-stat-change--down {
  color: #c084fc !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--hub {
  background: rgba(168,85,247,0.15);
  color: #c084fc;
}

.preview-chart-link {
  font-size: 10px;
  color: #6b7280;
  cursor: default;
}

/* 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(168,85,247,0.35), rgba(168,85,247,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(168,85,247,0.6), rgba(168,85,247,0.2));
  box-shadow: 0 0 8px rgba(168,85,247,0.3);
}

/* Area chart bars (Hub) */
.preview-mini-chart--area .preview-area-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(168,85,247,0.35), rgba(168,85,247,0.1));
  position: relative;
  min-height: 4px;
}

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

.preview-area-bar--current {
  background: linear-gradient(180deg, rgba(168,85,247,0.6), rgba(168,85,247,0.2)) !important;
  box-shadow: 0 0 8px rgba(168,85,247,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;
}

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

/* Ticket table */
.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; }
.badge--red { background: rgba(239,68,68,0.12); color: #ef4444; }

.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--hub {
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid rgba(168,85,247,0.3);
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(168,85,247,0.08));
  color: #a855f7;
  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;
}

/* Assigned column */
.preview-assigned {
  font-size: 9px;
  color: #9ca3af;
}

/* Table footer */
.preview-table-footer {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  font-size: 9px;
  color: #6b7280;
}
.preview-pagination {
  letter-spacing: 0.1em;
}

/* =====================================================
   HUB-SPECIFIC PREVIEW COMPONENTS
===================================================== */

/* Creators list (Hub Dashboard) */
.preview-creators-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-creator-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.preview-creator-row:hover {
  background: rgba(255,255,255,0.03);
}

.preview-creator-rank {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(168,85,247,0.15);
  color: #c084fc;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-creator-avatar-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: #c084fc;
}

.preview-creator-info {
  display: flex;
  flex-direction: column;
}

.preview-creator-info strong {
  font-size: 10px;
  color: #e5e7eb;
}

.preview-creator-info span {
  font-size: 9px;
  color: #6b7280;
}

.preview-creator-more {
  font-size: 10px;
  color: #9ca3af;
}

/* Deadlines (Hub Dashboard) */
.preview-deadlines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-deadline-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
}

.preview-deadline-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #60a5fa;
}

.preview-deadline--urgent svg {
  color: #f87171;
}

.preview-deadline--soon svg {
  color: #fbbf24;
}

.preview-deadline-item strong {
  font-size: 10px;
  color: #e5e7eb;
  display: block;
}

.preview-deadline-item span {
  font-size: 9px;
  color: #6b7280;
}

/* Campaign cards (Hub Campaigns view) */
.preview-campaign-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px;
}
.preview-campaign-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px;
}
.preview-campaign-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.preview-campaign-header strong {
  font-size: 10px;
  color: #e5e7eb;
}
.preview-campaign-meta {
  display: flex;
  gap: 12px;
  font-size: 8px;
  color: #6b7280;
  margin-bottom: 8px;
}
.preview-campaign-progress {
  margin-bottom: 8px;
}
.preview-campaign-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}
.preview-campaign-progress-bar > div {
  height: 100%;
  border-radius: 2px;
}
.preview-campaign-progress > span {
  font-size: 8px;
  color: #9ca3af;
}
.preview-campaign-footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #6b7280;
}
.preview-campaign-footer span:first-child {
  font-weight: 600;
  color: #a855f7;
}

/* Creator cards (Hub Creators view) */
.preview-creator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px;
}
.preview-creator-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px;
}
.preview-creator-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.preview-creator-card-top strong {
  font-size: 10px;
  color: #e5e7eb;
  display: block;
}
.preview-creator-card-top span {
  font-size: 8px;
  color: #6b7280;
}
.preview-creator-avatar-lg {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(168,85,247,0.1));
  border: 1px solid rgba(168,85,247,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #c084fc;
}
.preview-creator-card-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.preview-creator-card-stats > div {
  text-align: center;
}
.preview-creator-card-stats span {
  font-size: 7px;
  color: #6b7280;
  display: block;
}
.preview-creator-card-stats strong {
  font-size: 10px;
  color: #e5e7eb;
}
.preview-creator-platforms {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.preview-platform-tag {
  font-size: 7px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  color: #9ca3af;
  margin-right: 4px;
}

/* Brand cards (Hub Brands view) */
.preview-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px;
}
.preview-brand-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-brand-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.preview-brand-card-top strong {
  font-size: 10px;
  color: #e5e7eb;
  display: block;
}
.preview-brand-card-top span {
  font-size: 8px;
  color: #6b7280;
}
.preview-brand-logo-lg {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #e5e7eb;
}
.preview-brand-card-stats {
  display: flex;
  gap: 10px;
}
.preview-brand-card-stats > div {
  text-align: center;
}
.preview-brand-card-stats span {
  font-size: 7px;
  color: #6b7280;
  display: block;
}
.preview-brand-card-stats strong {
  font-size: 10px;
  color: #e5e7eb;
}

/* Calendar (Hub) */
.preview-calendar {
  padding: 0 16px;
  margin-bottom: 12px;
}
.preview-calendar-header {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.preview-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.preview-cal-day {
  font-size: 8px;
  text-align: center;
  padding: 5px 0;
  border-radius: 4px;
  color: #9ca3af;
}
.preview-cal-day--label {
  font-weight: 700;
  color: #6b7280;
  font-size: 7px;
  text-transform: uppercase;
}
.preview-cal-day--empty {
  visibility: hidden;
}
.preview-cal-day--today {
  background: rgba(168,85,247,0.2);
  color: #c084fc;
  font-weight: 700;
  border: 1px solid rgba(168,85,247,0.3);
}
.preview-cal-day--event {
  position: relative;
}
.preview-cal-day--event::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a855f7;
}
.preview-cal-day--urgent::after {
  background: #ef4444;
}

/* Customer tags */
.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(168,85,247,0.12);
  color: #a855f7;
}

/* 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(168,85,247,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: #a855f7;
  box-shadow: 0 0 6px rgba(168,85,247,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(168,85,247,0.12);
  color: #a855f7;
}
.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;
}

/* 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: #a855f7;
  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(168,85,247,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);
}

/* 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 #a855f7;
  margin-top: 2px;
}
.preview-tcard-state--waiting { border-left-color: #a855f7; }
.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: #a855f7;
  box-shadow: 0 0 6px rgba(168,85,247,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;
}


/* ============================
   MOBILE NAVBAR
============================ */

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

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

.nav-mobile {
  display: none;
}

.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%
    );
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

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

.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;
  max-width: 180px;
  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);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Entrance animation */
.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 */
/* HUB-SPOKE 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;
}

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

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

/* ORBITAL RING ROTATION */
.hub-orbit {
  animation: hub-orbit-spin 90s linear infinite;
  transform-origin: 580px 260px;
}
@keyframes hub-orbit-spin { to { transform: rotate(360deg); } }

/* ═══ CENTER NODE ═══ */
.hub-center {
  position: absolute;
  left: 580px;
  top: 260px;
  transform: translate(-50%, -50%) scale(0.7);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
.hub-canvas.is-visible .hub-center {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hub-center-glow {
  position: absolute;
  inset: -35px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.14), transparent 70%);
  animation: hub-glow 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hub-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

.hub-center-card {
  position: relative;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(10,12,16,0.95);
  border: 2px solid rgba(168,85,247,0.35);
  box-shadow:
    0 0 40px rgba(168,85,247,0.08),
    inset 0 0 20px rgba(168,85,247,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.hub-center-card:hover {
  border-color: rgba(168,85,247,0.6);
  box-shadow:
    0 0 60px rgba(168,85,247,0.18),
    inset 0 0 24px rgba(168,85,247,0.05);
}

.hub-center-icon {
  width: 28px; height: 28px;
  color: #c084fc;
  margin-bottom: 3px;
}
.hub-center-icon svg { width: 100%; height: 100%; }

.hub-center-name {
  font-size: 13px; font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}
.hub-center-desc {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

/* Center ring dots (connection anchors) */
.hub-center-dots {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
}
.hub-center-dots span {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #a855f7;
  opacity: 0.35;
  box-shadow: 0 0 6px rgba(168,85,247,0.3);
}
.hub-center-dots span:nth-child(1) { top: 0; left: 50%; transform: translate(-50%,-50%); }
.hub-center-dots span:nth-child(2) { top: 30%; right: -2px; transform: translate(50%,-50%); }
.hub-center-dots span:nth-child(3) { bottom: 10%; right: 2%; transform: translate(50%,50%); }
.hub-center-dots span:nth-child(4) { bottom: 10%; left: 2%; transform: translate(-50%,50%); }
.hub-center-dots span:nth-child(5) { top: 30%; left: -2px; transform: translate(-50%,-50%); }

/* ═══ SATELLITE NODES ═══ */
.hub-sat {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%) translateY(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
.hub-canvas.is-visible .hub-sat {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

/* Positions (pentagon around center) */
.hub-sat--0 { left: 580px; top: 48px;  }
.hub-sat--1 { left: 900px; top: 160px; }
.hub-sat--2 { left: 810px; top: 455px; }
.hub-sat--3 { left: 350px; top: 455px; }
.hub-sat--4 { left: 260px; top: 160px; }

/* Staggered entrance */
.hub-canvas.is-visible .hub-sat--0 { transition-delay: 0.2s; }
.hub-canvas.is-visible .hub-sat--1 { transition-delay: 0.35s; }
.hub-canvas.is-visible .hub-sat--2 { transition-delay: 0.5s; }
.hub-canvas.is-visible .hub-sat--3 { transition-delay: 0.65s; }
.hub-canvas.is-visible .hub-sat--4 { transition-delay: 0.8s; }

/* SATELLITE CARDS */
.hub-sat-card {
  padding: 16px 22px;
  border-radius: 14px;
  background: rgba(10,12,16,0.9);
  border: 1.5px solid rgba(255,255,255,0.08);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  min-width: 120px;
}
.hub-sat:hover .hub-sat-card { transform: translateY(-4px); }

.hub-sat-card--gold {
  border-color: rgba(250,204,21,0.22);
  box-shadow: 0 8px 28px rgba(250,204,21,0.04);
}
.hub-sat:hover .hub-sat-card--gold {
  border-color: rgba(250,204,21,0.45);
  box-shadow: 0 14px 44px rgba(250,204,21,0.1);
}
.hub-sat-card--blue {
  border-color: rgba(96,165,250,0.22);
  box-shadow: 0 8px 28px rgba(96,165,250,0.04);
}
.hub-sat:hover .hub-sat-card--blue {
  border-color: rgba(96,165,250,0.45);
  box-shadow: 0 14px 44px rgba(96,165,250,0.1);
}
.hub-sat-card--purple {
  border-color: rgba(168,85,247,0.22);
  box-shadow: 0 8px 28px rgba(168,85,247,0.04);
}
.hub-sat:hover .hub-sat-card--purple {
  border-color: rgba(168,85,247,0.45);
  box-shadow: 0 14px 44px rgba(168,85,247,0.1);
}
.hub-sat-card--amber {
  border-color: rgba(245,158,11,0.22);
  box-shadow: 0 8px 28px rgba(245,158,11,0.04);
}
.hub-sat:hover .hub-sat-card--amber {
  border-color: rgba(245,158,11,0.45);
  box-shadow: 0 14px 44px rgba(245,158,11,0.1);
}
.hub-sat-card--cyan {
  border-color: rgba(34,211,238,0.22);
  box-shadow: 0 8px 28px rgba(34,211,238,0.04);
}
.hub-sat:hover .hub-sat-card--cyan {
  border-color: rgba(34,211,238,0.45);
  box-shadow: 0 14px 44px rgba(34,211,238,0.1);
}

/* SATELLITE ICON */
.hub-sat-icon {
  width: 28px; height: 28px;
  margin: 0 auto 6px;
}
.hub-sat-icon svg { width: 100%; height: 100%; }
.hub-sat-card--gold   .hub-sat-icon { color: #facc15; }
.hub-sat-card--blue   .hub-sat-icon { color: #60a5fa; }
.hub-sat-card--purple .hub-sat-icon { color: #c084fc; }
.hub-sat-card--amber  .hub-sat-icon { color: #f59e0b; }
.hub-sat-card--cyan   .hub-sat-icon { color: #22d3ee; }

/* SATELLITE TEXT */
.hub-sat-name {
  font-size: 14px; font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.hub-sat-desc {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

/* SATELLITE TAG / METRIC */
.hub-sat-tag {
  margin-top: 8px;
  font-size: 9px; font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
}
.hub-sat-metric {
  margin-top: 8px;
  font-size: 10px; font-weight: 500;
  letter-spacing: 1px;
  color: var(--muted);
}
.hub-sat-val { font-weight: 700; }
.hub-sat-metric--purple .hub-sat-val { color: rgba(168,85,247,0.7); }
.hub-sat-metric--amber  .hub-sat-val { color: rgba(245,158,11,0.7); }
.hub-sat-metric--cyan   .hub-sat-val { color: rgba(34,211,238,0.7); }



/* =========================
   COMPARE SECTION
========================= */

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

.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; }

/* 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;
  mix-blend-mode: soft-light;
  filter: blur(0.5px);
  mask-image: radial-gradient(
    ellipse at center,
    black 45%,
    transparent 75%
  );
}

/* 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;
  box-shadow: 0 0 12px rgba(255,255,255,0.15);
}

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

.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));
}

/* FEATURE STACK */
.feature-stack {
  position: relative;
  height: 360px;
  margin-top: 56px;
  perspective: 2200px;
  perspective-origin: 65% 45%;
  isolation: isolate;
}

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

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

  width: 520px;
  padding: 22px;

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

  transform:
    translate(-50%, -50%)
    skewY(-4deg)
    rotateX(-14deg)
    rotateY(20deg)
    translateZ(var(--z))
    translateX(var(--x))
    translateY(var(--y));

  border-radius: 18px;

  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;
  --accent: 249,115,22;
  opacity: 0.28;
  z-index: 1;
}

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

.feature-card:nth-child(3) {
  --z: 160px;
  --accent: 168,85,247;
  opacity: 1;
  z-index: 3;
}

/* HOVER */
@media (any-hover: hover) {
  .feature-stack:hover .feature-card {
    opacity: 0.22;
    filter: grayscale(1) brightness(0.85);
  }

  .feature-stack:hover .feature-card:nth-child(3) {
    opacity: 0.60;
    filter: none;
    z-index: 3;
  }

  .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);
  }

  .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; }
}

/* Feature card text */
.feature-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

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

.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;
  opacity: 0.85;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  transition: filter 0.3s ease;
}

/* Feature icon color variants */
.feature-icon--context { --active: #f59e0b; --accent: #f59e0b; }
.feature-icon--tracking { --active: #ef4444; --accent: #ef4444; }
.feature-icon--intelligence { --active: #a855f7; --accent: #a855f7; }

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

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

/* Feature hover effects */
@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);
    animation: featurePulse 1.8s ease-in-out infinite;
  }

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

@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); }
}

/* DOT TITLE */
.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-inner {
  display: block;
  font-family: "DotDisplay", ui-monospace, monospace;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 3px;
  white-space: nowrap;
  color: inherit;
}

.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);
}

.feature-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.68);
}

/* WISMIFY TAGS */
.wismify-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.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;
}

.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);
}

.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);
}

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

.compare-others .compare-list li {
  position: relative;
  padding: 9px 14px 9px 36px;
  font-size: 10px;
  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;
}

.compare-others .compare-list li::before {
  content: "\00d7";
  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;
}

.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);
}

.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);
}

/* Support inbox mock */
.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);
}

.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;
}

.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;
}

.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;
}

.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; }

.support-inbox .mock-row:hover {
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.45);
  cursor: default;
}


/* ===============================
   IMPACT SECTION
================================ */

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

.impact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 64px;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
}

/* LEFT COLUMN */
.impact-left {
  position: relative;
  display: flex;
  align-items: center;
  transform-origin: right center;
  transform: translateZ(0px) rotateY(30deg);
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
  backface-visibility: hidden;
}

/* BG */
.impact-bg {
  position: absolute;
  inset: -120px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.impact-bg img {
  width: 1200px;
  max-width: 140%;
  height: auto;
  opacity: 0.35;
  filter: contrast(1.1) brightness(0.9) saturate(0.9) blur(0.2px) hue-rotate(100deg);
  transform: rotate(-6deg) translateY(-40px);
  mix-blend-mode: screen;
}

/* GLASS CARD */
.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;
}

.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;
}

.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;
}

.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);
}

.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);
}

/* RIGHT COLUMN */
.impact-right {
  position: relative;
  transform-origin: left center;
  transform: translateZ(0px) rotateY(-40deg);
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
  backface-visibility: hidden;
}

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

.impact-left::after {
  background: linear-gradient(to right, rgba(0,0,0,0.32), rgba(0,0,0,0.18) 35%, transparent 70%);
}

.impact-right::after {
  background: linear-gradient(to left, rgba(0,0,0,0.32), rgba(0,0,0,0.18) 35%, transparent 70%);
}

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

/* ALIEN DASHBOARD — PURPLE THEMED */
.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;
}

.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);
}

.alien-matrix-wrapper {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
}

.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);
}

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

.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;
}

.alien-grid {
  height: 240px;
  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);
}

.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;
}

.alien-cell.red { background: var(--red-main); }
.alien-cell.red-dark { background: var(--red-dark); }
.alien-cell.gray { background: var(--gray-off); }

/* Purple active state (instead of green) */
.alien-cell.green {
  background: linear-gradient(180deg, rgba(168,85,247,0.95), rgba(168,85,247,0.55));
}

.alien-cell.green-dark {
  background: linear-gradient(180deg, rgba(124,58,237,0.95), rgba(124,58,237,0.55));
}

.alien-dashboard.is-active .alien-grid {
  border-color: rgba(168,85,247,0.65);
  box-shadow: inset 0 0 0 1px rgba(168,85,247,0.35), 0 0 28px rgba(168,85,247,0.35);
}

@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;
}

@keyframes activatePulse {
  0%   { transform: scale(1); box-shadow: none; }
  40%  { transform: scale(1.08); box-shadow: 0 0 32px var(--purple-glow); }
  100% { transform: scale(1); box-shadow: none; }
}

.alien-cell.activate {
  animation: activatePulse 0.6s ease-out;
}

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

.alien-dashboard.is-active .legend-box.chaos {
  background: rgba(168,85,247,0.18);
  color: var(--purple-main);
}

.alien-dashboard.is-active .legend-box.transition {
  background: rgba(168,85,247,0.12);
  color: #d8b4fe;
}

.alien-dashboard.is-active .legend-box.control {
  background: rgba(157 157 157 / 22%);
  color: #ffffff;
}


/* =====================================================
   USE CASES
===================================================== */

.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;
}

.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);
}

.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;
}

.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;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
}

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

.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: "\2013";
  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: #a855f7;
}

/* Hover focus */
@media (any-hover: hover) {
  .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);
  }

  .use-cases-stack:hover .use-case-card:hover {
    opacity: 1;
    filter: none;
    z-index: 2;
    transform: translateY(-4px);
    box-shadow: 0 28px 80px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.06);
  }
}


/* =====================================================
   CAMPAIGN INTELLIGENCE — LAYERED WINDOWS
===================================================== */

.ci-section {
  position: relative;
  background: #040506;
  isolation: isolate;
  overflow: hidden;
}
.ci-section::before,
.ci-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  pointer-events: none;
}
.ci-section::before {
  top: 0;
  background: linear-gradient(to right, transparent 5%, rgba(168,85,247,0.15) 50%, transparent 95%);
}
.ci-section::after {
  bottom: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
}

/* Ambient glow blobs */
.ci-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.35;
}
.ci-glow--1 {
  width: 600px; height: 600px;
  top: -100px; right: -80px;
  background: radial-gradient(circle, rgba(168,85,247,0.18), transparent 70%);
  animation: ci-drift 12s ease-in-out infinite alternate;
}
.ci-glow--2 {
  width: 500px; height: 500px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(96,165,250,0.12), transparent 70%);
  animation: ci-drift 14s ease-in-out infinite alternate-reverse;
}
@keyframes ci-drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(30px, -20px); }
}

.ci-container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 130px 32px 150px;
}

/* HEADER */
.ci-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.15);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(168,85,247,0.7);
  margin-bottom: 18px;
}

.ci-header {
  max-width: 640px;
  margin-bottom: 72px;
}
.ci-header h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,0.65));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ci-header p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
}

/* ═══ 3D SCENE ═══ */
.ci-scene {
  position: relative;
  perspective: 1600px;
  perspective-origin: 55% 45%;
  height: 520px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ═══ SHARED WINDOW ═══ */
.ci-win {
  position: absolute;
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(14,16,22,0.96), rgba(8,10,14,0.98));
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  will-change: transform, opacity;
}

/* Window bar */
.ci-win__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.015);
}
.ci-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.ci-dot:nth-child(1) { background: rgba(255,99,99,0.45); }
.ci-dot:nth-child(2) { background: rgba(255,199,0,0.4); }
.ci-dot:nth-child(3) { background: rgba(50,205,50,0.4); }

.ci-win__title {
  margin-left: 7px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.3px;
}
.ci-win__pill {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.15);
}

.ci-win__body { padding: 14px 16px 16px; }
.ci-win__body--snug { padding: 10px 12px 12px; }

/* ═══ TIMELINE WINDOW (back) ═══ */
.ci-win--timeline {
  top: 0; right: 0; bottom: 0;
  left: 200px;
  transform: rotateY(-1.5deg) rotateX(0.5deg) translateZ(-20px);
  box-shadow:
    0 60px 120px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.02),
    inset 0 1px 0 rgba(255,255,255,0.04);
  z-index: 1;

  opacity: 0;
  transition:
    transform 1s cubic-bezier(0.22,0.61,0.36,1),
    opacity 0.8s ease,
    box-shadow 0.6s ease;
}
.ci-scene.is-visible .ci-win--timeline {
  opacity: 1;
}
.ci-win--timeline:hover {
  transform: rotateY(-0.8deg) rotateX(0.3deg) translateZ(-10px);
  box-shadow:
    0 60px 140px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04);
}

/* ═══ INITIATIVES WINDOW (front-left) ═══ */
.ci-win--initiatives {
  left: 0; top: 28px;
  width: 280px;
  bottom: 70px;
  transform: rotateY(3deg) rotateX(-0.5deg) translateZ(50px);
  box-shadow:
    25px 35px 80px rgba(0,0,0,0.6),
    12px 16px 35px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
  z-index: 3;

  opacity: 0;
  transition:
    transform 1s cubic-bezier(0.22,0.61,0.36,1) 0.12s,
    opacity 0.8s ease 0.12s,
    box-shadow 0.6s ease;
}
.ci-scene.is-visible .ci-win--initiatives {
  opacity: 1;
}
.ci-win--initiatives:hover {
  transform: rotateY(1.5deg) rotateX(-0.3deg) translateZ(60px);
  box-shadow:
    30px 40px 100px rgba(0,0,0,0.7),
    14px 20px 45px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06);
}

/* ═══ STATS WINDOW (floating bottom-right) ═══ */
.ci-win--stats {
  right: 24px; bottom: -12px;
  width: 240px;
  transform: rotateY(-2.5deg) rotateX(2deg) translateZ(70px);
  box-shadow:
    -15px 30px 70px rgba(0,0,0,0.55),
    -6px 14px 30px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
  z-index: 4;

  opacity: 0;
  transition:
    transform 1s cubic-bezier(0.22,0.61,0.36,1) 0.24s,
    opacity 0.8s ease 0.24s,
    box-shadow 0.6s ease;
}
.ci-scene.is-visible .ci-win--stats {
  opacity: 1;
}
.ci-win--stats:hover {
  transform: rotateY(-1.5deg) rotateX(1deg) translateZ(80px);
}

/* ═══ TIMELINE INTERNALS ═══ */

.ci-months {
  display: flex;
  padding: 0 0 5px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ci-months span {
  flex: 1;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: rgba(255,255,255,0.22);
}

.ci-vgrid {
  display: flex;
  position: absolute;
  left: 16px; right: 16px;
  top: 50px; bottom: 16px;
  pointer-events: none; z-index: 0;
}
.ci-vgrid span {
  flex: 1;
  border-left: 1px solid rgba(255,255,255,0.018);
}

/* Rows */
.ci-row {
  position: relative; z-index: 1;
  padding: 12px 0 4px;
  border-bottom: 1px solid rgba(255,255,255,0.025);
}
.ci-row:last-child { border-bottom: none; }

.ci-row__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.ci-row__icon {
  width: 18px; height: 18px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-row__icon svg { width: 12px; height: 12px; }
.ci-row__icon--purple { background: rgba(168,85,247,0.12); color: #c084fc; }
.ci-row__icon--blue   { background: rgba(96,165,250,0.12); color: #93bbfd; }
.ci-row__icon--emerald { background: rgba(34,197,94,0.12); color: #4ade80; }
.ci-row__icon--amber  { background: rgba(245,158,11,0.12); color: #fbbf24; }

.ci-row__name {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
}

.ci-pill {
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.ci-pill--up {
  color: #4ade80;
  background: rgba(34,197,94,0.08);
}

/* Bar rows */
.ci-row__bars {
  position: relative;
  height: 16px;
}
.ci-bar {
  position: absolute;
  top: 2px;
  height: 12px;
  border-radius: 3px;
}
.ci-bar--purple {
  background: linear-gradient(90deg, rgba(168,85,247,0.35), rgba(168,85,247,0.18));
  border: 1px solid rgba(168,85,247,0.12);
}
.ci-bar--amber-fade {
  background: linear-gradient(90deg, rgba(245,158,11,0.18), rgba(239,68,68,0.08));
  border: 1px solid rgba(245,158,11,0.08);
}
.ci-bar--blue {
  background: linear-gradient(90deg, rgba(96,165,250,0.3), rgba(96,165,250,0.15));
  border: 1px solid rgba(96,165,250,0.1);
}
.ci-bar--dashed {
  background: none;
  border: 1px dashed rgba(255,255,255,0.08);
}

/* Diamonds */
.ci-dia {
  position: absolute;
  top: 50%;
  width: 5px; height: 5px;
  transform: translate(-50%,-50%) rotate(45deg);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
}
.ci-dia--lit {
  border-color: rgba(245,158,11,0.55);
  background: rgba(245,158,11,0.12);
  box-shadow: 0 0 6px rgba(245,158,11,0.2);
}

/* Labels */
.ci-row__labels {
  position: relative;
  height: 12px;
  margin-top: 1px;
}
.ci-row__labels span {
  position: absolute;
  font-size: 7.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.5px;
}

/* S-curve */
.ci-scurve {
  width: 100%;
  height: 52px;
  display: block;
  margin-top: 2px;
}

/* ═══ INITIATIVES INTERNALS ═══ */

.ci-grp { margin-bottom: 10px; }
.ci-grp:last-child { margin-bottom: 0; }

.ci-grp__head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
}
.ci-grp__ring {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid;
  flex-shrink: 0;
}
.ci-grp__ring--red    { border-color: rgba(239,68,68,0.5); background: rgba(239,68,68,0.08); }
.ci-grp__ring--purple { border-color: rgba(168,85,247,0.5); background: rgba(168,85,247,0.08); }

.ci-grp__name {
  flex: 1;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}
.ci-grp__num {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Tree */
.ci-tree {
  list-style: none;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,0.04);
  margin-left: 7px;
  margin-top: 2px;
}
.ci-tree li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3.5px 0;
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.ci-tree li:hover { color: rgba(255,255,255,0.75); }

.ci-tree__dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ci-tree__dot--blue   { background: #60a5fa; }
.ci-tree__dot--purple { background: #a855f7; }
.ci-tree__dot--amber  { background: #f59e0b; }
.ci-tree__dot--green  { background: #22c55e; }
.ci-tree__dot--cyan   { background: #22d3ee; }

.ci-tree li span:nth-child(2) { flex: 1; }

.ci-tree__n {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ═══ STATS INTERNALS ═══ */

.ci-kpi {
  display: flex;
  gap: 10px;
}
.ci-kpi__item {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.03);
}
.ci-kpi__val {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ci-kpi__val--purple { color: #c084fc; }
.ci-kpi__val--green  { color: #4ade80; }
.ci-kpi__val--amber  { color: #fbbf24; }

.ci-kpi__label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}

.ci-spark {
  margin-top: 8px;
  border-radius: 6px;
  overflow: hidden;
  height: 36px;
}
.ci-spark svg {
  width: 100%;
  height: 100%;
  display: block;
}


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

.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);
}

.demo-form {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.demo-field {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.demo-field span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}

.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);
}

.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;
}

.demo-feedback {
  margin-top: 6px;
  min-height: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.demo-feedback.success {
  color: #a855f7;
}

.demo-feedback.error {
  color: #ef4444;
}


/* ===============================
   FOOTER
================================ */

.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;
}

.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);
}

.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;
}

.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);
}


/* ===============================
   COOKIE CONSENT
================================ */

.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);
}

.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);
}

.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;
}

.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);
}

/* Cookie banner (legacy) */
.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: #a855f7;
  color: #fff;
}

#reject-cookies {
  background: rgba(255,255,255,0.08);
  color: #fff;
}


/* =========================
   DEMO MODAL (POPUP)
========================= */
html.is-modal-open,
body.is-modal-open {
  overflow: hidden;
}

.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);
}

.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);
}

.demo-form--modal {
  margin-top: 18px;
}


/* ===============================
   SECTION FIG
================================ */
.section-fig {
  display: block;
  font-family: "PressuraMono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #4b5563;
  margin-bottom: 18px;
  text-transform: uppercase;
}


/* =====================================================
   MOBILE RESPONSIVE (max-width: 768px)
===================================================== */

@media (max-width: 768px) {

  /* GLOBAL OVERFLOW FIX */
  html,
  body {
    width: 100%;
    overflow-x: hidden !important;
    position: relative;
  }

  /* NAVBAR */
  .navbar {
    position: fixed;
    top: 12px;
    left: 12px;
    right: 12px;
    transform: none;
    max-width: calc(100vw - 24px);
    width: auto;
    border-radius: 14px;
    z-index: 100;
    overflow: hidden;
  }

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

  .navbar-center {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .navbar::before,
  .navbar::after {
    max-width: 100%;
  }

  /* Hamburger */
  .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 */
  .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;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .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;
  }

  .nav-mobile-products {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav-mobile-products a {
    font-size: 13px;
    opacity: 0.5;
  }

  /* 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 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .preview-topbar-actions {
    display: none;
  }

  .preview-alert {
    font-size: 9px;
  }

  .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,
  .preview-campaign-grid,
  .preview-creator-grid,
  .preview-brand-grid {
    grid-template-columns: 1fr;
  }

  .preview-filter-bar {
    flex-wrap: wrap;
  }

  /* TRUSTED */
  .trusted {
    padding: 80px 0 80px;
  }

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

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

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

  .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;
  }

  /* OPS FLOW */
  .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;
  }

  .hub-canvas {
    width: 100%;
    height: auto;
    min-height: 680px;
  }

  .hub-svg { display: none; }

  .hub-center {
    position: relative;
    left: auto; top: auto;
    transform: none;
    margin: 0 auto 32px;
    opacity: 1;
  }
  .hub-canvas.is-visible .hub-center {
    transform: none;
  }

  .hub-sat {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none;
    margin: 0 auto 20px;
    opacity: 1;
  }
  .hub-canvas.is-visible .hub-sat {
    transform: none;
  }

  .hub-canvas {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
  }

  .hub-sat-card { min-width: 200px; }

  /* COMPARE */
  .compare-section {
    padding: 100px 16px;
    overflow: hidden;
  }

  .compare-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .compare-divider {
    display: none;
  }

  .compare-col {
    width: 100%;
    max-width: 100%;
  }

  .compare-watermark {
    display: none;
  }

  .compare-wismify::before {
    inset: -20px;
    opacity: 0.35;
  }

  .compare-title {
    font-size: 26px;
  }

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

  .compare-list {
    margin-top: 24px;
  }

  .mock-panel.simple {
    margin-top: 28px;
  }

  /* FEATURE STACK — FLAT */
  .feature-stack {
    height: auto;
    perspective: none;
    margin-top: 40px;
  }

  .feature-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    width: 100%;
    margin-bottom: 16px;
  }

  .feature-icon {
    animation: none !important;
    box-shadow: none !important;
  }

  .dot-title {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
  }

  .wismify-tags {
    gap: 8px;
  }

  .w-tag {
    font-size: 12px;
    padding: 7px 12px;
  }

  /* IMPACT — FLAT */
  .impact-section {
    perspective: none;
    display: none !important;
  }

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

  .impact-left::after,
  .impact-right::after {
    display: none;
  }

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

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

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

  .impact-bg img {
    width: 700px;
    opacity: 0.25;
    transform: none;
  }

  /* USE CASES */
  .use-cases-stack {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .use-cases-header {
    margin-bottom: 80px;
  }

  /* CAMPAIGN INTELLIGENCE */
  .ci-glow { display: none; }
  .ci-container { padding: 80px 16px 100px; }
  .ci-badge { font-size: 9px; padding: 4px 10px; }
  .ci-header h2 { font-size: 28px; }
  .ci-header { margin-bottom: 48px; }
  .ci-scene {
    perspective: none;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .ci-win {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    transform: none !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45) !important;
    opacity: 1 !important;
    border-radius: 12px;
  }
  .ci-win--timeline  { order: 2; }
  .ci-win--initiatives { order: 1; }
  .ci-win--stats { order: 3; }
  .ci-vgrid { display: none; }
  .ci-kpi { gap: 6px; }
  .ci-kpi__val { font-size: 14px; }
  .ci-row__name { font-size: 11px; }

  /* DEMO */
  .demo-section {
    padding: 120px 16px 140px;
  }

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

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

  .demo-form {
    gap: 12px;
  }

  .demo-field input {
    height: 42px;
    font-size: 13px;
  }

  .demo-submit {
    height: 44px;
    font-size: 13px;
  }

  /* FOOTER */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  /* MODAL */
  .demo-modal__panel {
    padding: 18px 16px 14px;
    border-radius: 16px;
  }

  .demo-modal__header h2 {
    font-size: 22px;
  }

  /* COOKIE */
  .cookie-consent {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .cookie-glass {
    max-width: none;
  }
}

/* =====================================================
   MEDIUM SCREEN ADJUSTMENTS
===================================================== */

@media (max-width: 1200px) {
  .impact-bg img {
    width: 900px;
  }
}

@media (max-width: 980px) {
  .ci-scene {
    perspective: none;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .ci-win {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .ci-win--timeline { order: 2; }
  .ci-win--initiatives { order: 1; }
  .ci-win--stats { order: 3; }
}
