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

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

/* Invisible hover bridge */
.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: 120px;

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

  overflow: hidden;
}

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

.hero-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(34,197,94,0.06), transparent 50%),
    radial-gradient(ellipse at 70% 20%, rgba(168,85,247,0.06), transparent 50%);
  pointer-events: none;
}

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

.hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 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-products {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-pill:hover {
  transform: translateY(-2px);
}

.hero-pill--cx {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
}

.hero-pill--hub {
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.3);
  color: #c084fc;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

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

.hero-pill--hub .hero-pill-dot {
  background: #a855f7;
  box-shadow: 0 0 8px rgba(168,85,247,0.8);
}

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


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


/* =====================================================
   THE PROBLEM — SECTION
===================================================== */
.the-problem {
  padding: 100px 32px 120px;
  position: relative;
}
.the-problem-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.the-problem-header {
  text-align: center;
  margin-bottom: 64px;
}
.the-problem-header h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.the-problem-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Problem Grid (Linear-style cards) --- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* --- Card: glass + blur + scroll entrance --- */
.problem-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1),
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              background 0.4s ease;
  will-change: transform, opacity;
  /* scroll entrance — starts hidden */
  opacity: 0;
  transform: translateY(40px) scale(0.97);
}
.problem-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* hover: lift + glow + glass brighten */
.problem-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.035);
  box-shadow:
    0 20px 60px -12px rgba(0,0,0,0.5),
    0 0 40px -8px rgba(255,255,255,0.03);
}

.problem-card > .section-fig {
  display: block;
  padding: 20px 24px 0;
}

/* --- Visual container: glass + blur backdrop --- */
.problem-card-visual {
  position: relative;
  height: 200px;
  margin: 16px 20px 0;
  background: rgba(255,255,255,0.015);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.4s ease, background 0.4s ease;
}
/* glow ring on hover */
.problem-card:hover .problem-card-visual {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.025);
}
/* ambient blur blob behind each visual */
.problem-card-visual::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,68,0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  pointer-events: none;
  transition: opacity 0.4s ease;
  opacity: 0.4;
}
.problem-card:hover .problem-card-visual::before {
  opacity: 0.8;
}
/* CX cards get green blob, Hub cards get purple blob */
.problem-card:nth-child(1) .problem-card-visual::before,
.problem-card:nth-child(2) .problem-card-visual::before,
.problem-card:nth-child(5) .problem-card-visual::before {
  background: radial-gradient(circle, rgba(34,197,94,0.07) 0%, transparent 70%);
}
.problem-card:nth-child(3) .problem-card-visual::before,
.problem-card:nth-child(4) .problem-card-visual::before,
.problem-card:nth-child(6) .problem-card-visual::before {
  background: radial-gradient(circle, rgba(168,85,247,0.07) 0%, transparent 70%);
}

.problem-card-visual .problem-col-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
}
.problem-card:hover .problem-col-badge {
  transform: scale(1.08);
}

.problem-card h4 {
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.6;
  padding: 20px 24px 24px;
  transition: color 0.3s ease;
}
.problem-card:hover h4 {
  color: #d1d5db;
}

/* Badge (reused) */
.problem-col-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.problem-col-badge--cx {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
}
.problem-col-badge--hub {
  background: rgba(168,85,247,0.12);
  color: #a855f7;
}

/* --- Visual: Shared elements --- */
.pv-line {
  display: block;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
/* shimmer sweep on hover */
.pv-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: none;
}
.problem-card:hover .pv-line::after {
  animation: pv-shimmer 1.2s ease forwards;
}

@keyframes pv-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.pv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pv-dot--red {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239,68,68,0.4);
  animation: pv-pulse 2s ease-in-out infinite;
}
@keyframes pv-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(239,68,68,0.4); transform: scale(1); }
  50%      { box-shadow: 0 0 14px rgba(239,68,68,0.7); transform: scale(1.3); }
}

.pv-tag {
  font-size: 9px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.problem-card:hover .pv-tag {
  color: #9ca3af;
}
.pv-tag--warn {
  color: #f59e0b;
}
.pv-tag--crit {
  color: #ef4444;
  animation: pv-blink 1.5s ease-in-out infinite;
}
@keyframes pv-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* ===== Visual 1: Inbox (repetitive emails) ===== */
.pv-inbox {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pv-inbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.01);
  border: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
/* staggered entrance on scroll */
.problem-card.is-visible .pv-inbox-row {
  animation: pv-slideIn 0.5s cubic-bezier(.4,0,.2,1) backwards;
}
.problem-card.is-visible .pv-inbox-row:nth-child(1) { animation-delay: 0.1s; }
.problem-card.is-visible .pv-inbox-row:nth-child(2) { animation-delay: 0.2s; }
.problem-card.is-visible .pv-inbox-row:nth-child(3) { animation-delay: 0.3s; }
.problem-card.is-visible .pv-inbox-row:nth-child(4) { animation-delay: 0.4s; }
.problem-card.is-visible .pv-inbox-row:nth-child(5) { animation-delay: 0.5s; }

@keyframes pv-slideIn {
  0%   { opacity: 0; transform: translateX(-16px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* hover: rows light up */
.problem-card:hover .pv-inbox-row {
  background: rgba(239,68,68,0.03);
  border-color: rgba(239,68,68,0.06);
}
.problem-card:hover .pv-inbox-row:nth-child(odd) {
  transform: translateX(2px);
}
.problem-card:hover .pv-inbox-row:nth-child(even) {
  transform: translateX(-2px);
}
.pv-inbox-row--fade {
  opacity: 0.3;
}

/* ===== Visual 2: Timer (tickets waiting) ===== */
.pv-timer {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 80%;
}
.pv-timer-clock {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 0 8px rgba(239,68,68,0.15));
}
.problem-card:hover .pv-timer-clock {
  transform: scale(1.1) rotate(8deg);
  filter: drop-shadow(0 0 16px rgba(239,68,68,0.3));
}
/* clock arc animation on scroll */
.problem-card.is-visible .pv-timer-clock circle:nth-child(2) {
  animation: pv-clockFill 1.5s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes pv-clockFill {
  0%   { stroke-dashoffset: 226; }
  100% { stroke-dashoffset: 56; }
}

.pv-timer-tickets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pv-timer-ticket {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.problem-card:hover .pv-timer-ticket {
  background: rgba(239,68,68,0.03);
}
.problem-card.is-visible .pv-timer-ticket {
  animation: pv-slideIn 0.5s cubic-bezier(.4,0,.2,1) backwards;
}
.problem-card.is-visible .pv-timer-ticket:nth-child(1) { animation-delay: 0.3s; }
.problem-card.is-visible .pv-timer-ticket:nth-child(2) { animation-delay: 0.45s; }
.problem-card.is-visible .pv-timer-ticket:nth-child(3) { animation-delay: 0.6s; }

/* ===== Visual 3: Spreadsheet ===== */
.pv-spreadsheet {
  width: 85%;
  position: relative;
}
.pv-spread-header,
.pv-spread-row {
  display: grid;
  grid-template-columns: 24px repeat(5, 1fr);
  gap: 2px;
}
.pv-spread-header span {
  font-size: 9px;
  color: #4b5563;
  font-family: var(--font-mono);
  text-align: center;
  padding: 4px 0;
}
.pv-spread-row span {
  font-size: 9px;
  color: #4b5563;
  font-family: var(--font-mono);
  text-align: center;
  padding: 6px 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 2px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.pv-spread-row span:first-child {
  background: transparent;
  border: none;
}
.pv-cell--fill {
  background: rgba(168,85,247,0.08) !important;
  border-color: rgba(168,85,247,0.12) !important;
}
/* hover: cells glow */
.problem-card:hover .pv-cell--fill {
  background: rgba(168,85,247,0.15) !important;
  border-color: rgba(168,85,247,0.25) !important;
  box-shadow: 0 0 8px rgba(168,85,247,0.1);
}
/* stagger rows on scroll */
.problem-card.is-visible .pv-spread-row {
  animation: pv-fadeUp 0.4s cubic-bezier(.4,0,.2,1) backwards;
}
.problem-card.is-visible .pv-spread-row:nth-child(2) { animation-delay: 0.1s; }
.problem-card.is-visible .pv-spread-row:nth-child(3) { animation-delay: 0.18s; }
.problem-card.is-visible .pv-spread-row:nth-child(4) { animation-delay: 0.26s; }
.problem-card.is-visible .pv-spread-row:nth-child(5) { animation-delay: 0.34s; }
.problem-card.is-visible .pv-spread-row:nth-child(6) { animation-delay: 0.42s; }

@keyframes pv-fadeUp {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.pv-spread-time {
  position: absolute;
  bottom: -20px;
  right: 0;
  font-size: 11px;
  font-family: var(--font-dot);
  color: #ef4444;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.problem-card.is-visible .pv-spread-time {
  animation: pv-fadeUp 0.5s 0.6s cubic-bezier(.4,0,.2,1) forwards;
}
.problem-card:hover .pv-spread-time {
  opacity: 1;
}

/* ===== Visual 4: Email chain ===== */
.pv-emails {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.pv-email-chain {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pv-email-node {
  font-size: 10px;
  font-family: var(--font-mono);
  color: #9ca3af;
  padding: 8px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.problem-card:hover .pv-email-node {
  background: rgba(168,85,247,0.05);
  border-color: rgba(168,85,247,0.15);
  box-shadow: 0 0 12px rgba(168,85,247,0.06);
}
/* stagger nodes on scroll */
.problem-card.is-visible .pv-email-node {
  animation: pv-popIn 0.4s cubic-bezier(.34,1.56,.64,1) backwards;
}
.problem-card.is-visible .pv-email-node:nth-child(1) { animation-delay: 0.1s; }
.problem-card.is-visible .pv-email-chain > :nth-child(3) { animation-delay: 0.25s; }
.problem-card.is-visible .pv-email-chain > :nth-child(5) { animation-delay: 0.4s; }
.problem-card.is-visible .pv-email-chain > :nth-child(7) { animation-delay: 0.55s; }

@keyframes pv-popIn {
  0%   { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}

/* hover: sequential highlight */
.problem-card:hover .pv-email-node:nth-child(1) { transform: translateY(-3px); transition-delay: 0s; }
.problem-card:hover .pv-email-chain > :nth-child(3) { transform: translateY(-3px); transition-delay: 0.06s; }
.problem-card:hover .pv-email-chain > :nth-child(5) { transform: translateY(-3px); transition-delay: 0.12s; }
.problem-card:hover .pv-email-chain > :nth-child(7) { transform: translateY(-3px); transition-delay: 0.18s; }

.pv-email-arrow {
  color: #4b5563;
  font-size: 12px;
  transition: color 0.3s ease;
}
.problem-card:hover .pv-email-arrow {
  color: rgba(168,85,247,0.5);
}
/* arrow pulse animation */
.problem-card.is-visible .pv-email-arrow {
  animation: pv-arrowPulse 2s ease-in-out infinite;
}
@keyframes pv-arrowPulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

.pv-email-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #ef4444;
  font-family: var(--font-mono);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.problem-card.is-visible .pv-email-count {
  animation: pv-fadeUp 0.5s 0.7s cubic-bezier(.4,0,.2,1) forwards;
}
.problem-card:hover .pv-email-count {
  opacity: 1;
}

/* ===== Visual 5: Silos (disconnected agents) ===== */
.pv-silos {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pv-silo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.4s ease;
}
/* hover: silos drift apart */
.problem-card:hover .pv-silo:nth-child(1) { transform: translateX(-8px); }
.problem-card:hover .pv-silo:nth-child(3) { transform: translateY(-4px); }
.problem-card:hover .pv-silo:nth-child(5) { transform: translateX(8px); }

.pv-silo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  font-family: var(--font-mono);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.problem-card:hover .pv-silo-icon {
  border-color: rgba(34,197,94,0.2);
  box-shadow: 0 0 12px rgba(34,197,94,0.08);
}
/* pop in on scroll */
.problem-card.is-visible .pv-silo-icon {
  animation: pv-popIn 0.5s cubic-bezier(.34,1.56,.64,1) backwards;
}
.problem-card.is-visible .pv-silo:nth-child(1) .pv-silo-icon { animation-delay: 0.15s; }
.problem-card.is-visible .pv-silo:nth-child(3) .pv-silo-icon { animation-delay: 0.3s; }
.problem-card.is-visible .pv-silo:nth-child(5) .pv-silo-icon { animation-delay: 0.45s; }

.pv-silo .pv-line {
  width: 48px;
}
.pv-silo-divider {
  width: 1px;
  height: 50px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(239,68,68,0.3) 0px,
    rgba(239,68,68,0.3) 4px,
    transparent 4px,
    transparent 8px
  );
  margin: 0 4px;
  transition: opacity 0.3s ease;
}
/* hover: dividers flicker more */
.problem-card:hover .pv-silo-divider {
  animation: pv-divFlicker 1s ease-in-out infinite alternate;
}
@keyframes pv-divFlicker {
  0%   { opacity: 0.4; }
  100% { opacity: 1; }
}

.pv-silo-label {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: #6b7280;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.problem-card.is-visible .pv-silo-label {
  animation: pv-fadeUp 0.5s 0.6s cubic-bezier(.4,0,.2,1) forwards;
}
.problem-card:hover .pv-silo-label {
  opacity: 1;
}

/* ===== Visual 6: Margins chart ===== */
.pv-margins {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 70%;
}
.pv-margin-bars {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 120px;
  width: 100%;
  justify-content: center;
}
.pv-margin-bar {
  width: 48px;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  position: relative;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* animate height from 0 on scroll */
  transform-origin: bottom center;
}
/* scroll: bars grow */
.problem-card.is-visible .pv-margin-bar {
  animation: pv-barGrow 0.8s cubic-bezier(.4,0,.2,1) backwards;
}
.problem-card.is-visible .pv-margin-bar:nth-child(1) { animation-delay: 0.15s; }
.problem-card.is-visible .pv-margin-bar:nth-child(2) { animation-delay: 0.3s; }
.problem-card.is-visible .pv-margin-bar:nth-child(3) { animation-delay: 0.45s; }

@keyframes pv-barGrow {
  0%   { transform: scaleY(0); opacity: 0; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* hover: bars lift */
.problem-card:hover .pv-margin-bar {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -4px rgba(168,85,247,0.12);
}
.problem-card:hover .pv-margin-bar--hidden {
  box-shadow: 0 8px 24px -4px rgba(239,68,68,0.12);
}

.pv-margin-bar span {
  font-size: 8px;
  font-family: var(--font-mono);
  color: #9ca3af;
  text-transform: uppercase;
}
.pv-margin-bar--cost {
  background: rgba(249,115,22,0.12);
  border-color: rgba(249,115,22,0.25);
}
.pv-margin-bar--hidden {
  background: repeating-linear-gradient(
    45deg,
    rgba(239,68,68,0.06) 0px,
    rgba(239,68,68,0.06) 4px,
    transparent 4px,
    transparent 8px
  );
  border: 1px dashed rgba(239,68,68,0.3);
}
.pv-margin-bar--hidden span {
  color: #ef4444;
  font-size: 12px;
  animation: pv-blink 1.5s ease-in-out infinite;
}
.pv-margin-label {
  font-size: 10px;
  color: #6b7280;
  font-family: var(--font-mono);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.problem-card.is-visible .pv-margin-label {
  animation: pv-fadeUp 0.5s 0.7s cubic-bezier(.4,0,.2,1) forwards;
}
.problem-card:hover .pv-margin-label {
  opacity: 1;
}


/* =====================================================
   USE CASES — SECTION
===================================================== */
.use-cases {
  padding: 100px 32px 120px;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.01) 50%, transparent 100%);
}
.use-cases-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.use-cases-header {
  text-align: center;
  margin-bottom: 56px;
}
.use-cases-header h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.use-cases-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

.use-cases-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 48px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.use-cases-label:first-of-type {
  margin-top: 0;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.use-case-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.use-case-card:hover {
  transform: translateY(-2px);
}
.use-case-card--cx:hover {
  border-color: rgba(34,197,94,0.2);
}
.use-case-card--hub:hover {
  border-color: rgba(168,85,247,0.2);
}

.use-case-badges {
  display: flex;
  gap: 6px;
}
.use-case-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.use-case-badge--ai {
  background: rgba(168,85,247,0.12);
  color: #c084fc;
}
.use-case-badge--auto {
  background: rgba(34,197,94,0.12);
  color: #4ade80;
}

.use-case-text {
  font-size: 14px;
  color: #d1d5db;
  line-height: 1.6;
  flex: 1;
}

.use-case-result {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-family: "PressuraMono", monospace;
  letter-spacing: 0.03em;
}


/* =====================================================
   BEFORE vs AFTER — INTERACTIVE SECTION
===================================================== */
.before-after {
  padding: 100px 32px 120px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.before-after.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.ba-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* Header */
.ba-header {
  text-align: center;
  margin-bottom: 48px;
}
.ba-header h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.ba-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Controls ---- */
.ba-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

/* Product tabs */
.ba-tabs {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 3px;
}
.ba-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.ba-tab:hover { color: var(--text); }
.ba-tab.is-active {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}
.ba-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.ba-tab-dot--cx { background: #22c55e; }
.ba-tab-dot--hub { background: #a855f7; }

/* Toggle switch */
.ba-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.ba-sw-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
  transition: color 0.4s ease;
}
.ba-sw-lbl.is-active { color: var(--text); }

.ba-sw-track {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: rgba(239,68,68,0.2);
  border: 1px solid rgba(239,68,68,0.15);
  position: relative;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.ba-sw-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f87171;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), background 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 2px 8px rgba(239,68,68,0.3);
}

/* After state — toggle */
.before-after.is-after .ba-sw-track {
  background: rgba(34,197,94,0.2);
  border-color: rgba(34,197,94,0.15);
}
.before-after.is-after .ba-sw-thumb {
  transform: translateX(20px);
  background: #4ade80;
  box-shadow: 0 2px 8px rgba(34,197,94,0.3);
}

/* ---- Scene Window ---- */
.ba-scene {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(239,68,68,0.1);
  background: rgba(255,255,255,0.015);
  backdrop-filter: blur(16px);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 0 60px rgba(239,68,68,0.04), inset 0 1px 0 rgba(255,255,255,0.03);
  margin-bottom: 32px;
}
.before-after.is-after .ba-scene {
  border-color: rgba(34,197,94,0.12);
  box-shadow: 0 0 60px rgba(34,197,94,0.04), inset 0 1px 0 rgba(255,255,255,0.03);
}

/* Chrome bar */
.ba-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ba-chrome-dots {
  display: flex;
  gap: 6px;
}
.ba-chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.ba-chrome-dots span:first-child { background: rgba(239,68,68,0.4); }
.ba-chrome-dots span:nth-child(2) { background: rgba(250,204,21,0.4); }
.ba-chrome-dots span:nth-child(3) { background: rgba(34,197,94,0.4); }

/* URL bar */
.ba-url {
  display: none;
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.04);
  flex: 1;
  text-align: center;
}
/* Default: CX Before */
.ba-url[data-panel="cx-before"] { display: inline-block; }
/* After */
.before-after.is-after .ba-url[data-panel="cx-before"] { display: none; }
.before-after.is-after .ba-url[data-panel="cx-after"] { display: inline-block; }
/* Hub */
.before-after.is-hub .ba-url[data-panel="cx-before"],
.before-after.is-hub .ba-url[data-panel="cx-after"] { display: none; }
.before-after.is-hub .ba-url[data-panel="hub-before"] { display: inline-block; }
.before-after.is-hub.is-after .ba-url[data-panel="hub-before"] { display: none; }
.before-after.is-hub.is-after .ba-url[data-panel="hub-after"] { display: inline-block; }

/* Indicator dot */
.ba-chrome-indicator { margin-left: auto; }
.ba-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  background: #f87171;
  box-shadow: 0 0 8px rgba(239,68,68,0.5);
  animation: ba-pulse 2s ease infinite;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.before-after.is-after .ba-indicator-dot {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
}
@keyframes ba-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---- Scene Body (panels overlay) ---- */
.ba-scene-body {
  display: grid;
  padding: 24px;
  min-height: 340px;
}
.ba-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Default: CX Before visible */
.ba-panel[data-panel="cx-before"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ba-panel[data-panel="cx-after"] { opacity: 0; transform: translateY(16px); pointer-events: none; }
.ba-panel[data-panel="hub-before"],
.ba-panel[data-panel="hub-after"] { opacity: 0; transform: translateY(16px); pointer-events: none; display: none; }

/* CX After */
.before-after.is-after .ba-panel[data-panel="cx-before"] { opacity: 0; transform: translateY(-16px); pointer-events: none; }
.before-after.is-after .ba-panel[data-panel="cx-after"] { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Hub product */
.before-after.is-hub .ba-panel[data-panel="cx-before"],
.before-after.is-hub .ba-panel[data-panel="cx-after"] { display: none; }
.before-after.is-hub .ba-panel[data-panel="hub-before"] { display: flex; opacity: 1; transform: translateY(0); pointer-events: auto; }
.before-after.is-hub .ba-panel[data-panel="hub-after"] { display: flex; opacity: 0; transform: translateY(16px); pointer-events: none; }

/* Hub After */
.before-after.is-hub.is-after .ba-panel[data-panel="hub-before"] { opacity: 0; transform: translateY(-16px); pointer-events: none; }
.before-after.is-hub.is-after .ba-panel[data-panel="hub-after"] { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---- Stats row ---- */
.ba-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ba-stat {
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.04);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.ba-stat:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.ba-stat strong {
  display: block;
  font-size: 22px;
  font-family: var(--font-dot, var(--font-mono, monospace));
  margin-bottom: 4px;
}
.ba-stat span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ba-stat--bad {
  background: rgba(239,68,68,0.04);
  border-color: rgba(239,68,68,0.1);
}
.ba-stat--bad strong { color: #f87171; }
.ba-stat--bad:hover { border-color: rgba(239,68,68,0.2); }
.ba-stat--good {
  background: rgba(34,197,94,0.04);
  border-color: rgba(34,197,94,0.1);
}
.ba-stat--good strong { color: #4ade80; }
.ba-stat--good:hover { border-color: rgba(34,197,94,0.2); }

/* ---- List rows ---- */
.ba-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ba-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}
.ba-row:hover { transform: translateX(2px); }

/* Bad rows */
.ba-row--bad {
  background: rgba(239,68,68,0.02);
  border: 1px solid rgba(239,68,68,0.06);
  animation: ba-rowshake 4s ease infinite;
}
.ba-row--bad:nth-child(2) { animation-delay: 0.5s; }
.ba-row--bad:nth-child(3) { animation-delay: 1s; }
.ba-row--bad:nth-child(4) { animation-delay: 1.5s; }
.ba-row--bad:hover { background: rgba(239,68,68,0.05); }
@keyframes ba-rowshake {
  0%, 90%, 100% { transform: translateX(0); }
  92% { transform: translateX(-1.5px); }
  94% { transform: translateX(1.5px); }
  96% { transform: translateX(-1px); }
  98% { transform: translateX(0.5px); }
}

/* Good rows */
.ba-row--good {
  background: rgba(34,197,94,0.02);
  border: 1px solid rgba(34,197,94,0.06);
}
.ba-row--good:hover { background: rgba(34,197,94,0.05); }

/* Badges (before) */
.ba-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  min-width: 52px;
  text-align: center;
}
.ba-badge--urgent {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  animation: ba-badge-flash 2s ease infinite;
}
.ba-badge--sla {
  background: rgba(250,204,21,0.15);
  color: #fbbf24;
  animation: ba-badge-flash 1.5s ease infinite;
}
.ba-badge--unknown {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
}
@keyframes ba-badge-flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Status pills (after) */
.ba-status {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  min-width: 52px;
  text-align: center;
}
.ba-status--resolved { background: rgba(34,197,94,0.15); color: #4ade80; }
.ba-status--progress { background: rgba(59,130,246,0.15); color: #60a5fa; }
.ba-status--new { background: rgba(255,255,255,0.06); color: var(--muted); }
.ba-status--live { background: rgba(34,197,94,0.15); color: #4ade80; }
.ba-status--review { background: rgba(250,204,21,0.15); color: #fbbf24; }

/* Row text */
.ba-row-text {
  flex: 1;
  font-size: 13px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ba-row--good .ba-row-text { color: #d1d5db; }

/* Row time */
.ba-row-time {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  font-family: var(--font-mono, monospace);
  flex-shrink: 0;
}

/* Tags (after rows) */
.ba-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}
.ba-tag--ai {
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(59,130,246,0.2));
  color: #c084fc;
  animation: ba-shimmer 3s ease infinite;
}
.ba-tag--pri {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
}
@keyframes ba-shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Progress bars (Hub after) */
.ba-progress {
  width: 64px;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.ba-progress span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  transition: width 0.8s cubic-bezier(0.22,1,0.36,1);
}

/* ---- Banner ---- */
.ba-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}
.ba-banner--bad {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.1);
  color: #f87171;
  animation: ba-banner-pulse 3s ease infinite;
}
.ba-banner--good {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.1);
  color: #4ade80;
}
@keyframes ba-banner-pulse {
  0%, 100% { border-color: rgba(239,68,68,0.1); }
  50% { border-color: rgba(239,68,68,0.25); }
}

/* ---- Metrics ---- */
.ba-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ba-metric {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
}
.before-after.is-visible .ba-metric {
  opacity: 1;
  transform: translateY(0);
}
.ba-metric:nth-child(1) { transition-delay: 0.6s; }
.ba-metric:nth-child(2) { transition-delay: 0.7s; }
.ba-metric:nth-child(3) { transition-delay: 0.8s; }
.ba-metric:nth-child(4) { transition-delay: 0.9s; }
.ba-metric:nth-child(5) { transition-delay: 0.6s; }
.ba-metric:nth-child(6) { transition-delay: 0.7s; }
.ba-metric:nth-child(7) { transition-delay: 0.8s; }
.ba-metric:nth-child(8) { transition-delay: 0.9s; }

.ba-metric:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Hub metrics hidden by default */
.ba-metric[data-product="hub"] { display: none; }
.before-after.is-hub .ba-metric[data-product="cx"] { display: none; }
.before-after.is-hub .ba-metric[data-product="hub"] { display: block; }

.ba-metric-vals {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ba-metric-old {
  font-family: var(--font-dot, var(--font-mono, monospace));
  font-size: 16px;
  color: #f87171;
  text-decoration: line-through;
  opacity: 0.5;
}
.ba-metric-arr {
  color: var(--muted);
  font-size: 14px;
}
.ba-metric-new {
  font-family: var(--font-dot, var(--font-mono, monospace));
  font-size: 22px;
  color: #4ade80;
  font-weight: 700;
}
.ba-metric-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .ba-inner { max-width: 100%; }
  .ba-header h2 { font-size: 26px; }
  .ba-controls { flex-direction: column; gap: 16px; }
  .ba-stats-row { grid-template-columns: 1fr; gap: 8px; }
  .ba-row-text { white-space: normal; }
  .ba-metrics { grid-template-columns: repeat(2, 1fr); }
  .ba-scene-body { padding: 16px; }
}


/* =====================================================
   PRICING — SECTION
===================================================== */
.pricing {
  padding: 100px 32px 120px;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.01) 50%, transparent 100%);
}
.pricing-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}
.pricing-header h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.pricing-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.pricing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.1);
}
.pricing-card--featured {
  border-color: rgba(168,85,247,0.25);
  background: rgba(168,85,247,0.04);
}
.pricing-card--featured:hover {
  border-color: rgba(168,85,247,0.4);
}

.pricing-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-features li {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.5;
  padding: 7px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-size: 11px;
  font-weight: 700;
}

.pricing-cta {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.pricing-cta:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.pricing-cta--featured {
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(168,85,247,0.1));
  border-color: rgba(168,85,247,0.3);
}
.pricing-cta--featured:hover {
  background: linear-gradient(135deg, rgba(168,85,247,0.3), rgba(168,85,247,0.15));
}


/* =====================================================
   INTEGRATIONS — SECTION (replaces Trusted By)
===================================================== */
.integrations {
  padding: 100px 32px 80px;
}
.integrations-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.integrations-header {
  text-align: center;
  margin-bottom: 48px;
}
.integrations-header h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.integrations-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.integrations-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.integration-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  transition: border-color .2s ease, transform .2s ease;
}
.integration-logo-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.integration-logo-card img {
  height: 32px;
  width: auto;
  filter: grayscale(0.5) brightness(0.9);
  transition: filter .2s ease;
}
.integration-logo-card:hover img {
  filter: grayscale(0) brightness(1);
}
.integration-logo-card span {
  font-size: 11px;
  color: #6b7280;
  font-weight: 500;
}

.powered-by {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.powered-by > span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4b5563;
  margin-bottom: 16px;
  display: block;
}
.powered-by-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.powered-by-logos img {
  height: 18px;
  width: auto;
  opacity: 0.3;
  filter: grayscale(1);
  transition: opacity .2s ease;
}
.powered-by-logos img:hover {
  opacity: 0.6;
}


/* =====================================================
   WHAT IS WISMIFY — SECTION
===================================================== */

.what-is {
  position: relative;
  padding: 140px 24px 120px;
  overflow: hidden;
}

.what-is::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center top,
      rgba(255,255,255,0.04),
      transparent 60%
    );
  pointer-events: none;
}

.what-is-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.what-is-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}

.what-is-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}

.what-is-header h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.what-is-header p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* ===== Overlapping Panels (Linear-style) ===== */
.wi-panels {
  position: relative;
  height: 440px;
  margin-bottom: 72px;
}

.wi-panel {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px -12px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.03);
  transition: transform 0.5s cubic-bezier(.4,0,.2,1),
              box-shadow 0.4s ease;
  /* scroll entrance */
  opacity: 0;
}
.wi-panel.is-visible {
  opacity: 1;
}

/* Front panel: CX thread (left, on top) */
.wi-panel--front {
  width: 52%;
  top: 20px;
  left: 0;
  z-index: 2;
  background: rgba(12,13,15,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateX(-30px) rotate(-1deg);
}
.wi-panel--front.is-visible {
  animation: wi-panelFront 0.8s 0.15s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes wi-panelFront {
  0%   { opacity: 0; transform: translateX(-60px) rotate(-2deg) scale(0.96); }
  100% { opacity: 1; transform: translateX(0) rotate(-1deg) scale(1); }
}
.wi-panel--front:hover {
  transform: translateX(4px) rotate(0deg) scale(1.01);
  box-shadow:
    0 40px 100px -16px rgba(0,0,0,0.8),
    0 0 60px -12px rgba(34,197,94,0.06);
  z-index: 3;
}

/* Back panel: Hub board (right, behind) */
.wi-panel--back {
  width: 56%;
  top: 0;
  right: 0;
  z-index: 1;
  background: rgba(12,13,15,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateX(30px) rotate(1deg);
}
.wi-panel--back.is-visible {
  animation: wi-panelBack 0.8s 0.35s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes wi-panelBack {
  0%   { opacity: 0; transform: translateX(60px) rotate(2deg) scale(0.96); }
  100% { opacity: 1; transform: translateX(0) rotate(1deg) scale(1); }
}
.wi-panel--back:hover {
  transform: translateX(-4px) rotate(0deg) scale(1.01);
  box-shadow:
    0 40px 100px -16px rgba(0,0,0,0.8),
    0 0 60px -12px rgba(168,85,247,0.06);
  z-index: 3;
}

/* Panel top bar */
.wi-panel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.wi-panel-dots {
  display: flex;
  gap: 5px;
}
.wi-panel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.wi-panel-dots span:first-child  { background: #ef4444; opacity: 0.7; }
.wi-panel-dots span:nth-child(2) { background: #f59e0b; opacity: 0.7; }
.wi-panel-dots span:nth-child(3) { background: #22c55e; opacity: 0.7; }

.wi-panel-title {
  font-size: 11px;
  color: #9ca3af;
  font-family: var(--font-mono);
  flex: 1;
}
.wi-panel-bar .problem-col-badge {
  flex-shrink: 0;
}

/* Panel body */
.wi-panel-body {
  padding: 16px;
  max-height: 370px;
  overflow: hidden;
}

/* ===== CX Thread Messages ===== */
.wi-msg {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  opacity: 0;
}
.wi-panel.is-visible .wi-msg {
  animation: pv-fadeUp 0.5s cubic-bezier(.4,0,.2,1) forwards;
}
.wi-panel.is-visible .wi-msg:nth-child(1) { animation-delay: 0.5s; }
.wi-panel.is-visible .wi-msg:nth-child(2) { animation-delay: 0.8s; }
.wi-panel.is-visible .wi-msg:nth-child(3) { animation-delay: 1.1s; }

.wi-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.wi-msg-avatar--customer {
  background: rgba(255,255,255,0.08);
  color: #d1d5db;
  border: 1px solid rgba(255,255,255,0.1);
}
.wi-msg-avatar--ai {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.2);
  color: #22c55e;
}
.wi-msg-avatar--ai svg {
  width: 14px;
  height: 14px;
}

.wi-msg-content {
  flex: 1;
  min-width: 0;
}
.wi-msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.wi-msg-meta strong {
  font-size: 11px;
  font-weight: 600;
  color: #e5e7eb;
}
.wi-msg-meta span {
  font-size: 10px;
  color: #6b7280;
  font-family: var(--font-mono);
}
.wi-msg-tag {
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wi-msg-tag--green {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
}

.wi-msg-content p {
  font-size: 12px;
  line-height: 1.55;
  color: #9ca3af;
  margin-bottom: 4px;
}
.wi-msg--ai .wi-msg-content {
  background: rgba(34,197,94,0.03);
  border: 1px solid rgba(34,197,94,0.06);
  border-radius: 10px;
  padding: 10px 12px;
}
.wi-msg--ai .wi-msg-meta {
  margin-bottom: 6px;
}

/* AI action bar at the bottom of thread */
.wi-action-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 4px;
  opacity: 0;
}
.wi-panel.is-visible .wi-action-bar {
  animation: pv-fadeUp 0.5s 1.4s cubic-bezier(.4,0,.2,1) forwards;
}
.wi-action-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-family: var(--font-mono);
  color: #6b7280;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.wi-action-tag:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.wi-action-tag--auto {
  color: #22c55e;
  border-color: rgba(34,197,94,0.1);
}

/* ===== Hub Board (Kanban) ===== */
.wi-panel-body--board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
}

.wi-board-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wi-board-col-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: #d1d5db;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wi-board-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.wi-board-dot--yellow { background: #f59e0b; }
.wi-board-dot--blue   { background: #3b82f6; }
.wi-board-dot--green  { background: #22c55e; }
.wi-board-count {
  font-size: 9px;
  color: #6b7280;
  margin-left: auto;
}

.wi-board-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  opacity: 0;
}
.wi-panel.is-visible .wi-board-card {
  animation: pv-fadeUp 0.4s cubic-bezier(.4,0,.2,1) forwards;
}
.wi-panel.is-visible .wi-board-col:nth-child(1) .wi-board-card:nth-child(2) { animation-delay: 0.5s; }
.wi-panel.is-visible .wi-board-col:nth-child(1) .wi-board-card:nth-child(3) { animation-delay: 0.65s; }
.wi-panel.is-visible .wi-board-col:nth-child(2) .wi-board-card:nth-child(2) { animation-delay: 0.6s; }
.wi-panel.is-visible .wi-board-col:nth-child(2) .wi-board-card:nth-child(3) { animation-delay: 0.75s; }
.wi-panel.is-visible .wi-board-col:nth-child(3) .wi-board-card:nth-child(2) { animation-delay: 0.7s; }

.wi-board-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.wi-board-card-title {
  font-size: 11px;
  font-weight: 600;
  color: #e5e7eb;
  display: block;
  margin-bottom: 6px;
}
.wi-board-card-tags {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.wi-board-tag {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  color: #9ca3af;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wi-board-tag--brand {
  background: rgba(168,85,247,0.1);
  color: #a855f7;
}
.wi-board-card-bar {
  height: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 2px;
  overflow: hidden;
}
.wi-board-card-fill {
  height: 100%;
  border-radius: 2px;
  background: #f59e0b;
  transition: width 0.8s cubic-bezier(.4,0,.2,1);
}
.wi-board-card-fill--blue  { background: #3b82f6; }
.wi-board-card-fill--green { background: #22c55e; }

/* ===== PILLARS GRID — Linear-style cards with visuals ===== */
.what-is-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pillar-card {
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(.4,0,.2,1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  /* scroll entrance */
  opacity: 0;
  transform: translateY(30px);
}
.pillar-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.12);
  box-shadow:
    0 24px 64px -12px rgba(0,0,0,0.6),
    0 0 40px -8px rgba(255,255,255,0.02);
}
.pillar-card--wide {
  grid-column: 1 / -1;
}

.pillar-card > .section-fig {
  display: block;
  padding: 20px 24px 0;
}

/* Visual area */
.pillar-visual {
  height: 200px;
  margin: 14px 18px 0;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
  transition: border-color 0.3s ease;
}
.pillar-card:hover .pillar-visual {
  border-color: rgba(255,255,255,0.08);
}
.pillar-card--wide .pillar-visual {
  height: 140px;
}

.pillar-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f9fafb;
  padding: 20px 24px 0;
}

.pillar-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  padding: 8px 24px 24px;
}

/* ===== Visual 1: State flow ===== */
.pil-states {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.pil-state {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: #6b7280;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.pil-state--active {
  color: #d1d5db;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.pillar-card:hover .pil-state--active {
  background: rgba(255,255,255,0.08);
}
.pil-state-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pil-state-dot--yellow { background: #f59e0b; }
.pil-state-dot--blue   { background: #3b82f6; }
.pil-state-dot--green  { background: #22c55e; }
.pil-state-dot--muted  { background: #6b7280; }
.pil-state-arrow {
  color: #4b5563;
  font-size: 11px;
}

/* State trace log */
.pil-trace {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.pil-trace-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: #9ca3af;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.pillar-card:hover .pil-trace-row {
  background: rgba(255,255,255,0.02);
}
.pil-trace-row--fade {
  opacity: 0.4;
}
.pil-trace-time {
  color: #4b5563;
  min-width: 32px;
}

/* Container for states + trace */
.pil-states + .pil-trace {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 12px;
  margin-top: 4px;
}
/* Wrap states + trace vertically */
.pillar-visual:has(.pil-states) {
  flex-direction: column;
  align-items: stretch;
}

/* ===== Visual 2: Automation rules ===== */
.pil-rules {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pil-rule {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px 12px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.pillar-card:hover .pil-rule {
  border-color: rgba(255,255,255,0.08);
}
.pil-rule--fade {
  opacity: 0.4;
}
.pil-rule-if,
.pil-rule-then {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: #9ca3af;
  flex-wrap: wrap;
  line-height: 2;
}
.pil-rule-kw {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(249,115,22,0.12);
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pil-rule-kw--green {
  background: rgba(34,197,94,0.1);
  color: #22c55e;
}
.pil-rule-op {
  color: #6b7280;
  font-weight: 600;
}

/* ===== Visual 3: Metrics dashboard ===== */
.pil-metrics {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pil-metrics-row {
  display: flex;
  gap: 16px;
}
.pil-metric-kpi {
  flex: 1;
  text-align: center;
}
.pil-metric-value {
  display: block;
  font-size: 18px;
  font-family: var(--font-dot);
  font-weight: 700;
  color: #f9fafb;
  letter-spacing: -0.02em;
}
.pil-metric-label {
  display: block;
  font-size: 9px;
  font-family: var(--font-mono);
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.pil-chart {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 10px;
}
.pil-chart svg {
  width: 100%;
  height: 50px;
}

/* ===== Visual 4: API connections ===== */
.pil-api {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pil-api-center {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #f9fafb;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.pil-api-connections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
}
.pil-api-node {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: #9ca3af;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.pillar-card:hover .pil-api-node {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.pil-api-icon {
  font-size: 12px;
}
.pil-api-status {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-left: auto;
}
.pil-api-status--on {
  background: #22c55e;
  box-shadow: 0 0 4px rgba(34,197,94,0.5);
}

/* ===== Visual 5: Roles & permissions ===== */
.pil-roles {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pil-role-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.pillar-card:hover .pil-role-row {
  background: rgba(255,255,255,0.015);
}
.pil-role-user {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: #d1d5db;
}
.pil-role-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.25);
  color: #a855f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.pil-role-avatar--agent {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.25);
  color: #3b82f6;
}
.pil-role-avatar--ext {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: #9ca3af;
}
.pil-role-perms {
  display: flex;
  gap: 4px;
  flex: 1;
}
.pil-perm {
  font-size: 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
  flex: 1;
  text-align: center;
}
.pil-perm--full {
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.15);
}
.pil-perm--read {
  background: rgba(249,115,22,0.08);
  color: #f59e0b;
  border: 1px solid rgba(249,115,22,0.12);
}
.pil-perm--none {
  background: rgba(239,68,68,0.06);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.08);
  opacity: 0.5;
}


/* =====================================================
   PRODUCTS SHOWCASE — INTERACTIVE PREVIEWS
===================================================== */

.products-showcase {
  position: relative;
  padding: 140px 24px 160px;
  overflow: hidden;
}

.products-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 40%,
      rgba(34,197,94,0.04),
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 40%,
      rgba(168,85,247,0.04),
      transparent 50%
    );
  pointer-events: none;
}

.products-showcase-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.products-showcase-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}

.products-showcase-header h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.products-showcase-header p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
}

/* Toggle */
.product-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.product-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-toggle button:first-child {
  border-radius: 999px 0 0 999px;
}

.product-toggle button:last-child {
  border-radius: 0 999px 999px 0;
}

.product-toggle button.is-active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

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

/* Preview Windows Container */
.product-previews {
  position: relative;
  height: 700px;
  margin-bottom: 48px;
}

/* Product Window (like old window-stack) */
.product-window {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;

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

  box-shadow:
    0 60px 140px rgba(0,0,0,0.85),
    inset 0 0 0 1px rgba(255,255,255,0.04),
    inset 0 20px 40px rgba(255,255,255,0.02);

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

.product-window.is-front {
  z-index: 2;
  opacity: 1;
  filter: none;
  transform: translate(32px, 0) scale(1);
}

.product-window.is-back {
  z-index: 1;
  opacity: 0.5;
  filter: blur(3px) brightness(0.8);
  transform: translate(0, 40px) scale(0.985);
  pointer-events: none;
}

/* Window Header */
.product-window-header {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;

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

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

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

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

/* CX accent glow */
.product-window--cx {
  border: 1px solid rgba(34,197,94,0.15);
}

.product-window--hub {
  border: 1px solid rgba(168,85,247,0.15);
}


/* =====================================================
   PREVIEW DASHBOARD (SHARED LAYOUT)
===================================================== */

.preview-dashboard {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 100%;
  font-size: 12px;
  color: #e5e7eb;
}

/* Sidebar */
.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(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
  color: #4ade80;
}

.preview-brand-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: default;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.preview-btn-new--hub {
  background: rgba(168,85,247,0.15);
  color: #c084fc;
  border: 1px solid rgba(168,85,247,0.3);
}

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

.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(34,197,94,0.2);
  border: 1px solid rgba(34,197,94,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: #4ade80;
}

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

/* Stats row */
.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-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-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

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

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

.preview-stat-icon--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--green {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
}

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

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

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

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

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

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

/* Chart card */
.preview-chart-card {
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.015)
  );
  border: 1px solid rgba(255,255,255,0.06);
}

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

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

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

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

.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(34,197,94,0.35), rgba(34,197,94,0.1));
  position: relative;
  min-height: 4px;
  transition: height 0.4s ease;
}

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

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

/* 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 / breakdown list */
.preview-resolution-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

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

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

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

/* Ticket table view */
.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);
}

/* Badges in ticket table */
.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; }

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

/* Creators list (Hub) */
.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;
}

/* Deadlines (Hub) */
.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;
}

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



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

/* =====================================================
   PREVIEW VIEW SYSTEM (tab navigation)
===================================================== */

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

.preview-nav-item {
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.preview-nav-item:hover {
  background: rgba(255,255,255,0.06);
  color: #e5e7eb;
}

/* --- 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 button (CX variant) --- */
.preview-btn-new--cx {
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 5px;
  border: none;
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.08));
  color: #22c55e;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

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

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

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

/* --- Settings list --- */
.preview-settings-list {
  padding: 0 16px;
}
.preview-settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.preview-settings-item:last-child {
  border-bottom: none;
}
.preview-settings-item strong {
  font-size: 10px;
  color: #e5e7eb;
  display: block;
  margin-bottom: 2px;
}
.preview-settings-item > div span {
  font-size: 9px;
  color: #6b7280;
}
.preview-settings-action {
  font-size: 9px;
  color: #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(34,197,94,0.4);
}
.preview-toggle-knob {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform .2s ease;
}
.preview-toggle.is-on .preview-toggle-knob {
  transform: translateX(12px);
}

/* --- Campaign cards (Hub) --- */
.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-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 Marcas 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;
}

/* --- Badge red / yellow variants --- */
.badge--red {
  background: rgba(239,68,68,0.12);
  color: #ef4444;
}
.badge--yellow {
  background: rgba(251,191,36,0.12);
  color: #fbbf24;
}

/* =====================================================
   TICKET CARD GRID (CX Tickets view)
===================================================== */

.preview-stats--5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 0 16px;
  margin-bottom: 10px;
}
.preview-stat--mini {
  padding: 8px 10px;
}
.preview-stat--mini span {
  font-size: 7px;
}
.preview-stat--mini strong {
  font-size: 14px;
}

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

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

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

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

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

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

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

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

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


/* =====================================================
   PRODUCT INFO ROW (below previews)
===================================================== */

.product-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-info {
  padding: 32px;
  border-radius: 20px;

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

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

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

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

.product-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.product-info--cx {
  border-color: rgba(34,197,94,0.12);
}

.product-info--hub {
  border-color: rgba(168,85,247,0.12);
}

/* Badge */
.product-badge {
  display: inline-flex;
  align-items: center;

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

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  margin-bottom: 16px;
}

.product-badge--cx {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.3);
}

.product-badge--hub {
  background: rgba(168,85,247,0.15);
  color: #c084fc;
  border: 1px solid rgba(168,85,247,0.3);
}

.product-info h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-tagline {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Features List */
.product-features {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.product-features li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: #e5e7eb;
}

.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;

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

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

.product-info--cx .product-features li::before {
  background: rgba(34,197,94,0.2);
  border-color: rgba(34,197,94,0.4);
}

.product-info--hub .product-features li::before {
  background: rgba(168,85,247,0.2);
  border-color: rgba(168,85,247,0.4);
}

/* CTA */
.product-cta {
  display: inline-flex;
  align-items: center;

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

  font-size: 13px;
  font-weight: 600;
  text-decoration: none;

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

.product-cta--cx {
  color: #4ade80;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
}

.product-cta--cx:hover {
  background: rgba(34,197,94,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34,197,94,0.25);
}

.product-cta--hub {
  color: #c084fc;
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.3);
}

.product-cta--hub:hover {
  background: rgba(168,85,247,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168,85,247,0.25);
}


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

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

/* fondo */
.ops-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.08), transparent 65%),
    radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px;
  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 72px;
}
.ops-header h2 {
  font-size: 40px;
  font-weight: 600;
}
.ops-header p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
}

/* ===== New Pipeline Layout ===== */
.ops-pipeline {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ===== Left: Vertical Timeline ===== */
.ops-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 24px;
}

/* Vertical track */
.ops-tl-track {
  position: absolute;
  left: 43px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 1px;
  overflow: hidden;
}
.ops-tl-progress {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.3));
  border-radius: 1px;
  transition: height 0.6s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

/* Node */
.ops-tl-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  cursor: pointer;
  position: relative;
  transition: opacity 0.3s ease;
}
.ops-tl-node:not(.active) {
  opacity: 0.4;
}
.ops-tl-node:hover {
  opacity: 0.8;
}
.ops-tl-node.active {
  opacity: 1;
}

/* Dot icon */
.ops-tl-dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(10,12,16,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  z-index: 2;
}
.ops-tl-dot svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
  fill: none;
  transition: filter 0.3s ease;
}

/* Color variants for dot icons */
.ops-tl-dot.blue svg   { stroke: #60a5fa; }
.ops-tl-dot.green svg  { stroke: #34d399; }
.ops-tl-dot.purple svg { stroke: #a78bfa; }
.ops-tl-dot.yellow svg { stroke: #facc15; }
.ops-tl-dot.cyan svg   { stroke: #38bdf8; }
.ops-tl-dot.red svg    { stroke: #fb7185; }

/* Active dot */
.ops-tl-node.active .ops-tl-dot {
  transform: scale(1.2);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 24px rgba(255,255,255,0.12);
}
.ops-tl-node.active .ops-tl-dot svg {
  filter: drop-shadow(0 0 6px currentColor);
}
/* Per-color active glow */
.ops-tl-node.active .ops-tl-dot.blue   { box-shadow: 0 0 24px rgba(96,165,250,0.25); border-color: rgba(96,165,250,0.35); }
.ops-tl-node.active .ops-tl-dot.green  { box-shadow: 0 0 24px rgba(52,211,153,0.25); border-color: rgba(52,211,153,0.35); }
.ops-tl-node.active .ops-tl-dot.purple { box-shadow: 0 0 24px rgba(167,139,250,0.25); border-color: rgba(167,139,250,0.35); }
.ops-tl-node.active .ops-tl-dot.yellow { box-shadow: 0 0 24px rgba(250,204,21,0.25); border-color: rgba(250,204,21,0.35); }
.ops-tl-node.active .ops-tl-dot.cyan   { box-shadow: 0 0 24px rgba(56,189,248,0.25); border-color: rgba(56,189,248,0.35); }
.ops-tl-node.active .ops-tl-dot.red    { box-shadow: 0 0 24px rgba(251,113,133,0.25); border-color: rgba(251,113,133,0.35); }

.ops-tl-label {
  font-size: 13px;
  font-weight: 500;
  color: #e5e7eb;
  flex: 1;
  transition: color 0.3s ease;
}
.ops-tl-node:not(.active) .ops-tl-label {
  color: #6b7280;
}

.ops-tl-num {
  font-size: 10px;
  font-family: var(--font-mono);
  color: #4b5563;
  transition: color 0.3s ease;
}
.ops-tl-node.active .ops-tl-num {
  color: #9ca3af;
}

/* ===== Right: Detail Panel ===== */
.ops-detail {
  position: sticky;
  top: 100px;
  align-self: start;
}
.ops-detail-inner {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ops-detail-inner.ops-detail--show {
  opacity: 1;
  transform: translateY(0);
}

.ops-detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.ops-detail-num {
  font-size: 11px;
  font-family: var(--font-dot);
  color: #6b7280;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 6px;
}
.ops-detail-head h4 {
  font-size: 20px;
  font-weight: 600;
  color: #f9fafb;
}

.ops-detail-text {
  font-size: 14px;
  line-height: 1.6;
  color: #9ca3af;
  margin-bottom: 20px;
}

/* Detail visual area */
.ops-detail-visual {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CX / Hub examples */
.ops-detail-examples {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.ops-detail-ex {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: #9ca3af;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.03);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.ops-detail-ex:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

/* Timer bar at the bottom */
.ops-detail-progress {
  height: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 2px;
  overflow: hidden;
}
.ops-detail-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.5));
  border-radius: 2px;
}

/* ===== Detail Visual — per-step mini UI ===== */

/* Step 0: Signals → Entity */
.opv-signals {
  display: flex;
  align-items: center;
  gap: 8px;
}
.opv-sig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-family: var(--font-mono);
  color: #9ca3af;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  animation: pv-popIn 0.4s cubic-bezier(.34,1.56,.64,1) backwards;
}
.opv-sig:nth-child(1) { animation-delay: 0.05s; }
.opv-sig:nth-child(2) { animation-delay: 0.15s; }
.opv-sig:nth-child(3) { animation-delay: 0.25s; }
.opv-sig-arrow {
  color: #4b5563;
  font-size: 16px;
  animation: pv-arrowPulse 1.5s ease-in-out infinite;
}
.opv-sig--core {
  background: rgba(96,165,250,0.08);
  border-color: rgba(96,165,250,0.15);
  color: #60a5fa;
  animation-delay: 0.4s;
}
.opv-sig-icon { font-size: 16px; }

/* Step 1: Entity detail card */
.opv-entity {
  width: 100%;
  animation: pv-fadeUp 0.5s cubic-bezier(.4,0,.2,1);
}
.opv-ent-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.opv-ent-id {
  font-size: 11px;
  font-family: var(--font-dot);
  color: #60a5fa;
  background: rgba(96,165,250,0.1);
  padding: 3px 8px;
  border-radius: 4px;
}
.opv-ent-title {
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
}
.opv-ent-props {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.opv-ent-props span {
  font-size: 9px;
  font-family: var(--font-mono);
  color: #6b7280;
  padding: 3px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  animation: pv-popIn 0.35s cubic-bezier(.34,1.56,.64,1) backwards;
}
.opv-ent-props span:nth-child(1) { animation-delay: 0.1s; }
.opv-ent-props span:nth-child(2) { animation-delay: 0.2s; }
.opv-ent-props span:nth-child(3) { animation-delay: 0.3s; }
.opv-ent-props span:nth-child(4) { animation-delay: 0.4s; }

/* Step 2: State flow */
.opv-states {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.opv-st {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  color: #6b7280;
  animation: pv-popIn 0.35s cubic-bezier(.34,1.56,.64,1) backwards;
}
.opv-st:nth-child(1)  { animation-delay: 0.05s; }
.opv-st:nth-child(3)  { animation-delay: 0.15s; }
.opv-st:nth-child(5)  { animation-delay: 0.25s; }
.opv-st:nth-child(7)  { animation-delay: 0.35s; }
.opv-st:nth-child(9)  { animation-delay: 0.45s; }
.opv-st--done {
  color: #22c55e;
  border-color: rgba(34,197,94,0.15);
  background: rgba(34,197,94,0.06);
}
.opv-st--active {
  color: #60a5fa;
  border-color: rgba(96,165,250,0.25);
  background: rgba(96,165,250,0.08);
  box-shadow: 0 0 12px rgba(96,165,250,0.1);
  animation: opv-stPulse 2s ease-in-out infinite;
}
@keyframes opv-stPulse {
  0%,100% { box-shadow: 0 0 8px rgba(96,165,250,0.08); }
  50%     { box-shadow: 0 0 18px rgba(96,165,250,0.2); }
}
.opv-st--pending {
  opacity: 0.4;
}
.opv-st-line {
  width: 16px;
  height: 2px;
  background: rgba(34,197,94,0.3);
  border-radius: 1px;
}
.opv-st-line--pending {
  background: rgba(255,255,255,0.06);
}

/* Step 3: Rules */
.opv-rules {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: pv-fadeUp 0.5s cubic-bezier(.4,0,.2,1);
}
.opv-rule-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: #9ca3af;
  line-height: 2;
  flex-wrap: wrap;
}
.opv-kw {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(249,115,22,0.12);
  color: #f59e0b;
}
.opv-kw--g {
  background: rgba(34,197,94,0.1);
  color: #22c55e;
}

/* Step 4: KPIs */
.opv-kpis {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
}
.opv-kpi {
  text-align: center;
  animation: pv-popIn 0.4s cubic-bezier(.34,1.56,.64,1) backwards;
}
.opv-kpi:nth-child(1) { animation-delay: 0.1s; }
.opv-kpi:nth-child(2) { animation-delay: 0.25s; }
.opv-kpi:nth-child(3) { animation-delay: 0.4s; }
.opv-kpi-val {
  display: block;
  font-size: 22px;
  font-family: var(--font-dot);
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 2px;
}
.opv-kpi span:not(.opv-kpi-val) {
  font-size: 9px;
  font-family: var(--font-mono);
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Step 5: Trace timeline */
.opv-trace {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.opv-trace-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: #9ca3af;
  padding: 6px 0;
  border-left: 2px solid rgba(34,197,94,0.2);
  padding-left: 12px;
  animation: pv-slideIn 0.4s cubic-bezier(.4,0,.2,1) backwards;
}
.opv-trace-item:nth-child(1) { animation-delay: 0.05s; }
.opv-trace-item:nth-child(2) { animation-delay: 0.15s; }
.opv-trace-item:nth-child(3) { animation-delay: 0.25s; }
.opv-trace-item:nth-child(4) { animation-delay: 0.35s; }
.opv-trace-item:nth-child(5) { animation-delay: 0.45s; }
.opv-trace-item--last {
  border-color: rgba(34,197,94,0.5);
  color: #22c55e;
}
.opv-trace-t {
  color: #4b5563;
  min-width: 32px;
}


/* =====================================================
   FEATURES GRID
===================================================== */

.features-grid {
  position: relative;
  padding: 140px 24px 120px;
  overflow: hidden;
}

.features-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center top,
      rgba(255,255,255,0.04),
      transparent 60%
    );
  pointer-events: none;
}

.features-grid-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.features-grid-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}

.features-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}

.features-grid-header h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.features-grid-header p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
}

/* Cards grid — 2-col Linear-style */
.features-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-grid-card {
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(.4,0,.2,1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
.feature-grid-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-grid-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 24px 64px -12px rgba(0,0,0,0.6);
}

.feature-grid-card > .section-fig {
  display: block;
  padding: 20px 24px 0;
}

/* Visual area */
.feat-visual {
  height: 190px;
  margin: 14px 18px 0;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 18px;
  transition: border-color 0.3s ease;
}
.feature-grid-card:hover .feat-visual {
  border-color: rgba(255,255,255,0.08);
}

.feature-grid-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f9fafb;
  padding: 18px 24px 0;
}
.feature-grid-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  padding: 6px 24px 0;
}

/* Tags */
.feature-grid-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 24px 22px;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}
.feature-tag--cx {
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.25);
}
.feature-tag--hub {
  background: rgba(168,85,247,0.12);
  color: #c084fc;
  border: 1px solid rgba(168,85,247,0.25);
}

/* ===== FV 1: State flow ===== */
.fv-states {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.fv-st {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-family: var(--font-mono);
  color: #6b7280;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s, border-color 0.3s;
}
.fv-st--done { color: #22c55e; border-color: rgba(34,197,94,0.15); background: rgba(34,197,94,0.05); }
.fv-st--cur { color: #60a5fa; border-color: rgba(96,165,250,0.2); background: rgba(96,165,250,0.06); }
.feature-grid-card:hover .fv-st--cur { box-shadow: 0 0 10px rgba(96,165,250,0.1); }
.fv-st-dot { width: 5px; height: 5px; border-radius: 50%; background: #6b7280; flex-shrink: 0; }
.fv-st-dot--g { background: #22c55e; }
.fv-st-dot--b { background: #60a5fa; }
.fv-st-line { width: 14px; height: 2px; background: rgba(255,255,255,0.06); border-radius: 1px; }
.fv-st-line--done { background: rgba(34,197,94,0.3); }
.fv-trace-mini {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 10px;
}
.fv-trace-r {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-family: var(--font-mono);
  color: #6b7280;
  padding: 2px 6px;
}
.feat-visual:has(.fv-states) {
  flex-direction: column;
  align-items: stretch;
}

/* ===== FV 2: Automation rules ===== */
.fv-auto { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.fv-auto-rule {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px 12px;
  transition: border-color 0.3s;
}
.feature-grid-card:hover .fv-auto-rule { border-color: rgba(255,255,255,0.08); }
.fv-auto-rule--dim { opacity: 0.35; }
.fv-auto-row {
  font-size: 10px;
  font-family: var(--font-mono);
  color: #9ca3af;
  line-height: 2;
}
.fv-kw {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(249,115,22,0.12);
  color: #f59e0b;
}
.fv-kw--g { background: rgba(34,197,94,0.1); color: #22c55e; }

/* ===== FV 3: Dashboard ===== */
.fv-dash { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.fv-dash-kpis { display: flex; gap: 12px; }
.fv-dash-kpi { flex: 1; text-align: center; }
.fv-dash-val {
  display: block;
  font-size: 15px;
  font-family: var(--font-dot);
  font-weight: 700;
  color: #f9fafb;
}
.fv-dash-kpi > span:last-child {
  font-size: 8px;
  font-family: var(--font-mono);
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fv-dash-chart { border-top: 1px solid rgba(255,255,255,0.04); padding-top: 8px; }
.fv-dash-chart svg { width: 100%; height: 36px; }
.fv-dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}
.fv-bar {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 2px 2px 0 0;
  transition: background 0.3s;
}
.fv-bar--accent { background: rgba(34,197,94,0.25); }
.feature-grid-card:hover .fv-bar { background: rgba(255,255,255,0.1); }
.feature-grid-card:hover .fv-bar--accent { background: rgba(34,197,94,0.4); }

/* ===== FV 4: Integrations ===== */
.fv-integ { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fv-integ-hub {
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.fv-integ-nodes { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; width: 100%; }
.fv-integ-n {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-family: var(--font-mono);
  color: #9ca3af;
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s, border-color 0.3s;
}
.feature-grid-card:hover .fv-integ-n { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.fv-integ-n > span:first-child { font-size: 12px; }
.fv-integ-on { width: 4px; height: 4px; border-radius: 50%; background: #22c55e; margin-left: auto; box-shadow: 0 0 4px rgba(34,197,94,0.5); }

/* ===== FV 5: Roles ===== */
.fv-roles { width: 100%; display: flex; flex-direction: column; gap: 5px; }
.fv-role {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background 0.3s;
}
.feature-grid-card:hover .fv-role { background: rgba(255,255,255,0.015); }
.fv-role--dim { opacity: 0.4; }
.fv-role-u {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: #d1d5db;
  min-width: 80px;
}
.fv-role-av {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; flex-shrink: 0;
  background: rgba(168,85,247,0.15); border: 1px solid rgba(168,85,247,0.25); color: #a855f7;
}
.fv-role-av--b { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.25); color: #3b82f6; }
.fv-role-av--g { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: #9ca3af; }
.fv-role-ps { display: flex; gap: 4px; flex: 1; }
.fv-p {
  font-size: 7px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em;
  padding: 2px 6px; border-radius: 3px; flex: 1; text-align: center;
}
.fv-p--f { background: rgba(34,197,94,0.1); color: #22c55e; border: 1px solid rgba(34,197,94,0.15); }
.fv-p--r { background: rgba(249,115,22,0.08); color: #f59e0b; border: 1px solid rgba(249,115,22,0.12); }
.fv-p--n { background: rgba(239,68,68,0.06); color: #ef4444; border: 1px solid rgba(239,68,68,0.08); opacity: 0.5; }

/* ===== FV 6: Report ===== */
.fv-report { width: 100%; }
.fv-report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-family: var(--font-mono);
  color: #6b7280;
  margin-bottom: 12px;
}
.fv-report-export {
  font-size: 9px;
  color: #60a5fa;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(96,165,250,0.08);
  border: 1px solid rgba(96,165,250,0.15);
  cursor: pointer;
  transition: background 0.3s;
}
.feature-grid-card:hover .fv-report-export { background: rgba(96,165,250,0.15); }
.fv-report-rows { display: flex; flex-direction: column; gap: 8px; }
.fv-report-r {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  font-family: var(--font-mono);
  color: #9ca3af;
}
.fv-report-r > span:first-child { min-width: 60px; }
.fv-report-r > span:last-child { min-width: 36px; text-align: right; font-weight: 600; color: #d1d5db; }
.fv-report-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  overflow: hidden;
}
.fv-report-fill { height: 100%; border-radius: 3px; transition: width 0.8s cubic-bezier(.4,0,.2,1); }
.fv-report-fill--g { background: #22c55e; }
.fv-report-fill--b { background: #3b82f6; }
.fv-report-fill--p { background: #a855f7; }


/* =====================================================
   IMPACT METRICS
===================================================== */

.impact-new {
  position: relative;
  padding: 120px 32px;
  overflow: hidden;
}
.impact-new::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.03), transparent 60%);
  pointer-events: none;
}
.impact-new-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

/* Header */
.impact-new-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.impact-new-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.impact-new-header h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.impact-new-header p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
}

/* Grid — 2 columns */
.impact-new-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Card */
.impact-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(24px);
}
.impact-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.impact-card .section-fig {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
}

/* Color accents */
.impact-card--cx { border-top: 2px solid rgba(34,197,94,0.4); }
.impact-card--cx:hover { border-color: rgba(34,197,94,0.3); }
.impact-card--hub { border-top: 2px solid rgba(168,85,247,0.4); }
.impact-card--hub:hover { border-color: rgba(168,85,247,0.3); }
.impact-card--neutral { border-top: 2px solid rgba(255,255,255,0.12); }

/* Visual area */
.impact-visual {
  height: 200px;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.impact-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02), transparent 70%);
  pointer-events: none;
}

/* Info area */
.impact-info {
  padding: 24px;
}
.impact-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}
.impact-badge--cx { background: rgba(34,197,94,0.12); color: #4ade80; }
.impact-badge--hub { background: rgba(168,85,247,0.12); color: #c084fc; }
.impact-badge--neutral { background: rgba(255,255,255,0.06); color: var(--muted); }

.impact-number {
  display: block;
  font-family: "DotDisplay", monospace;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 6px;
  color: #f9fafb;
}
.impact-card--cx .impact-number { color: #4ade80; }
.impact-card--hub .impact-number { color: #c084fc; }
.impact-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ================================================
   IMPACT VISUALS — Animated CSS Illustrations
================================================ */

/* ---- 1. Ticket Grid (62%) ---- */
.iv-tickets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: 240px;
}
.iv-tk {
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.iv-tk--ok {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.2);
  color: #4ade80;
  animation: iv-glow-g 3s ease infinite;
}
.iv-tk--ok:nth-child(2n) { animation-delay: 1s; }
.iv-tk--ok:nth-child(3n) { animation-delay: 2s; }
.iv-tk--wait {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.2);
}
@keyframes iv-glow-g {
  0%, 100% { box-shadow: 0 0 0 rgba(34,197,94,0); }
  50% { box-shadow: 0 0 12px rgba(34,197,94,0.2); }
}
/* Hover: tickets pop */
.impact-card:hover .iv-tk--ok {
  animation-duration: 1.5s;
  background: rgba(34,197,94,0.2);
}

/* ---- 2. Clock Gauge (2.4h) ---- */
.iv-clock {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(34,197,94,0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iv-clock-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(rgba(34,197,94,0.15) 0% 75%, transparent 75%);
  -webkit-mask: radial-gradient(circle, transparent 55px, black 56px);
  mask: radial-gradient(circle, transparent 55px, black 56px);
  animation: iv-ring-rotate 10s linear infinite;
}
@keyframes iv-ring-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.iv-clock-hand {
  position: absolute;
  width: 2px;
  height: 38px;
  background: linear-gradient(to top, transparent, #4ade80);
  bottom: 50%;
  left: calc(50% - 1px);
  transform-origin: bottom center;
  animation: iv-hand-spin 6s linear infinite;
  border-radius: 1px;
}
@keyframes iv-hand-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.iv-clock-center {
  font-family: var(--font-dot, monospace);
  font-size: 22px;
  color: #4ade80;
  z-index: 1;
}
.iv-clock-center small {
  font-size: 14px;
  opacity: 0.6;
}
/* Hover: speed up */
.impact-card:hover .iv-clock-hand { animation-duration: 2s; }
.impact-card:hover .iv-clock-ring { animation-duration: 4s; }

/* ---- 3. Bar Chart (4.8x) ---- */
.iv-bars {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 140px;
}
.iv-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 56px;
}
.iv-bar-col small {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.iv-bar {
  width: 100%;
  height: var(--h, 20%);
  border-radius: 6px 6px 0 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.iv-bar span {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}
.iv-bar--mid {
  background: linear-gradient(180deg, rgba(34,197,94,0.15), rgba(34,197,94,0.05));
  border-color: rgba(34,197,94,0.15);
}
.iv-bar--mid span { color: rgba(34,197,94,0.7); }
.iv-bar--high {
  background: linear-gradient(180deg, rgba(34,197,94,0.25), rgba(34,197,94,0.08));
  border-color: rgba(34,197,94,0.25);
  animation: iv-bar-glow 3s ease infinite;
}
.iv-bar--high span { color: #4ade80; }
@keyframes iv-bar-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(34,197,94,0); }
  50% { box-shadow: 0 -4px 20px rgba(34,197,94,0.15); }
}
/* Hover: bars brighten */
.impact-card:hover .iv-bar--high { background: linear-gradient(180deg, rgba(34,197,94,0.35), rgba(34,197,94,0.12)); }

/* ---- 4. Progress Ring (89%) ---- */
.iv-ring {
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iv-ring-track {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,0.04);
}
.iv-ring-fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#a855f7 0% 89%, transparent 89%);
  -webkit-mask: radial-gradient(circle, transparent 48px, black 49px);
  mask: radial-gradient(circle, transparent 48px, black 49px);
  animation: iv-ring-pulse 4s ease infinite;
}
@keyframes iv-ring-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}
.iv-ring-center {
  font-family: var(--font-dot, monospace);
  font-size: 26px;
  color: #c084fc;
  z-index: 1;
}
.iv-ring-center small {
  font-size: 16px;
  opacity: 0.6;
}
/* Hover: glow */
.impact-card:hover .iv-ring-fill { filter: brightness(1.4); }

/* ---- 5. Portals (3) ---- */
.iv-portals {
  position: relative;
  width: 220px;
  height: 140px;
}
.iv-portal {
  position: absolute;
  width: 140px;
  height: 86px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.iv-portal:hover { transform: translateY(-4px) scale(1.02) !important; }
.iv-portal--1 {
  top: 0; left: 0;
  border-top: 2px solid rgba(34,197,94,0.4);
  z-index: 1;
  animation: iv-pfloat 5s ease infinite;
}
.iv-portal--2 {
  top: 18px; left: 40px;
  border-top: 2px solid rgba(59,130,246,0.4);
  z-index: 2;
  animation: iv-pfloat 5s ease infinite 1.2s;
}
.iv-portal--3 {
  top: 36px; left: 80px;
  border-top: 2px solid rgba(168,85,247,0.4);
  z-index: 3;
  animation: iv-pfloat 5s ease infinite 2.4s;
}
@keyframes iv-pfloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.iv-portal-dots {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}
.iv-portal-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.iv-portal-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: auto;
}
/* Hover: portals spread */
.impact-card:hover .iv-portal--1 { transform: translate(-6px, -4px); }
.impact-card:hover .iv-portal--2 { transform: translate(0, -2px); }
.impact-card:hover .iv-portal--3 { transform: translate(6px, 0); }

/* ---- 6. Node Grid (100%) ---- */
.iv-nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 140px;
}
.iv-nodes span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  animation: iv-nlight 3s ease infinite;
}
.iv-nodes span:nth-child(1) { animation-delay: 0s; }
.iv-nodes span:nth-child(2) { animation-delay: 0.12s; }
.iv-nodes span:nth-child(3) { animation-delay: 0.24s; }
.iv-nodes span:nth-child(4) { animation-delay: 0.36s; }
.iv-nodes span:nth-child(5) { animation-delay: 0.48s; }
.iv-nodes span:nth-child(6) { animation-delay: 0.6s; }
.iv-nodes span:nth-child(7) { animation-delay: 0.72s; }
.iv-nodes span:nth-child(8) { animation-delay: 0.84s; }
.iv-nodes span:nth-child(9) { animation-delay: 0.96s; }
.iv-nodes span:nth-child(10) { animation-delay: 1.08s; }
.iv-nodes span:nth-child(11) { animation-delay: 1.2s; }
.iv-nodes span:nth-child(12) { animation-delay: 1.32s; }
.iv-nodes span:nth-child(13) { animation-delay: 1.44s; }
.iv-nodes span:nth-child(14) { animation-delay: 1.56s; }
.iv-nodes span:nth-child(15) { animation-delay: 1.68s; }
.iv-nodes span:nth-child(16) { animation-delay: 1.8s; }
@keyframes iv-nlight {
  0%, 100% { background: rgba(255,255,255,0.08); box-shadow: none; }
  50% { background: rgba(255,255,255,0.3); box-shadow: 0 0 10px rgba(255,255,255,0.15); }
}
/* Hover: nodes glow brighter */
.impact-card:hover .iv-nodes span {
  animation-duration: 1.5s;
}

/* ---- Impact Mobile ---- */
@media (max-width: 768px) {
  .impact-new-grid { grid-template-columns: 1fr; }
  .impact-visual { height: 160px; }
  .impact-new-header h2 { font-size: 28px; }
  .iv-tickets { width: 200px; }
  .iv-portals { width: 180px; }
  .iv-portal { width: 120px; height: 72px; }
}


/* =====================
   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;
  transform: translateY(20px);

  filter: grayscale(1);

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

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

.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;
  transform: translateY(20px);
  filter: grayscale(1);
}

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

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

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


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

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

/* SUBMIT */
.demo-submit {
  margin-top: 6px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(180deg, #ffffff, #e5e7eb);
  color: #000;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.demo-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

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

.demo-feedback.success {
  color: #22c55e;
}

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


/* ===============================
   FOOTER · WISMIFY
================================ */

.footer {
  position: relative;
  margin-top: 120px;
  padding: 64px 24px 32px;

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

  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

/* BRAND */
.footer-brand {
  max-width: 420px;
}

.footer-logo {
  height: 28px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}

/* LINKS */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 48px;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.06);
}


/* ===============================
   COOKIE CONSENT · GLASS BLUR
================================ */

.cookie-consent {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

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


/* ===============================
   404 PAGE
================================ */

.page-404 {
  background: radial-gradient(
    1200px 600px at 50% -10%,
    rgba(255,255,255,0.06),
    transparent
  ),
  #050608;
}

.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.notfound-glass {
  position: relative;
  z-index: 2;
  padding: 56px 48px;
  max-width: 520px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

.notfound-code {
  display: block;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 12px;
}

.notfound-title {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 12px;
}

.notfound-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}

.notfound-actions {
  display: flex;
  justify-content: center;
}

.notfound-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
  pointer-events: none;
}


/* ===============================
   LEGAL PAGES
================================ */

.legal-page {
  background: #050608;
  color: rgba(255,255,255,0.85);
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 24px 120px;
}

.legal-header {
  margin-bottom: 48px;
}

.legal-header h1 {
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

.legal-section ul {
  margin: 12px 0 0 18px;
}

.legal-section li {
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.legal-footer {
  margin-top: 64px;
}

.legal-back {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.legal-back:hover {
  color: rgba(255,255,255,0.9);
}


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

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


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

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

@media (max-width: 768px) {
  .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
  }

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

/* MOBILE MENU PANEL */
.nav-mobile {
  display: none;
}

@media (max-width: 768px) {
  .nav-mobile {
    top: 56px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 90;
  }

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

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

  .nav-mobile.is-open {
    display: flex;
  }
}

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


/* =====================================================
   RESPONSIVE — MOBILE (768px)
===================================================== */

@media (max-width: 768px) {

  /* NAV */
  .navbar-center {
    display: none;
  }

  .nav-cta {
    display: none;
  }

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

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

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-products {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

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

  /* WHAT IS */
  .what-is {
    padding: 100px 16px 80px;
  }

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

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

  /* Panels stack vertically on mobile */
  .wi-panels {
    height: auto;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .wi-panel {
    position: relative;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
  .wi-panel--front.is-visible,
  .wi-panel--back.is-visible {
    animation: none;
    opacity: 1;
    transform: none !important;
  }
  .wi-panel--front:hover,
  .wi-panel--back:hover {
    transform: none !important;
  }
  .wi-panel-body--board {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .wi-action-bar {
    flex-direction: column;
  }

  .what-is-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillar-card--wide {
    grid-column: auto;
  }

  .pillar-visual {
    height: 180px;
    padding: 14px;
  }
  .pillar-card--wide .pillar-visual {
    height: 160px;
  }

  .pil-states {
    flex-wrap: wrap;
    gap: 4px;
  }
  .pil-state {
    font-size: 9px;
    padding: 4px 7px;
  }

  .pil-api-connections {
    grid-template-columns: repeat(2, 1fr);
  }

  .pil-role-user {
    min-width: 90px;
    font-size: 10px;
  }
  .pil-perm {
    font-size: 7px;
    padding: 2px 4px;
  }

  /* THE PROBLEM */
  .the-problem {
    padding: 80px 16px 80px;
  }
  .the-problem-header h2 {
    font-size: 28px;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .problem-card-visual {
    height: 160px;
  }
  .pv-email-chain {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  .pv-email-node {
    font-size: 9px;
    padding: 6px 10px;
  }

  /* PRODUCTS SHOWCASE */
  .products-showcase {
    padding: 80px 16px 100px;
  }

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

  .product-previews {
    height: 500px;
  }

  .product-window.is-front {
    transform: translate(0, 0) scale(1);
  }

  .product-window.is-back {
    transform: translate(0, 24px) scale(0.98);
  }

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

  .preview-sidebar {
    display: none;
  }

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

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

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

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

  .preview-ticket-row {
    grid-template-columns: 30px 1fr 60px;
  }

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

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

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

  .product-info-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-info h3 {
    font-size: 22px;
  }

  /* OPS FLOW */
  .ops-flow {
    padding: 100px 16px 100px;
  }

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

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

  .ops-pipeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Horizontal scrollable nodes on mobile */
  .ops-timeline {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
    padding: 0 0 8px;
    -webkit-overflow-scrolling: touch;
  }
  .ops-tl-track { display: none; }
  .ops-tl-node {
    flex-direction: column;
    flex-shrink: 0;
    padding: 8px 6px;
    text-align: center;
    gap: 6px;
    min-width: 56px;
  }
  .ops-tl-dot {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .ops-tl-dot svg {
    width: 16px;
    height: 16px;
  }
  .ops-tl-label {
    font-size: 8px;
    white-space: nowrap;
  }
  .ops-tl-num { display: none; }

  .ops-detail-inner {
    padding: 20px;
  }
  .ops-detail-head h4 {
    font-size: 16px;
  }
  .ops-detail-text {
    font-size: 13px;
  }
  .opv-signals {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .opv-kpis {
    gap: 12px;
  }
  .opv-kpi-val {
    font-size: 18px;
  }

  /* FEATURES GRID */
  .features-grid {
    padding: 80px 16px 80px;
  }
  .features-grid-header h2 {
    font-size: 28px;
  }
  .features-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feat-visual {
    height: 170px;
    padding: 14px;
  }
  .fv-integ-nodes {
    grid-template-columns: repeat(2, 1fr);
  }
  .fv-dash-kpis {
    gap: 8px;
  }
  .fv-dash-val {
    font-size: 13px;
  }

  /* IMPACT */
  .impact-new {
    padding: 80px 16px 80px;
  }

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

  .impact-new-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .impact-number {
    font-size: 32px;
  }

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

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

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

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

  /* 404 */
  .notfound-glass {
    padding: 40px 24px;
    margin: 0 16px;
  }

  .notfound-code {
    font-size: 48px;
  }

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

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