/* ==================================================================
   Perception AI (PAI) — Landing
   Master-brand flagship. Combines EGLE's typographic discipline
   (Manrope headings) with OWLE's glass + glow surfaces, on the shared
   token set. Dark only. The two product lines (PAI Chat / PAI Subtitles)
   are deliberately separated — the "redline" — via a central divider
   and per-pillar ambient glow.
================================================================== */

/* ============== LAYOUT PRIMITIVES ============== */
.pai-container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.pai-narrow { max-width: var(--maxw-narrow); }

.pai-section {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0;
  border-bottom: 1px solid var(--border);
}
.pai-section[id] { scroll-margin-top: 84px; }

.pai-section-head {
  max-width: 760px;
  margin: 0 0 clamp(48px, 6vw, 80px);
}
.pai-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.pai-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.pai-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px 1px currentColor;
}

.section-h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.04;
  color: var(--text-heading);
  margin: 18px 0 0;
  text-wrap: balance;
}
.section-sub {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 58ch;
}
.pai-section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* Reveal-on-scroll — high-end fade-up with blur (Awwwards-tier).
   Content stays visible without JS via fallback `.reveal.in` class. */
.reveal {
  transform: translateY(36px);
  opacity: 0;
  filter: blur(8px);
  transition:
    transform 0.9s var(--ease-out-expo),
    opacity 0.9s var(--ease-out-expo),
    filter 0.9s var(--ease-out-expo);
  will-change: transform, opacity, filter;
}
.reveal.in { transform: none; opacity: 1; filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; opacity: 1; filter: none; transition: none; }
}

/* ============== LOGO ============== */
.pai-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
/* Full brand lockup — gradient mark + white "PAI" */
.pai-logo-full {
  height: 30px;
  width: auto;
  display: block;
}
.pai-logo-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--primary-end));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px -6px var(--chat-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}
.pai-logo-mark svg { width: 17px; height: 17px; color: #fff; }
.pai-logo-word {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}
.pai-logo-word .ai {
  background: linear-gradient(100deg, var(--chat-accent), var(--subs-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============== NAV — Floating glass pill (logo · centered links · buttons) ============== */
.pai-nav {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: rgba(10, 10, 14, 0.62);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow:
    0 24px 60px -28px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  max-width: calc(100% - 32px);
  width: min(1180px, calc(100% - 32px));
}
.pai-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 58px;
  padding: 0 8px 0 22px;
  gap: 12px;
}
.pai-nav-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}
.pai-nav-inner > .pai-nav-links { justify-self: center; margin-left: 0; }
.pai-nav-inner > .pai-nav-right { justify-self: end; margin-left: 0; }

/* ============== PRODUCT SWITCHER — apps icon + dropdown ============== */
.pai-switcher { position: relative; }
.pai-switcher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.3s var(--ease-spring),
              border-color 0.3s var(--ease-spring),
              color 0.3s var(--ease-spring),
              transform 0.3s var(--ease-spring);
}
.pai-switcher-btn svg { width: 18px; height: 18px; display: block; }
.pai-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-heading);
}
.pai-switcher-btn[aria-expanded="true"] {
  background: var(--primary-subtle);
  border-color: var(--border-accent);
  color: var(--primary-light);
}
.pai-switcher-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  width: 340px;
  padding: 8px;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow:
    0 32px 80px -28px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.32s var(--ease-spring),
              visibility 0.32s var(--ease-spring),
              transform 0.32s var(--ease-spring);
  z-index: 51;
}
.pai-switcher.is-open .pai-switcher-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.psm-head {
  padding: 10px 12px 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-quaternary);
}
.psm-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: background 0.25s var(--ease-spring), color 0.25s var(--ease-spring);
}
.psm-item:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-heading); }
.psm-item-current {
  background: var(--primary-subtle);
  border: 1px solid var(--border-accent);
}
.psm-item-current:hover { background: rgba(19, 91, 236, 0.18); }
.psm-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.psm-mark svg { width: 22px; height: 22px; display: block; }
.psm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.psm-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}
.psm-tag {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.35;
}
.psm-chev {
  color: var(--text-quaternary);
  display: inline-flex;
  transition: transform 0.3s var(--ease-spring), color 0.3s var(--ease-spring);
}
.psm-chev svg { width: 16px; height: 16px; }
.psm-item:hover .psm-chev { color: var(--text-secondary); transform: translateX(2px); }

@media (max-width: 540px) {
  .pai-switcher-menu { width: calc(100vw - 32px); left: 0; }
}
.pai-nav-links { display: flex; align-items: center; gap: 2px; margin-left: 16px; }
.pai-nav-link {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--text-tertiary);
  border-radius: var(--radius-full);
  transition: color 0.3s var(--ease-spring), background 0.3s var(--ease-spring);
}
.pai-nav-link:hover { color: var(--text-heading); background: rgba(255, 255, 255, 0.05); }
.pai-nav-right { margin-left: 16px; display: flex; align-items: center; gap: 6px; }
.pai-nav-signin {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: color 0.3s var(--ease-spring), background 0.3s var(--ease-spring);
}
.pai-nav-signin:hover { color: var(--text-heading); background: rgba(255, 255, 255, 0.05); }
@media (max-width: 860px) {
  .pai-nav { top: 14px; }
  .pai-nav-inner { grid-template-columns: 1fr auto; padding: 0 8px 0 16px; height: 52px; }
  .pai-nav-links, .pai-nav-signin { display: none; }
}

/* ============== HERO ============== */
.pai-hero {
  position: relative;
  padding: 142px 0 100px;
  overflow: hidden;
}
.hero-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.hero-wires path { fill: none; }
.hero-wires .wire-base {
  stroke: rgba(94, 137, 245, 0.22);
  stroke-width: 1.5;
}
/* Thin gradient dash pulse moving along the path (same technique as hover energies) */
.hero-wires .wire-flow {
  animation: edgePulse 2.4s linear infinite;
  filter: drop-shadow(0 0 4px rgba(94, 165, 250, 0.85));
  stroke-linecap: round;
}
@media (prefers-reduced-motion: reduce) {
  .hero-wires .wire-flow { animation: none; opacity: 0.6; }
}
/* Cinematic backplate image (user-supplied) — under the orb wash */
.pai-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('hero-bg.png?v=1') center / cover no-repeat;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 68%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.pai-hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 720px;
  background:
    radial-gradient(38% 52% at 16% 16%, var(--chat-glow), transparent 60%),
    radial-gradient(38% 52% at 84% 18%, var(--subs-glow), transparent 62%),
    radial-gradient(42% 48% at 50% 2%, var(--wallet-glow), transparent 64%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}
/* Hero head — asymmetric 2-col split (text left, mark right) */
.pai-hero-head {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
}
.hero-text-col { min-width: 0; }
.hero-mark-col {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  background: rgba(24, 24, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 500;
}
.hero-tagline .t-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  background: var(--primary-subtle);
  color: var(--primary-light);
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pai-hero-title {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.034em;
  color: var(--text-heading);
  text-wrap: balance;
}
.pai-hero-title .accent { color: inherit; }
.pai-hero-sub {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-tertiary);
  max-width: 50ch;
}
.pai-hero-sub strong { color: var(--text-secondary); font-weight: 600; }
.pai-hero-ctas { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---- Bento: three sub-brand tiles below the hero head ---- */
.hero-bento {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
  margin-top: clamp(112px, 12vw, 160px);
}
/* Tile uses Double-Bezel: hairline outer ring via box-shadow (Doppelrand).
   Tile is a clickable anchor — navigates to its product-line section. */
.bento-tile {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  padding: clamp(26px, 2.6vw, 36px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    /* Outer bezel hairline (1px ring) */
    0 0 0 1px rgba(255, 255, 255, 0.025),
    /* Inner concentric ring (~4px out) */
    0 0 0 5px rgba(255, 255, 255, 0.015),
    /* Top edge highlight */
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    /* Diffusion shadow (background-tinted) */
    0 32px 60px -32px rgba(8, 8, 16, 0.7);
  transition:
    transform 0.7s var(--ease-out-expo),
    border-color 0.5s var(--ease-spring),
    background 0.5s var(--ease-spring),
    box-shadow 0.5s var(--ease-spring);
  will-change: transform;
}
.bento-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 5px rgba(255, 255, 255, 0.022),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 40px 70px -32px rgba(8, 8, 16, 0.85);
}
.tile-aura {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 70%;
  height: 80%;
  background: radial-gradient(60% 60% at 65% 25%, var(--tile-aura, transparent), transparent 70%);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: tileAuraDrift 9s ease-in-out infinite;
  will-change: transform;
}
.bento-tile:hover .tile-aura { opacity: 0.85; }
@keyframes tileAuraDrift {
  0%, 100% { transform: translate(0, 0); }
  50%     { transform: translate(-6%, 4%); }
}
.bento-tile[data-line="chat"]   { --tile-aura: rgba(31, 192, 171, 0.30); }
.bento-tile[data-line="subs"]   { --tile-aura: rgba(155, 108, 245, 0.30); }
.bento-tile[data-line="wallet"] { --tile-aura: rgba(125, 116, 234, 0.30); }
.bento-tile[data-line="subs"]   .tile-aura { animation-delay: -3s; }
.bento-tile[data-line="wallet"] .tile-aura { animation-delay: -6s; }

/* Energy traveling around tile border on hover (brand-tinted per data-line) */
.tile-stroke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-spring);
  overflow: visible;
  z-index: 3;
}
.bento-tile:hover .tile-stroke,
.bento-tile:focus-visible .tile-stroke { opacity: 1; }
.tile-stroke rect {
  x: 1px; y: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  animation: edgePulse 2.4s linear infinite;
}
.bento-tile[data-line="chat"]   .tile-stroke rect { stroke: url(#tileEdgeChat);   filter: drop-shadow(0 0 5px rgba(31, 192, 171, 0.85)); }
.bento-tile[data-line="subs"]   .tile-stroke rect { stroke: url(#tileEdgeSubs);   filter: drop-shadow(0 0 5px rgba(155, 108, 245, 0.85)); }
.bento-tile[data-line="wallet"] .tile-stroke rect { stroke: url(#tileEdgeWallet); filter: drop-shadow(0 0 5px rgba(125, 116, 234, 0.85)); }

/* Focus state for keyboard users (tile is an anchor) */
.bento-tile:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .tile-stroke rect { animation: none; }
}

.tile-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.tile-mark { width: 28px; height: 26px; flex-shrink: 0; animation: tileMarkBreath 5s ease-in-out infinite; will-change: transform; }
.tile-mark svg { width: 100%; height: 100%; display: block; }
@keyframes tileMarkBreath {
  0%, 100% { transform: scale(1); }
  50%     { transform: scale(1.06); }
}
.bento-tile[data-line="subs"]   .tile-mark { animation-delay: -1.5s; }
.bento-tile[data-line="wallet"] .tile-mark { animation-delay: -3s; }
.bento-tile[data-line="chat"]   .tile-mark { color: var(--chat-accent); }
.bento-tile[data-line="subs"]   .tile-mark { color: var(--subs-accent); }
.bento-tile[data-line="wallet"] .tile-mark { color: var(--wallet-accent); }

.tile-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.02em;
  color: var(--text-heading);
}
.tile-desc {
  position: relative;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-tertiary);
  margin: 0 0 22px;
  max-width: 34ch;
}
.tile-products {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tile-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 13px 0 11px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transition: background 0.3s var(--ease-spring), color 0.3s var(--ease-spring), border-color 0.3s var(--ease-spring), transform 0.3s var(--ease-spring);
}
.tile-chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.bento-tile[data-line="chat"]   .tile-chip svg { color: var(--chat-accent); }
.bento-tile[data-line="subs"]   .tile-chip svg { color: var(--subs-accent); }
.bento-tile[data-line="wallet"] .tile-chip svg { color: var(--wallet-accent); }
.tile-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-heading);
}
@media (prefers-reduced-motion: reduce) {
  .tile-aura, .tile-mark { animation: none; }
}

/* ---- Unified-platform convergence diagram (legacy — kept for safe fallback) ---- */
.uni { position: relative; z-index: 1; margin-top: -310px; }
.uni-wires {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.uni-wires path { fill: none; }
.uni-brands, .uni-core, .uni-ctas { position: relative; z-index: 1; }

/* Tier 1 — sub-brand groups, each with a labelled header + 2 product cards */
.uni-brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
.uni-brand-group { display: flex; flex-direction: column; gap: 12px; }
.uni-brand-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.uni-brand-mark { width: 22px; height: 20px; flex-shrink: 0; }
.uni-brand-mark svg { width: 100%; height: 100%; display: block; }
.uni-brand-group[data-line="chat"]   .uni-brand-mark { color: var(--chat-accent); }
.uni-brand-group[data-line="subs"]   .uni-brand-mark { color: var(--subs-accent); }
.uni-brand-group[data-line="wallet"] .uni-brand-mark { color: var(--wallet-accent); }
.uni-brand-group[data-line="chat"]   .uni-brand-head { border-bottom-color: rgba(31, 192, 171, 0.28); }
.uni-brand-group[data-line="subs"]   .uni-brand-head { border-bottom-color: rgba(155, 108, 245, 0.28); }
.uni-brand-group[data-line="wallet"] .uni-brand-head { border-bottom-color: rgba(125, 116, 234, 0.28); }
.uni-brand-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-heading);
}
.uni-brand-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.uni-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(24, 24, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 24px 60px -42px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.uni-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.16); }
.uni-card[data-line="chat"] { box-shadow: 0 24px 60px -42px rgba(0, 0, 0, 0.85), 0 0 50px -30px var(--chat-glow), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.uni-card[data-line="subs"] { box-shadow: 0 24px 60px -42px rgba(0, 0, 0, 0.85), 0 0 50px -30px var(--subs-glow), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.uni-card[data-line="wallet"] { box-shadow: 0 24px 60px -42px rgba(0, 0, 0, 0.85), 0 0 50px -30px var(--wallet-glow), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.uc-head { display: flex; align-items: center; gap: 10px; }
.uc-ic {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--bg-elevated);
  flex-shrink: 0;
}
.uc-ic svg { width: 17px; height: 17px; }
.uni-card[data-line="chat"] .uc-ic { color: var(--chat-accent); }
.uni-card[data-line="subs"] .uc-ic { color: var(--subs-accent); }
.uni-card[data-line="wallet"] .uc-ic { color: var(--wallet-accent); }
.uc-name { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--text-heading); letter-spacing: -0.01em; line-height: 1.1; }
.uc-tag { font-size: 10.5px; color: var(--text-quaternary); font-weight: 500; margin-top: 3px; letter-spacing: 0.02em; }
.uc-mock {
  position: relative;
  height: 106px;
  border-radius: 12px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 10px;
}

/* Shared mockup keyframes */
@keyframes mk-blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes wave-bar { 0%, 100% { transform: scaleY(0.35); opacity: 0.6; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes live-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.28); } 50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.05); } }
@media (prefers-reduced-motion: reduce) {
  .mk-typing i, .mk-wave span, .mk-live-pill i { animation: none !important; }
}

/* Chatbot mockup */
.mk-chat { display: flex; flex-direction: column; gap: 6px; }
.mk-bubble { max-width: 82%; font-size: 9.5px; line-height: 1.3; padding: 6px 8px; border-radius: 9px; }
.mk-bubble.in { align-self: flex-start; background: var(--bg-elevated); color: var(--text-secondary); border-bottom-left-radius: 3px; }
.mk-bubble.out { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 3px; }
.mk-typing { align-self: flex-start; display: inline-flex; gap: 3px; padding: 7px 9px; background: var(--bg-elevated); border-radius: 9px; }
.mk-typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-quaternary); animation: mk-blink 1.2s infinite; }
.mk-typing i:nth-child(2) { animation-delay: 0.2s; }
.mk-typing i:nth-child(3) { animation-delay: 0.4s; }

/* Support widget mockup */
.mk-support { display: flex; flex-direction: column; gap: 6px; height: 100%; }
.mk-sup-head { font-size: 10px; font-weight: 600; color: var(--text-heading); }
.mk-launcher {
  position: absolute; right: 8px; bottom: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px -6px var(--chat-glow);
}
.mk-launcher svg { width: 14px; height: 14px; }

/* Assistant (browser extension) mockup */
.mk-asst { display: flex; flex-direction: column; gap: 9px; }
.mk-omni { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 999px; }
.mk-dot { width: 6px; height: 6px; border-radius: 50%; }
.mk-dot.r { background: #f87171; } .mk-dot.y { background: #fbbf24; } .mk-dot.g { background: #4ade80; }
.mk-url { font-size: 9px; color: var(--text-tertiary); margin-left: 4px; }
.mk-pop { align-self: flex-end; display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; color: var(--text-secondary); background: rgba(31, 192, 171, 0.12); border: 1px solid rgba(31, 192, 171, 0.32); padding: 5px 8px; border-radius: 8px; }
.mk-spark { color: var(--chat-accent); font-size: 11px; line-height: 1; }

/* Live captioning mockup */
.mk-live {
  position: absolute; inset: 0;
  border-radius: 11px;
  background:
    radial-gradient(60% 60% at 38% 28%, rgba(125, 211, 252, 0.40), transparent 60%),
    radial-gradient(50% 60% at 82% 18%, rgba(168, 85, 247, 0.35), transparent 60%),
    linear-gradient(180deg, #0f172a, #0a0a0f);
  overflow: hidden;
}
.mk-live-pill { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 8px; font-weight: 700; letter-spacing: 0.06em; color: #fff; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.15); padding: 2px 6px; border-radius: 999px; }
.mk-live-pill i { width: 5px; height: 5px; border-radius: 50%; background: #ef4444; animation: live-pulse 1.4s infinite; }
.mk-wave { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 16px; }
.mk-wave span { width: 2px; background: rgba(255, 255, 255, 0.72); border-radius: 1px; transform-origin: bottom; animation: wave-bar 1.1s ease-in-out infinite; }
.mk-wave span:nth-child(1) { height: 40%; animation-delay: -0.0s; }
.mk-wave span:nth-child(2) { height: 80%; animation-delay: -0.15s; }
.mk-wave span:nth-child(3) { height: 55%; animation-delay: -0.3s; }
.mk-wave span:nth-child(4) { height: 95%; animation-delay: -0.45s; }
.mk-wave span:nth-child(5) { height: 50%; animation-delay: -0.6s; }
.mk-wave span:nth-child(6) { height: 75%; animation-delay: -0.75s; }
.mk-wave span:nth-child(7) { height: 35%; animation-delay: -0.9s; }
.mk-cap { position: absolute; left: 8px; right: 8px; bottom: 7px; font-size: 8.5px; text-align: center; color: #fff; background: rgba(0, 0, 0, 0.7); border-radius: 3px; padding: 3px 5px; }

/* VOD transcript mockup */
.mk-vod { display: flex; flex-direction: column; gap: 7px; }
.mk-row { display: flex; align-items: center; gap: 7px; }
.mk-ts { font-family: ui-monospace, "JetBrains Mono", monospace; font-size: 8px; color: var(--subs-accent); flex-shrink: 0; }
.mk-line { height: 5px; border-radius: 3px; background: var(--bg-elevated); flex: 1; }
.mk-row:nth-child(2) .mk-line { max-width: 70%; }
.mk-row:nth-child(3) .mk-line { max-width: 85%; }
.mk-sub { margin-top: 2px; font-size: 8.5px; text-align: center; color: #fff; background: rgba(0, 0, 0, 0.6); border-radius: 3px; padding: 3px 5px; }

/* Wallet mini-mock (hero card) */
.mk-wallet { display: flex; flex-direction: column; gap: 3px; height: 100%; }
.mk-wlabel { font-size: 8px; color: var(--text-quaternary); letter-spacing: 0.04em; }
.mk-wbal { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--text-heading); }
.mk-wcoins { display: flex; gap: 5px; margin-top: auto; }
.mk-wcoin { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.mk-wcoin.a { background: linear-gradient(135deg, #7d74ea, #135bec); }
.mk-wcoin.b { background: linear-gradient(135deg, #1fc0ab, #2f6ff0); }
.mk-wcoin.c { background: linear-gradient(135deg, #9b6cf5, #7d74ea); }

/* Trading mini-mock (hero card) */
.mk-trade { position: absolute; inset: 0; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.mk-trow { display: flex; align-items: center; gap: 5px; font-size: 8px; color: var(--text-tertiary); }
.mk-tup { margin-left: auto; color: var(--success-fg); font-weight: 700; }
.mk-tchart { flex: 1; min-height: 0; }
.mk-tchart svg { width: 100%; height: 100%; display: block; }

/* Tier 2 — capability chips */
.uni-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.uni-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -22px rgba(0, 0, 0, 0.8);
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.uni-chip:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.18); color: var(--text-heading); }
.uni-chip svg { width: 15px; height: 15px; color: var(--primary-light); }

/* Core node — sits on the right of hero text. Pseudo-3D tilt + float. */
.uni-core { display: flex; justify-content: flex-end; padding-right: 60px; margin-bottom: 40px; }
.uni-core-node {
  position: relative;
  width: clamp(200px, 22vw, 280px);
  aspect-ratio: 1;
  height: auto;
  display: grid; place-items: center;
  perspective: 1000px;
  animation: corefloat 6s ease-in-out infinite;
}
.uni-core-node svg {
  width: 100%; height: 100%;
  display: block;
  transform-origin: center;
  filter:
    drop-shadow(0 14px 32px rgba(115, 97, 214, 0.36))
    drop-shadow(0 0 24px rgba(94, 137, 245, 0.26));
  transition: transform 0.18s ease-out;
  will-change: transform;
}
/* Energy traveling along the core mark outline on hover */
.uni-core-node .core-energy {
  opacity: 0;
  transition: opacity 0.4s var(--ease-spring);
}
.uni-core-node:hover .core-energy { opacity: 1; }
.uni-core-node .core-energy path {
  animation: edgePulse 2.4s linear infinite;
  filter: drop-shadow(0 0 4px rgba(94, 165, 250, 0.95));
}
/* Unified pulse keyframe (used by hero wires, core hover, tile hover) */
@keyframes edgePulse {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -100; }
}
@media (prefers-reduced-motion: reduce) {
  .uni-core-node .core-energy path { animation: none; }
}
@keyframes corefloat {
  0%, 100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* Energy flowing along the wires from core to cards */
.uni-wires .wire-flow {
  stroke-dasharray: 4 18;
  animation: wireFlow 1.8s linear infinite;
}
@keyframes wireFlow {
  to { stroke-dashoffset: -44; }
}

@media (prefers-reduced-motion: reduce) {
  .uni-core-node { animation: none; }
  .uni-core-node svg { transform: none !important; transition: none; }
  .uni-wires .wire-flow { animation: none; }
}

/* Hero CTAs — sit after the brand groups, close the hero */
.uni-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 0;
}

@media (max-width: 980px) {
  .pai-hero { padding: 124px 0 80px; }
  /* Stack hero: mark on top, text below */
  .pai-hero-head { grid-template-columns: 1fr; gap: 32px; }
  .hero-text-col { text-align: center; }
  .hero-mark-col { order: -1; }
  .pai-hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  /* Bento collapses */
  .hero-bento { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .bento-tile { padding: 22px; border-radius: 18px; }
}
@media (max-width: 720px) {
  .uni-brand-cards { grid-template-columns: 1fr; gap: 12px; }
}

/* ============== PRODUCT-LINE SECTIONS ============== */
.pai-line {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.pai-line[id] { scroll-margin-top: 84px; }
.line-chat { --pa: var(--chat-accent); --pglow: var(--chat-glow); background: var(--bg-deep); }
.line-subs { --pa: var(--subs-accent); --pglow: var(--subs-glow); background: var(--bg-base); }
.line-wallet { --pa: var(--wallet-accent); --pglow: var(--wallet-glow); background: var(--bg-deep); }
.pai-line::before {
  content: "";
  position: absolute;
  top: -90px;
  width: 56%; height: 340px;
  background: radial-gradient(ellipse at center top, var(--pglow), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.line-chat::before { left: -6%; }
.line-subs::before { right: -6%; }
.line-wallet::before { left: 50%; transform: translateX(-50%); }
.pai-line > .pai-container { position: relative; z-index: 1; }

.line-head { max-width: 660px; margin: 0 0 64px; }
.line-kicker {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-quaternary);
}
.line-head h2 {
  margin-top: 10px;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.04;
  color: var(--text-heading);
}
.line-lede {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 56ch;
}

/* Badge (shared, accent comes from the section --pa) — larger lockup logo inside */
.pillar-logo { height: 52px; width: auto; display: block; }
.pillar-badge {
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 14px 28px;
  border-radius: var(--radius-full);
}
.line-chat   .pillar-badge { background: rgba(31, 192, 171, 0.10); border: 1px solid rgba(31, 192, 171, 0.30); box-shadow: 0 18px 40px -24px rgba(31, 192, 171, 0.55); }
.line-subs   .pillar-badge { background: rgba(155, 108, 245, 0.10); border: 1px solid rgba(155, 108, 245, 0.30); box-shadow: 0 18px 40px -24px rgba(155, 108, 245, 0.55); }
.line-wallet .pillar-badge { background: rgba(125, 116, 234, 0.10); border: 1px solid rgba(125, 116, 234, 0.30); box-shadow: 0 18px 40px -24px rgba(125, 116, 234, 0.55); }

/* Feature rows — each sub-product is its own block with a visual */
.feat-rows { display: flex; flex-direction: column; gap: 28px; }
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 8px 0;
}
.feat-row.reverse .feat-text { order: 2; }
.feat-row.reverse .feat-visual { order: 1; }

.feat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pa);
}
.feat-eyebrow .fe-ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--bg-elevated);
  color: var(--pa);
}
.feat-eyebrow .fe-ic svg { width: 18px; height: 18px; }
.feat-eg {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--pa); border: 1px solid currentColor; padding: 2px 7px; border-radius: var(--radius-full); opacity: 0.85;
}
.feat-text h3 {
  margin-top: 20px;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.06;
  color: var(--text-heading);
}
.feat-text > p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 48ch;
}
.feat-points { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.feat-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.feat-points li svg { width: 17px; height: 17px; color: var(--pa); flex-shrink: 0; margin-top: 1px; }

/* Visual frame */
.feat-visual { position: relative; }
.fv-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.022),
    0 0 0 6px rgba(255, 255, 255, 0.011),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 40px 80px -42px rgba(0, 0, 0, 0.85),
    0 0 70px -40px var(--pglow);
}
.fv-frame.fv-live { aspect-ratio: 16 / 10; background: #000; }

/* Shared mockup parts */
.fv-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; background: var(--bg-base); border-bottom: 1px solid var(--border); flex-shrink: 0; }
.fv-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.fv-dot.r { background: #f87171; } .fv-dot.y { background: #fbbf24; } .fv-dot.g { background: #4ade80; }
.fv-title { margin-left: 6px; font-size: 11px; font-weight: 600; color: var(--text-tertiary); }
.fv-bubble { display: inline-block; max-width: 80%; font-size: 12px; line-height: 1.4; padding: 8px 11px; border-radius: 12px; }
.fv-bubble.in { align-self: flex-start; background: var(--bg-elevated); color: var(--text-secondary); border-bottom-left-radius: 4px; }
.fv-bubble.out { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.fv-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 9px 11px; background: var(--bg-elevated); border-radius: 12px; }
.fv-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-quaternary); animation: mk-blink 1.2s infinite; }
.fv-typing i:nth-child(2) { animation-delay: 0.2s; }
.fv-typing i:nth-child(3) { animation-delay: 0.4s; }
.fv-skel { height: 9px; border-radius: 5px; background: var(--bg-elevated); }
.fv-skel.t { height: 15px; width: 52%; background: var(--bg-interactive); margin-bottom: 5px; }
.fv-skel.w1 { width: 92%; } .fv-skel.w2 { width: 80%; } .fv-skel.w3 { width: 86%; } .fv-skel.w4 { width: 64%; }

/* Chatbot */
.fv-chat .fv-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; overflow: hidden; }
.fv-chat .fv-input { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; height: 36px; padding: 0 6px 0 14px; background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-full); }
.fv-chat .fv-input span { font-size: 11.5px; color: var(--text-quaternary); }
.fv-chat .fv-send { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.fv-chat .fv-send svg { width: 13px; height: 13px; }

/* Support widget */
.fv-support .fv-page { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.fv-widget { position: absolute; right: 16px; bottom: 16px; width: 64%; max-width: 240px; background: var(--bg-base); border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.85); }
.fv-widget-head { height: 36px; display: flex; align-items: center; padding: 0 13px; font-size: 11.5px; font-weight: 600; color: #fff; background: var(--primary); }
.fv-widget-msgs { display: flex; flex-direction: column; gap: 7px; padding: 12px; }
.fv-widget-msgs .fv-bubble { font-size: 11px; max-width: 90%; }
.fv-widget-input { margin: 0 12px 12px; height: 30px; border: 1px solid var(--border); border-radius: var(--radius-full); display: flex; align-items: center; padding: 0 12px; font-size: 10.5px; color: var(--text-quaternary); }

/* Assistant */
.fv-asst .fv-omni { flex: 1; display: flex; align-items: center; height: 24px; margin-left: 6px; padding: 0 12px; background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-full); font-size: 10.5px; color: var(--text-tertiary); }
.fv-asst-body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
.fv-webcol { padding: 14px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--border); }
.fv-asst-panel { padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-base); }
.fv-panel-head { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--text-heading); }
.fv-spark { color: var(--pa); font-size: 13px; line-height: 1; }
.fv-asst-panel .fv-bubble { font-size: 10.5px; max-width: 100%; }

/* Live */
.fv-live .fv-video {
  position: absolute; inset: 0;
  /* Subtle vignette + radial wash so caption stays readable over video */
  background:
    radial-gradient(60% 60% at 38% 30%, rgba(125, 211, 252, 0.22), transparent 60%),
    radial-gradient(50% 60% at 80% 20%, rgba(168, 85, 247, 0.20), transparent 60%),
    linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}
.fv-videoclip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.fv-live > .fv-video,
.fv-live > .fv-livepill,
.fv-live > .fv-langpill,
.fv-live > .fv-wave,
.fv-live > .fv-caption { z-index: 1; }
.fv-livepill { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 8px; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-full); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: #fff; }
.fv-livepill i { width: 6px; height: 6px; border-radius: 50%; background: #ef4444; animation: live-pulse 1.4s infinite; }
.fv-langpill { position: absolute; top: 14px; right: 14px; height: 24px; display: inline-flex; align-items: center; padding: 0 10px; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-full); font-size: 10px; font-weight: 600; color: #fff; }
.fv-wave { position: absolute; left: 0; right: 0; bottom: 66px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 28px; }
.fv-wave span { width: 3px; background: rgba(255, 255, 255, 0.78); border-radius: 2px; transform-origin: bottom; animation: wave-bar 1.1s ease-in-out infinite; }
.fv-wave span:nth-child(1) { height: 35%; animation-delay: -0.0s; }
.fv-wave span:nth-child(2) { height: 70%; animation-delay: -0.15s; }
.fv-wave span:nth-child(3) { height: 50%; animation-delay: -0.3s; }
.fv-wave span:nth-child(4) { height: 95%; animation-delay: -0.45s; }
.fv-wave span:nth-child(5) { height: 60%; animation-delay: -0.6s; }
.fv-wave span:nth-child(6) { height: 85%; animation-delay: -0.75s; }
.fv-wave span:nth-child(7) { height: 45%; animation-delay: -0.9s; }
.fv-wave span:nth-child(8) { height: 72%; animation-delay: -1.05s; }
.fv-wave span:nth-child(9) { height: 38%; animation-delay: -1.2s; }
.fv-caption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(0, 0, 0, 0.8); color: #fff; font-size: 12.5px; line-height: 1.4; text-align: center; padding: 8px 12px; border-radius: 5px; }
.fv-caret { display: inline-block; width: 1.5px; height: 13px; background: currentColor; margin-left: 4px; vertical-align: text-bottom; animation: mk-blink 0.9s steps(1) infinite; }

/* VOD */
.fv-vod-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--bg-base); border-bottom: 1px solid var(--border); flex-shrink: 0; }
.fv-thumb { width: 46px; height: 31px; border-radius: 6px; background: linear-gradient(135deg, rgba(125, 211, 252, 0.5), rgba(168, 85, 247, 0.4)); flex-shrink: 0; }
.fv-vod-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fv-vod-name { font-size: 11.5px; font-weight: 600; color: var(--text-heading); }
.fv-vod-sub { font-size: 10px; color: var(--text-quaternary); }
.fv-badge { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--subs-accent); border: 1px solid currentColor; border-radius: 6px; padding: 2px 7px; }
.fv-vod-list { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 8px; overflow: hidden; }
.fv-cue { display: flex; gap: 11px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; }
.fv-cue.active { background: rgba(125, 211, 252, 0.10); border: 1px solid rgba(125, 211, 252, 0.3); }
.fv-cue .ts { font-family: ui-monospace, "JetBrains Mono", monospace; font-size: 10px; color: var(--subs-accent); flex-shrink: 0; }
.fv-cue .tx { flex: 1; height: 8px; border-radius: 4px; background: var(--bg-elevated); margin-top: 2px; }
.fv-cue .tx.short { max-width: 60%; }
.fv-cue.active .tx { background: var(--bg-interactive); }

/* ---- PAI Wallet pillar: real phone screenshots ---- */
.fv-frame.fv-phone-frame {
  background:
    radial-gradient(90% 90% at 50% 0%, rgba(125, 116, 234, 0.18), transparent 65%),
    radial-gradient(60% 60% at 50% 100%, rgba(131, 94, 212, 0.10), transparent 70%),
    var(--bg-surface);
  display: grid;
  place-items: center;
  padding: 20px 12px;
  overflow: hidden;
}
.fv-frame.fv-phone-frame::after {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(50% 40% at 50% 50%, rgba(131, 94, 212, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.fv-phone-stage {
  position: relative;
  z-index: 1;
  height: auto;
  width: auto;
  max-height: 92%;
  max-width: 44%;
  aspect-ratio: 9 / 19.5;
  padding: 7px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.4));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 30px 60px -25px rgba(0, 0, 0, 0.85),
    0 24px 40px -20px rgba(131, 94, 212, 0.45);
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}
.fv-phone-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(222, 216, 246, 0.55), rgba(131, 94, 212, 0.18) 35%, rgba(49, 27, 103, 0.20));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.feat-visual:hover .fv-phone-stage {
  transform: translateY(-4px) scale(1.015);
}
.fv-phone-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 30px;
  background: #050505;
}

/* Legacy fake mockup styles (unused now but kept for reference) */
.fv-wallet, .fv-trade, .fv-loyal, .fv-rwa {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 16px; gap: 12px;
  background: var(--bg-surface);
}

/* Wallet — balance card + token list */
.wl-card {
  border-radius: 14px; padding: 15px 16px;
  background: linear-gradient(135deg, rgba(125, 116, 234, 0.32), rgba(19, 91, 236, 0.16));
  border: 1px solid rgba(125, 116, 234, 0.30);
}
.wl-label { font-size: 10.5px; color: var(--text-tertiary); letter-spacing: 0.04em; }
.wl-balance { margin-top: 5px; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(20px, 3vw, 27px); letter-spacing: -0.02em; color: var(--text-heading); }
.wl-actions { margin-top: 12px; display: flex; gap: 7px; }
.wl-act { font-size: 9.5px; font-weight: 600; color: var(--text-secondary); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 4px 11px; }
.wl-tokens { display: flex; flex-direction: column; gap: 10px; padding: 0 2px; }
.wl-token { display: flex; align-items: center; gap: 10px; }
.wl-coin { width: 27px; height: 27px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.wl-coin.a { background: linear-gradient(135deg, #7d74ea, #135bec); }
.wl-coin.b { background: linear-gradient(135deg, #1fc0ab, #2f6ff0); }
.wl-name { font-size: 11.5px; font-weight: 600; color: var(--text-heading); }
.wl-sub { font-size: 9.5px; color: var(--text-quaternary); margin-top: 1px; }
.wl-val { margin-left: auto; text-align: right; }
.wl-val b { display: block; font-family: ui-monospace, "JetBrains Mono", monospace; font-size: 11.5px; font-weight: 600; color: var(--text-secondary); }
.wl-val span { font-size: 9px; color: var(--success-fg); }

/* AI Trading — sparkline + signal */
.tr-head { display: flex; align-items: center; gap: 8px; }
.tr-pair { font-size: 12px; font-weight: 700; color: var(--text-heading); }
.tr-price { margin-left: auto; font-family: ui-monospace, "JetBrains Mono", monospace; font-size: 12px; color: var(--text-heading); }
.tr-up { font-size: 10px; font-weight: 700; color: var(--success-fg); }
.tr-chart { flex: 1; min-height: 0; border-radius: 10px; background: var(--bg-deep); border: 1px solid var(--border); overflow: hidden; }
.tr-chart svg { width: 100%; height: 100%; display: block; }
.tr-signal { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 10px; font-weight: 600; color: var(--wallet-accent); background: rgba(125, 116, 234, 0.12); border: 1px solid rgba(125, 116, 234, 0.30); border-radius: 999px; padding: 4px 10px; }
.tr-signal b { color: var(--text-heading); font-weight: 700; }
.tr-btns { display: flex; gap: 8px; }
.tr-btn { flex: 1; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.tr-btn.buy { background: var(--primary); color: #fff; }
.tr-btn.sell { background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border-strong); }

/* Loyalty — points + tier progress */
.ly-top { display: flex; align-items: baseline; gap: 8px; }
.ly-pts { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--text-heading); }
.ly-pts span { font-size: 12px; font-weight: 600; color: var(--text-tertiary); margin-left: 3px; }
.ly-tier { margin-left: auto; align-self: center; font-size: 10px; font-weight: 700; color: var(--wallet-accent); border: 1px solid currentColor; border-radius: 999px; padding: 3px 9px; }
.ly-bar { height: 9px; border-radius: 999px; background: var(--bg-elevated); overflow: hidden; }
.ly-bar i { display: block; height: 100%; width: 72%; border-radius: 999px; background: linear-gradient(90deg, #7d74ea, #9b6cf5); }
.ly-scale { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--text-quaternary); }
.ly-rewards { display: flex; flex-direction: column; gap: 7px; margin-top: 2px; }
.ly-reward { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--text-secondary); background: var(--bg-base); border: 1px solid var(--border); border-radius: 9px; padding: 8px 10px; }
.ly-reward span { margin-left: auto; font-size: 9.5px; color: var(--text-quaternary); }
.ly-gift { width: 22px; height: 22px; border-radius: 7px; background: rgba(125, 116, 234, 0.16); color: var(--wallet-accent); display: grid; place-items: center; flex-shrink: 0; }
.ly-gift svg { width: 13px; height: 13px; }

/* RWA — tokenized real-world asset */
.rwa-card { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-strong); background: var(--bg-base); }
.rwa-img { height: 50%; background: linear-gradient(135deg, rgba(125, 116, 234, 0.5), rgba(31, 192, 171, 0.32)); position: relative; }
.rwa-badge { position: absolute; top: 9px; right: 9px; font-size: 9px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 6px; padding: 2px 7px; }
.rwa-body { flex: 1; padding: 11px 13px; display: flex; flex-direction: column; gap: 5px; }
.rwa-name { font-size: 12.5px; font-weight: 700; color: var(--text-heading); }
.rwa-sub { font-size: 10px; color: var(--text-quaternary); }
.rwa-row { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.rwa-val { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; color: var(--text-heading); }
.rwa-own { margin-left: auto; font-size: 9.5px; font-weight: 600; color: var(--wallet-accent); background: rgba(125, 116, 234, 0.12); border: 1px solid rgba(125, 116, 234, 0.30); border-radius: 999px; padding: 3px 9px; }

/* CTA link (shared) */
.line-cta { margin-top: 44px; }
.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.pillar-link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.pillar-link:hover { transform: translateY(-2px); border-color: var(--pa); background: var(--bg-hover); }
.pillar-link:hover svg { transform: translateX(3px); }
.pillar-link .pl-accent { color: var(--pa); }

@media (max-width: 900px) {
  .feat-row, .feat-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .feat-text { order: 2; }
  .feat-visual { order: 1; }
  .pai-line::before { width: 80%; height: 240px; }
}

/* ============== PLATFORM FOUNDATION — Asymmetric Bento ============== */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: minmax(190px, auto);
  gap: 14px;
}
/* Asymmetric distribution: tall lead, wide mid, wide tail */
.platform-grid .pcard:nth-child(1) { grid-column: 1; grid-row: span 2; }
.platform-grid .pcard:nth-child(2) { grid-column: span 2; }   /* row 1, cols 2-3 */
.platform-grid .pcard:nth-child(5) { grid-column: span 2; }   /* row 3, cols 1-2 */

.pcard {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 26px;
  padding: clamp(28px, 2.6vw, 36px);
  box-shadow:
    /* Double-bezel outer rings */
    0 0 0 1px rgba(255, 255, 255, 0.022),
    0 0 0 5px rgba(255, 255, 255, 0.012),
    /* Top highlight */
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    /* Diffusion */
    0 30px 56px -30px rgba(8, 8, 16, 0.7);
  transition:
    transform 0.7s var(--ease-out-expo),
    border-color 0.4s var(--ease-spring),
    background 0.4s var(--ease-spring);
}
/* Subtle brand-tinted aura — different hue + position per card for rhythm */
.pcard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(58% 58% at var(--tint-x, 100%) var(--tint-y, 0%), var(--tint, transparent), transparent 72%);
  opacity: 0.9;
  transition: opacity 0.4s var(--ease-spring);
  z-index: 0;
}
.pcard > * { position: relative; z-index: 1; }
.pcard:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.pcard:hover::after { opacity: 1.15; }

/* Per-card brand tint + icon coloring */
.platform-grid .pcard:nth-child(1) { --tint: rgba(94, 137, 245, 0.38);  --tint-x: 100%; --tint-y: 0%; }
.platform-grid .pcard:nth-child(2) { --tint: rgba(155, 108, 245, 0.36); --tint-x: 0%;   --tint-y: 0%; }
.platform-grid .pcard:nth-child(3) { --tint: rgba(31, 192, 171, 0.32);  --tint-x: 100%; --tint-y: 100%; }
.platform-grid .pcard:nth-child(4) { --tint: rgba(125, 116, 234, 0.36); --tint-x: 0%;   --tint-y: 100%; }
.platform-grid .pcard:nth-child(5) { --tint: rgba(94, 165, 250, 0.32);  --tint-x: 100%; --tint-y: 50%; }
.platform-grid .pcard:nth-child(6) { --tint: rgba(115, 97, 214, 0.36);  --tint-x: 0%;   --tint-y: 50%; }

.p-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--icon-color, var(--primary-light));
  border: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.platform-grid .pcard:nth-child(1) .p-icon { background: rgba(94, 137, 245, 0.14);  color: #6d9afa; border-color: rgba(94, 137, 245, 0.32); }
.platform-grid .pcard:nth-child(2) .p-icon { background: rgba(155, 108, 245, 0.14); color: #9b6cf5; border-color: rgba(155, 108, 245, 0.32); }
.platform-grid .pcard:nth-child(3) .p-icon { background: rgba(31, 192, 171, 0.14);  color: #1fc0ab; border-color: rgba(31, 192, 171, 0.32); }
.platform-grid .pcard:nth-child(4) .p-icon { background: rgba(125, 116, 234, 0.14); color: #7d74ea; border-color: rgba(125, 116, 234, 0.32); }
.platform-grid .pcard:nth-child(5) .p-icon { background: rgba(94, 165, 250, 0.14);  color: #5ea5fa; border-color: rgba(94, 165, 250, 0.32); }
.platform-grid .pcard:nth-child(6) .p-icon { background: rgba(115, 97, 214, 0.14);  color: #8c7adf; border-color: rgba(115, 97, 214, 0.32); }
.p-icon svg { width: 22px; height: 22px; }
.pcard h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--text-heading);
}
.pcard p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--text-tertiary); max-width: 44ch; }
@media (max-width: 900px) {
  .platform-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .platform-grid .pcard:nth-child(1),
  .platform-grid .pcard:nth-child(2),
  .platform-grid .pcard:nth-child(5) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
  .platform-grid { grid-template-columns: 1fr; }
}

/* ============== TRUST ============== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.trust-item h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-strong);
  margin-bottom: 16px;
}
.trust-item p { font-size: 14px; line-height: 1.6; color: var(--text-tertiary); }
.trust-disclaimer {
  margin-top: 56px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-quaternary);
  max-width: 760px;
}
@media (max-width: 880px) { .trust-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ============== FINAL CTA — Cinematic glass card with double-bezel ============== */
.pai-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 14vw, 180px) 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pai-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(44% 68% at 20% 100%, var(--chat-glow), transparent 64%),
    radial-gradient(42% 64% at 80% 0%, var(--subs-glow), transparent 62%),
    radial-gradient(40% 56% at 52% 60%, var(--wallet-glow), transparent 66%);
  opacity: 0.55;
  pointer-events: none;
}
.pai-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) clamp(32px, 5vw, 72px);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 0 6px rgba(255, 255, 255, 0.012),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 40px 80px -32px rgba(8, 8, 16, 0.75);
}
.pai-cta h2 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--text-heading);
}
.pai-cta p {
  margin: 22px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 52ch;
}
.pai-cta-actions { margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* ============== FOOTER ============== */
.pai-footer { background: var(--bg-deep); }
.pai-footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 32px 36px;
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 56px;
}
.pai-footer-brand .pai-logo { margin-bottom: 18px; }
.pai-footer-logo { height: 34px; width: auto; display: block; }
.pai-footer-tag { font-size: 14px; line-height: 1.55; color: var(--text-tertiary); max-width: 280px; }
.pai-footer-note {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-quaternary);
  border: 1px solid var(--border);
  background: var(--bg-base);
  padding: 5px 11px;
  border-radius: var(--radius-full);
}
.pai-footer-note .nd { width: 7px; height: 7px; border-radius: 50%; background: var(--success-fg); box-shadow: 0 0 9px 1px var(--success-fg); }

.pai-footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.pai-footer-col { display: flex; flex-direction: column; gap: 11px; }
.pai-footer-col-wide { gap: 14px; }

/* Horizontal brand-mark pill row — Across Perception AI */
.pai-footer-marks { display: flex; flex-wrap: wrap; gap: 8px; }
.pai-fm {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background 0.4s var(--ease-spring),
              border-color 0.4s var(--ease-spring),
              color 0.3s var(--ease-spring),
              transform 0.3s var(--ease-spring);
}
.pai-fm:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-heading);
  transform: translateY(-1px);
}
.pai-fm svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }
/* Current-page indicator — master uses --primary (PAI blue) */
.pai-fm-current {
  background: var(--primary-subtle);
  border-color: var(--border-accent);
  color: var(--primary-light);
}
.pai-fm-current:hover {
  background: rgba(19, 91, 236, 0.20);
  border-color: rgba(19, 91, 236, 0.45);
  color: var(--primary-light);
}
.pai-footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-quaternary);
  margin: 0 0 4px;
}
.pai-footer-col a { font-size: 14px; color: var(--text-secondary); transition: color 0.15s ease; }
.pai-footer-col a:hover { color: var(--text-heading); }

.pai-footer-bottom { border-top: 1px solid var(--border); }
.pai-footer-bottom-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-quaternary);
}
.pai-footer-social { display: flex; align-items: center; gap: 4px; }
.pai-footer-social a {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  color: var(--text-tertiary);
  transition: color 0.15s ease, background 0.15s ease;
}
.pai-footer-social a:hover { color: var(--text-heading); background: var(--bg-hover); }
.pai-footer-social svg { width: 16px; height: 16px; }

@media (max-width: 880px) {
  .pai-footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .pai-footer-grid { grid-template-columns: 1fr 1fr; }
  .pai-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ============== RESPONSIVE TUNING ============== */
@media (max-width: 720px) {
  .pai-container, .pai-nav-inner, .pai-footer-inner, .pai-footer-bottom-inner { padding-left: 20px; padding-right: 20px; }
  .pai-section { padding: 84px 0; }
  .pai-pillars { padding-top: 84px; padding-bottom: 84px; }
  .pai-section-head { margin-bottom: 44px; }
}

/* ============== PREMIUM PRODUCT LINE MOCKUPS (fc-*) - ported from PAI Chat ============== */
.fc-frame {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(31, 192, 171, 0.08), transparent 70%),
    rgba(10, 10, 14, 0.78);
}
:root[data-theme="light"] .fc-frame {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(31, 192, 171, 0.06), transparent 70%),
    rgba(255, 255, 255, 0.82);
}
.fc-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none; opacity: 0.7; z-index: 0;
}
.fc-frame > *:not(.fc-grid) { position: relative; z-index: 1; }

.fc-mono { font-family: 'Geist Mono', ui-monospace, "JetBrains Mono", monospace; font-size: 9.5px; font-weight: 600; color: var(--text-quaternary); letter-spacing: 0.14em; text-transform: uppercase; }
.fc-avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, rgba(31, 192, 171, 0.95), rgba(0, 122, 104, 0.95)); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: -0.01em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); flex-shrink: 0; }
.fc-avatar--sm { width: 22px; height: 22px; font-size: 10px; }
.fc-mini-avatar { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(31, 192, 171, 0.18); border: 1px solid rgba(31, 192, 171, 0.32); color: #7df0e0; font-size: 9.5px; font-weight: 700; letter-spacing: -0.01em; flex-shrink: 0; }
.fc-online { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #4ade80; margin-right: 5px; box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.18); animation: fc-pulse 2.4s cubic-bezier(0.32, 0.72, 0, 1) infinite; vertical-align: 1px; }
@keyframes fc-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.85); } }

.fc-row { display: flex; align-items: flex-end; gap: 8px; opacity: 0; transform: translateY(6px); animation: fc-row-in 600ms cubic-bezier(0.32, 0.72, 0, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes fc-row-in { to { opacity: 1; transform: translateY(0); } }
.fc-row--out { justify-content: flex-end; }

.fc-msg { max-width: 78%; padding: 9px 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 14px; border-bottom-left-radius: 4px; font-size: 12px; line-height: 1.45; color: var(--text-secondary); }
.fc-msg--out { background: #1fc0ab; color: #fff; border-color: transparent; border-radius: 14px; border-bottom-right-radius: 4px; font-weight: 500; box-shadow: 0 6px 16px -8px rgba(31, 192, 171, 0.55); }
.fc-msg--sm { font-size: 11.5px; padding: 7px 10px; }
.fc-cite { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 3px 8px; background: rgba(31, 192, 171, 0.10); border: 1px solid rgba(31, 192, 171, 0.20); border-radius: 999px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9.5px; color: #7df0e0; letter-spacing: 0.02em; width: fit-content; }
.fc-cite svg { width: 10px; height: 10px; }
.fc-typing { display: inline-flex; gap: 4px; padding: 10px 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 14px; border-bottom-left-radius: 4px; }
.fc-typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-quaternary); animation: fc-typing 1.4s cubic-bezier(0.32, 0.72, 0, 1) infinite; }
.fc-typing i:nth-child(2) { animation-delay: 0.2s; }
.fc-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes fc-typing { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.fc-chatbot { display: flex; flex-direction: column; padding: 0; }
.fc-chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); background: rgba(255, 255, 255, 0.015); }
.fc-chat-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fc-chat-name { font-size: 12.5px; font-weight: 600; color: var(--text-heading); }
.fc-chat-meta { font-size: 10.5px; color: var(--text-quaternary); }
.fc-chat-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow: hidden; }
.fc-chat-input { display: flex; align-items: center; gap: 6px; margin: 0 14px 14px; height: 40px; padding: 0 6px 0 16px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 999px; }
.fc-input-text { flex: 1; font-size: 11.5px; color: var(--text-quaternary); letter-spacing: -0.005em; }
.fc-send { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #1fc0ab; color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1); box-shadow: 0 6px 14px -6px rgba(31, 192, 171, 0.6); }
.fc-send:active { transform: scale(0.94); }
.fc-send svg { width: 13px; height: 13px; }

.fc-support { padding: 18px; }
.fc-browser { position: absolute; inset: 18px; display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 12px; overflow: hidden; }
.fc-browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: rgba(255, 255, 255, 0.015); border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.fc-dots { display: inline-flex; gap: 5px; }
.fc-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.10); }
.fc-url { flex: 1; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 999px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9.5px; color: var(--text-tertiary); letter-spacing: 0.02em; }
.fc-url svg { width: 11px; height: 11px; color: var(--text-quaternary); }
.fc-page { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 18px; overflow: hidden; }
.fc-page-head { display: flex; flex-direction: column; gap: 6px; }
.fc-page-eyebrow { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9px; font-weight: 600; color: var(--text-quaternary); letter-spacing: 0.18em; }
.fc-page-h1 { display: block; height: 14px; width: 70%; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.fc-page-h1--short { width: 45%; }
.fc-page-body { display: flex; flex-direction: column; gap: 8px; }
.fc-skel { display: block; height: 7px; width: 100%; background: rgba(255, 255, 255, 0.035); border-radius: 3px; }
.fc-skel--90 { width: 90%; }
.fc-skel--80 { width: 80%; }
.fc-skel--60 { width: 60%; }

.fc-widget { position: absolute; right: 26px; bottom: 26px; width: 62%; max-width: 280px; background: rgba(14, 14, 16, 0.92); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(31, 192, 171, 0.12), 0 20px 40px -20px rgba(31, 192, 171, 0.35); z-index: 2; }
.fc-widget-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); background: rgba(255, 255, 255, 0.02); }
.fc-widget-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0; }
.fc-widget-name { font-size: 11.5px; font-weight: 600; color: var(--text-heading); }
.fc-widget-meta { font-size: 9.5px; color: var(--text-quaternary); }
.fc-widget-close { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(45deg, transparent 47%, rgba(255, 255, 255, 0.4) 47%, rgba(255, 255, 255, 0.4) 53%, transparent 53%), linear-gradient(-45deg, transparent 47%, rgba(255, 255, 255, 0.4) 47%, rgba(255, 255, 255, 0.4) 53%, transparent 53%), rgba(255, 255, 255, 0.04); }
.fc-widget-msgs { display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.fc-quick-row { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; opacity: 0; transform: translateY(4px); animation: fc-row-in 600ms cubic-bezier(0.32, 0.72, 0, 1) forwards; animation-delay: var(--d, 0s); }
.fc-quick { font-size: 10.5px; font-weight: 500; color: #7df0e0; padding: 4px 10px; background: rgba(31, 192, 171, 0.08); border: 1px solid rgba(31, 192, 171, 0.22); border-radius: 999px; }
.fc-widget-input { display: flex; align-items: center; gap: 6px; margin: 0 12px; height: 30px; padding: 0 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 999px; }
.fc-input-meta { font-size: 9px; padding: 1px 5px; background: rgba(255, 255, 255, 0.04); border-radius: 4px; letter-spacing: 0.04em; }
.fc-widget-foot { padding: 8px 12px 10px; text-align: center; }
.fc-widget-foot .fc-mono b { color: #7df0e0; font-weight: 600; letter-spacing: 0.06em; }

.fc-assistant { padding: 0; }
.fc-browser--full { position: absolute; inset: 0; background: transparent; border: 0; border-radius: inherit; }
.fc-browser--full .fc-browser-bar { padding: 10px 14px; }
.fc-tabs { display: inline-flex; gap: 4px; }
.fc-tab { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 0; border-radius: 6px 6px 0 0; font-size: 10px; font-weight: 500; color: var(--text-quaternary); }
.fc-tab--active { background: rgba(31, 192, 171, 0.08); color: var(--text-secondary); }
.fc-url--full { max-width: 240px; flex: 0 1 auto; }
.fc-browser-icons { display: inline-flex; gap: 6px; flex-shrink: 0; }
.fc-browser-icons i { width: 18px; height: 18px; border-radius: 4px; background: rgba(255, 255, 255, 0.04); }
.fc-ext-active { background: linear-gradient(135deg, rgba(31, 192, 171, 0.45), rgba(0, 122, 104, 0.55)) !important; box-shadow: 0 0 0 1px rgba(31, 192, 171, 0.4), 0 0 8px rgba(31, 192, 171, 0.4); }
.fc-asst-body { flex: 1; display: grid; grid-template-columns: 1fr 1.05fr; min-height: 0; background: rgba(0, 0, 0, 0.2); }
.fc-asst-page { padding: 18px; display: flex; flex-direction: column; gap: 8px; border-right: 1px dashed rgba(255, 255, 255, 0.06); overflow: hidden; }
.fc-asst-page-body { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.fc-skel--95 { width: 95% !important; }
.fc-skel--85 { width: 85% !important; }
.fc-skel--70 { width: 70% !important; }
.fc-skel--50 { width: 50% !important; }
.fc-wf-divider { height: 1px; margin: 8px 0 4px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 80%, transparent); }
.fc-wf-h2-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.fc-wf-hash { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; font-weight: 700; color: #7df0e0; opacity: 0.55; letter-spacing: 0.04em; }
.fc-wf-h2 { display: block; flex: 1; height: 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.05); max-width: 55%; }
.fc-wf-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fc-wf-list li { display: flex; align-items: center; gap: 10px; padding-left: 4px; }
.fc-wf-list li .fc-skel { flex: 1; }
.fc-wf-bullet { width: 5px; height: 5px; border-radius: 50%; background: rgba(31, 192, 171, 0.45); flex-shrink: 0; }
.fc-wf-code { margin-top: 6px; padding: 10px 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.04); border-left: 2px solid rgba(31, 192, 171, 0.45); border-radius: 6px; display: flex; flex-direction: column; gap: 5px; }
.fc-wf-code-line { display: flex; align-items: center; gap: 8px; }
.fc-wf-code-line b { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9.5px; font-weight: 600; color: #7df0e0; letter-spacing: 0.04em; flex-shrink: 0; }
.fc-wf-code-line .fc-skel { flex: 1; height: 6px; background: rgba(255, 255, 255, 0.04); }
.fc-asst-panel { padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; background: rgba(14, 14, 16, 0.78); overflow: hidden; }
.fc-asst-head { display: flex; align-items: center; gap: 8px; }
.fc-asst-mark { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, rgba(31, 192, 171, 0.95), rgba(0, 122, 104, 0.95)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.fc-asst-mark svg { width: 12px; height: 12px; }
.fc-asst-name { flex: 1; font-size: 12px; font-weight: 600; color: var(--text-heading); }
.fc-ext-tag { font-size: 8.5px !important; padding: 2px 6px; background: rgba(31, 192, 171, 0.10); border: 1px solid rgba(31, 192, 171, 0.25); border-radius: 4px; color: #7df0e0 !important; letter-spacing: 0.1em; }
.fc-asst-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.fc-action { font-size: 10.5px; padding: 4px 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 999px; color: var(--text-tertiary); }
.fc-action--active { background: rgba(31, 192, 171, 0.14); border-color: rgba(31, 192, 171, 0.32); color: #7df0e0; }
.fc-asst-out { padding: 12px 14px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px; display: flex; flex-direction: column; gap: 10px; }
.fc-asst-out-head .fc-mono { font-size: 9px; color: var(--text-quaternary); letter-spacing: 0.14em; }
.fc-asst-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fc-asst-list li { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 8px; font-size: 11px; color: var(--text-secondary); line-height: 1.45; opacity: 0; transform: translateX(-4px); animation: fc-list-in 600ms cubic-bezier(0.32, 0.72, 0, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes fc-list-in { to { opacity: 1; transform: translateX(0); } }
.fc-asst-list li b { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9.5px; font-weight: 700; color: #7df0e0; letter-spacing: 0.04em; padding-top: 1px; }
.fc-asst-cmd { margin-top: auto; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  .fc-row, .fc-quick-row, .fc-asst-list li { opacity: 1 !important; transform: none !important; animation: none !important; }
  .fc-online, .fc-typing i { animation: none !important; }
}
