/* (custom-element FOUC guard removed: deck-* unwrapped) */

/* ============================
   Font Faces
   ============================ */
@font-face {
  font-family: 'Plain';
  src: url('assets/fonts/a000.woff2') format('woff2'),
       url('assets/fonts/a001.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plain';
  src: url('assets/fonts/a002.woff2') format('woff2'),
       url('assets/fonts/a003.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plain';
  src: url('assets/fonts/a004.woff2') format('woff2'),
       url('assets/fonts/a005.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Plain';
  src: url('assets/fonts/a006.woff2') format('woff2'),
       url('assets/fonts/a007.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plain';
  src: url('assets/fonts/a008.woff2') format('woff2'),
       url('assets/fonts/a009.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Plain';
  src: url('assets/fonts/a010.woff2') format('woff2'),
       url('assets/fonts/a011.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================
   Page Load Transition
   ============================ */
body.page-loading {
  opacity: 0;
}
body {
  transition: opacity 0.3s ease;
}

/* ============================
   CSS Variables & Reset
   ============================ */
:root {
  /* Primary palette — deep greens + neutrals */
  --bg-primary: #061226;
  --bg-secondary: #092C23;
  --bg-card: #19483D;
  --bg-card-hover: #1a3a32;
  --bg-elevated: #0E1F3A;
  --text-primary: #F6F6F6;
  --text-secondary: #CDCDCD;
  --text-muted: #8a8a8a;
  --border-color: #1e2e28;
  --border-light: #2a3e36;

  /* Brand greens */
  --green-100: #60917E;
  --green-200: #286650;
  --green-300: #19483D;
  --green-400: #092C23;
  --accent: #FDFAC3;
  --accent-dim: rgba(253, 250, 195, 0.08);

  /* Secondary palette */
  --blue-light: #A2B9E2;
  --blue: #547DC5;
  --lavender: #D4C5E9;
  --mauve: #C77BC1;
  --purple: #6C4A99;
  --purple-deep: #31205A;
  --yellow: #FDFAC3;

  /* Neutrals */
  --gray-100: #F6F6F6;
  --gray-200: #E8E9E9;
  --gray-300: #CDCDCD;
  --gray-900: #061226;

  /* Semantic */
  --green: #60917E;
  --red: #f87171;
  --orange: #fb923c;

  /* Typography */
  --font: 'Plain', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Menlo', 'Consolas', monospace;

  /* Spacing & Radius */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --max-width: 1300px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.3;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

/* ============================
   Scroll Animations
   ============================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.15s; }
.fade-up.delay-2 { transition-delay: 0.3s; }
.fade-up.delay-3 { transition-delay: 0.45s; }


/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  padding: 10px 20px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 4px;
  transition: all var(--transition);
}
.btn-primary { background: #ffffff; color: #061226; border: 1px solid #ffffff; }
.btn-primary:hover { background: #f2f4f8; color: #061226; opacity: 1; transform: translateY(-1px); }
.btn-secondary { color: var(--text-secondary); }
.btn-secondary:hover { color: var(--text-primary); }
.btn-icon { font-size: 16px; }
.btn-arrow { transition: transform var(--transition); }
.btn-primary .btn-arrow { color: #061226; }
.btn-secondary:hover .btn-arrow { transform: translateX(3px); }

/* Hero buttons: white background, brand navy-blue text */
.hero .hero-buttons .btn-primary { background: #ffffff; color: #061226; }
.hero .hero-buttons .btn-primary:hover { background: #f2f4f8; color: #061226; opacity: 1; transform: translateY(-1px); }
.hero .hero-buttons .btn-secondary { background: #ffffff; color: #061226; border: 1px solid #D3D6E0; }
.hero .hero-buttons .btn-secondary:hover { background: #f2f4f8; color: #061226; border-color: #061226; }
.hero .hero-buttons .btn .btn-arrow { color: #061226; }

/* Lifetime access: metallic black button with orange text + Premium badge */
.hero .hero-buttons .btn-lifetime {
  background: linear-gradient(150deg, #3a3a40 0%, #1b1b1f 46%, #0a0a0c 100%);
  color: #EA720F;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20), inset 0 -1px 0 rgba(0, 0, 0, 0.6), 0 6px 20px -8px rgba(0, 0, 0, 0.7);
  position: relative;
}
.hero .hero-buttons .btn-lifetime:hover {
  background: linear-gradient(150deg, #45454c 0%, #212126 46%, #101013 100%);
  color: #f7a24a;
  border-color: rgba(255, 255, 255, 0.24);
}
.btn-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(90deg, #EA720F, #f7a24a);
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(234, 114, 15, 0.55);
}

/* ============================
   Hero Section
   ============================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 240px 24px 32px;
  overflow: hidden;
  background: #061226;
}
/* Full-bleed animated mountain background (DECK-style) */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: url('assets/hero-bg-field.webp') center top / cover no-repeat; }
.hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: none; }
.hero-bg-tint { display: none; }
/* Dark-blue bottom fade so the hero blends into the section after it */
.hero-image { position: relative; }
.hero-image::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(6,18,38,0) 0%, #061226 100%);
  pointer-events: none;
  z-index: 2;
}
html:not(.light) .trusted-section { background: #061226; }
/* Hero always reads on the dark mountain art, in both themes */
.hero .hero-title { color: #ffffff; }
.hero .hero-subtitle { color: rgba(255,255,255,0.82); }
.hero-bg-image {
  display: none;
}
.hero-content {
  position: relative; z-index: 1;
  text-align: left;
  max-width: var(--max-width);
  width: 100%;
  margin-bottom: 60px;
}
.hero-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 500; line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  max-width: 900px;
  color: var(--text-primary);
}
.hero-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.hero-subtitle {
  font-size: clamp(16px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 600px;
  margin: 0;
}
.hero-buttons {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-secondary {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: color var(--transition), border-color var(--transition);
}
.btn-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-image {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max-width);
  border-radius: 4px;
  overflow: hidden;
}
.hero-image-glow {
  display: none;
}
.hero-label, .hero-title, .hero-subtitle, .hero-buttons {
  opacity: 0;
  filter: blur(8px);
  animation: heroBlurIn 0.6s ease forwards;
}
.hero-label { animation-delay: 0s; }
.hero-title { animation-delay: 0.05s; }
.hero-subtitle { animation-delay: 0.2s; }
.hero-buttons { animation-delay: 0.35s; }
.hero-image {
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards;
  animation-delay: 0.5s;
}
@keyframes heroBlurIn {
  from { opacity: 0; filter: blur(8px); transform: translateY(10px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===============================================
   REALISTIC macOS VM SCREEN
   =============================================== */
.vm-screen {
  background: #1c1c1e;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

/* ---- GNOME Top Panel ---- */
.gnome-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  padding: 0 10px;
  background: #0C1B34;
  border-bottom: 1px solid #0C1B34;
  font-size: 11.5px;
  color: rgba(255,255,255,0.9);
  user-select: none;
  font-weight: 500;
}
.panel-left {
  display: flex;
  align-items: center;
  min-width: 100px;
}
.panel-activities {
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.85;
  cursor: default;
  padding: 2px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}
.panel-activities:hover {
  background: rgba(255,255,255,0.1);
}
.panel-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel-clock {
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.9;
  cursor: default;
  padding: 2px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}
.panel-clock:hover {
  background: rgba(255,255,255,0.1);
}
.panel-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 100px;
}
.panel-systray {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: default;
  transition: background 0.15s;
}
.panel-systray:hover {
  background: rgba(255,255,255,0.1);
}

/* ---- Linux Desktop ---- */
.linux-desktop {
  position: relative;
  z-index: 0;
  height: 800px;
  padding: 50px 80px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #061226;
  overflow: hidden;
}
.linux-desktop::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    225deg,
    rgba(253,250,195,0.7) 0%,
    rgba(162,185,226,0.65) 12%,
    rgba(84,125,197,0.6) 25%,
    rgba(162,185,226,0.6) 37%,
    rgba(212,197,233,0.65) 50%,
    rgba(199,123,193,0.6) 62%,
    rgba(108,74,153,0.55) 75%,
    rgba(96,145,126,0.5) 87%,
    rgba(253,250,195,0.65) 100%
  );
  background-size: 400% 400%;
  animation: heroGradientCycle 40s ease infinite;
}
.linux-desktop::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--hero-wallpaper) center / cover no-repeat;
}
@keyframes heroGradientCycle {
  0%   { background-position: 0% 0%; }
  16%  { background-position: 80% 20%; }
  33%  { background-position: 100% 60%; }
  50%  { background-position: 60% 100%; }
  66%  { background-position: 20% 80%; }
  83%  { background-position: 0% 40%; }
  100% { background-position: 0% 0%; }
}

/* ---- App Window (generic) ---- */
.app-window {
  flex: 1;
  background: #0E1F3A;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

/* ===============================================
   CHROME BROWSER WINDOW
   =============================================== */
.chrome-window {
  position: absolute;
  z-index: 1;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  max-width: 700px;
  height: calc(100% - 140px);
  background: #202124;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* Chrome Tab Strip */
.chrome-tabstrip {
  display: flex;
  align-items: center;
  height: 36px;
  background: #292b2e;
  padding: 0;
  border-bottom: none;
}
.chrome-tabs {
  display: flex;
  align-items: flex-end;
  flex: 1;
  height: 100%;
  padding: 6px 6px 0 8px;
  gap: 1px;
}
.chrome-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 30px;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  background: #35363a;
  border-radius: 4px 4px 0 0;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  max-width: 200px;
  flex-shrink: 1;
  min-width: 0;
}
.chrome-tab.active {
  background: #202124;
  color: rgba(255,255,255,0.9);
}
.chrome-tab-favicon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}
.brand-logo-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}
.chrome-tab-close {
  font-size: 14px;
  opacity: 0;
  margin-left: auto;
  padding-left: 4px;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.chrome-tab:hover .chrome-tab-close { opacity: 1; }
.chrome-tab-new {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: default;
  flex-shrink: 0;
  margin-left: 4px;
  align-self: center;
}
.chrome-tab-new:hover { background: rgba(255,255,255,0.08); }
.chrome-tabstrip-controls {
  display: flex;
  align-items: center;
  gap: 0;
  padding-right: 4px;
  flex-shrink: 0;
  align-self: stretch;
  padding-top: 2px;
}

/* Chrome Toolbar */
.chrome-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 8px;
  background: #202124;
  border-bottom: 1px solid #3c3c3c;
}
.chrome-nav-buttons {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.chrome-nav-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  cursor: default;
}
.chrome-nav-btn:hover { background: rgba(255,255,255,0.08); }
.chrome-nav-btn.disabled { color: rgba(255,255,255,0.2); }
.chrome-address-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #303134;
  border-radius: 4px;
  padding: 5px 12px;
  height: 28px;
  min-width: 0;
}
.chrome-lock-icon { flex-shrink: 0; }
.chrome-url {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font);
}
.chrome-toolbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.chrome-ext-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: default;
}
.chrome-ext-icon:hover { background: rgba(255,255,255,0.08); }
.chrome-profile {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chrome-profile-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #5f6368;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
}
.chrome-menu-dots {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: default;
}
.chrome-menu-dots:hover { background: rgba(255,255,255,0.08); }

/* Chrome Bookmarks Bar */
.chrome-bookmarks {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 12px;
  background: #202124;
  border-bottom: 1px solid #3c3c3c;
  overflow: hidden;
}
.bookmark-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  padding: 2px 8px;
  border-radius: 4px;
  cursor: default;
  white-space: nowrap;
}
.bookmark-item:hover { background: rgba(255,255,255,0.06); }

/* Chrome Page Content (Google Search) */
.chrome-page {
  flex: 1;
  background: #202124;
  overflow: hidden;
  min-height: 0;
}
.google-header {
  padding: 10px 16px 0;
  border-bottom: 1px solid #3c3c3c;
}
.google-logo-sm {
  font-size: 18px;
  font-family: 'Product Sans', Arial, sans-serif;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.google-search-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #303134;
  border-radius: 4px;
  padding: 8px 16px;
  margin-bottom: 10px;
  border: 1px solid #5f6368;
}
.google-search-text {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.google-tabs {
  display: flex;
  gap: 0;
  margin: 0 -4px;
}
.google-tab {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  padding: 8px 12px;
  cursor: default;
  border-bottom: 2px solid transparent;
}
.google-tab.active {
  color: #8ab4f8;
  border-bottom-color: #8ab4f8;
}

/* Search Results */
.google-results {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.google-result {
  position: relative;
}
.google-result .result-url {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2px;
}
.google-result .result-title {
  font-size: 15px;
  color: #8ab4f8;
  margin-bottom: 3px;
  cursor: pointer;
  line-height: 1.3;
}
.google-result .result-title:hover {
  text-decoration: underline;
}
.google-result .result-snippet {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.google-result.highlighted {
  background: rgba(138, 180, 248, 0.06);
  border-left: 2px solid #8ab4f8;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  margin-left: -2px;
}
.google-result .result-selection {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  width: 3px;
  background: #8ab4f8;
  border-radius: 2px;
  animation: selectionPulse 2s ease-in-out infinite;
}
@keyframes selectionPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
/* ---- App Login Screen (shared) ---- */
.app-login {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  background: #0C1B34;
}
.app-login-inner {
  width: 220px;
  text-align: center;
}
.app-login-logo {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.login-brand-icon {
  width: 16px;
  height: 16px;
}
.app-login-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.app-login-field {
  text-align: left;
  margin-bottom: 8px;
}
.app-login-field label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.app-login-input {
  background: #0C1B34;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  font-family: var(--mono);
  min-height: 24px;
}
.app-login-pw {
  color: rgba(255,255,255,0.5);
  letter-spacing: 3px;
}
.app-login-btn {
  margin-top: 12px;
  padding: 7px 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  cursor: default;
  transition: background 0.15s;
}
.app-login-btn:hover {
  background: rgba(255,255,255,0.12);
}
.app-login-btn.logging-in {
  color: rgba(255,255,255,0.4);
}

/* Zendesk/Shopify dashboard containers */
#zd-dashboard, #sh-dashboard {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* ---- Zendesk Page (realistic Agent Workspace) ---- */
#page-zendesk { display: none; flex-direction: column; }
#page-zendesk[style*="display: block"], #page-zendesk[style=""] { display: flex !important; flex-direction: column; }

/* Zendesk top bar — dark teal like real Zendesk */
.zd-header {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  height: 32px;
  background: #17494d;
  flex-shrink: 0;
}
.zd-logo {
  font-size: 11px; font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: 5px;
  padding: 0 12px; height: 100%;
}
.vm-brand-icon {
  width: 12px;
  height: 12px;
}
.zd-nav { display: flex; height: 100%; margin-left: 8px; }
.zd-nav-item {
  font-size: 10px; color: rgba(255,255,255,0.55); cursor: default;
  padding: 0 10px; display: flex; align-items: center;
  border-bottom: 2px solid transparent; transition: all 0.15s;
}
.zd-nav-item.active { color: #fff; border-bottom-color: #fff; }

/* Zendesk body */
.zd-content { padding: 8px 12px; overflow-y: auto; flex: 1; background: #1b1b1f; }
.zd-list-header {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.8);
  margin-bottom: 6px; display: flex; align-items: center; gap: 6px;
}
.zd-count { font-size: 9px; font-weight: 500; color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); padding: 1px 5px; border-radius: 4px; }

/* Ticket list — table-like header + rows */
.zd-ticket-list { display: flex; flex-direction: column; font-size: 10px; }
.zd-ticket-list-head {
  display: flex; align-items: center; gap: 0; padding: 4px 8px;
  font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 1px solid #2a2a2a;
}
.zd-ticket-list-head span { padding: 0 4px; }
.zd-ticket-row {
  display: flex; align-items: center; gap: 0; padding: 6px 8px;
  font-size: 10px; border-bottom: 1px solid rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.6); cursor: default; transition: background 0.12s;
}
.zd-ticket-row:hover { background: rgba(255,255,255,0.03); }
.zd-ticket-row.zd-resolved { opacity: 0.35; }
.zd-ticket-row.zd-resolved .zd-t-status { background: rgba(74,222,128,0.15); color: #4ade80; }
.zd-t-id { font-weight: 600; color: #6fa8dc; min-width: 36px; font-family: var(--mono); font-size: 9px; padding: 0 4px; }
.zd-t-subject { flex: 1; color: rgba(255,255,255,0.8); padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zd-t-requester { min-width: 50px; color: rgba(255,255,255,0.45); font-size: 9px; padding: 0 4px; }
.zd-t-priority { font-size: 8px; font-weight: 600; padding: 1px 5px; border-radius: 3px; margin: 0 2px; }
.zd-pri-high { background: rgba(251,146,60,0.15); color: #fb923c; }
.zd-pri-urgent { background: rgba(248,113,113,0.15); color: #f87171; }
.zd-pri-normal { background: rgba(96,165,250,0.1); color: #60a5fa; }
.zd-t-status { font-size: 8px; font-weight: 600; padding: 1px 5px; border-radius: 3px; text-align: center; margin: 0 2px; }
.zd-st-open { background: rgba(251,191,36,0.12); color: #fbbf24; }

/* Zendesk ticket detail — properties left, conversation center */
.zd-detail-back { font-size: 9px; color: #6fa8dc; margin-bottom: 8px; cursor: default; display: flex; align-items: center; gap: 3px; }
.zd-detail-header { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.zd-detail-id { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.45); font-family: var(--mono); }
.zd-detail-subject { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); }
.zd-detail-meta {
  font-size: 9px; color: rgba(255,255,255,0.3);
  display: flex; gap: 10px; margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.zd-detail-meta strong { color: rgba(255,255,255,0.55); font-weight: 500; }
.zd-messages { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; flex: 1; overflow-y: auto; }
.zd-msg { padding: 6px 8px; border-radius: 4px; font-size: 10px; line-height: 1.5; }
.zd-msg-customer { background: rgba(255,255,255,0.025); border-left: 2px solid rgba(255,255,255,0.08); }
.zd-msg-agent { background: rgba(23,73,77,0.15); border-left: 2px solid #17494d; }
.zd-msg-name { font-size: 8px; font-weight: 600; color: rgba(255,255,255,0.4); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.03em; }
.zd-msg-text { color: rgba(255,255,255,0.7); }
.zd-reply-box { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 6px; flex-shrink: 0; }
.zd-reply-input { width: 100%; background: #0C1B34; border: 1px solid #333; border-radius: 4px; padding: 5px 8px; font-size: 10px; min-height: 24px; }
.zd-reply-ph { color: rgba(255,255,255,0.2); font-size: 10px; }
.zd-reply-text { color: rgba(255,255,255,0.75); font-size: 10px; }
.zd-reply-text::after { content: ''; display: inline-block; width: 1px; height: 10px; background: #6fa8dc; margin-left: 1px; animation: blink 0.6s step-end infinite; vertical-align: middle; }

/* ---- Shopify Page (realistic Admin) ---- */
#page-shopify { display: none; flex-direction: column; height: 100%; }
#page-shopify[style*="display: flex"] { display: flex !important; }

/* Shopify uses a dark sidebar nav + lighter main content */
.sh-header {
  display: flex; align-items: stretch; height: 100%; overflow: hidden;
  padding: 0; border-bottom: none; background: none;
}
.sh-logo {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 5px;
  padding: 10px 10px 6px;
}
/* Shopify sidebar nav */
.sh-sidebar {
  width: 120px; background: #0C1B34; border-right: 1px solid #2a2a2a;
  display: flex; flex-direction: column; flex-shrink: 0; padding: 0;
}
.sh-nav { display: flex; flex-direction: column; padding: 4px 0; gap: 0; margin-left: 0; }
.sh-nav-item {
  font-size: 10px; color: rgba(255,255,255,0.5); cursor: default;
  padding: 5px 12px; display: flex; align-items: center; gap: 6px;
  border-radius: 0; transition: background 0.12s;
}
.sh-nav-item:hover { background: rgba(255,255,255,0.04); }
.sh-nav-item.active { color: #fff; background: rgba(255,255,255,0.06); }
.sh-nav-icon { font-size: 11px; opacity: 0.5; width: 14px; text-align: center; }

/* Shopify main area */
.sh-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.sh-content { padding: 10px 14px; overflow-y: auto; flex: 1; background: #0C1B34; }
.sh-list-header {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85);
  margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.sh-count { font-size: 9px; font-weight: 500; color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 4px; }
.sh-search-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.sh-search-input {
  flex: 1;
  min-height: 24px;
  border: 1px solid #2f2f34;
  border-radius: 4px;
  background: #131317;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  color: rgba(255,255,255,0.66);
  font-size: 10px;
}
.sh-search-icon {
  display: inline-flex;
  color: rgba(255,255,255,0.38);
}
.sh-search-ph {
  color: rgba(255,255,255,0.3);
}
.sh-search-text {
  display: none;
  color: rgba(255,255,255,0.78);
  font-family: var(--mono);
}
.sh-search-count {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Order list — table style with header row */
.sh-order-list { display: flex; flex-direction: column; font-size: 10px; border: 1px solid #2a2a2a; border-radius: 4px; overflow: hidden; }
.sh-order-head {
  display: flex; align-items: center; gap: 0; padding: 5px 8px;
  font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 0.04em; background: rgba(255,255,255,0.02);
  border-bottom: 1px solid #2a2a2a;
}
.sh-order-head span { padding: 0 3px; }
.sh-order-row {
  display: flex; align-items: center; gap: 0; padding: 5px 8px;
  font-size: 10px; border-bottom: 1px solid rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.6); cursor: default; transition: background 0.12s;
}
.sh-order-row:last-child { border-bottom: none; }
.sh-order-row:hover { background: rgba(255,255,255,0.025); }
.sh-order-row.sh-highlighted { background: rgba(150,191,72,0.06); }
.sh-o-id { font-weight: 600; color: #6fa8dc; min-width: 38px; font-family: var(--mono); font-size: 9px; padding: 0 3px; }
.sh-o-customer { flex: 1; color: rgba(255,255,255,0.7); padding: 0 3px; }
.sh-o-total { min-width: 46px; color: rgba(255,255,255,0.5); font-family: var(--mono); font-size: 9px; padding: 0 3px; }
.sh-o-badge { font-size: 8px; font-weight: 600; padding: 1px 5px; border-radius: 4px; }
.sh-fulfilled { background: rgba(74,222,128,0.1); color: #4ade80; }
.sh-pending { background: rgba(251,191,36,0.1); color: #fbbf24; }
.sh-cancelled { background: rgba(248,113,113,0.15); color: #fca5a5; }
.sh-returned { background: rgba(96,165,250,0.14); color: #93c5fd; }
.sh-refunded { background: rgba(167,139,250,0.16); color: #c4b5fd; }

/* Shopify order detail */
.sh-detail-back { font-size: 9px; color: #6fa8dc; margin-bottom: 8px; cursor: default; }
.sh-detail-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sh-detail-id { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); font-family: var(--mono); }
.sh-detail-badge { font-size: 8px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.sh-detail-info { display: flex; flex-direction: column; gap: 0; background: rgba(255,255,255,0.02); border: 1px solid #2a2a2a; border-radius: 4px; overflow: hidden; }
.sh-info-row { display: flex; justify-content: space-between; font-size: 10px; padding: 6px 10px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.sh-info-row:last-child { border-bottom: none; }
.sh-info-row span { color: rgba(255,255,255,0.35); }
.sh-info-row strong { color: rgba(255,255,255,0.75); }
.sh-actions-panel {
  margin-top: 10px;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
  padding: 8px;
}
.sh-actions-title {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.sh-actions-row {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.sh-action-btn {
  font-size: 9px;
  border: 1px solid #373737;
  background: #0C1B34;
  color: rgba(255,255,255,0.75);
  border-radius: 4px;
  padding: 4px 7px;
  cursor: default;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.sh-action-btn.is-active {
  border-color: #5d8fe6;
  background: rgba(96,165,250,0.12);
  color: #cfe2ff;
}
.sh-action-btn.is-working {
  border-color: #eab308;
  background: rgba(234,179,8,0.12);
  color: #fde68a;
}
.sh-action-current {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}
.sh-activity-log {
  max-height: 72px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sh-activity-line {
  font-size: 9px;
  line-height: 1.35;
  color: rgba(255,255,255,0.58);
  font-family: var(--mono);
}

/* Agent highlight on result */
.google-result.agent-highlight {
  background: rgba(138, 180, 248, 0.08);
  border-left: 2px solid #8ab4f8;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  margin-left: -2px;
  transition: background 0.3s, border-color 0.3s;
}
.google-result.agent-copied {
  background: rgba(52, 168, 83, 0.08);
  border-left-color: #34A853;
}
.google-result .copy-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 10px;
  color: #34A853;
  padding: 2px 8px;
  background: rgba(52, 168, 83, 0.12);
  border-radius: 4px;
}

/* ---- Google Sheets Page ---- */
.sheets-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 12px;
  border-bottom: 1px solid #3c3c3c;
}
.sheets-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sheets-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.sheets-menu {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
.sheets-formula-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-bottom: 1px solid #3c3c3c;
  height: 26px;
  font-size: 11px;
  font-family: var(--mono);
}
.sheets-cell-ref {
  color: rgba(255,255,255,0.5);
  min-width: 30px;
  padding: 1px 4px;
  background: #303134;
  border-radius: 2px;
  text-align: center;
  font-size: 10px;
}
.sheets-fx {
  color: rgba(255,255,255,0.3);
  font-style: italic;
  font-size: 11px;
}
.sheets-formula-input {
  flex: 1;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
}

/* Sheets Grid */
.sheets-grid {
  flex: 1;
  font-family: var(--mono);
  font-size: 11px;
  overflow: hidden;
}
.sheets-header-row {
  display: flex;
  border-bottom: 1px solid #444;
  background: #292b2e;
}
.sheets-row {
  display: flex;
  border-bottom: 1px solid #333;
}
.sheets-row.active-row {
  background: rgba(138, 180, 248, 0.06);
}
.sheets-row-num {
  width: 30px;
  padding: 4px 6px;
  text-align: center;
  color: rgba(255,255,255,0.3);
  border-right: 1px solid #333;
  font-size: 10px;
  flex-shrink: 0;
}
.sheets-col-header {
  padding: 4px 8px;
  color: rgba(255,255,255,0.4);
  border-right: 1px solid #333;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
}
.sheets-col-header:not(.col-b):not(.col-c),
.sheets-cell.col-a {
  flex: 2;
  min-width: 0;
}
.sheets-col-header.col-b, .sheets-cell.col-b { flex: 0.7; }
.sheets-col-header.col-c, .sheets-cell.col-c { flex: 1.1; }
.sheets-cell {
  padding: 4px 8px;
  color: rgba(255,255,255,0.65);
  border-right: 1px solid #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10.5px;
  line-height: 1.6;
}
.sheets-cell.font-bold {
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  background: #292b2e;
}
.cell-link {
  color: #8ab4f8;
}
.typing-cell {
  position: relative;
}
.typing-cell::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 12px;
  background: #8ab4f8;
  margin-left: 1px;
  animation: blink 0.6s step-end infinite;
  vertical-align: middle;
}
@keyframes blink {
  50% { opacity: 0; }
}
.header-data-row .sheets-cell {
  border-bottom: 2px solid #0F9D58;
}

/* ---- AI Agent Cursor ---- */
.agent-cursor {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  gap: 0;
  transition: top 0.45s cubic-bezier(0.4, 0, 0.2, 1), left 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
  flex-direction: column;
}
.agent-cursor-arrow {
  width: 22px;
  height: 20px;
  transform: rotate(-45deg);
  transform-origin: center center;
}
.agent-label {
  font-size: 9px;
  font-weight: 500;
  color: #061226;
  background: #fdfac3;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
  margin-top: 4px;
  margin-left: 12px;
  letter-spacing: -0.3px;
}

/* Chrome minimize/restore animation */
/* Chrome minimize / Slack enter animations */
.chrome-window.minimized {
  transform: translateX(-50%) translateY(100%) scale(0.2) !important;
  opacity: 0 !important;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.slack-window.entering {
  transform: translateX(-50%) translateY(100%) scale(0.2) !important;
  opacity: 0 !important;
}
.slack-window.visible {
  transform: translateX(-50%) translateY(0) scale(1) !important;
  opacity: 1 !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* ---- Slack Window ---- */
.slack-window {
  position: absolute;
  z-index: 1;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: 66%;
  max-width: 640px;
  height: calc(100% - 126px);
  background: #1a1d21;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.slack-win-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 6px 0 12px;
  background: #1a1d21;
  border-bottom: 1px solid #333;
}
.slack-win-titlebar .window-title-left {
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.slack-win-titlebar .window-title-left svg {
  width: 14px;
  height: 14px;
}
.slack-win-body {
  display: flex;
  flex: 1;
  min-height: 0;
}
.slack-sidebar {
  width: 206px;
  background: #1a1d21;
  border-right: 1px solid #333;
  padding: 10px 0;
  flex-shrink: 0;
  overflow: hidden;
}
.slack-workspace-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding: 6px 16px 12px;
}
.slack-nav-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  padding: 12px 16px 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.slack-nav-section {
  display: flex;
  flex-direction: column;
}
.slack-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  cursor: default;
  border-radius: 0;
}
.slack-nav-item.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.slack-nav-icon {
  font-size: 13px;
  opacity: 0.5;
  width: 14px;
  text-align: center;
}
.slack-dm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555;
  display: inline-block;
}
.slack-dm-dot.online {
  background: #2BAC76;
}
.slack-chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #1a1d21;
  min-width: 0;
  min-height: 0;
}
.slack-channel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #333;
}
.slack-channel-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.slack-channel-members {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}
.slack-messages-area {
  flex: 1;
  min-height: 0;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.slack-messages-area::-webkit-scrollbar { display: none; }
.slack-message {
  display: flex;
  gap: 10px;
}
.slack-msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.agent-msg-avatar {
  background: #6366f1;
  color: #fff;
}
.slack-msg-body {
  flex: 1;
  min-width: 0;
}
.slack-msg-author {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.slack-msg-time {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
  margin-left: 6px;
}
.slack-msg-badge {
  font-size: 8px;
  padding: 1px 4px;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border-radius: 3px;
  margin-left: 4px;
  font-weight: 500;
  vertical-align: middle;
}
.slack-msg-body p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
  margin-top: 2px;
}
.slack-attachment {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid #333;
  border-radius: 4px;
  border-left: 3px solid #0F9D58;
}
.slack-attach-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.slack-attach-name {
  font-size: 12px;
  font-weight: 600;
  color: #8ab4f8;
}
.slack-attach-desc {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}
.slack-input-area {
  padding: 8px 16px 12px;
  border-top: 1px solid #333;
  flex-shrink: 0;
}
.slack-input {
  width: 100%;
  background: #222529;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 12px;
  min-height: 42px;
  position: relative;
  color: rgba(255,255,255,0.8);
  box-sizing: border-box;
}
.slack-input-placeholder {
  color: rgba(255,255,255,0.3);
  display: block;
  white-space: normal;
  line-height: 1.35;
}
.slack-input-text {
  position: relative;
  display: inline;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
  font-size: 12px;
}
.slack-input-text::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 11px;
  background: #fff;
  margin-left: 1px;
  animation: blink 0.6s step-end infinite;
  vertical-align: middle;
}

/* Window Title Bar (GNOME style - buttons on right) */
.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 6px 0 12px;
  background: #303030;
  border-bottom: 1px solid #0C1B34;
  flex-shrink: 0;
}
.window-title-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.window-controls {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.wc-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: rgba(255,255,255,0.6);
  cursor: default;
  transition: background 0.12s, color 0.12s;
}
.wc-btn:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}
.wc-close:hover {
  background: #e01b24;
  color: #fff;
}
.mini-wc .wc-btn {
  width: 24px;
  height: 24px;
}

/* ---- IDE Body ---- */
.ide-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Activity Bar */
.ide-activity-bar {
  width: 48px;
  background: #181818;
  border-right: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  gap: 2px;
  flex-shrink: 0;
}
.activity-icon {
  width: 40px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  border-radius: 4px;
  cursor: default;
  transition: color 0.15s, background 0.15s;
}
.activity-icon:hover {
  color: rgba(255,255,255,0.7);
}
.activity-icon.active {
  color: rgba(255,255,255,0.9);
}
.activity-icon.active::before {
  content: '';
  position: absolute;
  left: 0;
  width: 2px;
  height: 20px;
  background: #fff;
  border-radius: 0 2px 2px 0;
}
.activity-icon {
  position: relative;
}
.bottom-icon {
  margin-top: auto;
}
.mini-bar {
  width: 36px;
  padding: 6px 0;
}
.mini-bar .activity-icon {
  width: 30px;
  height: 28px;
}

/* Sidebar */
.ide-sidebar {
  width: 200px;
  background: #0E1F3A;
  border-right: 1px solid #2a2a2a;
  overflow: hidden;
  flex-shrink: 0;
}
.sidebar-header {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  padding: 10px 14px 6px;
}
.sidebar-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.65);
  cursor: default;
}
.sidebar-section-title svg {
  opacity: 0.5;
}
.file-tree {
  padding: 2px 0;
}
.file-tree-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 14px 2px 18px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  cursor: default;
  height: 22px;
}
.file-tree-item.indent-1 { padding-left: 28px; }
.file-tree-item.indent-2 { padding-left: 42px; }
.file-tree-item.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.file-tree-item svg {
  opacity: 0.4;
  flex-shrink: 0;
}
.file-tree-item.open svg { transform: rotate(0); }
.folder-icon { color: rgba(255,255,255,0.65); }
.file-icon {
  font-size: 8px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  flex-shrink: 0;
}
.file-icon.tsx { background: #1a4b8c; color: #60a5fa; }
.file-icon.json { background: #4a3500; color: #fbbf24; font-size: 7px; }
.file-icon.md { background: #1a3a1a; color: #4ade80; }

/* Mini sidebar */
.mini-sidebar {
  width: 150px;
}

/* ---- IDE Main Editor Area ---- */
.ide-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #0E1F3A;
}

/* Editor Tabs */
.ide-tabs {
  display: flex;
  height: 35px;
  background: #181818;
  border-bottom: 1px solid #2a2a2a;
  flex-shrink: 0;
  overflow-x: hidden;
}
.ide-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  border-right: 1px solid #2a2a2a;
  cursor: default;
  white-space: nowrap;
  height: 100%;
  transition: color 0.15s;
}
.ide-tab.active {
  background: #0E1F3A;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid #0E1F3A;
  margin-bottom: -1px;
}
.tab-file-icon {
  font-size: 8px;
  font-weight: 700;
  color: #60a5fa;
}
.tab-close {
  font-size: 14px;
  opacity: 0;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: opacity 0.15s;
}
.ide-tab:hover .tab-close { opacity: 1; }
.mini-tabs { height: 30px; }
.mini-tabs .ide-tab { padding: 0 8px; font-size: 10px; }

/* Breadcrumb */
.ide-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  border-bottom: 1px solid #2a2a2a;
  flex-shrink: 0;
}
.bc-sep { font-size: 10px; opacity: 0.4; }

/* Code Editor */
.ide-editor {
  flex: 1;
  display: flex;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 20px;
}
.editor-line-numbers {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  min-width: 44px;
  text-align: right;
  color: rgba(255,255,255,0.18);
  font-size: 12px;
  line-height: 20px;
  user-select: none;
  padding-right: 12px;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.editor-line-numbers span {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.mini-line-nums {
  min-width: 32px;
  padding-right: 8px;
  font-size: 10px;
}
.editor-code {
  flex: 1;
  padding: 10px 16px;
  overflow: hidden;
}
.code-line {
  height: 20px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  animation: lineAppear 0.35s ease forwards;
  animation-delay: calc(var(--i) * 0.06s + 0.4s);
}
@keyframes lineAppear {
  to { opacity: 1; transform: translateY(0); }
}
.ghost-line {
  opacity: 0 !important;
  animation: ghostAppear 0.5s ease forwards !important;
  animation-delay: calc(var(--i) * 0.06s + 1.2s) !important;
}
@keyframes ghostAppear {
  to { opacity: 0.35; transform: translateY(0); }
}
.tab-ghost {
  position: relative;
}
.tab-ghost::before {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  top: 0; bottom: 0;
  background: rgba(74, 222, 128, 0.06);
  border-radius: 2px;
  border-left: 2px solid rgba(74, 222, 128, 0.3);
}

/* Syntax Colors */
.code-keyword { color: #c084fc; }
.code-string { color: #86efac; }
.code-func { color: #fbbf24; }
.code-tag { color: #60a5fa; }
.code-attr { color: #f9a8d4; }

/* Status Bar */
.ide-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px;
  padding: 0 10px;
  background: #007acc;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}
.statusbar-left, .statusbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.statusbar-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  white-space: nowrap;
}
.statusbar-item.branch svg {
  opacity: 0.8;
}

/* ---- AI Chat Panel (right side) ---- */
.ide-chat-panel {
  width: 280px;
  border-left: 1px solid #2a2a2a;
  background: #0C1B34;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid #2a2a2a;
  flex-shrink: 0;
}
.chat-panel-tabs {
  display: flex;
  gap: 0;
}
.chat-panel-tab {
  font-size: 11px;
  padding: 3px 10px;
  color: rgba(255,255,255,0.4);
  cursor: default;
  border-radius: 4px;
}
.chat-panel-tab.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.chat-panel-label {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}
.chat-panel-body {
  flex: 1;
  padding: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-msg-user, .chat-msg-ai {
  display: flex;
  gap: 8px;
}
.chat-msg-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.user-avatar {
  background: #3b3b3b;
  color: rgba(255,255,255,0.7);
}
.ai-avatar {
  background: #0E1F3A;
  border: 1px solid #3a3a3a;
  color: #fff;
}
.chat-msg-content p {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}
.chat-code-block {
  margin-top: 8px;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
}
.chat-code-header {
  display: flex;
  justify-content: space-between;
  padding: 4px 8px;
  background: #0E1F3A;
  border-bottom: 1px solid #2a2a2a;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}
.chat-code-lang {
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  font-size: 9px;
}
.chat-code-body {
  padding: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}
.chat-panel-input {
  padding: 8px 12px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.chat-panel-input input {
  flex: 1;
  background: #0E1F3A;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  outline: none;
}
.chat-input-actions {
  display: flex;
  align-items: center;
}
.chat-model-badge {
  font-size: 9px;
  padding: 2px 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  color: rgba(255,255,255,0.5);
}

/* Typing effect */
.typing-effect {
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  animation: typing 2s steps(60, end) 2s forwards;
}
@keyframes typing {
  from { max-width: 0; }
  to { max-width: 100%; }
}

/* ---- GNOME Dash / Taskbar ---- */
.gnome-dash {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
}
.dash-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  border-radius: 4px;
  padding: 3px;
  transition: background 0.15s;
}
.dash-item:hover {
  background: rgba(255,255,255,0.1);
}
.dash-item svg {
  width: 34px;
  height: 34px;
}
.dash-indicator {
  width: 6px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.7);
  margin-top: 2px;
  position: absolute;
  bottom: -2px;
}
.dash-separator {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.12);
  margin: 0 2px;
}

/* ===============================================
   MINI APP WINDOWS (Feature sections)
   =============================================== */
.mini-app-window {
  background: #0E1F3A;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
}
.mini-app-window .window-titlebar {
  height: 30px;
  padding: 0 4px 0 10px;
}
.mini-app-window .window-title-left {
  font-size: 11px;
}
.mini-ide {
  min-height: 240px;
}
.mini-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ========================================
   Scaling VM Grid Animation
   ======================================== */
.feature-demo:has(.scaling-grid-demo) {
  padding: 16px 16px 16px;
}
.scaling-grid-demo {
  text-align: center;
  padding: 0;
}
.scaling-counter {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.scaling-label {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}
.scaling-vm-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: center;
  max-width: 100%;
  height: 180px;
  align-items: flex-start;
  align-content: flex-start;
  overflow: hidden;
}
.scaling-vm-cell {
  border-radius: 3px;
  overflow: hidden;
  background: #0E1F3A;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  animation: scalingVmPop 0.25s ease forwards;
  opacity: 0;
  transform: scale(0.5);
}
@keyframes scalingVmPop {
  to { opacity: 1; transform: scale(1); }
}
.scaling-vm-bar {
  height: 3px;
  background: #252525;
  display: flex;
  align-items: center;
  padding: 0 2px;
  gap: 1px;
}
.scaling-vm-dot { width: 2px; height: 2px; border-radius: 50%; }
.scaling-vm-dot.r { background: #ff5f57; }
.scaling-vm-dot.y { background: #febc2e; }
.scaling-vm-dot.g { background: #28c840; }
.scaling-vm-body {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
}
.scaling-vm-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 3px #4ade80;
}

/* Mini markdown content */
.mini-editor-content {
  flex: 1;
  padding: 12px;
  overflow: hidden;
}
.mini-markdown {
  font-size: 12px;
  line-height: 1.6;
}
.mini-md-h1 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.mini-md-h2 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-top: 10px;
  margin-bottom: 4px;
}
.mini-md-p {
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* Mini chat panel */
.mini-chat-panel {
  width: 200px;
  border-left: 1px solid #2a2a2a;
  background: #0C1B34;
  display: flex;
  flex-direction: column;
}
.mini-chat-header {
  padding: 6px 10px !important;
}
.mini-chat-header .chat-panel-tab {
  font-size: 10px;
  padding: 2px 8px;
}
.mini-chat-header .chat-panel-label {
  font-size: 9px;
}
.mini-chat-tasks {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mini-task {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
}
.mini-task-check {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 9px;
  flex-shrink: 0;
}
.mini-task-check.done {
  background: #16a34a;
  color: #fff;
}
.mini-task-check.pending {
  border: 1px solid #555;
  color: #555;
  font-size: 7px;
}
.mini-chat-input {
  padding: 6px 10px;
  border-top: 1px solid #2a2a2a;
  font-size: 9px;
  color: rgba(255,255,255,0.25);
}

/* Tab indicator */
.tab-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-top: 1px solid #2a2a2a;
  font-size: 11px;
  flex-shrink: 0;
}
.tab-key {
  padding: 2px 6px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
  animation: tabPulse 2s ease-in-out infinite;
}
@keyframes tabPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.tab-label { color: var(--text-muted); font-size: 10px; }

.tab-editor-area {
  flex: 1;
  display: flex;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 18px;
}
.tab-editor-area .editor-line-numbers {
  line-height: 18px;
  font-size: 10px;
}
.tab-editor-area .code-line {
  height: 18px;
  font-size: 11px;
}
.tab-mini-ide {
  min-height: 280px;
}

/* ============================
   Trusted By Section
   ============================ */
.trusted-section {
  padding: 48px 24px 100px;
  text-align: center;
}
.trusted-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 50px;
}
.logo-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 56px;
  padding: 0 64px;
}
.cl-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  display: block;
  justify-self: center;
}
.cl-logo-sm {
  height: 48px;
}

/* ============================
   Marquee Statement Section
   ============================ */
.marquee-statement {
  padding: 80px 24px 0;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
}
.marquee-title {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-align: center;
  width: 100%;
}
.mobile-br { display: none; }
@media (max-width: 768px) {
  .marquee-statement { padding: 60px 16px 0; }
  .marquee-title { font-size: clamp(22px, 6vw, 36px); }
  .mobile-br { display: block; }
}

/* ============================
   Agent Grid
   ============================ */
.agent-grid-section {
  padding: 60px 0 80px;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.agent-grid-section::before,
.agent-grid-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}
.agent-grid-section::before { left: 0; background: linear-gradient(to right, var(--bg-primary) 20%, transparent); }
.agent-grid-section::after { right: 0; background: linear-gradient(to left, var(--bg-primary) 20%, transparent); }
.agent-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 0 24px;
}
.ag-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: agTileIn 0.4s ease forwards;
  height: 110px;
  box-sizing: border-box;
}
@keyframes agTileIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.ag-tile-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ag-tile-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: contain;
}
.ag-tile-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.ag-tile-app {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ag-tile-task {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ag-tile-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ag-tile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ag-dot-running {
  background: #F68D2E;
  animation: agDotPulse 1.2s ease-in-out infinite;
}
.ag-dot-done {
  background: #60917E;
  animation: none;
}
@keyframes agDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.ag-tile-state {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.ag-tile-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
  overflow: hidden;
}
.ag-tile-progress {
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  transition: width 0.4s ease;
}
.ag-tile-done .ag-tile-progress {
  background: #60917E;
}
.ag-tile-done .ag-tile-state {
  color: #60917E;
}
.ag-tile-exit {
  animation: agTileOut 0.3s ease forwards;
}
@keyframes agTileOut {
  to { opacity: 0; transform: scale(0.95); }
}
.ag-tile-enter {
  animation: agTileIn 0.4s ease forwards;
}
@media (max-width: 1024px) {
  .agent-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .agent-grid-section { padding: 40px 0 50px; }
  .agent-grid-section::before,
  .agent-grid-section::after { width: 80px; }
  .agent-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 0 16px; }
  .ag-tile { padding: 12px; gap: 8px; height: 88px; border-radius: 4px; }
  .ag-tile:nth-child(n+11) { display: none; }
  .ag-tile-icon { width: 22px; height: 22px; border-radius: 4px; }
  .ag-tile-header { gap: 8px; }
  .ag-tile-app { font-size: 11px; }
  .ag-tile-task { font-size: 10px; }
  .ag-tile-state { font-size: 9px; }
  .ag-tile-dot { width: 5px; height: 5px; }
}

/* ============================
   Scrolling Use Cases
   ============================ */
.use-cases-scroll {
  padding: 48px 0;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  overflow: hidden;
}
.scroll-track-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.scroll-track {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
  mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
}
.scroll-items {
  display: flex;
  gap: 12px;
  width: max-content;
}
.row-left .scroll-items {
  animation: scrollLeft 40s linear infinite;
}
.row-right .scroll-items {
  animation: scrollRight 40s linear infinite;
}
.scroll-card {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s;
}
.scroll-card:hover {
  border-color: rgba(61, 153, 112, 0.3);
  color: var(--text-primary);
}
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 3)); }
}
@keyframes scrollRight {
  0% { transform: translateX(calc(-100% / 3)); }
  100% { transform: translateX(0); }
}
@media (max-width: 768px) {
  .scroll-card { padding: 10px 18px; font-size: 13px; }
  .scroll-track::before,
  .scroll-track::after { width: 60px; }
}

/* ============================
   Pillars Section
   ============================ */
.pillars-section {
  padding: 100px 24px 0;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
}
.pillars-title {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 32px;
  max-width: 600px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pillar-card {
  overflow: hidden;
}
.pillar-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pillar-body {
  padding: 20px 4px;
}
.pillar-heading {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.pillar-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 400px;
}
@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillars-title { font-size: clamp(24px, 6vw, 36px); }
}

/* Auth pillar animation */
.auth-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 24px;
  z-index: 2;
  position: relative;
}
.auth-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.auth-app-cycle {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}
.auth-app {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: authAppCycle 12s ease-in-out infinite;
}
.auth-app-0 { animation-delay: 0s; }
.auth-app-1 { animation-delay: 3s; }
.auth-app-2 { animation-delay: 6s; }
.auth-app-3 { animation-delay: 9s; }
@keyframes authAppCycle {
  0%   { opacity: 0; transform: translateY(6px); }
  4%   { opacity: 1; transform: translateY(0); }
  21%  { opacity: 1; transform: translateY(0); }
  25%  { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 0; }
}
.auth-connector {
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}
.auth-pulse {
  position: absolute;
  top: -1px;
  left: 0;
  width: 8px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  animation: authPulseMove 3s ease-in-out infinite;
}
@keyframes authPulseMove {
  0%   { left: 0; opacity: 0; }
  15%  { opacity: 1; }
  50%  { left: calc(100% - 8px); opacity: 1; }
  65%  { left: calc(100% - 8px); opacity: 0; }
  100% { left: 0; opacity: 0; }
}
.auth-app svg {
  width: 28px;
  height: 28px;
}
.auth-app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.auth-deck-icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--bg-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-deck-icon img {
  height: 12px;
  opacity: 0.9;
}

/* Operate pillar animation */
.operate-animation {
  position: relative;
  width: 92%;
  max-width: 340px;
  z-index: 2;
}
.operate-window {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0C1B34;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.operate-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #222524;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.operate-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.operate-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.operate-address {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
  overflow: hidden;
  white-space: nowrap;
}
.operate-lock { flex-shrink: 0; }
.operate-body {
  display: flex;
  min-height: 200px;
}
.operate-sidebar {
  width: 80px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #1e2120;
}
.operate-nav-group {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.operate-nav-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 8px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
  transition: background 0.2s;
}
.op-nav-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.operate-nav-item.active {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}
.operate-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.operate-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.operate-page-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.operate-actions {
  display: flex;
  gap: 4px;
}
.operate-table {
  flex: 1;
}
.operate-table-header {
  display: grid;
  grid-template-columns: 48px 40px 1fr 52px 48px;
  gap: 0;
  padding: 5px 10px;
  font-size: 7px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
}
.operate-table-row {
  display: grid;
  grid-template-columns: 48px 40px 1fr 52px 48px;
  gap: 0;
  padding: 5px 10px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.3s;
  align-items: center;
}
.operate-order-id {
  color: #547DC5;
  font-weight: 500;
}
.op-col-total {
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-right: 4px;
}
.operate-status {
  font-size: 7px;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
  white-space: nowrap;
}
.operate-status-pending {
  color: #fdfac3;
  background: rgba(253, 250, 195, 0.1);
}
.operate-status-paid {
  color: #28c840;
  background: rgba(40, 200, 64, 0.08);
}
.operate-status-shipped {
  color: #A2B9E2;
  background: rgba(162, 185, 226, 0.08);
}
.operate-row-0 { animation: operateRowHighlight 15s ease infinite; }
.operate-row-1 { animation: operateRowHighlight 15s ease 3s infinite; }
.operate-row-2 { animation: operateRowHighlight 15s ease 6s infinite; }
.operate-row-3 { animation: operateRowHighlight 15s ease 9s infinite; }
.operate-row-4 { animation: operateRowHighlight 15s ease 12s infinite; }
@keyframes operateRowHighlight {
  0%   { background: transparent; }
  4%   { background: rgba(84, 125, 197, 0.06); }
  16%  { background: rgba(84, 125, 197, 0.06); }
  20%  { background: transparent; }
  100% { background: transparent; }
}
.operate-cursor {
  position: absolute;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  transform: rotate(-45deg);
  transform-origin: 7px 2px;
  z-index: 10;
  animation: operateCursorMove 15s ease-in-out infinite;
}
@keyframes operateCursorMove {
  0%,  2%  { top: 88px;  left: 200px; }
  4%       { top: 88px;  left: 210px; }
  18%      { top: 88px;  left: 210px; }
  22%      { top: 108px; left: 200px; }
  38%      { top: 108px; left: 200px; }
  42%      { top: 128px; left: 212px; }
  58%      { top: 128px; left: 212px; }
  62%      { top: 148px; left: 204px; }
  78%      { top: 148px; left: 204px; }
  82%      { top: 168px; left: 208px; }
  96%      { top: 168px; left: 208px; }
  100%     { top: 88px;  left: 200px; }
}

/* Extract pillar animation */
.extract-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 40px;
  z-index: 2;
  position: relative;
  width: 100%;
  max-width: 280px;
}
.extract-raw {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.extract-raw-line {
  font-size: 9px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(255, 255, 255, 0.7);
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  opacity: 0;
  animation: extractLineIn 8s ease infinite;
}
.extract-raw-dim {
  color: rgba(255, 255, 255, 0.4);
}
.extract-line-0 { animation-delay: 0s; }
.extract-line-1 { animation-delay: 0.3s; }
.extract-line-2 { animation-delay: 0.6s; }
.extract-line-3 { animation-delay: 0.9s; }
@keyframes extractLineIn {
  0%   { opacity: 0; transform: translateX(-4px); }
  8%   { opacity: 1; transform: translateX(0); }
  80%  { opacity: 1; transform: translateX(0); }
  90%  { opacity: 0; }
  100% { opacity: 0; }
}
.extract-arrow {
  flex-shrink: 0;
  opacity: 0;
  transform: rotate(90deg);
  animation: extractArrowPulse 8s ease infinite;
  animation-delay: 1.2s;
}
@keyframes extractArrowPulse {
  0%   { opacity: 0; }
  5%   { opacity: 0.6; }
  70%  { opacity: 0.6; }
  82%  { opacity: 0; }
  100% { opacity: 0; }
}
.extract-json {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(61, 153, 112, 0.2);
  border-radius: 4px;
  padding: 10px 12px;
}
.extract-json-line {
  font-size: 8px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  line-height: 1.6;
  opacity: 0;
  animation: extractJsonIn 8s ease infinite;
}
.extract-json-0 { animation-delay: 1.4s; }
.extract-json-1 { animation-delay: 1.6s; }
.extract-json-2 { animation-delay: 1.8s; }
.extract-json-3 { animation-delay: 2.0s; }
.extract-json-4 { animation-delay: 2.2s; }
.extract-json-5 { animation-delay: 2.4s; }
@keyframes extractJsonIn {
  0%   { opacity: 0; transform: translateY(2px); }
  5%   { opacity: 1; transform: translateY(0); }
  72%  { opacity: 1; }
  82%  { opacity: 0; }
  100% { opacity: 0; }
}
.ej-brace { color: rgba(255, 255, 255, 0.5); }
.ej-key { color: var(--accent); }
.ej-colon { color: rgba(255, 255, 255, 0.4); margin: 0 2px; }
.ej-str { color: var(--green-100); }
.ej-num { color: var(--blue-light); }
.ej-comma { color: rgba(255, 255, 255, 0.35); }

/* ============================
   Authentication Section
   ============================ */
.auth-section {
  padding: 120px 24px 0;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
}
.auth-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.auth-title {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0;
}
.auth-subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  max-width: 550px;
  margin: 0;
}

/* Stage — embed + vault side by side */
.auth-stage {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  padding: 40px 40px 56px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(25, 72, 61, 0.45), transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(253, 250, 195, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.auth-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}
.auth-embed-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
  padding-left: 2px;
}
.auth-embed-caption-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-100);
  box-shadow: 0 0 6px rgba(96, 145, 126, 0.6);
}
.auth-embed-caption-dot-yellow {
  background: var(--accent);
  box-shadow: 0 0 6px rgba(253, 250, 195, 0.5);
}

/* Dark-mode Auth Component embed */
.auth-embed-wrap {
  display: flex;
  flex-direction: column;
}
.auth-embed {
  position: relative;
  flex: 1;
  background: #161A19;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 22px 22px 16px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.01) inset;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.auth-embed-view {
  position: absolute;
  inset: 28px 28px 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  animation: authEmbedCycle 12s infinite;
}
.auth-view-credentials { animation-delay: 0s; }
.auth-view-mfa { animation-delay: -8s; }
.auth-view-connected { animation-delay: -4s; }
@keyframes authEmbedCycle {
  0%, 3%   { opacity: 0; transform: translateY(8px); }
  6%, 28%  { opacity: 1; transform: translateY(0); }
  32%      { opacity: 0; transform: translateY(-4px); }
  100%     { opacity: 0; transform: translateY(-4px); }
}
.auth-embed-brandrow {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.auth-embed-logopair {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-embed-logo {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  object-fit: cover;
  flex-shrink: 0;
}
.auth-embed-logo-deck {
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.auth-embed-logodash {
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}
.auth-embed-logodash::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
  animation: authEmbedTravel 2.4s ease-in-out infinite;
}
@keyframes authEmbedTravel {
  0%   { left: 0; opacity: 0; }
  15%  { opacity: 1; }
  50%  { left: calc(100% - 6px); opacity: 1; }
  60%  { opacity: 0; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
.auth-embed-heading {
  text-align: left;
  margin-bottom: 18px;
}
.auth-embed-heading-center {
  text-align: center;
}
.auth-embed-heading h3 {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.auth-embed-heading p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
}
.auth-embed-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.auth-embed-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-embed-field label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.01em;
}
.auth-embed-input {
  background: #0F1211;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
}
.auth-embed-input-pw { color: rgba(255, 255, 255, 0.85); }
.auth-embed-dots { letter-spacing: 0.05em; }
.auth-embed-eye {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}
.auth-embed-button {
  width: 100%;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 16px;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: opacity var(--transition);
}
.auth-embed-button:hover { opacity: 0.9; }

/* MFA view */
.auth-embed-otp {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.auth-embed-otp-cell {
  background: #0F1211;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  padding: 12px 0;
  font-variant-numeric: tabular-nums;
}
.auth-embed-otp-caret {
  border-color: rgba(253, 250, 195, 0.35);
  box-shadow: 0 0 0 3px rgba(253, 250, 195, 0.08);
}

/* Connected view */
.auth-view-connected {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.auth-embed-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(96, 145, 126, 0.18);
  color: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  animation: authEmbedCheckPop 0.5s ease-out;
}
.auth-embed-check svg { width: 32px; height: 32px; }
@keyframes authEmbedCheckPop {
  0%   { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.auth-embed-footer {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

/* Credential Vault */
.auth-vault-wrap {
  display: flex;
  flex-direction: column;
}
.auth-vault {
  flex: 1;
  background: linear-gradient(180deg, rgba(9, 44, 35, 0.55), rgba(13, 16, 15, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 420px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
}
.auth-vault-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.auth-vault-head-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.005em;
}
.auth-vault-head-label svg { color: var(--accent); }
.auth-vault-head-badge {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.auth-vault-entries {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.auth-vault-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  transition: background var(--transition), border-color var(--transition);
}
.auth-vault-entry:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}
.auth-vault-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #fff;
  padding: 0;
  object-fit: cover;
  overflow: hidden;
  flex-shrink: 0;
}
.auth-vault-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.auth-vault-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.005em;
}
.auth-vault-status {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}
.auth-vault-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.auth-vault-dot-live {
  background: var(--green-100);
  box-shadow: 0 0 6px rgba(96, 145, 126, 0.6);
  animation: authVaultDotPulse 2.6s ease-in-out infinite;
}
.auth-vault-dot-new {
  animation: authVaultDotPhase 12s ease infinite;
}
@keyframes authVaultDotPhase {
  0%, 28%  { opacity: 0; background: var(--accent); box-shadow: 0 0 8px rgba(253, 250, 195, 0.5); }
  32%      { opacity: 1; background: var(--accent); box-shadow: 0 0 8px rgba(253, 250, 195, 0.5); }
  38%      { opacity: 0.5; background: var(--accent); box-shadow: 0 0 8px rgba(253, 250, 195, 0.5); }
  44%      { opacity: 1; background: var(--accent); box-shadow: 0 0 8px rgba(253, 250, 195, 0.5); }
  50%      { opacity: 0.5; background: var(--accent); box-shadow: 0 0 8px rgba(253, 250, 195, 0.5); }
  56%      { opacity: 1; background: var(--accent); box-shadow: 0 0 8px rgba(253, 250, 195, 0.5); }
  62%      { opacity: 0.5; background: var(--accent); box-shadow: 0 0 8px rgba(253, 250, 195, 0.5); }
  66%      { opacity: 1; background: var(--green-100); box-shadow: 0 0 8px rgba(96, 145, 126, 0.6); }
  95%      { opacity: 1; background: var(--green-100); box-shadow: 0 0 8px rgba(96, 145, 126, 0.6); }
  100%     { opacity: 0; background: var(--green-100); box-shadow: 0 0 8px rgba(96, 145, 126, 0.6); }
}
.auth-vault-entry-new {
  border-color: rgba(253, 250, 195, 0.18);
  background: rgba(253, 250, 195, 0.035);
  animation: authVaultEntryIn 12s ease-out infinite;
}
.auth-vault-status-connecting,
.auth-vault-status-connected {
  grid-area: 1 / 1;
}
.auth-vault-entry-new .auth-vault-meta {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}
.auth-vault-entry-new .auth-vault-name {
  grid-row: 1;
}
.auth-vault-status-connecting,
.auth-vault-status-connected {
  grid-row: 2;
  grid-column: 1;
}
.auth-vault-status-connecting {
  animation: authVaultConnecting 12s ease infinite;
}
.auth-vault-status-connected {
  animation: authVaultConnected 12s ease infinite;
}
@keyframes authVaultConnecting {
  0%, 28%  { opacity: 0; }
  32%, 60% { opacity: 1; }
  65%, 100% { opacity: 0; }
}
@keyframes authVaultConnected {
  0%, 62%  { opacity: 0; }
  68%, 95% { opacity: 1; }
  100%     { opacity: 0; }
}
@keyframes authVaultEntryIn {
  0%, 28%  { opacity: 0; transform: translateY(8px); }
  32%, 95% { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; transform: translateY(8px); }
}
.auth-vault-foot {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.005em;
  text-align: center;
}

/* Supporting pillars */
.auth-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.auth-pillar {
  overflow: hidden;
}
.auth-pillar-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-viz {
  position: relative;
  width: 100%;
  height: 100%;
}
.auth-pillar h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 20px 4px 12px;
}
.auth-pillar p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 4px 20px;
  max-width: 290px;
}

/* Pillar 1 — Component or API (8s loop, both sides tell a fuller story) */
.ap-viz-auth-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 28px 32px;
}
.ap-auth-form {
  width: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  animation: apCompHighlight 8s ease-in-out infinite;
}
.ap-auth-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ap-auth-label {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}
.ap-auth-input {
  background: #0F1211;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.06em;
  min-height: 32px;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.ap-auth-typing {
  display: inline-block;
  overflow: hidden;
  width: 0;
  animation: apAuthType 8s steps(9, end) infinite;
}
@keyframes apAuthType {
  0%, 4%    { width: 0; }
  18%, 100% { width: 9ch; }
}
.ap-auth-btn {
  position: relative;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 8px 0;
  border-radius: 4px;
  letter-spacing: 0.01em;
  overflow: hidden;
  animation: apAuthBtnPress 8s ease-in-out infinite;
}
@keyframes apAuthBtnPress {
  0%, 28%, 38%, 100% { transform: scale(1); filter: brightness(1); }
  32%, 35%           { transform: scale(0.97); filter: brightness(1.15); }
}
.ap-auth-btn-text {
  display: inline-block;
  animation: apAuthBtnText 8s ease-in-out infinite;
}
@keyframes apAuthBtnText {
  0%, 28%  { opacity: 1; }
  36%      { opacity: 0; }
  42%      { opacity: 0; }
  50%, 100%{ opacity: 0; }
}
.ap-auth-btn-check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: apAuthBtnCheck 8s ease-in-out infinite;
}
.ap-auth-btn-check svg {
  width: 16px;
  height: 16px;
}
@keyframes apAuthBtnCheck {
  0%, 38%   { opacity: 0; transform: scale(0.8); }
  44%, 88%  { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(0.8); }
}

/* Divider between form and response */
.ap-auth-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 220px;
  padding: 6px 0;
  opacity: 0;
  animation: apAuthDividerIn 8s ease-in-out infinite;
}
@keyframes apAuthDividerIn {
  0%, 40%   { opacity: 0; }
  50%, 88%  { opacity: 1; }
  94%, 100% { opacity: 0; }
}
.ap-auth-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.ap-auth-divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

/* API response */
.ap-auth-response {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 220px;
  opacity: 0;
  transform: translateY(6px);
  animation: apAuthResponseIn 8s ease-in-out infinite;
}
@keyframes apAuthResponseIn {
  0%, 44%   { opacity: 0; transform: translateY(6px); }
  52%, 88%  { opacity: 1; transform: translateY(0); }
  94%, 100% { opacity: 0; transform: translateY(6px); }
}
.ap-auth-response-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0F1211;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 9px 11px;
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}
.ap-auth-response-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green-100);
  background: rgba(96, 145, 126, 0.1);
  border: 1px solid rgba(96, 145, 126, 0.2);
  border-radius: 4px;
  padding: 4px 10px;
}
.ap-auth-response-body {
  background: #0F1211;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}
.ap-api-method {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.ap-api-path {
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  text-overflow: ellipsis;
}
.ap-api-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-100);
  box-shadow: 0 0 4px rgba(96, 145, 126, 0.7);
  animation: apApiDotPulse 1.8s ease-in-out infinite;
}
@keyframes apApiDotPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* Pillar 2 — Credential Vault */
.ap-viz-vault {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.ap-vault-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 30%;
  background: linear-gradient(180deg, transparent 0%, rgba(253, 250, 195, 0.06) 50%, transparent 100%);
  pointer-events: none;
  animation: apVaultScan 4s ease-in-out infinite;
}
@keyframes apVaultScan {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(380%); }
}
.ap-vault-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #161A19;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 14px 16px;
  animation: apVaultRowShimmer 6s ease-in-out infinite;
}
.ap-vault-row-0 { animation-delay: 0s; }
.ap-vault-row-1 { animation-delay: 0.4s; }
.ap-vault-row-2 { animation-delay: 0.8s; }
@keyframes apVaultRowShimmer {
  0%, 40%, 100% { border-color: rgba(255, 255, 255, 0.08); box-shadow: none; }
  48%, 58%      { border-color: rgba(96, 145, 126, 0.25); box-shadow: 0 0 0 1px rgba(96, 145, 126, 0.08); }
}
.ap-vault-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #fff;
  padding: 0;
  object-fit: cover;
  overflow: hidden;
  flex-shrink: 0;
}
.ap-vault-dots {
  flex: 1;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  overflow: hidden;
  white-space: nowrap;
}
.ap-vault-lock {
  color: var(--accent);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  opacity: 0.55;
  animation: apVaultLock 6s ease-in-out infinite;
}
.ap-vault-row-0 .ap-vault-lock { animation-delay: 0s; }
.ap-vault-row-1 .ap-vault-lock { animation-delay: 0.4s; }
.ap-vault-row-2 .ap-vault-lock { animation-delay: 0.8s; }
@keyframes apVaultLock {
  0%, 40%, 100% { opacity: 0.4; }
  48%, 58%      { opacity: 1; }
}

/* New credential row: slides in, plaintext → encrypted, seal pulse */
.ap-vault-row-new {
  position: relative;
  overflow: hidden;
  animation: apVaultRowNew 6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
@keyframes apVaultRowNew {
  0%, 4%   { opacity: 0; transform: translateX(40px); border-color: rgba(253, 250, 195, 0.0); box-shadow: none; }
  12%, 20% { opacity: 1; transform: translateX(0); border-color: rgba(253, 250, 195, 0.35); box-shadow: 0 0 0 2px rgba(253, 250, 195, 0.1); }
  30%      { border-color: rgba(253, 250, 195, 0.25); }
  42%, 92% { opacity: 1; border-color: rgba(96, 145, 126, 0.3); box-shadow: 0 0 0 1px rgba(96, 145, 126, 0.1); }
  98%, 100%{ opacity: 0; transform: translateX(0); }
}
.ap-vault-value {
  position: relative;
  flex: 1;
  display: inline-block;
  height: 18px;
  overflow: hidden;
  font-family: var(--mono);
}
.ap-vault-plaintext,
.ap-vault-encrypted {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.ap-vault-plaintext {
  color: rgba(253, 250, 195, 0.9);
  animation: apVaultPlaintext 6s ease-in-out infinite;
}
.ap-vault-encrypted {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  letter-spacing: 0.12em;
  animation: apVaultEncrypted 6s ease-in-out infinite;
}
@keyframes apVaultPlaintext {
  0%, 8%   { opacity: 0; transform: translateY(0); filter: blur(0); }
  14%, 28% { opacity: 1; transform: translateY(0); filter: blur(0); }
  34%      { opacity: 0; transform: translateY(-6px); filter: blur(3px); }
  100%     { opacity: 0; transform: translateY(-6px); filter: blur(3px); }
}
@keyframes apVaultEncrypted {
  0%, 32%  { opacity: 0; transform: translateY(6px); }
  40%, 92% { opacity: 1; transform: translateY(0); }
  96%, 100%{ opacity: 0; transform: translateY(0); }
}
.ap-vault-lock-new {
  animation: apVaultLockClose 6s ease-in-out infinite;
}
@keyframes apVaultLockClose {
  0%, 30%  { opacity: 0.2; transform: scale(0.85); }
  38%, 48% { opacity: 1; transform: scale(1.15); color: var(--accent); }
  55%, 92% { opacity: 1; transform: scale(1); color: var(--green-100); }
  96%, 100%{ opacity: 0; transform: scale(1); }
}

/* Pillar 3 — Every factor, every flow */
.ap-viz-factors {
  padding: 32px;
}
.ap-factor {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  opacity: 0;
  transform: translateY(8px);
  animation: apFactorCycle 12s infinite;
}
.ap-factor-otp     { animation-delay: 0s; }
.ap-factor-sms     { animation-delay: -9s; }
.ap-factor-passkey { animation-delay: -6s; }
.ap-factor-captcha { animation-delay: -3s; }
@keyframes apFactorCycle {
  0%, 2%    { opacity: 0; transform: translateY(8px); }
  5%, 22%   { opacity: 1; transform: translateY(0); }
  25%       { opacity: 0; transform: translateY(-4px); }
  100%      { opacity: 0; transform: translateY(-4px); }
}
.ap-factor-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
/* OTP: cells fill in one by one while visible */
.ap-factor-cells {
  display: flex;
  gap: 8px;
}
.ap-factor-cells span {
  width: 32px;
  height: 40px;
  background: #0F1211;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  font-variant-numeric: tabular-nums;
}
.ap-otp-cell {
  color: transparent !important;
  animation: apOtpFill 12s steps(1, end) infinite;
}
.ap-otp-cell-0 { animation-delay: 0.3s; }
.ap-otp-cell-1 { animation-delay: 0.55s; }
.ap-otp-cell-2 { animation-delay: 0.8s; }
.ap-otp-cell-3 { animation-delay: 1.05s; }
.ap-otp-cell-4 { animation-delay: 1.3s; }
.ap-otp-cell-5 { animation-delay: 1.55s; }
@keyframes apOtpFill {
  0%, 100% { color: rgba(255, 255, 255, 0.95); border-color: var(--accent); background: rgba(253, 250, 195, 0.08); }
  22%      { color: rgba(255, 255, 255, 0.95); border-color: rgba(255, 255, 255, 0.1); background: #0F1211; }
  25%, 99% { color: transparent; border-color: rgba(255, 255, 255, 0.1); background: #0F1211; }
}

/* SMS: bubble slides in from left, code types in (synced to factor window via -9s delay) */
.ap-factor-bubble {
  background: #161A19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  border-bottom-left-radius: 6px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 220px;
  animation: apSmsBubble 12s ease-out infinite;
  animation-delay: -9s;
}
@keyframes apSmsBubble {
  0%       { opacity: 0; transform: translateX(-24px) scale(0.92); }
  5%, 22%  { opacity: 1; transform: translateX(0) scale(1); }
  25%, 100%{ opacity: 1; transform: translateX(0) scale(1); }
}
.ap-factor-bubble-code {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  overflow: hidden;
  white-space: nowrap;
  animation: apSmsType 12s steps(7, end) infinite;
  animation-delay: -9s;
}
@keyframes apSmsType {
  0%, 6%   { max-width: 0; }
  18%, 22% { max-width: 8ch; }
  25%, 100%{ max-width: 8ch; }
}
.ap-factor-bubble-caption {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* Passkey: glyph with scan sweep */
.ap-passkey-frame {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-passkey-glyph {
  width: 52px;
  height: 52px;
  color: var(--accent);
}
.ap-passkey-sweep {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 35%;
  background: linear-gradient(180deg, transparent 0%, rgba(253, 250, 195, 0.5) 50%, transparent 100%);
  animation: apPasskeySweep 12s ease-in-out infinite;
  animation-delay: -6s;
}
@keyframes apPasskeySweep {
  0%         { transform: translateY(-100%); opacity: 0; }
  4%         { transform: translateY(-100%); opacity: 1; }
  12%        { transform: translateY(220%); opacity: 1; }
  13%        { transform: translateY(-100%); opacity: 0; }
  14%        { opacity: 1; }
  21%        { transform: translateY(220%); opacity: 1; }
  22%, 100%  { transform: translateY(220%); opacity: 0; }
}

/* CAPTCHA: click ripple + draw-in check */
.ap-factor-captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #161A19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 12px 16px;
}
.ap-factor-captcha-check {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: apCaptchaBox 12s ease-out infinite;
  animation-delay: -3s;
}
@keyframes apCaptchaBox {
  0%, 6%   { background: rgba(255, 255, 255, 0.08); }
  8%, 22%  { background: var(--green-100); }
  25%, 100%{ background: var(--green-100); }
}
.ap-factor-captcha-ripple {
  position: absolute;
  inset: -2px;
  border-radius: 4px;
  border: 2px solid rgba(253, 250, 195, 0.6);
  opacity: 0;
  animation: apCaptchaRipple 12s ease-out infinite;
  animation-delay: -3s;
}
@keyframes apCaptchaRipple {
  0%, 5%   { opacity: 0; transform: scale(1); }
  6%       { opacity: 1; transform: scale(1); }
  12%      { opacity: 0; transform: scale(1.7); }
  100%     { opacity: 0; transform: scale(1.7); }
}
.ap-factor-captcha-check-svg { width: 14px; height: 14px; }
.ap-factor-captcha-check-svg path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: apCaptchaDraw 12s ease-out infinite;
  animation-delay: -3s;
}
@keyframes apCaptchaDraw {
  0%, 7%   { stroke-dashoffset: 20; }
  12%, 22% { stroke-dashoffset: 0; }
  25%, 100%{ stroke-dashoffset: 0; }
}
.ap-factor-captcha-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 960px) {
  .auth-section-header { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .auth-subtitle { max-width: none; }
  .auth-stage { padding: 28px 20px 40px; }
  .auth-stage-grid { grid-template-columns: 1fr; gap: 24px; }
  .auth-embed, .auth-vault { min-height: unset; }
  .auth-embed { min-height: 380px; }
  .auth-pillars { grid-template-columns: 1fr; gap: 32px; }
  .auth-title br { display: none; }
}
@media (max-width: 640px) {
  .auth-section { padding: 80px 16px 0; }
  .auth-section-header { margin-bottom: 40px; }
  .auth-stage { padding: 20px 14px 32px; border-radius: 4px; }
  .auth-embed { padding: 18px 18px 14px; }
  .auth-embed-view { inset: 20px 20px 16px; }
}

/* ============================
   Computer Use Section
   ============================ */
.cu-section {
  padding: 160px 24px 80px;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
}
.cu-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.cu-title {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0;
}
.cu-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0;
}
.cu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.cu-card {
  overflow: hidden;
}
.cu-card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(25, 72, 61, 0.25), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(253, 250, 195, 0.03), transparent 55%);
}
.cu-video-frame { background: #061226; }
.cu-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cu-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 24px 4px 12px;
}
.cu-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 4px 24px;
  max-width: 400px;
}

/* Card 1: Operate — multi-app tabbed carousel */
.cu-opr {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 24px;
}
.cu-opr-header {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px 4px 0 0;
}
.cu-opr-tabs {
  display: flex;
  gap: 6px;
}
.cu-opr-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.cu-opr-tab.active {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}
.cu-opr-tab-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
  object-fit: contain;
}
.cu-opr-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #141918;
  border-radius: 0 0 4px 4px;
}
.cu-opr-page {
  position: absolute;
  inset: 0;
  background: #141918;
  overflow: hidden;
}
.cu-opr-appbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.cu-opr-appname {
  font-size: 13px;
  font-weight: 700;
  margin-right: 4px;
}
.cu-opr-appnav {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.cu-opr-appnav-active {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}
.cu-opr-table { padding: 0 16px; }
.cu-opr-trow {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.6fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  align-items: center;
}
.cu-opr-thead {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cu-opr-trow-target {
  transition: background 0.3s;
}
.cu-opr-trow-target.highlight {
  background: rgba(99, 91, 255, 0.12);
}
.cu-opr-mono {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
}
.cu-opr-pill {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}
.cu-opr-pill-blue   { background: rgba(59,130,246,0.15); color: #93bbfd; }
.cu-opr-pill-green  { background: rgba(34,197,94,0.15); color: #86efac; }
.cu-opr-pill-yellow { background: rgba(234,179,8,0.15); color: #fde68a; }

.cu-opr-form { padding: 12px 16px; }
.cu-opr-form-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.cu-opr-form-row label {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  width: 54px;
  flex-shrink: 0;
  padding-top: 6px;
}
.cu-opr-form-input {
  flex: 1;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
  min-height: 20px;
  font-family: var(--mono);
}
.cu-opr-form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  transition: opacity 0.2s;
}
.cu-opr-form-btn.clicked { opacity: 0.6; }

/* Cursor */
.cu-opr-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1), top 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
.cu-opr-cursor-arrow {
  width: 22px;
  height: 20px;
  transform: rotate(-45deg);
  transform-origin: center center;
}
.cu-opr-cursor-label {
  font-size: 9px;
  font-weight: 500;
  color: #061226;
  background: #fdfac3;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
  margin-top: 4px;
  margin-left: 12px;
  letter-spacing: -0.3px;
}
.cu-opr-cursor.visible { opacity: 1; }
.cu-opr-cursor.click::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(253, 250, 195, 0.3);
  animation: cu-click-ring 0.4s ease-out forwards;
}
@keyframes cu-click-ring {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Card 2: Scale — session grid with landscape bg */
.cu-card-scale {
  position: relative;
  isolation: isolate;
}
.cu-card-scale::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(25, 72, 61, 0.25), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(253, 250, 195, 0.03), transparent 55%);
  z-index: 0;
}
.cu-card-scale .scale-grid-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cu-card-scale .scale-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  align-content: start;
  transition: opacity 0.5s ease;
}

@media (max-width: 960px) {
  .cu-section-header { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .cu-subtitle { max-width: none; }
  .cu-grid { grid-template-columns: 1fr; gap: 32px; }
  .cu-title br { display: none; }
  .cu-card-visual { aspect-ratio: 4 / 3; }
  .cu-opr { padding: 20px; }
  .cu-opr-tabs { gap: 4px; }
  .cu-opr-tab { padding: 4px 10px; font-size: 10px; }
  .cu-card-scale .scale-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cu-card-scale .scale-grid-wrap { padding: 24px; }
}
@media (max-width: 640px) {
  .cu-section { padding: 80px 16px 60px; }
  .cu-section-header { margin-bottom: 40px; }
  .cu-card-visual { aspect-ratio: 1 / 1; border-radius: 4px; }
  .cu-opr { padding: 16px; }
  .cu-opr-header { padding: 8px 10px; }
  .cu-opr-tabs { gap: 2px; overflow-x: auto; }
  .cu-opr-tab { padding: 4px 8px; font-size: 9px; }
  .cu-opr-tab-icon { width: 12px; height: 12px; }
  .cu-opr-appbar { padding: 8px 12px; gap: 10px; }
  .cu-opr-appname { font-size: 11px; }
  .cu-opr-appnav { font-size: 9px; }
  .cu-opr-trow { font-size: 10px; grid-template-columns: 1.3fr 0.7fr 0.7fr 0.5fr; gap: 4px; padding: 6px 0; }
  .cu-opr-thead { font-size: 9px; }
  .cu-opr-table { padding: 0 12px; }
  .cu-opr-form { padding: 10px 12px; }
  .cu-opr-form-row label { font-size: 9px; width: 48px; }
  .cu-opr-form-input { font-size: 10px; }
  .cu-opr-form-btn { font-size: 10px; padding: 5px 14px; }
  .cu-card-scale .scale-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cu-card-scale .scale-grid-wrap { padding: 16px; }
  .scale-vm .sv-body { padding: 4px 6px; }
  .sv-head { padding: 4px 6px; }
  .sv-id { font-size: 8px; }
  .sv-source, .sv-task { font-size: 8px; }
}

/* ============================
   Use Cases Homepage Section
   ============================ */
.uc-home-section {
  padding: 120px 24px 80px;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
}
.uc-home-title {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0 0 32px;
}
.uc-home-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.uc-home-visual {
  position: sticky;
  top: 100px;
  aspect-ratio: 1;
  border-radius: 4px;
  background: #04101F;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.uc-home-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.uc-home-mountains-bg {
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}
.uc-home-mountains-fg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 3;
  pointer-events: none;
}
.uc-home-mockup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 24px;
  pointer-events: none;
}
.uc-home-mockup.active {
  opacity: 1;
}
.uc-home-visual-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.uc-home-mockup .ipad-frame {
  position: relative;
  width: 100%;
  max-width: 540px;
}
.uc-home-mockup .ipad-frame-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.uc-home-mockup .ipad-screen {
  position: absolute;
  top: 2.8%;
  left: 2.4%;
  right: 2.4%;
  bottom: 2.8%;
  z-index: 3;
  background: #04101F;
  border-radius: 4px;
  overflow: hidden;
  font-size: 11px;
}
.uc-home-mockup .iphone-frame {
  position: relative;
  width: 52%;
  max-width: 260px;
}
.uc-home-mockup .iphone-frame-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.uc-home-mockup .iphone-screen-content {
  position: absolute;
  top: 1%;
  left: 3.6%;
  right: 3.6%;
  bottom: 2.8%;
  z-index: 3;
  background: #04101F;
  border-radius: 4px;
  overflow: hidden;
}
.uc-home-mockup .demo-step {
  padding: 40px 14px 14px;
}
.uc-home-mockup .demo-screen-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  text-align: center;
}
.uc-home-mockup .demo-screen-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
  text-align: center;
}
.uc-home-mockup .demo-list-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.uc-home-mockup .demo-list-item img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  margin-right: 8px;
  flex-shrink: 0;
}
.uc-home-mockup .demo-list-name {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  flex: 1;
}
.uc-home-mockup .demo-list-meta {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
}
.uc-home-mockup .demo-cta,
.uc-home-mockup .aq-cta {
  display: block;
  width: 100%;
  padding: 9px;
  border: none;
  border-radius: 4px;
  background: #fff;
  color: #061226;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  margin-top: 12px;
  cursor: default;
  pointer-events: none;
}
.uc-home-mockup .demo-card-img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 8px;
}
.uc-home-mockup .demo-section-label {
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 10px 0 4px;
}
.uc-home-mockup .demo-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}
.uc-home-mockup .demo-pair-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.uc-home-mockup .demo-pair-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}
.uc-home-mockup .demo-pair-name {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.uc-home-mockup .demo-pair-arrow {
  color: rgba(255,255,255,0.3);
}
.uc-home-mockup .demo-pair-context {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 8px;
}
.uc-home-mockup .demo-split {
  display: flex;
  height: 100%;
}
.uc-home-mockup .demo-left {
  flex: 1;
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
}
.uc-home-mockup .demo-right {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.uc-home-mockup .demo-col-title {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 3px;
}
.uc-home-mockup .demo-col-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}
.uc-home-mockup .demo-account {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  margin-bottom: 6px;
}
.uc-home-mockup .demo-account-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: cover;
}
.uc-home-mockup .demo-account-info {
  flex: 1;
  min-width: 0;
}
.uc-home-mockup .demo-account-name {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  display: block;
}
.uc-home-mockup .demo-account-date {
  font-size: 8px;
  color: rgba(255,255,255,0.3);
  display: block;
}
.uc-home-mockup .demo-account-amount {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}
.uc-home-mockup .demo-right-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
}
.uc-home-mockup .demo-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
}
.uc-home-mockup .demo-json {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 10px 12px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 9px;
  line-height: 1.7;
}
.uc-home-mockup .demo-json-line {
  white-space: nowrap;
  color: rgba(255,255,255,0.5);
  opacity: 1;
}
.uc-home-mockup .dj-brace { color: rgba(255,255,255,0.35); }
.uc-home-mockup .dj-key { color: rgba(130,170,255,0.9); }
.uc-home-mockup .dj-str { color: rgba(152,195,121,0.9); }
.uc-home-mockup .dj-num { color: rgba(209,154,102,0.9); }
.uc-home-mockup .ic-catalog {
  display: flex;
  height: 100%;
}
.uc-home-mockup .ic-sidebar {
  width: 80px;
  padding: 12px 10px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.uc-home-mockup .ic-sidebar-title {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.uc-home-mockup .ic-nav-item {
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 4px;
  color: rgba(255,255,255,0.4);
}
.uc-home-mockup .ic-nav-item.ic-active {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.uc-home-mockup .ic-main {
  flex: 1;
  padding: 12px 14px;
}
.uc-home-mockup .ic-header {
  margin-bottom: 10px;
}
.uc-home-mockup .ic-count {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
}
.uc-home-mockup .ic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.uc-home-mockup .ic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
}
.uc-home-mockup .ic-card img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}
.uc-home-mockup .ic-card-name {
  font-size: 8px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.uc-home-mockup .ic-badge {
  font-size: 7px;
  color: #4ade80;
}
.uc-home-mockup .aq-split {
  display: flex;
  height: 100%;
}
.uc-home-mockup .aq-left {
  flex: 1;
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
}
.uc-home-mockup .aq-right {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.uc-home-mockup .aq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.uc-home-mockup .aq-title {
  font-size: 11px;
  font-weight: 500;
  color: #fff;
}
.uc-home-mockup .aq-badge {
  font-size: 8px;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  padding: 2px 6px;
  border-radius: 4px;
}
.uc-home-mockup .aq-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  margin-bottom: 6px;
}
.uc-home-mockup .aq-item-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  flex-shrink: 0;
}
.uc-home-mockup .aq-item-info {
  flex: 1;
  min-width: 0;
}
.uc-home-mockup .aq-item-action {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.uc-home-mockup .aq-item-detail {
  display: block;
  font-size: 8px;
  color: rgba(255,255,255,0.3);
}
.uc-home-mockup .aq-item-tag {
  font-size: 8px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  padding: 2px 6px;
  border-radius: 4px;
}
.uc-home-mockup .aq-item.done {
  border-color: rgba(74,222,128,0.15);
}
.uc-home-mockup .aq-item.done .aq-item-tag {
  background: rgba(74,222,128,0.1);
  color: #4ade80;
}
.uc-home-mockup .aq-item.running {
  border-color: rgba(84,125,197,0.2);
  background: rgba(84,125,197,0.04);
}
.uc-home-mockup .aq-item.running .aq-item-tag {
  background: rgba(84,125,197,0.15);
  color: rgba(84,125,197,0.9);
}
.uc-home-mockup .aq-left .demo-cta,
.uc-home-mockup .aq-left .aq-cta {
  margin-top: 8px;
}
.uc-home-mockup .aq-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.uc-home-mockup .aq-log {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 8px 10px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 8px;
  line-height: 1.8;
  overflow: hidden;
}
.uc-home-mockup .aq-log-line {
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}
.uc-home-mockup .aq-log-ts {
  color: rgba(255,255,255,0.2);
  margin-right: 6px;
}
.uc-home-mockup .aq-log-success {
  color: #4ade80;
}
.uc-home-mockup .tt-split {
  display: flex;
  height: 100%;
}
.uc-home-mockup .tt-left {
  flex: 1;
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.uc-home-mockup .tt-right {
  flex: 1;
  padding: 14px 16px;
}
.uc-home-mockup .tt-header {
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}
.uc-home-mockup .tt-event-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.uc-home-mockup .tt-platform-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
}
.uc-home-mockup .tt-event-info {
  flex: 1;
}
.uc-home-mockup .tt-event-name {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.uc-home-mockup .tt-event-detail {
  display: block;
  font-size: 8px;
  color: rgba(255,255,255,0.3);
}
.uc-home-mockup .tt-parties {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.uc-home-mockup .tt-party {
  flex: 1;
}
.uc-home-mockup .tt-party-label {
  display: block;
  font-size: 8px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2px;
}
.uc-home-mockup .tt-party-name {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.uc-home-mockup .tt-status-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
}
.uc-home-mockup .tt-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fbbf24;
}
.uc-home-mockup .tt-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.uc-home-mockup .tt-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.uc-home-mockup .tt-step-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.uc-home-mockup .tt-step-title {
  font-size: 9px;
  color: rgba(255,255,255,0.6);
}
.uc-home-mockup .tt-step-line {
  width: 1px;
  height: 8px;
  background: rgba(255,255,255,0.08);
  margin-left: 8px;
}
.uc-home-mockup .tt-check {
  display: block;
}
.uc-home-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.uc-home-items {
  display: flex;
  flex-direction: column;
}
.uc-home-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  cursor: pointer;
  text-decoration: none;
}
.uc-home-item-arrow {
  font-size: 16px;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.uc-home-item:hover .uc-home-item-arrow,
.uc-home-item.active .uc-home-item-arrow {
  opacity: 1;
}
.uc-home-item.active .uc-home-item-arrow {
  transform: translateX(2px);
}
.uc-home-item-name {
  font-size: 24px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.uc-home-item.active .uc-home-item-name {
  color: var(--text-primary);
}
.uc-home-item:hover .uc-home-item-name {
  color: var(--text-primary);
}
@media (max-width: 1024px) {
  .uc-home-layout { gap: 32px; }
  .uc-home-visual { position: static; }
}
@media (max-width: 768px) {
  .uc-home-section { padding: 80px 16px 60px; }
  .uc-home-layout { grid-template-columns: 1fr; }
  .uc-home-visual { aspect-ratio: 4/3; order: 2; }
  .uc-home-list { order: 1; }
  .uc-home-item-name { font-size: 17px; }
  .uc-home-title { margin-bottom: 20px; }
  .uc-home-mockup .iphone-frame { width: 38%; max-width: 180px; }
  .uc-home-mockup .iphone-screen-content { border-radius: 4px; }
  .uc-home-mockup .ipad-frame { width: 82%; max-width: 380px; }
  .uc-home-mockup .demo-step { padding: 24px 8px 8px; }
  .uc-home-mockup .demo-screen-title { font-size: 9px; }
  .uc-home-mockup .demo-screen-sub { font-size: 7px; margin-bottom: 6px; }
  .uc-home-mockup .demo-list-item { padding: 4px 0; }
  .uc-home-mockup .demo-list-item img { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; }
  .uc-home-mockup .demo-list-name { font-size: 8px; }
  .uc-home-mockup .demo-list-meta { font-size: 6px; }
  .uc-home-mockup .demo-cta, .uc-home-mockup .aq-cta { padding: 5px; font-size: 7px; border-radius: 4px; margin-top: 6px; }
  .uc-home-mockup .demo-card-img { margin-bottom: 4px; border-radius: 4px; }
  .uc-home-mockup .demo-section-label { font-size: 6px; margin: 4px 0 2px; }
  .uc-home-mockup .demo-pair { gap: 8px; margin: 8px 0; }
  .uc-home-mockup .demo-pair-icon { width: 28px; height: 28px; }
  .uc-home-mockup .demo-pair-name { font-size: 7px; }
  .uc-home-mockup .demo-pair-arrow svg { width: 14px; height: 14px; }
  .uc-home-mockup .demo-pair-context { font-size: 7px; margin-bottom: 4px; }
  .uc-home-mockup .demo-left, .uc-home-mockup .demo-right { padding: 8px 10px; }
  .uc-home-mockup .demo-col-title { font-size: 8px; }
  .uc-home-mockup .demo-col-sub { font-size: 6px; margin-bottom: 4px; }
  .uc-home-mockup .demo-account { gap: 5px; padding: 5px 6px; border-radius: 4px; margin-bottom: 3px; }
  .uc-home-mockup .demo-account-icon { width: 16px; height: 16px; }
  .uc-home-mockup .demo-account-name { font-size: 7px; }
  .uc-home-mockup .demo-account-date { font-size: 5px; }
  .uc-home-mockup .demo-account-amount { font-size: 7px; }
  .uc-home-mockup .demo-right-label { font-size: 8px; margin-bottom: 12px; }
  .uc-home-mockup .demo-json { padding: 6px 8px; font-size: 6px; border-radius: 4px; }
  .uc-home-mockup .ic-sidebar { width: 50px; padding: 6px 5px; }
  .uc-home-mockup .ic-sidebar-title { font-size: 7px; margin-bottom: 4px; }
  .uc-home-mockup .ic-nav-item { font-size: 6px; padding: 2px 4px; }
  .uc-home-mockup .ic-main { padding: 6px 8px; }
  .uc-home-mockup .ic-count { font-size: 6px; }
  .uc-home-mockup .ic-grid { gap: 3px; }
  .uc-home-mockup .ic-card { padding: 4px 2px; gap: 2px; border-radius: 4px; }
  .uc-home-mockup .ic-card img { width: 14px; height: 14px; }
  .uc-home-mockup .ic-card-name { font-size: 5px; }
  .uc-home-mockup .ic-badge { font-size: 4px; }
  .uc-home-mockup .aq-left, .uc-home-mockup .aq-right { padding: 8px 10px; }
  .uc-home-mockup .aq-title { font-size: 8px; }
  .uc-home-mockup .aq-badge { font-size: 5px; }
  .uc-home-mockup .aq-item { gap: 5px; padding: 5px 6px; border-radius: 4px; margin-bottom: 3px; }
  .uc-home-mockup .aq-item-icon { width: 14px; height: 14px; }
  .uc-home-mockup .aq-item-action { font-size: 6px; }
  .uc-home-mockup .aq-item-detail { font-size: 5px; }
  .uc-home-mockup .aq-item-tag { font-size: 5px; padding: 1px 4px; }
  .uc-home-mockup .aq-log { padding: 4px 6px; font-size: 5px; }
  .uc-home-mockup .tt-left, .uc-home-mockup .tt-right { padding: 8px 10px; }
  .uc-home-mockup .tt-header { font-size: 8px; margin-bottom: 6px; }
  .uc-home-mockup .tt-platform-icon { width: 16px; height: 16px; }
  .uc-home-mockup .tt-event-name { font-size: 7px; }
  .uc-home-mockup .tt-event-detail { font-size: 5px; }
  .uc-home-mockup .tt-parties { gap: 6px; margin-bottom: 6px; }
  .uc-home-mockup .tt-party-label { font-size: 5px; }
  .uc-home-mockup .tt-party-name { font-size: 7px; }
  .uc-home-mockup .tt-status-bar { font-size: 6px; padding: 4px 6px; }
  .uc-home-mockup .tt-step-icon { width: 10px; height: 10px; }
  .uc-home-mockup .tt-step-title { font-size: 6px; }
  .uc-home-mockup .tt-step-line { height: 4px; margin-left: 5px; }
}

/* ============================
   Split Feature Sections
   ============================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
}
.split-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.split-title {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.split-title span {
  display: block;
}
.split-desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
}
.split-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: opacity var(--transition);
  margin-top: 8px;
}
.split-link:hover { opacity: 0.7; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-visual-inner {
  width: 100%;
  height: 560px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(160deg, rgba(61,153,112,0.08) 0%, rgba(80,60,130,0.06) 50%, rgba(30,40,35,0.1) 100%);
  background-size: 13px 13px, 100% 100%;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.split-section.reverse .split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-section.reverse .split-title {
  max-width: 560px;
}
.split-section.reverse {
  gap: 60px;
}
@media (max-width: 1024px) {
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  .split-section.reverse { direction: ltr; }
  .split-visual-inner { height: 400px; }
}
@media (max-width: 768px) {
  .split-section { padding: 60px 16px; }
  .split-visual-inner { height: 320px; }
}

/* Product Hero Image */
.product-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Product page hero background */
.prod-hero {
  position: relative;
  overflow: visible;
  padding-top: 0;
}
.prod-hero .hero-content {
  padding-top: 240px;
}
.prod-hero .hero-image {
  overflow: visible;
}
.prod-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 1000px;
  z-index: 0;
  overflow: hidden;
}
.prod-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.prod-hero-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(13, 16, 15, 0.2) 30%,
    rgba(13, 16, 15, 0.7) 60%,
    #061226 90%
  );
}

/* Product browser window */
.prod-browser {
  background: rgba(13, 16, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.prod-browser-bar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.prod-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.prod-browser-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
}
.prod-browser-lock {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.35);
}
.prod-browser-body {
  aspect-ratio: 16 / 10;
  background: rgba(13, 16, 15, 0.8);
}

/* API page split terminal */
.api-split-term {
  background: rgba(13, 16, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Cascadia Code', Menlo, Consolas, monospace;
}
.prod-hero .hero-image {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.api-split-panes {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  height: 480px;
}
.api-split-divider {
  background: rgba(255, 255, 255, 0.06);
}
.api-split-pane {
  padding: 16px 20px 48px;
  overflow: hidden;
}
.api-pane-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 8px;
}
.api-status {
  font-size: 10px;
  font-weight: 600;
  color: #4ade80;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.api-status.visible {
  opacity: 1;
}
.api-pane-code {
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
}
.api-cursor-line {
  display: inline;
}
.api-type-cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  background: rgba(255, 255, 255, 0.7);
  vertical-align: text-bottom;
  animation: apiCursorBlink 0.8s step-end infinite;
}
@keyframes apiCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Syntax colors */
.t-cmd { color: #dcdcaa; }
.t-flag { color: #9cdcfe; }
.t-url { color: #ce9178; }
.t-str { color: #ce9178; }
.t-hdr { color: #c586c0; }
.t-comment { color: rgba(255, 255, 255, 0.25); font-style: italic; }
.j-key { color: #9cdcfe; }
.j-str { color: #ce9178; }
.j-num { color: #b5cea8; }
.j-bool { color: #569cd6; }
.j-null { color: #569cd6; }
.j-brace { color: rgba(255, 255, 255, 0.5); }

.api-split-res .api-pane-code {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.api-split-res .api-pane-code.visible {
  opacity: 1;
}

/* Storage & extraction animation */
/* Structured output — schema validation animation */
.plat-card:has(.schema-anim) {
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.schema-anim {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  gap: 10px;
}
.schema-def {
  width: 100%;
  max-width: 260px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
}
.schema-def-header {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.schema-def-label {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: #c586c0;
  font-weight: 500;
}
.schema-def-fields {
  padding: 6px 0;
}
.schema-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px;
  transition: background 0.3s ease;
}
.schema-field.highlight {
  background: rgba(96, 145, 126, 0.06);
}
.schema-field-name {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(156, 220, 254, 0.5);
}
.schema-field-type {
  font-size: 10px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(86, 156, 214, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
}
.schema-field.highlight .schema-field-name {
  color: #9cdcfe;
}
.schema-field.highlight .schema-field-type {
  color: #569cd6;
}
.schema-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  color: rgba(255, 255, 255, 0.1);
}
.schema-output {
  width: 100%;
  max-width: 260px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.5s ease;
}
.schema-output.validated {
  border-color: rgba(96, 145, 126, 0.25);
}
.schema-output-header {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.schema-output-label {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: #c586c0;
  font-weight: 500;
}
.schema-output-status {
  font-size: 10px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: #b5cea8;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.schema-output-status.visible {
  opacity: 1;
}
.schema-output-body {
  padding: 10px 14px;
  min-height: 100px;
}
.schema-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.schema-row.visible {
  opacity: 1;
  transform: translateY(0);
}
.schema-row-key {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: #9cdcfe;
  white-space: nowrap;
}
.schema-row-val {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: #ce9178;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.schema-row-brace {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(255, 255, 255, 0.45);
}
.schema-row-punct {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(255, 255, 255, 0.35);
}
.schema-row-val.num {
  color: #b5cea8;
}
.schema-row-check {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.schema-row-check.visible {
  opacity: 1;
  transform: scale(1);
}

/* Credential vault — encrypted card stack */
.plat-card:has(.vault-anim) {
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.vault-anim {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px;
  gap: 0;
}
.vault-drop-zone {
  flex: 0 0 auto;
  height: 72px;
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}
.vault-drop-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: vaultCardDrop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.vault-drop-user {
  font-size: 12px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(253, 250, 195, 0.7);
  white-space: nowrap;
}
.vault-drop-arrow {
  color: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  display: flex;
}
.vault-drop-source {
  font-size: 12px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(253, 250, 195, 0.85);
  white-space: nowrap;
}
@keyframes vaultCardDrop {
  0% { opacity: 0; transform: translateY(-16px); }
  100% { opacity: 1; transform: translateY(0); }
}

.vault-gate {
  width: 100%;
  max-width: 260px;
  display: flex;
  align-items: center;
  padding: 12px 0;
  position: relative;
  gap: 12px;
}
.vault-gate::before,
.vault-gate::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.vault-gate-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(253, 250, 195, 0.05);
  border: 1px solid rgba(253, 250, 195, 0.15);
  border-radius: 4px;
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
  flex-shrink: 0;
}
.vault-gate-bar.pulse {
  box-shadow: 0 0 20px rgba(253, 250, 195, 0.15);
  border-color: rgba(253, 250, 195, 0.3);
}
.vault-gate-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(253, 250, 195, 0.8);
  letter-spacing: 0.02em;
}

.vault-stack {
  flex: 1;
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  position: relative;
}
.vault-stack::after {
  display: none;
}
.vault-stacked {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 8px 12px;
  animation: vaultStackIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.vault-stacked .vault-st-lock {
  flex-shrink: 0;
  color: rgba(96, 145, 126, 0.5);
  display: flex;
}
.vault-stacked .vault-st-text {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(255, 255, 255, 0.25);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vault-stacked .vault-st-badge {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: rgba(96, 145, 126, 0.6);
  flex-shrink: 0;
}
@keyframes vaultStackIn {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.vault-drop-card.encrypting .vault-drop-user,
.vault-drop-card.encrypting .vault-drop-source {
  animation: vaultScramble 0.5s steps(4) forwards;
}
@keyframes vaultScramble {
  0% { filter: blur(0); }
  50% { filter: blur(2px); color: rgba(96, 145, 126, 0.6); }
  100% { filter: blur(3px); color: rgba(96, 145, 126, 0.3); }
}
.vault-drop-card.encrypting {
  border-color: rgba(96, 145, 126, 0.2);
  background: rgba(96, 145, 126, 0.04);
  animation: vaultCardShrink 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
@keyframes vaultCardShrink {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.95) translateY(6px); }
}

/* Agent observability — session replay timeline */
.plat-card:has(.obs-replay) {
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.obs-replay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 12px;
}
.obs-viewer {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.obs-screen {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.obs-screen-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.obs-screen-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.obs-screen-url {
  margin-left: 8px;
  font-size: 11px;
  color: rgba(162, 185, 226, 0.5);
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.obs-screen-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity 0.3s ease;
}
.obs-screen-body.transitioning {
  opacity: 0;
}
.obs-el-nav {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  width: 100%;
}
.obs-el-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.obs-el-sidebar {
  width: 22%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.obs-el-sidebar-item {
  height: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
}
.obs-el-sidebar-item.active {
  background: rgba(84, 125, 197, 0.35);
}
.obs-el-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.obs-el-heading {
  height: 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  width: 60%;
}
.obs-el-text {
  height: 5px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 2px;
}
.obs-el-input {
  height: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.obs-el-input-text {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.25);
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.obs-el-btn {
  height: 16px;
  background: rgba(84, 125, 197, 0.45);
  border-radius: 4px;
  width: 44px;
  align-self: flex-end;
}
.obs-el-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.obs-el-table-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.obs-el-table-row.header {
  margin-bottom: 2px;
}
.obs-el-table-cell {
  height: 5px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 2px;
  flex: 1;
}
.obs-el-table-row.header .obs-el-table-cell {
  background: rgba(255, 255, 255, 0.07);
  height: 6px;
}
.obs-el-table-row.highlight .obs-el-table-cell {
  background: rgba(253, 250, 195, 0.1);
}
.obs-el-cursor {
  position: absolute;
  width: 10px;
  height: 14px;
  z-index: 5;
  transition: top 0.6s cubic-bezier(0.16, 1, 0.3, 1), left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}

.obs-reasoning {
  background: rgba(162, 185, 226, 0.03);
  border: 1px solid rgba(162, 185, 226, 0.1);
  border-radius: 4px;
  padding: 10px 14px;
  min-height: 40px;
}
.obs-reasoning-label {
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(162, 185, 226, 0.7);
  margin-bottom: 4px;
  font-weight: 500;
}
.obs-reasoning-text {
  font-size: 11px;
  color: rgba(162, 185, 226, 0.45);
  line-height: 1.5;
  font-family: 'SF Mono', 'Fira Code', monospace;
  min-height: 16px;
}

.obs-timeline {
  position: relative;
  padding: 0;
}
.obs-timeline-track {
  display: flex;
  gap: 5px;
}
.obs-thumb {
  flex: 1;
  height: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.obs-thumb.active {
  border-color: rgba(253, 250, 195, 0.35);
  background: rgba(253, 250, 195, 0.06);
}
.obs-thumb::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
}
.obs-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 4px 5px;
  gap: 2px;
}
.obs-thumb-line {
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1px;
}
.obs-thumb-line:first-child {
  width: 70%;
}
.obs-thumb-line:nth-child(2) {
  width: 50%;
}
.obs-playhead {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(253, 250, 195, 0.5);
  border-radius: 1px;
  transition: width 0.5s ease;
}

.plat-card:has(.stor-anim) {
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.stor-anim {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
  padding: 32px 40px;
  max-width: 560px;
  margin: 0 auto;
  font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', Menlo, Consolas, monospace;
}
.stor-doc-side, .stor-json-side {
  flex: 0 0 200px;
  width: 200px;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.stor-doc {
  position: relative;
  width: 200px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 14px;
  overflow: hidden;
}
.stor-doc-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.stor-doc-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.stor-doc-name {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stor-doc-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stor-doc-line {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}
.stor-doc-line.w80 { width: 80%; }
.stor-doc-line.w60 { width: 60%; }
.stor-doc-line.w50 { width: 50%; }
.stor-doc-line.w40 { width: 40%; }
.stor-doc-line.w30 { width: 30%; }
.stor-doc-spacer {
  height: 6px;
}
.stor-doc-field {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.stor-doc-field.active {
  opacity: 1;
}
.stor-doc-field.active .stor-doc-label {
  color: #fdfac3;
}
.stor-doc-field.active .stor-doc-line {
  background: rgba(253, 250, 195, 0.2);
}
.stor-doc-label {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  width: 38px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Document type layouts */
.stor-img-placeholder {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}
.stor-img-block {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}
.stor-img-block.sm {
  width: 40%;
}
.stor-table-mock {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 4px;
}
.stor-tbl-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
}
.stor-tbl-row span {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}
.stor-tbl-row.head span {
  background: rgba(255, 255, 255, 0.12);
}

.stor-scan-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fdfac3, transparent);
  opacity: 0;
  top: 40px;
}
.stor-scan-line.scanning {
  animation: storScan 2s ease-in-out forwards;
}
@keyframes storScan {
  0% { top: 40px; opacity: 1; }
  90% { top: calc(100% - 10px); opacity: 1; }
  100% { top: calc(100% - 10px); opacity: 0; }
}
.stor-arrow {
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.stor-arrow.visible {
  opacity: 1;
}
.stor-json {
  width: 200px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 14px;
  font-size: 11px;
  line-height: 1.8;
}
.stor-json-row {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.stor-json-row.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Event destinations — live feed */
.plat-card:has(.evt-feed) {
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.evt-feed {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  width: 100%;
  font-family: var(--font);
}
.evt-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.evt-feed-title {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}
.evt-feed-live {
  font-size: 11px;
  color: #4ade80;
  letter-spacing: 0.02em;
}
.evt-feed-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}
.evt-row {
  display: grid;
  grid-template-columns: 20px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(-8px);
  animation: evtRowIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  flex-shrink: 0;
}
@keyframes evtRowIn {
  to { opacity: 1; transform: translateY(0); }
}
.evt-row-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
}
.evt-row-type {
  font-family: 'SF Mono', 'Fira Code', Menlo, Consolas, monospace;
  font-size: 10px;
  color: #fdfac3;
  background: rgba(253, 250, 195, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  width: fit-content;
}
.evt-row-dest {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.evt-row-status {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  text-align: center;
  transition: color 0.4s ease, background 0.4s ease;
}
.evt-row-status.delivered {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
}
.evt-row-status.retrying {
  color: #facc15;
  background: rgba(250, 204, 21, 0.08);
}
.evt-row-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  font-family: 'SF Mono', 'Fira Code', Menlo, Consolas, monospace;
  white-space: nowrap;
  text-align: right;
}

/* Stealth mode — challenge & resolve sequence */
.plat-card:has(.stl-seq) {
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.stl-seq {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  gap: 16px;
}
.stl-challenge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 260px;
}
.stl-ch-icon {
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stl-ch-icon.visible {
  opacity: 1;
  transform: translateY(0);
}
.stl-ch-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stl-ch-label.visible {
  opacity: 1;
  transform: translateY(0);
}
.stl-ch-visual {
  width: 100%;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stl-ch-visual.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Crossfade between steps */
.stl-seq.fading .stl-challenge,
.stl-seq.fading .stl-resolve {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.stl-seq .stl-challenge {
  transition: opacity 0.45s ease;
}

/* Bot detection / fingerprint visual — key-value rows */
.stl-vis-bot {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stl-vis-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stl-vis-key {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(255, 255, 255, 0.3);
}
.stl-vis-val {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(255, 255, 255, 0.55);
}
.stl-vis-hash {
  color: rgba(96, 145, 126, 0.7);
}

/* CAPTCHA visual — grid */
.stl-vis-captcha {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.stl-vis-captcha-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 120px;
}
.stl-vis-captcha-cell {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  transition: background 0.5s ease, border-color 0.5s ease;
}
.stl-vis-captcha-cell.picked {
  background: rgba(96, 145, 126, 0.15);
  border-color: rgba(96, 145, 126, 0.35);
}
.stl-vis-captcha-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Rate limiting visual — bars */
.stl-vis-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.stl-vis-rate-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  width: 100%;
  max-width: 200px;
}
.stl-vis-rate-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px 3px 0 0;
  transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s ease;
}
.stl-vis-rate-bar.animated {
  background: rgba(96, 145, 126, 0.25);
}

/* Resolve state */
.stl-resolve {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stl-resolve.visible {
  opacity: 1;
  transform: translateY(0);
}
.stl-resolve-check {
  flex-shrink: 0;
}
.stl-resolve-text {
  font-size: 12px;
  color: rgba(96, 145, 126, 0.8);
  font-weight: 500;
}

/* Fade challenge on resolve */
.stl-seq.resolved .stl-challenge {
  opacity: 0.25;
  transition: opacity 0.8s ease;
}

/* Interactions / MFA animation */
.plat-card:has(.mfa-anim) {
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.mfa-anim {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  width: 360px;
  max-width: 100%;
  margin: 0 auto;
  font-family: var(--font);
}
.mfa-session {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mfa-sess-row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}
.mfa-sess-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
}
.mfa-sess-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mfa-sess-status {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}
.mfa-sess-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.mfa-sess-dot.running {
  background: #F68D2E;
  animation: agDotPulse 1.2s ease-in-out infinite;
}
.mfa-sess-dot.done {
  background: #4ade80;
}
.mfa-sess-dot.paused {
  background: #facc15;
}
.mfa-modal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mfa-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
.mfa-modal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
}
.mfa-modal-inner {
  position: relative;
  background: rgba(20, 23, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 28px;
  width: 270px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.mfa-modal-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.mfa-modal-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  line-height: 1.4;
}
.mfa-code-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}
.mfa-code-digit {
  width: 34px;
  height: 40px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  font-family: 'SF Mono', 'Fira Code', Menlo, Consolas, monospace;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.mfa-code-digit.filled {
  border-color: rgba(253, 250, 195, 0.3);
  background: rgba(253, 250, 195, 0.05);
}
.mfa-code-digit.active {
  border-color: rgba(253, 250, 195, 0.5);
  box-shadow: 0 0 0 1px rgba(253, 250, 195, 0.15);
}
.mfa-submit-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--bg-primary);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 9px 0;
  cursor: default;
  transition: background 0.3s ease, color 0.3s ease;
}
.mfa-submit-btn.ready {
  background: #fdfac3;
  color: #061226;
}

/* MFA step transitions */
.mfa-step {
  transition: opacity 0.4s ease;
}
.mfa-step.mfa-step-hidden {
  display: none;
}

/* Method selection */
.mfa-method-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mfa-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  cursor: default;
  transition: border-color 0.4s ease, background 0.4s ease;
  color: rgba(255, 255, 255, 0.4);
}
.mfa-method.selected {
  border-color: rgba(253, 250, 195, 0.3);
  background: rgba(253, 250, 195, 0.04);
}
.mfa-method.selected svg {
  color: rgba(253, 250, 195, 0.7);
}
.mfa-method-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.mfa-method-detail {
  margin-left: auto;
  font-size: 12px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .stor-anim {
    flex-direction: column;
    gap: 16px;
    padding: 24px 16px;
  }
  .stor-arrow svg {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .api-split-panes {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1px auto;
    height: auto;
    min-height: auto;
  }
  .api-split-pane {
    padding: 12px 14px 16px;
    min-height: 140px;
  }
  .api-split-divider {
    height: 1px;
    width: 100%;
  }
  .api-pane-code {
    font-size: 11px;
  }
}

/* Platform Section — Product page */
.plat-section {
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  padding: 100px 24px 80px;
}
.plat-title {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 560px;
}
.plat-title span {
  display: block;
}
.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plat-card {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(25, 72, 61, 0.2), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(253, 250, 195, 0.03), transparent 55%),
    rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  min-height: 360px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.plat-card-bg {
  background-size: cover;
  background-position: center;
}
.plat-card-wrap {
  display: grid;
  grid-template-rows: 1fr auto;
}
.plat-card-graphic {
  flex: 1;
}
.plat-card-text {
  padding: 24px 0 0;
  max-width: 420px;
}
.plat-grid > .plat-card-wrap .plat-card {
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: unset;
}
.plat-grid > .plat-card-wrap .plat-card-desc {
  max-width: 380px;
}
.plat-card-text-bl {
  align-self: flex-end;
  margin-right: auto;
}
.plat-card-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.plat-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}
.prod-section {
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.prod-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: end;
}
.prod-title {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.prod-desc {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
}
.prod-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  row-gap: 48px;
  align-items: start;
}
.prod-grid-2 .plat-card {
  min-height: unset;
  aspect-ratio: 3 / 2;
}
.sec-strip-section {
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}
.sec-strip-title {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.sec-strip-desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin: 0 auto 56px;
}
.sec-strip {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.sec-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  white-space: nowrap;
}
.sec-strip-badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  opacity: 0.85;
  margin-bottom: 4px;
}
.sec-strip-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  line-height: 1;
}
.sec-strip-sub {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  line-height: 1;
}
.sec-strip-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 768px) {
  .plat-grid { grid-template-columns: 1fr; }
  .plat-title { max-width: 100%; }
  .prod-header { grid-template-columns: 1fr; gap: 16px; }
  .prod-grid-2 { grid-template-columns: 1fr; }
  .prod-grid-2 .plat-card { aspect-ratio: 1 / 1; }
  .sec-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    justify-items: center;
  }
  .sec-strip-item:last-child {
    grid-column: 1 / -1;
  }
}

/* Scale animation — VM orchestration grid */
.scale-animation {
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: none;
  border: none;
}
.scale-animation::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url('assets/images/a012.jpg') center / cover no-repeat;
  z-index: 0;
}
.scale-grid-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  z-index: 2;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 6px;
  width: 100%;
  transition: opacity 0.5s ease;
}
.scale-grid.sv-fade-out {
  opacity: 0;
}
.scale-vm {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.85);
}
.scale-vm.sv-spawn {
  animation: svSpawnIn 0.35s ease forwards;
}
@keyframes svSpawnIn {
  to { opacity: 1; transform: scale(1); }
}
.sv-head {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.sv-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 4px rgba(61, 153, 112, 0.6);
  animation: svDotPulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
.scale-vm:nth-child(odd) .sv-dot { animation-delay: 0.6s; }
@keyframes svDotPulse {
  0%, 100% { opacity: 0.5; box-shadow: 0 0 2px rgba(61, 153, 112, 0.3); }
  50%      { opacity: 1; box-shadow: 0 0 6px rgba(61, 153, 112, 0.7); }
}
.sv-id {
  font-size: 8px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(255, 255, 255, 0.3);
}
.sv-body {
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sv-source {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.sv-task {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
}
.sv-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
}
.sv-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #547DC5);
  border-radius: 0 1px 1px 0;
}
.sv-prog-live {
  animation: svProgress 3s ease-in-out forwards;
  animation-delay: 0.3s;
}
@keyframes svProgress {
  0%   { width: 0%; }
  100% { width: 100%; }
}

/* Console image */
.split-visual-inner.console-img {
  background: url('assets/images/a013.jpg') center/cover no-repeat;
  border: 1px solid #1C1E1D;
  border-radius: 4px;
  overflow: hidden;
  padding: 40px 0 0 40px;
}
.split-visual-inner.console-img .con-chrome {
  margin-bottom: -1px;
  margin-right: -1px;
}
.con-chrome {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px 0 0 0;
  border-right: none;
  border-bottom: none;
  overflow: hidden;
  background: rgba(13,16,15,0.9);
}
.con-chrome-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
}
.con-chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.con-chrome-url {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  font-size: 11px;
  font-family: var(--mono);
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
  padding: 3px 10px;
  border-radius: 4px;
}
.con-chrome-lock {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.25);
}
.con-chrome-body {
  flex: 1;
  overflow: hidden;
}
.con-chrome-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
@media (max-width: 768px) {
  .split-visual-inner.console-img {
    padding: 24px 0 0 24px;
  }
}

/* ============================
   Console Animation
   ============================ */
.console-animation {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}
.console-window {
  display: flex;
  width: 100%;
  height: 100%;
  background: rgba(13, 16, 15, 0.9);
  border-radius: inherit;
  overflow: hidden;
}
.console-sidebar {
  width: 160px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.console-sidebar-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 8px;
}
.console-agent-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  cursor: default;
}
.console-agent-item.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}
.console-agent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.console-agent-dot.running {
  background: var(--accent);
  box-shadow: 0 0 6px rgba(253, 250, 195, 0.4);
  animation: consoleDotPulse 2s ease-in-out infinite;
}
.console-agent-dot.idle {
  background: rgba(255, 255, 255, 0.2);
}
@keyframes consoleDotPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.console-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.console-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.console-agent-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}
.console-status-badge {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(253, 250, 195, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}
.console-live {
  flex: 1;
  display: flex;
  padding: 16px;
  gap: 16px;
}
.console-screen {
  flex: 1;
  background: #0C1B34;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.console-screen-bar {
  height: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.console-screen-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.console-screen-block {
  height: 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  animation: consoleBlockPulse 3s ease-in-out infinite;
}
.console-screen-block.b1 { width: 80%; animation-delay: 0s; }
.console-screen-block.b2 { width: 60%; animation-delay: 0.5s; }
.console-screen-block.b3 { width: 70%; animation-delay: 1s; }
@keyframes consoleBlockPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
.console-steps {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.console-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  opacity: 0;
  animation: consoleStepIn 0.4s ease forwards;
}
.console-step.step-0 { animation-delay: 0.5s; }
.console-step.step-1 { animation-delay: 2s; }
.console-step.step-2 { animation-delay: 3.5s; }
.console-step.step-3 { animation-delay: 5s; }
@keyframes consoleStepIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.console-step-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  flex-shrink: 0;
}
.console-step-icon.done {
  background: rgba(253, 250, 195, 0.12);
  color: var(--accent);
}
.console-step-icon.active-step {
  background: rgba(253, 250, 195, 0.08);
  border: 1.5px solid var(--accent);
  animation: consoleActivePulse 1.5s ease-in-out infinite;
}
@keyframes consoleActivePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(253, 250, 195, 0.2); }
  50% { box-shadow: 0 0 0 4px rgba(253, 250, 195, 0.08); }
}
.console-step-icon.pending-step {
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

/* ============================
   API Animation
   ============================ */
.split-visual-inner.api-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: url('assets/images/a014.jpg') center/cover no-repeat;
  background-size: cover;
  border: none;
}
.api-terminal {
  width: 100%;
  max-width: 420px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}
.api-terminal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.api-terminal-dots {
  display: flex;
  gap: 5px;
}
.api-terminal-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.api-terminal-title {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.03em;
}
.api-terminal-body {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.api-line {
  font-size: 10.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: apiLineIn 0.3s ease forwards;
}
.api-line.l0 { animation-delay: 0.2s; }
.api-line.l1 { animation-delay: 0.4s; }
.api-line.l2 { animation-delay: 0.6s; }
.api-line.l3 { animation-delay: 0.8s; }
.api-line.l4 { animation-delay: 1.0s; }
.api-line.l5 { animation-delay: 1.2s; }
.api-line.l6 { animation-delay: 1.4s; }
.api-line.l7 { animation-delay: 1.6s; }
@keyframes apiLineIn {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}
.api-response {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.api-response-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.02);
}
.api-response-status {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
}
.api-response-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
}
.api-response-body {
  padding: 10px 16px;
}
.api-res-line {
  font-size: 10.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  animation: apiResIn 0.3s ease forwards;
}
.api-res-line.r0 { animation-delay: 2.0s; }
.api-res-line.r1 { animation-delay: 2.2s; }
.api-res-line.r2 { animation-delay: 2.4s; }
.api-res-line.r3 { animation-delay: 2.6s; }
.api-res-line.r4 { animation-delay: 2.8s; }
.api-res-line.r5 { animation-delay: 3.0s; }
.api-res-line.r6 { animation-delay: 3.2s; }
.api-res-line.r7 { animation-delay: 3.4s; }
.api-res-line.r8 { animation-delay: 3.6s; }
.api-res-line.r9 { animation-delay: 3.8s; }
.api-res-line.r10 { animation-delay: 4.0s; }
@keyframes apiResIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.api-key { color: #c586c0; }
.api-var { color: #9cdcfe; }
.api-obj { color: #9cdcfe; }
.api-fn { color: #dcdcaa; }
.api-str { color: #ce9178; }
.api-prop { color: #9cdcfe; }
.api-num { color: #b5cea8; }
.api-op { color: rgba(255, 255, 255, 0.4); }
.api-brace { color: rgba(255, 255, 255, 0.5); }
.api-flag { color: #9cdcfe; }

/* ============================
   Feature Sections
   ============================ */
.feature-section {
  padding: 40px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.feature-card {
  background: var(--bg-card);
  border: none;
  border-radius: 4px;
  overflow: hidden;
}
.feature-card:hover { border-color: transparent; }
.feature-text { padding: 40px 40px 24px; }
.feature-heading {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.feature-link:hover { color: var(--text-primary); }
.feature-link span { transition: transform var(--transition); }
.feature-link:hover span { transform: translateX(3px); }
.feature-demo { padding: 24px 40px 40px; }

/* ---- SaaS Browser Demo ---- */
.saas-browser-demo {
  position: relative;
}
.saas-browser {
  background: #0C1B34;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
}
.saas-tabstrip {
  display: flex;
  background: #222;
  padding: 6px 6px 0;
  gap: 1px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.saas-tabstrip::-webkit-scrollbar { display: none; }
.saas-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 10.5px;
  color: rgba(255,255,255,0.4);
  background: #2a2a2a;
  border-radius: 4px 4px 0 0;
  cursor: default;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.saas-tab:hover {
  color: rgba(255,255,255,0.7);
  background: #252525;
}
.saas-tab.active {
  background: #0C1B34;
  color: rgba(255,255,255,0.9);
}
.saas-tab-icon {
  font-size: 8px;
}
.saas-brand-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
  background: rgba(255,255,255,0.92);
  border-radius: 3px;
  padding: 1px;
}
.saas-addressbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #0C1B34;
  border-bottom: 1px solid #2a2a2a;
}
.saas-url {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-family: var(--mono);
  transition: opacity 0.3s;
}

/* SaaS page content */
.saas-pages {
  position: relative;
  min-height: 210px;
}
.saas-page {
  display: none;
  height: 100%;
}
.saas-page.active {
  display: flex;
  animation: saasPageIn 0.3s ease;
}
@keyframes saasPageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.saas-page-sidebar {
  width: 120px;
  background: #0E1F3A;
  border-right: 1px solid #2a2a2a;
  padding: 10px 0;
  flex-shrink: 0;
}
.sp-brand {
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 10px;
}
.sp-brand-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
  background: rgba(255,255,255,0.92);
  border-radius: 3px;
  padding: 1px;
}
.sp-nav {
  font-size: 10.5px;
  color: rgba(255,255,255,0.45);
  padding: 4px 12px;
  cursor: default;
}
.sp-nav.active {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
}
.saas-page-main {
  flex: 1;
  padding: 12px 16px;
  min-width: 0;
}
.sp-header {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-count {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 4px;
}
.sp-table {
  display: flex;
  flex-direction: column;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
}
.sp-row {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 10.5px;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid #222;
  gap: 4px;
}
.sp-row:last-child { border-bottom: none; }
.sp-row-head {
  background: #0C1B34;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sp-c1 { flex: 1; }
.sp-c2 { flex: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-c3 { flex: 0.7; }
.sp-c4 { flex: 0.7; }
.sp-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  flex: 0.7;
  text-align: center;
}
.sp-badge.fulfilled { background: rgba(74,222,128,0.12); color: #4ade80; }
.sp-badge.pending { background: rgba(251,191,36,0.12); color: #fbbf24; }
.sp-badge.urgent { background: rgba(248,113,113,0.15); color: #f87171; }
.sp-badge.high { background: rgba(251,146,60,0.12); color: #fb923c; }
.sp-badge.normal { background: rgba(96,165,250,0.12); color: #60a5fa; }

/* Per-product SaaS theming to mimic real tools better */
.saas-theme-shopify .saas-page-sidebar { background: #1f2a1f; border-right-color: #2f4030; }
.saas-theme-shopify .sp-nav.active { background: rgba(149,191,71,0.16); color: #d7f0b4; }
.saas-theme-shopify .sp-header { color: #dcead3; }

.saas-theme-zendesk .saas-page-sidebar { background: #12363b; border-right-color: #1f4b50; }
.saas-theme-zendesk .sp-nav.active { background: rgba(255,255,255,0.14); color: #f2f7f7; }
.saas-theme-zendesk .sp-header { color: #e8f1f2; }

.saas-theme-stripe .saas-page-sidebar { background: #1f1a30; border-right-color: #2f2750; }
.saas-theme-stripe .sp-nav.active { background: rgba(99,91,255,0.2); color: #d7d4ff; }
.saas-theme-stripe .sp-badge.fulfilled { background: rgba(99,91,255,0.18); color: #bcb6ff; }

.saas-theme-salesforce .saas-page-sidebar { background: #0f3f79; border-right-color: #1b5fa8; }
.saas-theme-salesforce .sp-nav { color: rgba(232,244,255,0.72); }
.saas-theme-salesforce .sp-nav.active { background: rgba(255,255,255,0.18); color: #fff; }
.saas-theme-salesforce .sp-header { color: #d8edff; }

.saas-theme-hubspot .saas-page-sidebar { background: #2a2020; border-right-color: #3a2d2d; }
.saas-theme-hubspot .sp-nav.active { background: rgba(255,122,89,0.18); color: #ffd7cd; }
.saas-theme-hubspot .sp-badge.pending { background: rgba(255,122,89,0.15); color: #ffab93; }

.saas-theme-netsuite .saas-page-sidebar { background: #123843; border-right-color: #1d515e; }
.saas-theme-netsuite .sp-nav.active { background: rgba(27,125,142,0.24); color: #b7eaf3; }

.saas-theme-workday .saas-page-sidebar { background: #2f2720; border-right-color: #4a3a2d; }
.saas-theme-workday .sp-nav.active { background: rgba(246,141,46,0.18); color: #ffd7ae; }

.saas-theme-servicenow .saas-page-sidebar { background: #1a2219; border-right-color: #2b3a2a; }
.saas-theme-servicenow .sp-nav.active { background: rgba(129,181,161,0.18); color: #d4eee2; }
.saas-theme-servicenow .sp-badge.urgent { background: rgba(129,181,161,0.18); color: #b7e7d2; }

.saas-theme-sap .saas-page-sidebar { background: #102433; border-right-color: #1b3a52; }
.saas-theme-sap .sp-nav.active { background: rgba(15,170,255,0.18); color: #bde8ff; }
.saas-theme-sap .sp-header { color: #d8eeff; }

.saas-theme-jira .saas-page-sidebar { background: #13253f; border-right-color: #1d365b; }
.saas-theme-jira .sp-nav.active { background: rgba(0,82,204,0.24); color: #cfe0ff; }
.saas-theme-jira .sp-badge.normal { background: rgba(0,82,204,0.22); color: #bcd5ff; }

.saas-theme-linkedin .saas-page-sidebar { background: #102337; border-right-color: #173553; }
.saas-theme-linkedin .sp-nav.active { background: rgba(10,102,194,0.24); color: #c8e3ff; }
.saas-theme-linkedin .sp-badge.fulfilled { background: rgba(10,102,194,0.2); color: #b7d8ff; }

/* SaaS responsive rules consolidated into main responsive section below */

/* ---- SDK Code Block ---- */
.sdk-code-block {
  background: #0E1F3A;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--mono);
}
.sdk-code-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #0C1B34;
  border-bottom: 1px solid #2a2a2a;
}
.sdk-code-dots {
  display: flex;
  gap: 5px;
}
.sdk-code-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.sdk-code-dots span:nth-child(1) { background: #ff5f57; }
.sdk-code-dots span:nth-child(2) { background: #febc2e; }
.sdk-code-dots span:nth-child(3) { background: #28c840; }
.sdk-code-filename {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.sdk-code-lang {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-left: auto;
}
.sdk-code-body {
  padding: 16px 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sdk-code-body pre {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin: 0;
  white-space: pre;
}
.sdk-code-body .code-comment {
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

/* ---- Agent Control Panel ---- */
.control-panel {
  background: #0C1B34;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
}
.cp-layout {
  display: flex;
  min-height: 320px;
}

/* Activity Log (left) */
.cp-log {
  flex: 1.4;
  border-right: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
}
.cp-log-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #2a2a2a;
  background: #0E1F3A;
}
.cp-log-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.cp-log-badge {
  font-size: 10px;
  padding: 1px 6px;
  background: rgba(99,102,241,0.15);
  color: #a5b4fc;
  border-radius: 4px;
  font-family: var(--mono);
}
.cp-log-live {
  margin-left: auto;
  font-size: 10px;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.cp-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: cpPulse 1.5s ease-in-out infinite;
}
@keyframes cpPulse { 50% { opacity: 0.3; } }

.cp-log-entries {
  flex: 1;
  padding: 6px 0;
  overflow: hidden;
}
.cp-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  font-size: 11.5px;
  opacity: 0;
  transform: translateY(6px);
  animation: cpEntryIn 0.3s ease forwards;
}
.cp-entry:nth-child(1) { animation-delay: 0.2s; }
.cp-entry:nth-child(2) { animation-delay: 0.5s; }
.cp-entry:nth-child(3) { animation-delay: 0.8s; }
.cp-entry:nth-child(4) { animation-delay: 1.1s; }
.cp-entry:nth-child(5) { animation-delay: 1.4s; }
.cp-entry:nth-child(6) { animation-delay: 1.7s; }
.cp-entry:nth-child(7) { animation-delay: 2.0s; }
.cp-entry:nth-child(8) { animation-delay: 2.3s; }
@keyframes cpEntryIn {
  to { opacity: 1; transform: translateY(0); }
}
.cp-time {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  min-width: 52px;
}
.cp-action {
  flex: 1;
  color: rgba(255,255,255,0.6);
}
.cp-url {
  color: #8ab4f8;
}
.cp-el {
  color: #c084fc;
}
.cp-status {
  font-size: 10px;
  flex-shrink: 0;
}
.cp-status.ok {
  color: #4ade80;
}
.cp-status.approval {
  color: #fbbf24;
  background: rgba(251,191,36,0.1);
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 500;
  animation: cpApprovalPulse 2s ease-in-out infinite;
}
@keyframes cpApprovalPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.cp-entry.awaiting {
  background: rgba(251,191,36,0.04);
}
.cp-status.approval:hover {
  background: rgba(251,191,36,0.2);
  cursor: pointer;
}
.cp-toggle:hover {
  filter: brightness(1.2);
}

/* Controls (right) */
.cp-controls {
  flex: 0.7;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #08152A;
}
.cp-control-section {
  padding: 12px 14px;
  border-bottom: 1px solid #2a2a2a;
}
.cp-control-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.cp-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}
.cp-toggle {
  width: 30px;
  height: 16px;
  border-radius: 4px;
  position: relative;
  cursor: default;
  flex-shrink: 0;
}
.cp-toggle.on {
  background: #16a34a;
}
.cp-toggle.off {
  background: #333;
}
.cp-toggle-knob {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  transition: left 0.2s;
}
.cp-toggle.on .cp-toggle-knob { left: 16px; }
.cp-toggle.off .cp-toggle-knob { left: 2px; }

/* Credentials */
.cp-cred {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}
.cp-cred-icon {
  font-size: 12px;
}
.cp-cred-info {
  display: flex;
  flex-direction: column;
}
.cp-cred-name {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.cp-cred-meta {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
}

/* Action buttons */
.cp-actions-section {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.cp-btn-replay {
  flex: 1;
  padding: 7px 0;
  font-size: 11px;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
  border: 1px solid #333;
  border-radius: 4px;
  color: rgba(255,255,255,0.7);
  cursor: default;
  transition: background 0.15s;
}
.cp-btn-replay:hover { background: rgba(255,255,255,0.1); }
.cp-btn-replay:active { transform: scale(0.97); }
.cp-btn-kill {
  flex: 1;
  padding: 7px 0;
  font-size: 11px;
  font-weight: 600;
  background: rgba(220,38,38,0.12);
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: 4px;
  color: #f87171;
  cursor: default;
  transition: background 0.15s;
}
.cp-btn-kill:hover { background: rgba(220,38,38,0.2); }
.cp-btn-kill:active { transform: scale(0.97); }

/* CP responsive rules consolidated into main responsive section below */

/* Surfaces demo */
.surfaces-demo { padding: 0 40px 40px; }
.surfaces-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.surface-card {
  background: #0E1F3A;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.surface-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Slack card */
.slack-channel {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}
.slack-messages {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 260px;
  overflow: hidden;
}
.slack-msg { display: flex; gap: 8px; }
.slack-avatar {
  width: 28px; height: 28px;
  border-radius: 4px;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}
.cursor-avatar {
  background: #0C1B34;
  border: 1px solid #333;
  color: var(--text-primary);
}
.slack-content { flex: 1; }
.slack-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.slack-badge {
  font-size: 9px;
  padding: 1px 4px;
  background: rgba(96, 165, 250, 0.15);
  color: var(--blue);
  border-radius: 3px;
  margin-left: 4px;
  font-weight: 500;
}
.slack-content p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 2px;
}
.slack-mention {
  color: var(--blue);
  background: rgba(96, 165, 250, 0.1);
  padding: 0 2px;
  border-radius: 3px;
}
.slack-actions { display: flex; gap: 6px; margin-top: 8px; }
.slack-action-btn {
  padding: 4px 10px;
  font-size: 11px;
  background: #222;
  border: 1px solid #333;
  border-radius: 4px;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.slack-action-btn:hover {
  background: #2a2a2a;
  color: var(--text-primary);
}

/* GitHub card */
.github-review { padding: 14px; }
.github-reviewer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.github-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}
.github-name { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.github-time { font-size: 11px; color: var(--text-muted); }
.github-diff {
  background: #0C1B34;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  overflow: hidden;
  margin-bottom: 12px;
}
.github-file {
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--mono);
}
.diff-line {
  padding: 2px 10px;
  font-size: 11px;
  font-family: var(--mono);
}
.diff-line.removed { background: rgba(248, 113, 113, 0.08); color: var(--red); }
.diff-line.added { background: rgba(74, 222, 128, 0.08); color: var(--green); }
.github-comment {
  font-size: 12px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.github-comment strong {
  display: block;
  color: var(--orange);
  margin-bottom: 4px;
  font-size: 11px;
}
.github-comment p { color: var(--text-secondary); }
.github-comment code {
  background: #222;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 11px;
  font-family: var(--mono);
}
.github-actions { display: flex; gap: 6px; }
.github-action-btn {
  padding: 4px 10px;
  font-size: 11px;
  background: #222;
  border: 1px solid #333;
  border-radius: 4px;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.github-action-btn:hover {
  background: #2a2a2a;
  color: var(--text-primary);
}

/* ============================
   Testimonials Section
   ============================ */
.testimonials-section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.testimonial-card blockquote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #333, #0C1B34);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; }
.author-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.author-role { font-size: 12px; color: var(--text-muted); }

/* ============================
   Frontier Section
   ============================ */
.frontier-section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.frontier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.frontier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color var(--transition);
}
.frontier-card:hover { border-color: var(--border-light); }
.frontier-card-wide {
  grid-column: 1 / -1;
  display: flex;
  gap: 40px;
  align-items: center;
}
.frontier-heading { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.frontier-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.frontier-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--transition);
  margin-bottom: 24px;
}
.frontier-link:hover { color: var(--text-primary); }

/* Model selector */
.model-selector {
  background: #0C1B34;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.model-dropdown {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.model-label { font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.model-current { display: flex; align-items: center; gap: 6px; }
.model-auto { font-size: 12px; font-weight: 500; color: var(--text-primary); }
.model-badge {
  font-size: 9px;
  padding: 2px 5px;
  background: rgba(74, 222, 128, 0.1);
  color: var(--green);
  border-radius: 3px;
  font-weight: 500;
}
.model-list { padding: 6px; }
.model-option {
  padding: 6px 10px;
  font-size: 12px;
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.model-option:hover { background: #0C1B34; color: var(--text-secondary); }
.model-option.selected { color: var(--text-primary); }
.model-check { color: var(--green); font-size: 11px; }

/* Codebase visual */
.codebase-visual {
  background: #0C1B34;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.codebase-query {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.query-icon { font-size: 14px; }
.codebase-searching { display: flex; align-items: center; gap: 8px; }
.search-progress {
  flex: 1;
  height: 3px;
  background: #222;
  border-radius: 2px;
  overflow: hidden;
}
.search-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 2px;
  animation: searchPulse 3s ease-in-out infinite;
}
@keyframes searchPulse {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}
.search-label {
  font-size: 11px;
  color: var(--text-muted);
  animation: fadeInOut 3s ease-in-out infinite;
}
@keyframes fadeInOut {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Enterprise card */
.enterprise-content { flex: 1; }
.enterprise-image { flex: 1; }
.team-photo-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a1510, #2a1f15, #1a1510);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(180, 140, 100, 0.15), rgba(60, 40, 20, 0.3));
}

/* ============================
   Changelog Section
   ============================ */
.changelog-section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.changelog-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  transition: background var(--transition);
}
.changelog-item:hover { background: var(--bg-card-hover); }
.changelog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.changelog-version {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  background: #222;
  padding: 2px 8px;
  border-radius: 4px;
}
.changelog-date { font-size: 13px; color: var(--text-muted); }
.changelog-title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}
.changelog-arrow {
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}
.changelog-item:hover .changelog-arrow {
  transform: translateX(3px);
  color: var(--text-primary);
}
.changelog-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.changelog-more:hover { color: var(--text-primary); }
.changelog-more span { transition: transform var(--transition); }
.changelog-more:hover span { transform: translateX(3px); }

/* ============================
   About Section
   ============================ */
.about-section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-heading {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: opacity var(--transition);
}
.about-link:hover { opacity: 0.7; }
.about-link span { transition: transform var(--transition); }
.about-link:hover span { transform: translateX(3px); }
.about-photo {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #1a1510, #2a1f15, #1a1510);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.about-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(180, 140, 100, 0.12), rgba(60, 40, 20, 0.25));
}

/* ============================
   Blog Section
   ============================ */
.blog-section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.blog-card {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-tag { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.blog-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-excerpt { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.blog-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.blog-more:hover { color: var(--text-primary); }
.blog-more span { transition: transform var(--transition); }
.blog-more:hover span { transform: translateX(3px); }

/* ============================
   CTA Section
   ============================ */
.cta-section {
  padding: 120px 24px 80px;
  text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(120, 80, 50, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================
   CTA Component
   ============================ */
.deck-cta {
  text-align: center;
  padding: 120px 24px 0;
}
.deck-cta-compact {
  padding: 60px 24px 80px;
}
.deck-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.deck-cta-heading {
  font-size: clamp(32px, 5vw, 70px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.deck-cta-subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 32px;
}
.deck-cta-heading:last-child,
.deck-cta-subtitle:last-child {
  margin-bottom: 32px;
}
.deck-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.deck-cta-secondary {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: color var(--transition), border-color var(--transition);
}
.deck-cta-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.deck-cta-bg {
  width: 100%;
  max-width: var(--max-width);
  margin: 80px auto 0;
  line-height: 0;
}
.deck-cta-bg img {
  width: 100%;
  height: auto;
  display: block;
}
.deck-cta-grid {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 80px;
  line-height: 0;
}
.deck-cta-grid img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .deck-cta { padding: 80px 16px 0; }
  .deck-cta-actions { flex-direction: column; }
  .deck-cta-bg { margin-top: 60px; }
  .deck-cta-grid { margin-top: 60px; }
}

/* ============================
   Footer
   ============================ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
  padding: 60px 24px 24px;
  overflow: hidden;
}
.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.footer-links {
  display: contents;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: titlecase;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text-primary); }

/* Footer AI Section */
.footer-ai {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-ai-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}
.footer-ai-links {
  display: flex;
  gap: 8px;
}
.footer-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-ai-btn:hover {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.3);
}
.footer-ai-icon {
  filter: grayscale(1) brightness(0.5) invert(1);
  opacity: 0.5;
  transition: filter 0.2s, opacity 0.2s;
}
.footer-ai-btn:hover .footer-ai-icon {
  filter: grayscale(1) brightness(0.6) invert(1);
  opacity: 0.8;
}

/* Footer Wordmark — green fill with inner white glow pulse */
.footer-wordmark {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 0 20px;
  position: relative;
}
.footer-wordmark img,
.footer-wordmark svg {
  width: auto;
  height: 24px;
  max-width: 200px;
  display: block;
}

/* Footer Bottom / Copyright */
.footer-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 16px 0 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
}
.footer-bottom-icon:hover { color: rgba(255,255,255,0.5); }
.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.footer-status-dot.operational {
  animation: status-pulse 3s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
  50%      { opacity: .1; box-shadow: 0 0 6px 2px rgba(52, 211, 153, 0.15); }
}
.footer-status-label {
  white-space: nowrap;
}
.footer-txt-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}
.footer-txt-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-txt-links a:hover {
  color: rgba(255,255,255,0.5);
}

/* Language Switcher */
.footer-lang {
  position: relative;
  display: inline-flex;
  justify-self: center;
}
.footer-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: color 0.2s;
}
.footer-lang-btn:hover { color: rgba(255,255,255,0.5); }
.footer-lang-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0C1B34;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 4px;
  display: none;
  flex-direction: column;
  min-width: 100px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.footer-lang.open .footer-lang-dropdown { display: flex; }
.footer-lang-opt {
  padding: 6px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.footer-lang-opt:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); }
.footer-lang-opt.active { color: rgba(255,255,255,0.8); font-weight: 500; }

/* Footer Responsive */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .footer { padding: 40px 16px 16px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-col { min-width: 0; }
  .footer-bottom { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ============================
   Retina / High-DPI
   ============================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .footer-logo-img { image-rendering: -webkit-optimize-contrast; }
  .agent-cursor-arrow { filter: drop-shadow(0 0.5px 1px rgba(0,0,0,0.4)); }
}

/* ============================
   Responsive — iPad / Tablet (1024px)
   ============================ */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr; }
  .mini-chat-panel { display: none; }
  .mini-sidebar { width: 120px; }
  .hero .hero-image .chrome-window { width: 80%; }
  .hero .hero-image .slack-window { width: 80%; }
  .hero .hero-image .linux-desktop { padding: 30px 40px 12px; height: 550px; }
  .feature-section { padding: 30px 20px; }
  .cl-logo { height: 30px; padding: 8px 20px; }
  .cp-layout { min-height: 280px; }
  .saas-page-sidebar { width: 100px; }
  .sp-row { font-size: 10px; }
  .saas-tab { font-size: 9.5px; padding: 5px 10px; }
}

/* ============================
   Responsive — Small Tablet / Large Phone (768px)
   ============================ */
@media (max-width: 768px) {
  /* Hero: pull the top padding in so the live-channels video panel sits in the
     first viewport on a phone instead of being buried below the fold. */
  .hero { padding: 112px 16px 40px; }
  .hero-title { font-size: clamp(24px, 7vw, 36px); }
  .hero-row { grid-template-columns: 1fr; gap: 24px; }
  .hero-subtitle { font-size: 15px; }
  .hero-buttons { justify-content: flex-start; }
  .hero-content { margin-bottom: 24px; }

  /* VM Screen - keep exact desktop geometry, scale down uniformly as a mini desktop */
  .hero .hero-image {
    --vm-mobile-scale: 1;
    --vm-mobile-height: 726px;
    position: relative;
    width: 100%;
    height: var(--vm-mobile-height);
    overflow: hidden;
  }
  .hero .hero-image .hero-image-glow { display: none; }
  .hero .hero-image .vm-screen {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1100px;
    margin-left: -550px;
    border-radius: 4px;
    transform: scale(var(--vm-mobile-scale));
    transform-origin: top center;
  }
  .hero .hero-image .gnome-panel { height: 26px; font-size: 11.5px; }
  .hero .hero-image .gnome-panel .panel-activities { font-size: 11.5px; padding: 2px 8px; }
  .hero .hero-image .panel-clock { font-size: 11.5px; }
  .hero .hero-image .panel-systray { gap: 8px; }
  .hero .hero-image .panel-systray svg { width: 12px; height: 10px; }
  .hero .hero-image .linux-desktop { padding: 50px 80px 16px; height: 700px; }
  .hero .hero-image .chrome-window { width: 72%; max-width: 700px; top: 50px; height: calc(100% - 140px); }
  .hero .hero-image .slack-window { width: 66%; max-width: 640px; top: 42px; height: calc(100% - 126px); }
  .hero .hero-image .chrome-tabstrip { height: 36px; }
  .hero .hero-image .chrome-tab { height: 30px; font-size: 11px; padding: 0 12px; }
  .hero .hero-image .chrome-toolbar { height: 36px; padding: 0 8px; }
  .hero .hero-image .chrome-address-bar { height: 28px; padding: 4px 12px; }
  .hero .hero-image .chrome-url { font-size: 12px; }
  .hero .hero-image .chrome-bookmarks { display: flex; }
  .hero .hero-image .chrome-nav-btn { width: 24px; height: 24px; }
  .hero .hero-image .chrome-nav-btn svg { width: 12px; height: 12px; }
  .hero .hero-image .google-logo-sm { font-size: 18px; }
  .hero .hero-image .google-search-box { padding: 8px 16px; }
  .hero .hero-image .google-search-text { font-size: 13px; }
  .hero .hero-image .google-tab { font-size: 12px; padding: 8px 12px; }
  .hero .hero-image .google-result .result-title { font-size: 15px; }
  .hero .hero-image .google-result .result-snippet { font-size: 12px; }
  .hero .hero-image .google-result .result-url { font-size: 11px; }
  .hero .hero-image .gnome-dash { padding: 4px 10px; gap: 5px; bottom: 8px; }
  .hero .hero-image .dash-item svg,
  .hero .hero-image .dash-item img { width: 28px !important; height: 28px !important; }
  .hero .hero-image .slack-sidebar { width: 206px; }
  .hero .hero-image .slack-workspace-name { font-size: 15px; }
  .hero .hero-image .slack-nav-item { font-size: 15px; padding: 5px 16px; }
  .hero .hero-image .slack-channel-name { font-size: 14px; }
  .hero .hero-image .slack-msg-body p { font-size: 12px; }
  .hero .hero-image .slack-input { font-size: 12px; min-height: 42px; }

  /* Trusted logos */
  .trusted-section { padding: 32px 16px; }
  .trusted-label { font-size: 10px; margin-bottom: 20px; }
  .logo-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 0 16px; }
  .cl-logo { max-height: 44px; padding: 6px 12px; }
  .cl-logo-sm { max-height: 36px; padding: 6px 16px; }

  /* Feature cards */
  .feature-section { padding: 20px 16px; }
  .feature-text { padding: 24px 20px 16px; }
  .feature-desc { font-size: 14px; }
  .feature-heading { font-size: clamp(20px, 5vw, 28px); }
  .feature-demo { padding: 12px 20px 20px; }
  .feature-demo:has(.scaling-grid-demo) { padding: 12px 12px 16px; }

  /* SaaS browser */
  .saas-page-sidebar { width: 90px; }
  .sp-brand { font-size: 10px; }
  .sp-nav { font-size: 9.5px; padding: 3px 10px; }
  .saas-tab { font-size: 9px; padding: 5px 8px; }
  .sp-row { font-size: 9.5px; }
  .sp-c3, .sp-c4 { display: none; }
  .sp-header { font-size: 12px; }
  .saas-addressbar { padding: 4px 10px; }
  .saas-url { font-size: 9px; }
  .sh-search-wrap { flex-wrap: wrap; }
  .sh-search-count { order: 2; }
  .sh-search-input { min-height: 22px; font-size: 9.5px; }

  /* SDK code block */
  .sdk-code-body { padding: 12px 14px; }
  .sdk-code-body pre { font-size: 10.5px; line-height: 1.6; }

  /* Control panel */
  .cp-layout { flex-direction: column; min-height: auto; }
  .cp-log { border-right: none; border-bottom: 1px solid #2a2a2a; }
  .cp-entry { font-size: 10.5px; padding: 4px 12px; }
  .cp-time { font-size: 9px; min-width: 44px; }
  .cp-controls { flex-direction: row; flex-wrap: wrap; }
  .cp-control-section { flex: 1; min-width: 140px; }
  .cp-actions-section { flex-basis: 100%; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; gap: 12px; }
  .blog-card { padding: 0; }
  .blog-title { font-size: 15px; }
  .section-title { font-size: clamp(24px, 5vw, 36px); margin-bottom: 32px; }

  /* Consistent 16px side padding */
  .pillars-section { padding-left: 16px; padding-right: 16px; }
  .sec-strip-section { padding-left: 16px; padding-right: 16px; }

  /* Footer */
  .footer { padding: 40px 16px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-left { gap: 12px; }
  .footer-links { gap: 20px; flex-wrap: wrap; }
  .footer-col { min-width: 100px; }
  .footer-ai { flex-wrap: wrap; gap: 8px; }
  .footer-ai-btn { padding: 5px 10px; font-size: 11px; }
  .footer-ai-label { font-size: 11px; }
}

/* ============================
   Responsive — Mobile (480px)
   ============================ */
@media (max-width: 480px) {
  /* Hero */
  .hero { padding: 100px 16px 30px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; margin-bottom: 24px; }
  .btn { font-size: 13px; padding: 10px 20px; }

  /* VM mini desktop remains same scale model */
  .hero .hero-image .vm-screen { border-radius: 4px; }

  /* SaaS browser */
  .saas-page-sidebar { display: block; }
  .saas-tab:nth-child(n+4) { display: flex; }
  .saas-pages { min-height: 220px; }
  .sp-header { font-size: 11px; }
  .sp-row { font-size: 9px; padding: 5px 8px; }
  .sp-badge { font-size: 8px; padding: 1px 4px; }
  .sh-search-wrap { flex-direction: column; align-items: stretch; gap: 6px; }
  .sh-search-count { align-self: flex-start; font-size: 8px; }
  .sh-search-input { min-height: 21px; font-size: 9px; }

  /* Logos */
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 12px; }
  .logo-grid .cl-logo:nth-last-child(-n+2) { display: none; }
  .cl-logo { max-height: 28px; padding: 4px 8px; }
  .cl-logo-sm { max-height: 22px; padding: 4px 12px; }

  /* Product / API hero */
  .prod-hero .hero-content { padding-top: 140px; }
  .prod-desc { font-size: 16px; }
  .api-split-pane { min-height: 120px; padding: 10px 12px 14px; }
  .api-pane-code { font-size: 10px; }
  .api-split-term { border-radius: 4px; }
  .prod-title,
  .plat-title,
  .sec-strip-title { font-size: 8vw; }
  .sec-strip-desc { font-size: 16px; }
  .sec-full h2 { font-size: 8vw; }

  /* Section h2s */
  .marquee-title,
  .pillars-title,
  .split-title { font-size: 8vw; }
  .split-desc { font-size: 16px; }

  /* Features */
  .feature-text { padding: 20px 16px 12px; }
  .feature-demo { padding: 10px 16px 16px; }
  .feature-heading { font-size: 20px; }
  .feature-desc { font-size: 13px; }
  .scaling-counter { font-size: 20px; }
  .scaling-label { font-size: 10px; }
  .scaling-vm-grid { height: 120px; }
  .mini-bar { display: none; }

  /* SDK code */
  .sdk-code-body { padding: 10px 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sdk-code-body pre { font-size: 9.5px; line-height: 1.5; }

  /* Control panel */
  .cp-log-header { padding: 8px 10px; }
  .cp-entry { padding: 3px 10px; font-size: 10px; gap: 6px; }
  .cp-time { min-width: 38px; font-size: 8px; }
  .cp-status.approval { font-size: 8px; padding: 1px 4px; }
  .cp-toggle-row { font-size: 10px; }
  .cp-toggle { width: 26px; height: 14px; }
  .cp-toggle-knob { width: 10px; height: 10px; }
  .cp-toggle.on .cp-toggle-knob { left: 14px; }
  .cp-cred-name { font-size: 10px; }

  /* Blog */
  .blog-card { padding: 0; }
  .blog-title { font-size: 14px; }
  .blog-excerpt { font-size: 12px; }
  .blog-tag { font-size: 10px; }

  /* Footer */
  .footer { padding: 32px 14px; }
  .footer-links { gap: 16px; }
  .footer-col a { font-size: 14px; }
  .footer-col h4 { font-size: 14px; }
  .footer-ai-links { flex-direction: column; gap: 6px; }
  .footer-ai-btn { font-size: 11px; padding: 5px 10px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 10px; padding: 16px 0 0; justify-items: start; }
  .footer-lang { justify-self: start; }
  .footer-txt-links { gap: 10px; }
}

/* ============================
   Responsive — Very small (360px)
   ============================ */
@media (max-width: 360px) {
  .hero-title { font-size: 20px; }
  .hero-subtitle { font-size: 13px; }
  .hero .hero-image .vm-screen { border-radius: 4px; }
  .feature-heading { font-size: 18px; }
  .feature-desc { font-size: 12px; }
  .cl-logo { height: 16px; padding: 4px 8px; }
  .cp-controls { display: none; }
  .saas-tab:nth-child(n+3) { display: flex; }
  .sp-row { font-size: 8px; }
  .sdk-code-body pre { font-size: 8.5px; }
  .scaling-vm-grid { height: 100px; }
  .scaling-counter { font-size: 18px; }
}

/* ============================
   Custom Scrollbar
   ============================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* ============================
   Selection
   ============================ */
::selection { background: rgba(96, 165, 250, 0.25); color: #fff; }

/* ============================
   API Page — Auth Section
   ============================ */
.api-auth-grid {
  grid-template-columns: 1fr 1fr;
}
.api-auth-grid .plat-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.api-auth-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 32px 40px;
  height: 100%;
  justify-content: center;
}
.api-af-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.api-af-step.active {
  border-color: rgba(253, 250, 195, 0.25);
  background: rgba(253, 250, 195, 0.04);
  box-shadow: 0 0 0 1px rgba(253, 250, 195, 0.08);
}
.api-af-step.done {
  border-color: rgba(96, 145, 126, 0.25);
  background: rgba(96, 145, 126, 0.04);
}
.api-af-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s, background 0.3s;
}
.api-af-step.active .api-af-icon { color: var(--accent); background: rgba(253, 250, 195, 0.08); }
.api-af-step.done .api-af-icon   { color: #60917E; background: rgba(96, 145, 126, 0.08); }
.api-af-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.api-af-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.api-af-desc {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}
.api-af-badge {
  font-size: 9px;
  font-weight: 500;
  font-family: var(--mono);
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.3);
  transition: background 0.3s, color 0.3s;
}
.api-af-badge.running {
  background: rgba(253, 250, 195, 0.1);
  color: var(--accent);
}
.api-af-badge.done {
  background: rgba(96, 145, 126, 0.1);
  color: #60917E;
}
.api-af-connector {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.06);
  margin-left: 30px;
  position: relative;
  overflow: hidden;
}
.api-af-connector.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #60917E;
  animation: afConnectorFill 0.3s ease forwards;
}
@keyframes afConnectorFill {
  from { transform: scaleY(0); transform-origin: top; }
  to   { transform: scaleY(1); transform-origin: top; }
}
.api-af-pulse {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 4px;
  border-radius: 1px;
  background: var(--accent);
  opacity: 0;
}
.api-af-connector.active .api-af-pulse {
  animation: afPulseDown 0.4s ease forwards;
}
@keyframes afPulseDown {
  0%   { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.api-auth-methods {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px;
  height: 100%;
  justify-content: center;
}
.api-am-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.api-am-row:last-child { border-bottom: none; }
.api-am-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
.api-am-label {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.api-am-check {
  font-size: 12px;
  color: #60917E;
  font-weight: 600;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .api-auth-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .api-af-step { padding: 10px 12px; gap: 10px; }
  .api-af-icon { width: 28px; height: 28px; }
}

/* ============================
   Reduced Motion
   ============================ */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fade-up.delay-1,
  .fade-up.delay-2,
  .fade-up.delay-3 {
    transition-delay: 0s;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

/* ============================
   Floating morph menu (liquid-morph)
   ============================ */
.fmenu {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.02em;
}
.fmenu-box {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 306px;
  height: 60px;
  border-radius: 4px;
  cursor: pointer;
  transition: width 0.8s cubic-bezier(0.22,1,0.36,1),
              height 0.15s cubic-bezier(0.22,1,0.36,1),
              border-radius 0.8s cubic-bezier(0.22,1,0.36,1),
              transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.fmenu-box:not(.open):hover { transform: scale(1.05); }
.fmenu-box.open {
  width: 344px;
  height: 404px;
  border-radius: 4px;
  cursor: default;
  transition: width 0.8s cubic-bezier(0.22,1,0.36,1),
              height 0.8s cubic-bezier(0.22,1,0.36,1),
              border-radius 0.8s cubic-bezier(0.22,1,0.36,1);
}
.fmenu-bg {
  position: absolute;
  inset: 0;
  background: #061226;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: inherit;
  transition: border-color 0.3s ease;
}
.fmenu-box.open .fmenu-bg { border-color: rgba(255,255,255,0.12); transition: border-color 0.1s ease; }
.fmenu-circle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  border-radius: 50%;
  background: #061226;
  bottom: -200%;
  transition: bottom 0.8s cubic-bezier(0.22,1,0.36,1);
}
.fmenu-box.open .fmenu-circle { bottom: -20%; transition: bottom 0.8s cubic-bezier(0.22,1,0.36,1) 0.1s; }
.fmenu-items {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  flex: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.fmenu-box.open .fmenu-items { opacity: 1; flex: 1; pointer-events: auto; }
.fmenu-bar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-shrink: 0;
  height: 48px;
  padding: 0 20px;
  cursor: pointer;
  transition: padding 0.8s cubic-bezier(0.22,1,0.36,1);
}
.fmenu-box.open .fmenu-bar { padding: 0 24px 24px; }
.fmenu-menu-label { font-size: 15px; font-weight: 600; line-height: 1; color: #ffffff; transition: color 0.3s ease; }
.fmenu-box.open .fmenu-menu-label { color: #ffffff; }
.fmenu-burger { position: relative; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.fmenu-burger span {
  position: absolute;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), background-color 0.4s ease;
}
.fmenu-burger span:nth-child(1) { transform: translateY(-3px); }
.fmenu-burger span:nth-child(2) { transform: translateY(3px); }
.fmenu-box.open .fmenu-burger span { background: #ffffff; }
.fmenu-box.open .fmenu-burger span:nth-child(1) { transform: rotate(45deg); }
.fmenu-box.open .fmenu-burger span:nth-child(2) { transform: rotate(-45deg); }
.fmenu-item {
  display: block;
  text-decoration: none;
  height: 1em;
  overflow: hidden;
  color: #f7f1ed;
  font-family: 'Bebas Neue', 'Manrope', sans-serif;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.22,1,0.36,1);
}
.fmenu-box.open .fmenu-item { opacity: 1; transition-delay: calc(0.4s + 0.08s * var(--idx)); }
.fmenu-item .row { display: flex; }
.fmenu-item .ch { display: inline-block; height: 1em; overflow: hidden; }
.fmenu-item .col {
  display: flex;
  flex-direction: column;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
  transition-delay: 0ms;
}
.fmenu-item:hover .col { transform: translateY(-50%); transition-delay: calc(var(--i) * 30ms); }
.fmenu-item .col b { display: block; height: 1em; line-height: 1em; font-weight: 400; }
/* Free-trial form panel inside the floating pill */
.ft-panel {
  width: 100%;
  box-sizing: border-box;
  padding: 6px 22px 0;
  text-align: left;
}
.ft-eyebrow { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: #f7a24a; }
.ft-title { font-size: 15px; font-weight: 700; color: #ffffff; margin: 6px 0 0; line-height: 1.25; letter-spacing: -0.01em; }
.ft-progress { display: flex; gap: 5px; margin: 12px 0 14px; }
.ft-progress span { height: 3px; flex: 1; border-radius: 3px; background: rgba(255,255,255,0.18); transition: background 0.3s ease; }
.ft-progress span.on { background: #EA720F; }
.ft-stage { position: relative; min-height: 74px; }
.ft-field { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.42s cubic-bezier(0.22,1,0.36,1), transform 0.42s cubic-bezier(0.22,1,0.36,1); }
.ft-field.active { opacity: 1; transform: none; pointer-events: auto; }
.ft-field.exit { opacity: 0; transform: translateY(-12px); }
.ft-label { display: block; font-size: 12px; color: #c3cadb; margin-bottom: 7px; font-weight: 600; }
.ft-input { width: 100%; box-sizing: border-box; font-family: inherit; font-size: 15px; color: #ffffff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 4px; padding: 11px 13px; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.ft-input::placeholder { color: rgba(255,255,255,0.4); }
.ft-input:focus { border-color: #EA720F; box-shadow: 0 0 0 3px rgba(234,114,15,0.25); }
.ft-hint { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 6px; min-height: 13px; }
.ft-hint.err { color: #ff8a8a; }
.ft-next { margin-top: 12px; width: 100%; font-family: inherit; font-size: 14px; font-weight: 700; color: #061226; background: #EA720F; border: none; border-radius: 4px; padding: 11px; cursor: pointer; transition: background 0.2s ease; }
.ft-next:hover { background: #d4660d; }
.ft-next:disabled { opacity: 0.7; cursor: default; }
/* Trial form: country dial-code + back button + consent (added 2026-07-07) */
.ft-phone-row { display: flex; gap: 8px; align-items: stretch; }
.ft-cc { flex: 0 0 auto; width: auto; min-width: 100px; padding: 11px 10px; cursor: pointer; }
.ft-cc option { color: #061226; background: #ffffff; }
.ft-phone-inp { flex: 1 1 auto; min-width: 0; }
.ft-nav { display: flex; gap: 8px; margin-top: 12px; }
.ft-nav .ft-next { margin-top: 0; width: auto; flex: 1 1 auto; }
.ft-back { flex: 0 0 auto; font-family: inherit; font-size: 14px; font-weight: 600; color: #c3cadb; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: 4px; padding: 11px 18px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.ft-back:hover { background: rgba(255,255,255,0.12); color: #ffffff; }
.ft-back[hidden] { display: none; }
.ft-consent { font-size: 10.5px; line-height: 1.45; color: rgba(255,255,255,0.42); margin: 10px 0 0; }
.ft-consent a { color: rgba(255,255,255,0.64); text-decoration: underline; }
.ft-done { text-align: center; padding-top: 4px; display: none; }
.ft-done.show { display: block; }
.ft-done-title { font-size: 16px; font-weight: 700; color: #ffffff; margin: 0 0 6px; }
.ft-done-text { font-size: 12.5px; line-height: 1.5; color: #c3cadb; margin: 0 0 14px; }
.ft-done-text b { color: #ffffff; }
.ft-wa { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-size: 13px; font-weight: 600; color: #ffffff; background: #25D366; border-radius: 4px; padding: 10px 18px; text-decoration: none; transition: background 0.2s ease; }
.ft-wa:hover { background: #1eb757; }
.ft-wa svg { width: 16px; height: 16px; }

/* Free-trial panel: header + content preview */
.ft-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ft-bear { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.10); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ft-bear img { width: 24px; height: 24px; object-fit: contain; }
.ft-head-txt { display: flex; flex-direction: column; }
.ft-head .ft-title { margin-top: 1px; }
.ft-preview { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.10); }
.ft-preview-label { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.ft-cc { margin: 0; }
.ft-cc.cc-carousel::before { background: linear-gradient(to right, #061226 18%, rgba(6,18,38,0)); }
.ft-cc.cc-carousel::after { background: linear-gradient(to left, #061226 18%, rgba(6,18,38,0)); }
.ft-cc .cc-track { animation-duration: 26s; }
.ft-cc .cc-card { width: 132px; background: #0e1c34; border-color: rgba(255,255,255,0.10); padding: 10px; }
.ft-cc .cc-title { color: #ffffff; font-size: 11.5px; }
.ft-cc .cc-logo { height: 14px; }
.ft-cc .cc-badge { background: rgba(255,255,255,0.10); color: #c3cadb; }
.ft-cc .cc-badge.live { background: rgba(255,90,90,0.18); color: #ff8a8a; }
.ft-cc .cc-badge.new { background: rgba(234,114,15,0.22); color: #f7a24a; }

@media (max-width: 480px) {
  .fmenu { bottom: 24px; }
}

/* ============================
   Anime nav bar (top-center pill + mascot)
   ============================ */
.anav-logo {
  position: fixed;
  top: 60px;
  left: 28px;
  z-index: 9999;
  display: block;
}
.anav-logo img { height: 30px; width: auto; display: block; }
/* Contrast swap by section background (JS toggles .over-dark / .over-light on
   scroll). White-text lockup (.logo-on-dark) over dark sections, dark-text
   lockup (.logo-on-light) over light ones. !important + this specificity beats
   the theme-driven light.css rules on .logo-for-light / .logo-for-dark. */
.anav-logo .logo-on-dark,
.anav-logo .logo-on-light { display: none; }
#anav-logo.over-dark .logo-on-dark { display: block !important; }
#anav-logo.over-dark .logo-on-light { display: none !important; }
#anav-logo.over-light .logo-on-light { display: block !important; }
#anav-logo.over-light .logo-on-dark { display: none !important; }
.anav {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  z-index: 9998;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.anav-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(6,18,38,0.5);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 12px 40px -12px rgba(0,0,0,0.5);
  pointer-events: auto;
  animation: anav-drop 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes anav-drop {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.anav-tab {
  position: relative;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.anav-tab:hover { color: #fff; background: rgba(255,255,255,0.10); }
.anav-tab.active { color: #fff; background: transparent; }
.anav-glow {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  opacity: 0;
  z-index: -1;
  overflow: visible;
}
.anav-tab.active .anav-glow { opacity: 1; animation: anav-pulse 2s ease-in-out infinite; }
.anav-tab.active:hover { background: transparent; }
.anav-glow::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 4px;
  background: rgba(234,114,15,0.30);
  filter: blur(10px);
}
.anav-glow::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 4px;
  background: rgba(234,114,15,0.16);
  filter: blur(22px);
}
@keyframes anav-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
/* Mascot */
.anav-mascot {
  position: absolute;
  top: -46px;
  left: 0;
  width: 48px;
  height: 48px;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
  will-change: transform;
}
/* While actively hovering the pill, track the cursor with a snappy follow */
.anav.hovering .anav-mascot { transition: transform 0.12s ease-out; }
.am-body {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  background: #fff;
  border-radius: 50%;
  animation: am-bob 2s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.anav.hovering .am-body { animation: am-wiggle 0.5s ease-in-out; }
@keyframes am-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes am-wiggle { 0%,100% { transform: rotate(0) scale(1); } 25% { transform: rotate(-6deg) scale(1.1); } 75% { transform: rotate(6deg) scale(1.1); } }
/* Bear-head emblem inside the pin */
.am-face { position: absolute; left: 50%; top: 50%; width: 27px; height: 27px; transform: translate(-50%, -50%); object-fit: contain; display: block; }
@keyframes am-dia { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(2px); } }
.am-spark { position: absolute; color: #fde047; font-size: 9px; opacity: 0; transition: opacity 0.2s ease; }
.am-spark-1 { top: -2px; right: -2px; }
.am-spark-2 { top: -6px; left: 0; }
.anav.hovering .am-spark { opacity: 1; }
@media (max-width: 640px) {
  .anav-tab { padding: 10px 14px; font-size: 13px; }
  .anav-logo { top: 62px; left: 16px; }
  .anav-logo img { height: 24px; }
}

/* ============================
   Hero video (replaces desktop mockup)
   ============================ */
.vm-screen.hero-video-frame {
  aspect-ratio: 16 / 9;
  background: #061226;
}
.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #061226;
}
@media (max-width: 768px) {
  .hero .hero-image { height: auto !important; }
  .hero .hero-image .vm-screen.hero-video-frame {
    position: relative;
    top: auto;
    left: auto;
    margin-left: 0;
    transform: none;
    width: 100%;
    height: auto;
    border-radius: 4px;
  }
}

/* Sound toggle injected by the sound controller. It had NO styling, so it
   collapsed to 0px and the video's sound was unreachable. This makes it a real
   44px tap target sitting over the bottom-right of the video. The controller
   adds .is-on while the video is MUTED, so that state shows the muted icon
   (tap to unmute); playing shows the volume icon (tap to mute). */
.bb-sound-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(6, 18, 38, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.bb-sound-btn:hover { background: rgba(6, 18, 38, 0.82); }
.bb-sound-btn:active { transform: scale(0.94); }
.bb-sound-btn svg { width: 20px; height: 20px; display: block; }
.bb-sound-btn .snd-on { display: none; }
.bb-sound-btn .snd-off { display: block; }
.bb-sound-btn.is-on .snd-on { display: block; }
.bb-sound-btn.is-on .snd-off { display: none; }

/* ============================
   Reviews: Wall-of-Love masonry
   ============================ */
.wol-grid {
  column-count: 3;
  column-gap: 16px;
  max-width: 1120px;
  margin: 8px auto 0;
}
.wol-col { display: flex; flex-direction: column; gap: 16px; }
.wol-card {
  background: #F4F5F8;
  border: 1px solid #E8EAF0;
  border-radius: 4px;
  padding: 24px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 16px;
}
.wol-stars {
  color: #00B67A;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 14px;
}
.wol-quote {
  font-size: 15px;
  line-height: 1.6;
  color: #40424D;
  margin: 0 0 20px;
  font-style: normal;
}
.wol-author { display: flex; align-items: center; gap: 12px; }
.wol-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #EA720F;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.wol-name { font-size: 14px; font-weight: 700; color: #061226; }
.wol-role { font-size: 12px; color: #9DA2B3; margin-top: 1px; }
@media (max-width: 900px) {
  .wol-grid { column-count: 2; }
}
@media (max-width: 600px) {
  .wol-grid { column-count: 1; }
}

/* Free-trial success: "what's on" content carousel */
.cc-carousel {
  position: relative;
  overflow: hidden;
  margin: 18px 0 6px;
}
.cc-carousel::before,
.cc-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.cc-carousel::before { left: 0; background: linear-gradient(to right, #EDEFF7 20%, rgba(237,239,247,0)); }
.cc-carousel::after { right: 0; background: linear-gradient(to left, #EDEFF7 20%, rgba(237,239,247,0)); }
.cc-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: bb-marquee 30s linear infinite;
}
.cc-carousel:hover .cc-track { animation-play-state: paused; }
.cc-card {
  width: 152px;
  flex-shrink: 0;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #E3E6EF;
  border-radius: 4px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: left;
}
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cc-logo { height: 16px; width: auto; max-width: 80px; object-fit: contain; }
.cc-badge {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
  background: #EDEFF7;
  color: #6E7180;
  white-space: nowrap;
}
.cc-badge.live { background: rgba(255,90,90,0.14); color: #e5484d; }
.cc-badge.new { background: rgba(234,114,15,0.14); color: #EA720F; }
.cc-title { font-size: 12px; font-weight: 600; color: #061226; line-height: 1.3; }

/* ============================
   Support ticket chat (bottom-left)
   ============================ */
.support-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 400;
  font-family: 'Manrope', sans-serif;
}
.support-fab {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #061226;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(6,18,38,0.55);
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.support-fab:hover { background: #0C1B34; transform: translateY(-2px); }
.support-fab svg { width: 26px; height: 26px; }
.support-fab .support-fab-close { display: none; }
.support-widget.open .support-fab-open { display: none; }
.support-widget.open .support-fab-close { display: block; }
.support-panel {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 340px;
  max-width: calc(100vw - 48px);
  height: 468px;
  max-height: calc(100vh - 130px);
  background: #ffffff;
  border: 1px solid #E7E9F2;
  border-radius: 4px;
  box-shadow: 0 24px 60px -20px rgba(6,18,38,0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.22,1,0.36,1), transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.support-widget.open .support-panel { opacity: 1; transform: none; pointer-events: auto; }
.support-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #061226;
  color: #ffffff;
  flex-shrink: 0;
}
.support-header-info { display: flex; align-items: center; gap: 10px; }
.support-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.support-avatar img { width: 26px; height: 26px; object-fit: contain; }
.support-title { font-size: 14px; font-weight: 700; line-height: 1.1; }
.support-status { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.support-status::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #25D366; margin-right: 5px; vertical-align: middle; }
.support-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 15px; cursor: pointer; padding: 0; line-height: 1; }
.support-close:hover { color: #ffffff; }
.support-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #F7F8FB;
}
.support-msg {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 4px;
  font-size: 13.5px;
  line-height: 1.45;
  animation: support-pop 0.28s cubic-bezier(0.22,1,0.36,1);
}
@keyframes support-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.support-msg.bot { background: #ffffff; border: 1px solid #E7E9F2; color: #061226; align-self: flex-start; border-bottom-left-radius: 4px; }
.support-msg.user { background: #EA720F; color: #ffffff; align-self: flex-end; border-bottom-right-radius: 4px; }
.support-typing { display: flex; gap: 4px; align-self: flex-start; background: #fff; border: 1px solid #E7E9F2; padding: 12px 14px; border-radius: 4px; border-bottom-left-radius: 4px; }
.support-typing span { width: 6px; height: 6px; border-radius: 50%; background: #9DA2B3; animation: support-blink 1.2s infinite; }
.support-typing span:nth-child(2) { animation-delay: 0.2s; }
.support-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes support-blink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }
.support-wa {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 4px;
  text-decoration: none;
}
.support-wa svg { width: 16px; height: 16px; }
.support-consent { display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; border-top: 1px solid #E7E9F2; background: #ffffff; color: #40424D; font-size: 11.5px; line-height: 1.4; cursor: pointer; }
.support-consent[hidden] { display: none; }
.support-consent input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: #EA720F; }
.support-retry { min-height: 44px; align-self: flex-start; padding: 0 16px; border: 1px solid #061226; border-radius: 4px; background: #fff; color: #061226; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; }
.support-inputbar { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #E7E9F2; background: #ffffff; flex-shrink: 0; }
.support-input { min-height: 44px; box-sizing: border-box; flex: 1; border: 1px solid #D3D6E0; border-radius: 4px; padding: 10px 12px; font-family: inherit; font-size: 13.5px; color: #061226; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.support-input:focus { border-color: #EA720F; box-shadow: 0 0 0 3px rgba(234,114,15,0.12); }
.support-input:disabled { background: #F2F4F8; }
.support-send { width: 44px; min-height: 44px; border-radius: 4px; appearance: none; -webkit-appearance: none; background: #061226; color: #fff; border: none; font-size: 17px; cursor: pointer; flex-shrink: 0; transition: background 0.2s ease; }
.support-send:hover { background: #16233d; }
@media (max-width: 480px) {
  .support-widget { bottom: 20px; left: 16px; }
  .support-panel { width: calc(100vw - 32px); }
}


/* ============================
   Setup onboarding flow mockups
   ============================ */
.uc-home-item-num { font-size: 13px; font-weight: 600; color: #EA720F; opacity: 0.4; margin-right: 12px; font-variant-numeric: tabular-nums; transition: opacity 0.2s; }
.uc-home-item.active .uc-home-item-num, .uc-home-item:hover .uc-home-item-num { opacity: 1; }

.uc-home-mockup .su-field, .uc-home-mockup .su-code-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; margin-bottom: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 4px; }
.uc-home-mockup .su-field-label, .uc-home-mockup .su-code-label { font-size: 9px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; }
.uc-home-mockup .su-field-val { font-size: 11px; color: rgba(255,255,255,0.85); font-weight: 500; }
.uc-home-mockup .su-code-val { font-size: 11px; color: #EA720F; font-weight: 600; font-family: ui-monospace, 'SF Mono', monospace; letter-spacing: 0.02em; }
.uc-home-mockup .su-note { font-size: 9.5px; line-height: 1.5; color: rgba(255,255,255,0.5); margin-top: 6px; padding: 9px 11px; background: rgba(74,222,128,0.06); border: 1px solid rgba(74,222,128,0.14); border-radius: 4px; }
.uc-home-mockup .su-note b { color: #4ade80; font-weight: 600; }

/* WhatsApp chat */
.uc-home-mockup .su-wa { display: flex; flex-direction: column; height: 100%; width: 100%; }
.uc-home-mockup .su-wa-head { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.uc-home-mockup .su-wa-avatar { width: 30px; height: 30px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0; }
.uc-home-mockup .su-wa-name { display: block; font-size: 11px; font-weight: 600; color: #fff; }
.uc-home-mockup .su-wa-status { display: block; font-size: 8px; color: #25D366; margin-top: 1px; }
.uc-home-mockup .su-wa-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.uc-home-mockup .su-bubble { max-width: 82%; font-size: 10.5px; line-height: 1.4; padding: 8px 11px; border-radius: 4px; }
.uc-home-mockup .su-bubble.in { align-self: flex-start; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); border-bottom-left-radius: 4px; }
.uc-home-mockup .su-bubble.out { align-self: flex-end; background: #25D366; color: #05371d; font-weight: 500; border-bottom-right-radius: 4px; }

/* Device grid */
.uc-home-mockup .su-dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; width: 100%; }
.uc-home-mockup .su-dev { display: flex; align-items: center; gap: 7px; padding: 8px 9px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 4px; }
.uc-home-mockup .su-dev-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.uc-home-mockup .su-dev-name { font-size: 9.5px; color: rgba(255,255,255,0.8); font-weight: 500; }

/* Selectable option rows (bouquets / parental) */
.uc-home-mockup .su-opt { display: flex; align-items: center; gap: 9px; padding: 9px 11px; margin-bottom: 6px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 4px; }
.uc-home-mockup .su-opt-radio { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.25); flex-shrink: 0; }
.uc-home-mockup .su-opt-name { font-size: 10.5px; color: rgba(255,255,255,0.75); font-weight: 500; flex: 1; }
.uc-home-mockup .su-opt-tag { font-size: 8px; color: #EA720F; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.uc-home-mockup .su-opt.sel { border-color: rgba(234,114,15,0.5); background: rgba(234,114,15,0.08); }
.uc-home-mockup .su-opt.sel .su-opt-radio { border-color: #EA720F; background: radial-gradient(circle, #EA720F 46%, transparent 48%); }
.uc-home-mockup .su-opt.sel .su-opt-name { color: #fff; }

/* Credentials */
.uc-home-mockup .su-cred { display: flex; align-items: center; justify-content: space-between; padding: 7px 4px; border-bottom: 1px solid rgba(255,255,255,0.05); gap: 10px; }
.uc-home-mockup .su-cred-k { font-size: 9px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.uc-home-mockup .su-cred-v { font-size: 10px; color: rgba(255,255,255,0.82); font-weight: 500; font-family: ui-monospace, 'SF Mono', monospace; text-align: right; }


/* Setup mockup: video, form inputs, device logos */
.uc-home-mockup.active { pointer-events: auto; }
.uc-home-mockup.uc-vid-mock { padding: 0; }
.uc-home-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-home-mockup .su-dev-ic { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; opacity: 0.92; }
.uc-home-mockup .su-trial { display: block; }
.uc-home-mockup .su-field-in { cursor: text; transition: border-color 0.2s, background 0.2s; }
.uc-home-mockup .su-field-in:focus-within { border-color: rgba(234,114,15,0.5); background: rgba(234,114,15,0.06); }
.uc-home-mockup .su-inp { flex: 1; min-width: 0; margin-left: 10px; background: transparent; border: none; outline: none; text-align: right; font-family: inherit; font-size: 11px; font-weight: 500; color: #fff; padding: 0; }
.uc-home-mockup .su-inp::placeholder { color: rgba(255,255,255,0.38); font-weight: 500; }
.uc-home-mockup .su-trial-btn { appearance: none; -webkit-appearance: none; border: none; cursor: pointer; margin-top: 4px; }
.uc-home-mockup .su-trial-msg { font-size: 9.5px; text-align: center; margin-top: 8px; min-height: 12px; line-height: 1.4; }
.uc-home-mockup .su-trial-msg.err { color: #ff8a8a; }
.uc-home-mockup .su-trial-msg.ok { color: #4ade80; }

/* #su-trial readability on the dark navy mockup: labels + consent were dark-on-dark.
   Id scope beats the .uc-home-mockup .su-field-label rule. */
#su-trial .su-field-label { color: rgba(255,255,255,0.82); font-size: 10px; }
#su-trial .su-inp { color: #ffffff; }
#su-trial .su-inp::placeholder { color: rgba(255,255,255,0.45); }
#su-trial .su-consent { color: rgba(255,255,255,0.8); align-items: flex-start; }
#su-trial .su-consent span { color: rgba(255,255,255,0.8); text-align: left; }
/* The shared .aq-cta base sets pointer-events:none; re-enable the real submit button. */
#su-trial .su-trial-btn { pointer-events: auto; cursor: pointer; background: #ffffff; color: #061226; }
#su-trial .su-trial-btn:hover { background: #ececec; }


/* Films catalog video overlay */
.uc-vid-wrap { position: relative; width: 100%; height: 100%; }
.uc-home-mockup .uc-vid-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 18px; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0) 32%, rgba(0,0,0,0) 52%, rgba(0,0,0,0.8)); }
.uc-home-mockup .uc-vid-title { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -0.01em; text-align: center; text-shadow: 0 1px 10px rgba(0,0,0,0.6); }
.uc-home-mockup .uc-vid-sub { font-size: 11px; color: rgba(255,255,255,0.75); text-align: center; margin-top: 3px; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.uc-home-mockup .uc-vid-logos { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; }
.uc-home-mockup .uc-vid-logo { width: 42px; height: 30px; background: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; padding: 5px 6px; box-shadow: 0 3px 10px rgba(0,0,0,0.3); }
.uc-home-mockup .uc-vid-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Reviews load more */
.wol-more-wrap { text-align: center; margin-top: 28px; }
.wol-more { appearance: none; -webkit-appearance: none; font-family: inherit; font-size: 15px; font-weight: 600; color: #061226; background: #fff; border: 1px solid #E3E6EF; border-radius: 4px; padding: 13px 28px; cursor: pointer; transition: background 0.2s, transform 0.1s; }
.wol-more:hover { background: #f2f4f8; }
.wol-more:active { transform: translateY(1px); }
.wol-more[hidden] { display: none; }

/* Owner plan: 6-year guarantee badge */
.bb-plan-guarantee { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #EA720F; margin: -4px 0 14px; letter-spacing: 0.01em; }
.bb-plan-guarantee svg { width: 14px; height: 14px; flex-shrink: 0; }


/* Top announcement marquee */
.bb-topbar { position: relative; z-index: 60; width: 100%; height: 36px; display: flex; align-items: center; overflow: hidden; background: #061226; border-bottom: 1px solid rgba(255,255,255,0.06); -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.bb-topbar-track { display: flex; align-items: center; width: max-content; animation: bb-marquee 45s linear infinite; }
.bb-topbar:hover .bb-topbar-track { animation-play-state: paused; }
.bb-topbar-item { display: inline-flex; align-items: center; gap: 9px; margin-right: 52px; font-family: 'Manrope', sans-serif; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.55); white-space: nowrap; letter-spacing: 0.02em; }
.bb-topbar-star { color: #EA720F; font-size: 9px; line-height: 1; }

/* Trusted-by logo marquee (edge-faded, muted) */
.cl-marquee { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12.5%, #000 87.5%, transparent); mask-image: linear-gradient(to right, transparent, #000 12.5%, #000 87.5%, transparent); }
.cl-marquee-track { display: flex; align-items: center; width: max-content; animation: bb-marquee 38s linear infinite; }
.cl-marquee:hover .cl-marquee-track { animation-play-state: paused; }
.cl-marquee-track .cl-logo { height: 30px !important; width: auto !important; max-width: 90px; margin-right: 56px; flex-shrink: 0; object-fit: contain; filter: none; opacity: 0.7; transition: opacity 0.2s ease; }
.cl-marquee-track:hover .cl-logo { opacity: 0.55; }


/* Private/secure -> dark feature-disc section */
.bb-wrap--dark { background: #061226; }
.bb-wrap--dark .bb-eyebrow { color: #EA720F; display: inline-flex; align-items: center; gap: 9px; }
.bb-eyebrow:has(.bb-eyebrow-dot) { display: inline-flex; align-items: center; gap: 8px; }
.bb-eyebrow-dot { width: 16px; height: 16px; background: url("assets/bear-head.png") center / contain no-repeat; display: inline-block; flex-shrink: 0; }
.bb-wrap--dark .bb-title { color: #ffffff; }
.bb-wrap--dark .bb-sub { color: rgba(255,255,255,0.6); }
.bb-discs { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 52px; max-width: 1040px; margin: 52px auto 0; }
.bb-disc { display: flex; flex-direction: column; align-items: center; text-align: center; width: 250px; gap: 16px; }
.bb-disc-ic { width: 120px; height: 120px; border-radius: 50%; background: #0E1F3A; border: 1px solid rgba(255,255,255,0.09); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.bb-disc-ic::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 120px 120px; opacity: 0.08; pointer-events: none; }
.bb-disc-ic svg { width: 40px; height: 40px; color: #ffffff; position: relative; z-index: 1; }
.bb-disc-t { font-size: 21px; font-weight: 600; color: #ffffff; letter-spacing: -0.01em; line-height: 1.2; }
.bb-disc-s { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.5; max-width: 220px; }
@media (max-width: 600px) { .bb-disc { width: 45%; } .bb-disc-ic { width: 96px; height: 96px; } }

/* Bottom pill -> dark style (keeps trial-form logic) */
.fmenu-menu-label { background: #ffffff; color: #061226 !important; padding: 8px 14px; border-radius: 4px; font-size: 14px; white-space: nowrap; }
.fmenu-box.open .fmenu-menu-label { color: #061226 !important; }


/* Pricing -> dark two-card style */
.bb-pricing-dark { position: relative; overflow: hidden; }
.bb-pricing-dark::before { content: ""; position: absolute; top: -140px; left: 50%; transform: translateX(-50%); width: 640px; height: 420px; background: radial-gradient(ellipse, rgba(234,114,15,0.16), transparent 70%); filter: blur(50px); pointer-events: none; z-index: 0; }
.bb-price-layout { display: flex; gap: 56px; align-items: flex-start; position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; }
.bb-price-intro { flex: 0 0 300px; max-width: 300px; position: sticky; top: 90px; }
.bb-price-intro .bb-eyebrow { justify-content: flex-start; }
.bb-price-intro .bb-title { text-align: left; font-size: 40px; line-height: 1.08; margin-top: 14px; }
.bb-price-intro .bb-sub { text-align: left; margin-top: 16px; }
.bb-price-cards { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bb-pcard { background: #0C1B34; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 38px; display: flex; flex-direction: column; gap: 26px; }
.bb-pcard.is-owner { border-color: rgba(234,114,15,0.45); }
.bb-pcard-name { font-size: 16px; font-weight: 600; color: #ffffff; }
.bb-pcard-price { display: flex; align-items: flex-end; gap: 5px; }
.bb-pcard-cur { font-size: 22px; color: #ffffff; font-weight: 500; line-height: 1; margin-bottom: 7px; }
.bb-pcard-amt { font-size: 50px; color: #ffffff; font-weight: 600; letter-spacing: -0.02em; line-height: 1; font-family: 'Manrope', sans-serif; }
.bb-pcard-per { font-size: 17px; color: rgba(255,255,255,0.55); margin-bottom: 7px; }
.bb-pcard-feats { display: flex; flex-direction: column; gap: 14px; }
.bb-pfeat { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.66); line-height: 1.45; }
.bb-pfeat svg { width: 15px; height: 15px; color: #EA720F; flex-shrink: 0; margin-top: 2px; }
.bb-pcard-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 4px; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600; text-decoration: none; align-self: flex-start; transition: background 0.2s ease, border-color 0.2s ease; }
.bb-pcard-cta--ghost { background: #ffffff; color: #061226; border: 1.5px solid #ffffff; }
.bb-pcard-cta--ghost:hover { background: #f2f4f8; border-color: #f2f4f8; }
.bb-pcard-cta--primary { background: #EA720F; color: #061226; border: 1.5px solid #EA720F; }
.bb-pcard-cta--primary:hover { background: #d4660d; border-color: #d4660d; }
.bb-pcard-cta:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.bb-pricing-dark .bb-note { position: relative; z-index: 1; text-align: center; margin-top: 40px; }
.bb-pricing-dark .bb-note p { color: rgba(255,255,255,0.5); }
@media (max-width: 900px) { .bb-price-layout { flex-direction: column; } .bb-price-intro { position: static; max-width: none; flex-basis: auto; } .bb-price-cards { grid-template-columns: 1fr; } }


/* Watch section: feature rotor (numbered slide + progress) */
.uc-feat-layout { align-items: center; }
.uc-feat-col { display: flex; flex-direction: column; gap: 64px; max-width: 430px; padding-right: 20px; }
.uc-feat-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #999999 !important; }
.uc-feat-title { font-family: 'Manrope', sans-serif; font-size: 40px; line-height: 1.1; font-weight: 500; color: #ffffff; letter-spacing: -0.02em; margin: 16px 0 0; text-wrap: balance; text-align: left; }
.uc-feat-rotor { cursor: pointer; user-select: none; }
.uc-feat-progress { width: 100%; background: rgba(255,255,255,0.1); padding: 2px; }
.uc-feat-progress-fill { display: block; height: 2px; background: #ffffff; width: 16.66%; transition: width 0.6s cubic-bezier(0.22,1,0.36,1); }
.uc-feat-slide { display: flex; gap: 40px; align-items: flex-start; margin-top: 38px; }
.uc-feat-num { font-family: 'Manrope', sans-serif; font-size: 50px; line-height: 1.05; font-weight: 400; color: #ffffff; letter-spacing: -0.02em; margin: 0; }
.uc-feat-name { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 500; color: #ffffff; letter-spacing: -0.01em; margin: 0 0 10px; }
.uc-feat-desc { font-size: 14px; line-height: 1.55; color: #999999; margin: 0; max-width: 300px; }
.uc-feat-slide.in .uc-feat-num, .uc-feat-slide.in .uc-feat-body { animation: ucFeatIn 0.5s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes ucFeatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 1024px) { .uc-feat-col { max-width: none; padding-right: 0; gap: 40px; } }


/* Watch section: contained dark panel (reference style) */
section.uc-feat-dark { padding: 0 64px; height: 480vh; }
@media (max-width: 768px) { section.uc-feat-dark { padding: 0 20px; } }

/* Dark brand logos illegible on dark mockup tiles: render white */
.uc-home-mockup .ic-card img[src*="a052"],
.uc-home-mockup .ic-card img[src*="a043"],
.uc-home-mockup .ic-card img[src*="a051"],
.uc-home-mockup .ic-card img[src*="a045"],
.uc-home-mockup .ic-card img[src*="a054"] { filter: brightness(0) invert(1); opacity: 0.9; }


/* Bottom pill: icon nav + white bell CTA */
.fmenu-bar { height: 60px; padding: 8px; gap: 2px; justify-content: center; }
.fmenu-box.open .fmenu-bar { height: auto; padding: 8px 16px 16px; }
.fmenu-navlink { width: 50px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 4px; flex-shrink: 0; transition: background 0.2s ease; }
.fmenu-navlink:hover { background: rgba(255,255,255,0.08); }
.fmenu-navlink svg { width: 24px; height: 24px; display: block; }
.fmenu-cta { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; color: #061226; border-radius: 4px; height: 44px; padding: 0 14px; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; flex-shrink: 0; transition: background 0.2s ease; }
.fmenu-cta:hover { background: #ececec; }
.fmenu-cta svg { width: 18px; height: 18px; display: block; }


/* Features: sticky scroll-through */
.uc-feat-layout { position: sticky; top: 0; height: 100vh; align-items: center; }
.uc-feat-layout .uc-home-visual { max-height: 82vh; }

/* Real people: dark bento */
.rp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; max-width: 1200px; margin: 0 auto 40px; }
.rp-title { font-family: 'Manrope', sans-serif; font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: #ffffff; max-width: 620px; text-align: left; margin: 16px 0 0; text-wrap: balance; }
html.light .rp-title { color: #061226; }
.rp-head-desc { max-width: 400px; text-align: right; font-size: 16px; line-height: 1.5; color: #999999; margin: 0; text-wrap: balance; }
html.light .rp-head-desc { color: #5A6072; }
.rp-bento { display: flex; flex-direction: column; gap: 24px; max-width: 1200px; margin: 0 auto; }
.rp-row { display: flex; gap: 24px; align-items: stretch; }
.rp-row:first-child .rp-card { height: 450px; }
.rp-row:last-child .rp-card { height: 400px; }
.rp-card { position: relative; overflow: hidden; flex: 1 1 0; background: #061226; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; }
.rp-card--wide { flex: 0 0 40%; }
.rp-card-body { position: relative; z-index: 2; max-width: 300px; }
.rp-card-body h3 { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 500; color: #ffffff; letter-spacing: -0.01em; margin: 0 0 10px; }
.rp-card-body p { font-size: 14px; line-height: 1.5; color: #999999; margin: 0; }
.rp-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.rp-orb { position: absolute; border-radius: 50%; display: block; }
.rp-orb--glow, .rp-orb--solid { background: #EA720F; }
.rp-orb--dark { background: #04101F; }
.rp-orb--grad { background: radial-gradient(85% 85% at 5.8% 58.5%, #061226 0%, #EA720F 100%); opacity: 0.6; }
.rp-orb--glowring { background: #04101F; box-shadow: 0 0 80px 30px rgba(234,114,15,0.35); }
.rp-stats { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: auto; }
.rp-stat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.rp-stat-v { font-family: 'Manrope', sans-serif; font-size: 24px; font-weight: 600; color: #EA720F; }
.rp-stat-l { font-size: 13px; color: #999999; }
@media (max-width: 900px) {
  .rp-head { flex-direction: column; align-items: flex-start; }
  .rp-head-desc { text-align: left; }
  .rp-row { flex-direction: column; }
  .rp-card--wide { flex: 1 1 auto; }
  .rp-row:first-child .rp-card, .rp-row:last-child .rp-card { height: 360px; }
}


/* Setup feature rotor: taller pinned scroll (9 steps) */
section.uc-feat-dark.uc-feat-tall { height: 760vh; }


/* Footer: dark subscribe style */
.footer.footer-dark { background: radial-gradient(68% 137% at 50% 171%, #0E2A4E 0%, #061226 100%); padding: 60px 24px 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 60px; }
.footer-cta-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.footer-cta-title { font-family: 'Manrope', sans-serif; font-size: 44px; line-height: 1.05; font-weight: 600; letter-spacing: -0.02em; color: #ffffff; margin: 0; max-width: 340px; }
.footer-sub { flex: 1; min-width: 300px; max-width: 460px; }
.footer-form { display: flex; gap: 12px; align-items: flex-end; }
.footer-field { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.footer-field-label { font-size: 13px; color: #ffffff; font-weight: 500; }
.footer-input { height: 44px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.16); border-radius: 4px; padding: 0 12px; font-family: inherit; font-size: 14px; color: #ffffff; outline: none; transition: border-color 0.2s ease; }
.footer-input::placeholder { color: rgba(255,255,255,0.4); }
.footer-input:focus { border-color: #EA720F; }
.footer-sub-btn { height: 44px; padding: 0 20px; background: #ffffff; color: #061226; border: none; border-radius: 4px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s ease; }
.footer-sub-btn:hover { background: #ececec; }
.footer-terms { font-size: 13px; line-height: 1.5; color: #8b93a3; margin: 14px 0 0; }
.footer-terms.ok { color: #34d399; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer.footer-dark .footer-col { display: flex; flex-direction: column; gap: 14px; min-width: 130px; }
.footer.footer-dark .footer-col h4 { font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 600; color: #ffffff; margin: 0 0 2px; letter-spacing: 0.01em; }
.footer.footer-dark .footer-col a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; color: #8b93a3; text-decoration: none; transition: color 0.2s ease; }
.footer.footer-dark .footer-col a:hover { color: #ffffff; }
.footer-col--social { margin-left: auto; text-align: right; }
.footer-col--social a { text-align: right; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.08); width: 100%; }
.footer-copy { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: #8b93a3; text-align: center; }
.footer-copy .footer-status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
@media (max-width: 768px) {
  .footer.footer-dark { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
  .footer-cta-title { font-size: 32px; }
  .footer-links { gap: 28px; }
  .footer-col--social { margin-left: 0; text-align: left; }
  .footer-col--social a { text-align: left; }
}

.trusted-section { display: flex; align-items: center; justify-content: center; }
.cl-marquee-track { justify-content: center; }


/* deck-cta divider image: white in light mode, brand blue in dark mode */
html.light .deck-cta-grid img { filter: brightness(0) invert(1); }
html:not(.light) .deck-cta-grid img { filter: brightness(0) saturate(100%) invert(31%) sepia(93%) saturate(1700%) hue-rotate(205deg) brightness(96%) contrast(95%); }


/* Owner plan (split reverse): stacked, headline top-center, image centered below */
.split-section.reverse { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center; gap: 44px; }
.split-section.reverse .split-text { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.split-section.reverse .split-text .split-desc { max-width: 600px; }
.split-section.reverse .split-link { justify-content: center; }
.split-section.reverse .split-visual { width: 100%; max-width: 760px; margin: 0 auto; }


/* Top marquee: dark-blue edge shadows left and right */
.bb-topbar { -webkit-mask-image: none !important; mask-image: none !important; }
.bb-topbar::before, .bb-topbar::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.bb-topbar::before { left: 0; background: linear-gradient(to right, #061226 28%, rgba(6,18,38,0)); }
.bb-topbar::after { right: 0; background: linear-gradient(to left, #061226 28%, rgba(6,18,38,0)); }


/* Support FAB: navy button, white icon (over any background) */
.support-fab.on-dark { background: #061226 !important; box-shadow: 0 10px 26px -8px rgba(6,18,38,0.55); }
.support-fab.on-dark:hover { background: #0C1B34 !important; }
.support-fab.on-dark svg { color: #ffffff !important; stroke: #ffffff !important; }


/* Mobile: chat + bottom pill + theme toggle share one bottom row */
@media (max-width: 768px) {
  .support-widget { left: 12px !important; right: auto; bottom: 18px !important; z-index: 401; }
  .fmenu { left: 50% !important; transform: translateX(-50%); bottom: 18px !important; }
  #theme-toggle { left: auto !important; right: 12px !important; bottom: 18px !important; position: fixed; z-index: 401; }
}
@media (max-width: 480px) {
  .fmenu-box { width: 150px; }
  .fmenu-bar { gap: 0; padding: 6px; }
  .fmenu-navlink { width: 44px; height: 44px; }
  .fmenu-navlink svg { width: 20px; height: 20px; }
  .fmenu-cta { padding: 0 10px; font-size: 13px; gap: 6px; }
  .support-fab { width: 48px; height: 48px; }
  .support-fab svg { width: 22px; height: 22px; }
}


/* Mobile: top nav collapses into a hamburger */
.anav-burger { display: none; }
@media (max-width: 900px) {
  .anav-burger { display: flex; position: fixed; top: 46px; right: 16px; z-index: 9999; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: #061226; border: 1px solid rgba(255,255,255,0.14); border-radius: 4px; cursor: pointer; padding: 0; pointer-events: auto; }
  .anav-burger span { width: 20px; height: 2px; background: #ffffff; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
  .anav.menu-open .anav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .anav.menu-open .anav-burger span:nth-child(2) { opacity: 0; }
  .anav.menu-open .anav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .anav { justify-content: flex-end; }
  .anav-pill { display: none; }
  .anav-mascot { display: none; }
  .anav.menu-open .anav-pill { display: flex; flex-direction: column; position: fixed; top: 92px; right: 16px; padding: 8px; gap: 2px; width: 200px; align-items: stretch; }
  .anav.menu-open .anav-tab { width: 100%; text-align: left; }
}


/* Match theme toggle size to the support chat button */
#theme-toggle { width: 56px !important; height: 56px !important; border-radius: 4px !important; display: flex; align-items: center; justify-content: center; padding: 0; }
#theme-toggle svg { width: 22px; height: 22px; }
@media (max-width: 480px) { #theme-toggle { width: 48px !important; height: 48px !important; } }


/* Theme toggle: navy (blue) background to match the pill and chat button */
#theme-toggle { background: #061226 !important; border: 1px solid rgba(255,255,255,0.12) !important; box-shadow: 0 10px 26px -8px rgba(6,18,38,0.55); }
#theme-toggle:hover { background: #0C1B34 !important; }
#theme-toggle svg { color: #ffffff; }


/* Floating stadium */
.deck-cta-grid img.stadium-float { filter: none !important; width: 100%; max-width: 620px; height: auto; margin: 0 auto; display: block; animation: stadiumFloat 6.5s ease-in-out infinite; will-change: transform; }
@keyframes stadiumFloat { 0%,100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(-20px) rotate(0.6deg); } }
@media (prefers-reduced-motion: reduce) { .deck-cta-grid img.stadium-float { animation: none; } }

.console-img .con-chrome-body { background: transparent; }
.console-img .con-chrome-body img.stadium-float { max-width: 100%; animation: stadiumFloat 6.5s ease-in-out infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .console-img .con-chrome-body img.stadium-float { animation: none; } }


/* Owner section: strip the browser chrome, leave only the floating stadium */
.console-img .con-chrome-bar { display: none !important; }
.console-img .con-chrome, .console-img .con-chrome-body, .split-visual-inner.console-img { background: transparent !important; border: none !important; box-shadow: none !important; }
.split-section.reverse .split-visual { background: transparent !important; }


/* Pricing section: white background (cards stay dark for contrast) */
#pricing.bb-wrap--dark { background: #ffffff !important; }
#pricing::before { display: none !important; }
#pricing .bb-title, #pricing .bb-price-intro .bb-title { color: #061226 !important; }
#pricing .bb-sub, #pricing .bb-note p { color: #5A6072 !important; }


/* ============================
   FAQ section (sticky left + accordion)
   ============================ */
.faq-section { background: #061226; padding: 100px 40px; }
.faq-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 64px; align-items: start; }
.faq-left { position: sticky; top: 100px; }
.faq-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: #9aa4b8; }
.faq-dot { width: 9px; height: 9px; border-radius: 50%; background: #EA720F; display: inline-block; }
.faq-title { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; color: #ffffff; margin: 20px 0 0; max-width: 420px; text-wrap: balance; }
.faq-help { margin-top: clamp(56px, 18vh, 200px); }
.faq-help-t { color: #ffffff; font-size: 18px; font-weight: 600; margin: 0; }
.faq-help-s { color: #9aa4b8; font-size: 14px; margin: 6px 0 0; }
.faq-contact { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; margin-top: 20px; background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.12); border-radius: 4px; color: #ffffff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 0.2s ease; }
.faq-contact:hover { background: rgba(255,255,255,0.15); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid rgba(255,255,255,0.12); }
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; appearance: none; -webkit-appearance: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; text-align: left; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: #ffffff; }
.faq-chev { flex-shrink: 0; width: 32px; height: 32px; border-radius: 4px; background: rgba(255,255,255,0.12); color: #ffffff; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease, background 0.2s ease; }
.faq-chev svg { width: 15px; height: 15px; display: block; }
.faq-item.open .faq-chev { transform: rotate(180deg); background: rgba(234,114,15,0.9); }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s cubic-bezier(0.22,1,0.36,1); }
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a { color: #9aa4b8; font-size: 14px; line-height: 1.65; max-width: 620px; padding: 0 0 24px; }
@media (max-width: 900px) {
  .faq-section { padding: 64px 20px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .faq-left { position: static; }
  .faq-title { font-size: 30px; }
  .faq-help { margin-top: 24px; }
}


/* ============================
   Hero animated swap word (telly -> movies -> series)
   ============================ */
.swap-word { position: relative; display: inline-block; white-space: nowrap; transition: width 0.45s cubic-bezier(0.22,1,0.36,1); }
.swap-track { display: inline-block; will-change: transform, filter, opacity; }
.swap-track.out { animation: swapOut 0.32s cubic-bezier(0.4,0,1,1) forwards; }
.swap-track.in { animation: swapIn 0.55s cubic-bezier(0.22,1,0.36,1) forwards; }
@keyframes swapOut { from { opacity: 1; filter: blur(0); transform: translateY(0); } to { opacity: 0; filter: blur(5px); transform: translateY(-11px); } }
@keyframes swapIn { 0% { opacity: 0; filter: blur(6px); transform: translateY(11px); } 55% { opacity: 1; filter: blur(1px); } 100% { opacity: 1; filter: blur(0); transform: translateY(0); } }
.swap-underline { position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 999px; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.25) 35%, #6366f1 40%, #a855f7 45%, #ec4899 50%, #f97316 55%, #eab308 60%, rgba(255,255,255,0.25) 65%, rgba(255,255,255,0.25) 100%); background-size: 300% 100%; background-position: 100% 0; }
.swap-underline.sweep { animation: heroShimmer 1.5s linear forwards; }
@keyframes heroShimmer { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .swap-track.out, .swap-track.in, .swap-underline.sweep { animation: none !important; } }


/* ============================
   Stats band (grid backdrop + shimmer sweeps + count-up)
   ============================ */
.bb-stats { position: relative; overflow: hidden; background: #EA720F; padding: 140px 24px; }
.bb-stats-gridbg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 100%); }
.bb-stats-lines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; -webkit-mask-image: radial-gradient(52% 60% at 50% 50%, #000 15%, transparent 85%); mask-image: radial-gradient(52% 60% at 50% 50%, #000 15%, transparent 85%); }
.bb-stats-line { position: absolute; left: 0; right: 0; height: 1px; overflow: hidden; }
.bb-stats-line span { position: absolute; top: 0; left: 0; height: 100%; width: 24%; opacity: 0.6; will-change: transform; animation-name: bbGridShimmer; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes bbGridShimmer { 0% { transform: translateX(-110%); } 100% { transform: translateX(420%); } }
.bb-stats-wrap { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center; }
.bb-stat-num { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 72px; line-height: 1; letter-spacing: -1.8px; color: #ffffff; font-variant-numeric: tabular-nums; }
.bb-stat-label { margin-top: 16px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.82); }
@media (max-width: 768px) {
  .bb-stats { padding: 80px 20px; }
  .bb-stats-wrap { grid-template-columns: 1fr; gap: 44px; }
  .bb-stat-num { font-size: 52px; letter-spacing: -1px; }
}
@media (prefers-reduced-motion: reduce) { .bb-stats-line span { animation: none !important; opacity: 0; } }


/* ============================
   Free trial: xAI-style two-panel (login pills + conic swirl art)
   ============================ */
.xlogin-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; overflow: hidden; position: relative; }
.xlogin-left { background: #061226; display: flex; flex-direction: column; padding: 40px; }
.xlogin-inner { flex: 1; width: 100%; max-width: 384px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.xlogin-title { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 30px; letter-spacing: -0.75px; line-height: 1.2; text-align: center; color: #ffffff; margin: 0 0 14px; }
.xlogin-buttons { display: grid; gap: 16px; }
.xlogin-btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(250,250,250,0.15); color: #fafafa; font-size: 14px; font-weight: 500; text-decoration: none; background: transparent; transition: background 0.2s ease, border-color 0.2s ease; }
.xlogin-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(250,250,250,0.32); }
.xlogin-ic { width: 18px; height: 18px; display: inline-flex; flex-shrink: 0; }
.xlogin-ic svg { width: 100%; height: 100%; display: block; }
.xlogin-alt { text-align: center; font-size: 14px; color: #acaaaa; margin: 0; }
.xlogin-alt a { color: #fafafa; text-decoration: none; }
.xlogin-alt a:hover { text-decoration: underline; }
.xlogin-terms { text-align: center; font-size: 12px; line-height: 1.33; color: #acaaaa; margin: 0; padding-top: 16px; text-wrap: balance; }
.xlogin-terms a { color: #fafafa; text-decoration: underline; }
.xlogin-art { position: relative; background: #05070d; overflow: hidden; }
.xlogin-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.xlogin-art-wrap { position: absolute; width: 1200px; top: -30%; right: -24px; bottom: -30%; display: flex; flex-direction: column; opacity: 0.75; -webkit-mask-image: linear-gradient(to right, rgba(255,255,255,0), #fff); mask-image: linear-gradient(to right, rgba(255,255,255,0), #fff); }
.xlogin-art-top { flex: 1; background: conic-gradient(from 180deg at 99% 40%, #ffffff 18deg, rgb(156,184,221) 36deg, rgba(17,17,17,0) 90deg, rgba(17,17,17,0) 342deg, #ffffff 360deg); }
.xlogin-art-bottom { flex: 1; background: conic-gradient(at 99% 60%, #ffffff 0deg, rgba(17,17,17,0) 18deg, rgba(17,17,17,0) 270deg, rgb(156,184,221) 324deg, #ffffff 342deg); }
@media (max-width: 860px) {
  .xlogin-section { grid-template-columns: 1fr; min-height: 0; }
  /* Keep the laptop video on mobile: stacked under the buttons as its own panel */
  .xlogin-art { display: block; aspect-ratio: 16 / 10; min-height: 230px; }
  .xlogin-left { padding: 56px 20px 40px; }
}


/* Agent-grid random twinkle: cards fade out/in */
.ag-tile { transition: opacity 0.55s ease, transform 0.55s ease; }
.ag-tile.ag-hidden { opacity: 0 !important; transform: scale(0.92); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .ag-tile.ag-hidden { opacity: 1 !important; transform: none; } }


/* ===== production mobile fixes (import layer) ===== */
@media (max-width: 768px) {
  /* No chip: the logo swaps between the white-text and dark-text lockups by the
     background behind it (see .anav-logo.over-dark / .over-light), so it always
     has contrast with nothing painted behind it. */
  .anav-logo {
    position: fixed !important; top: 44px !important; left: 12px !important; z-index: 9998;
    display: block; height: auto; padding: 0;
    background: none; border: none; border-radius: 0; box-shadow: none;
  }
  .anav-logo img { height: 26px; width: auto; filter: none; }
  /* .anav is pointer-events:none; the burger must opt back in or taps fall through. */
  .anav-burger { top: 44px !important; right: 12px !important; pointer-events: auto; }
  /* Compact floating dock across ALL mobile widths (previously only <=480px,
     leaving 481-768px with a desktop-sized, clipping dock). */
  .fmenu { left: 50% !important; transform: translateX(-50%); bottom: 12px !important; max-width: calc(100vw - 24px); }
  .fmenu-box { width: max-content; max-width: calc(100vw - 24px); }
  .fmenu-bar { gap: 0; padding: 6px; }
  .fmenu-navlink { width: 44px; height: 44px; }
  .fmenu-navlink svg { width: 20px; height: 20px; }
  .fmenu-cta { padding: 0 12px; font-size: 13px; gap: 6px; white-space: nowrap; }
  /* Lift the corner FABs above the dock so nothing collides on narrow screens. */
  .support-widget { bottom: 74px !important; left: 12px !important; }
  .support-fab { width: 48px; height: 48px; }
  #theme-toggle { bottom: 74px !important; right: 12px !important; }
}

/* Rotor slide layers: restore the panel as containing block on mobile (the
   base sheet sets .uc-home-visual to position:static under 1024px, which lets
   the absolutely-positioned .uc-home-mockup layers escape into the sticky
   100vh .uc-feat-layout and paint over the whole pinned screen). */
@media (max-width: 1024px) {
  .uc-feat-layout .uc-home-visual { position: relative; }
}
/* Non-active slide layers must be unreadable at every width: opacity alone
   leaves both layers' text legible mid-crossfade. */
.uc-home-mockup { visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.uc-home-mockup.active { visibility: visible; transition: opacity 0.3s ease, visibility 0s; }

/* Pinned rotor screens (Watch + How it works) on mobile: the stacked text +
   4/3 panel was taller than the 100vh pinned screen, so the panel's bottom
   sat below the fold and could never be scrolled into view (scrolling drives
   the rotor instead). Compact the text column and let the panel flex into
   whatever height is left; a step taller than that scrolls inside its card. */
@media (max-width: 768px) {
  .uc-feat-layout {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding: 96px 0 84px;
    box-sizing: border-box;
  }
  .uc-feat-col { flex: none; gap: 18px; max-width: none; }
  .uc-feat-title { font-size: 24px; }
  .uc-feat-slide { margin-top: 12px; gap: 18px; }
  .uc-feat-num { font-size: 30px; }
  .uc-feat-name { font-size: 16px; margin: 0 0 5px; }
  .uc-feat-desc { font-size: 12.5px; }
  .uc-feat-layout .uc-home-visual {
    flex: 1 1 auto;
    min-height: 130px;
    max-height: none;
    aspect-ratio: auto;
    order: 2;
    width: 100%;
    /* base sheet's sticky "top: 100px" still offsets a relative box */
    top: 0;
  }
  .uc-home-mockup { padding: 10px; }
  .uc-home-mockup .bb-mockinner { max-height: 100%; overflow-y: auto; }
}

/* (Superseded 2026-07-09) The white chip is gone; the header logo now swaps
   lockups by the section background behind it in every theme. See the
   .anav-logo.over-dark / .over-light rules below. */


/* ============================================================
   2026-07-09 mobile refit: in-dock chat + theme, compact dock
   trial form, inline trial modal
   ============================================================ */

/* In-dock chat + theme triggers (mobile only). Hidden on desktop; the corner
   FABs stay the primary controls there. */
.fmenu-navlink--dock {
  display: none;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
}
.fmenu-navlink--dock svg { width: 22px; height: 22px; display: block; stroke: currentColor; }
.fmenu-theme-btn .tt-moon { display: none; }
.fmenu-theme-btn .tt-sun { display: block; }
html.light .fmenu-theme-btn .tt-sun { display: none; }
html.light .fmenu-theme-btn .tt-moon { display: block; }

/* Mobile AND tablet (<=1024px): chat + theme live in the dock, corner FABs
   hidden. On PC (>1024px) it stays as it was: corner FABs, no dock chat/theme. */
@media (max-width: 1024px) {
  .fmenu-navlink--dock { display: flex; align-items: center; justify-content: center; }
  .support-fab { display: none !important; }
  #theme-toggle { display: none !important; }
  /* The support panel now anchors just above the dock. */
  .support-widget { bottom: 84px !important; left: 12px !important; }
}

/* Compact dock trial form so every field of the active step is visible on a
   phone without the panel overflowing. Keeps the liquid-morph animation (the
   open box still animates to a fixed pixel height). */
@media (max-width: 768px) {
  .fmenu-box.open {
    width: min(360px, calc(100vw - 20px));
    height: min(82vh, 540px);
  }
  .fmenu-box.open .fmenu-items {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
  }
  .ft-panel { padding: 2px 16px 0; }
  .ft-head { gap: 8px; margin-bottom: 2px; }
  .ft-bear { width: 30px; height: 30px; }
  .ft-bear img { width: 20px; height: 20px; }
  .ft-eyebrow { font-size: 9px; }
  .ft-title { font-size: 13.5px; }
  .ft-progress { margin: 8px 0 10px; }
  .ft-stage { min-height: 60px; }
  .ft-label { font-size: 11.5px; margin-bottom: 5px; }
  .ft-input { font-size: 14px; padding: 9px 11px; }
  .ft-input.ft-cc { min-width: 92px; padding: 9px 8px; }
  .ft-hint { font-size: 10px; margin-top: 4px; min-height: 11px; }
  .ft-nav { margin-top: 8px; }
  .ft-next, .ft-back { font-size: 13px; padding: 10px 14px; }
  .ft-consent { font-size: 9.5px; margin-top: 7px; }
  .ft-done-title { font-size: 15px; }
  .ft-done-text { font-size: 12px; margin-bottom: 10px; }
  .ft-preview { margin-top: 10px; padding-top: 10px; }
  .ft-preview-label { margin-bottom: 6px; }
  .ft-cc .cc-card { width: 118px; padding: 8px; }
}
/* Very short phones: the preview carousel is the first thing to drop so the
   active step + Continue + consent are never clipped. */
@media (max-width: 768px) and (max-height: 720px) {
  .ft-preview { display: none; }
  .fmenu-box.open { height: min(88vh, 500px); }
}

/* ---- Inline trial modal ---- */
.bbm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6,18,38,0.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
  font-family: 'Manrope', sans-serif;
}
.bbm-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
.bbm-overlay[hidden] { display: none !important; }
.bbm-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #061226;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  padding: 30px 26px 26px;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.bbm-overlay.show .bbm-card { transform: none; }
.bbm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: color 0.2s ease;
}
.bbm-close:hover { color: #ffffff; }
.bbm-eyebrow { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: #f7a24a; }
.bbm-title { font-size: 22px; font-weight: 700; color: #ffffff; margin: 8px 0 0; line-height: 1.2; letter-spacing: -0.01em; }
.bbm-sub { font-size: 13.5px; color: #c3cadb; margin: 8px 0 20px; line-height: 1.5; }
.bbm-form { display: flex; flex-direction: column; gap: 14px; }
.bbm-field { display: block; }
.bbm-label { display: block; font-size: 12px; font-weight: 600; color: #c3cadb; margin-bottom: 6px; }
.bbm-input {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  color: #061226;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 4px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bbm-input::placeholder { color: #8a90a0; }
.bbm-input:focus { border-color: #EA720F; box-shadow: 0 0 0 3px rgba(234,114,15,0.25); }
.bbm-phone-row { display: flex; gap: 8px; align-items: stretch; }
.bbm-cc { flex: 0 0 auto; width: auto; min-width: 104px; padding: 11px 10px; cursor: pointer; }
.bbm-phone-inp { flex: 1 1 auto; min-width: 0; }
.bbm-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  margin-top: 2px;
}
.bbm-consent input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: #EA720F; }
.bbm-hp { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }
.bbm-submit {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #061226;
  background: #EA720F;
  border: none;
  border-radius: 4px;
  padding: 13px;
  min-height: 48px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s ease;
}
.bbm-submit:hover { background: #d4660d; }
.bbm-submit:disabled { opacity: 0.7; cursor: default; }
.bbm-msg { font-size: 12.5px; line-height: 1.45; min-height: 14px; text-align: center; }
.bbm-msg.err { color: #ff8a8a; }
.bbm-msg.ok { color: #4ade80; }
.bbm-terms { font-size: 10.5px; line-height: 1.45; color: rgba(255,255,255,0.42); margin: 2px 0 0; text-align: center; }
.bbm-terms a { color: rgba(255,255,255,0.64); text-decoration: underline; }
.bbm-done { text-align: center; padding: 8px 0; }
.bbm-done[hidden] { display: none; }
.bbm-done-title { font-size: 22px; font-weight: 700; color: #ffffff; margin: 0 0 8px; }
.bbm-done-text { font-size: 14px; line-height: 1.55; color: #c3cadb; margin: 0 0 20px; }
.bbm-done-text b { color: #ffffff; }
.bbm-wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: #25D366;
  border-radius: 4px;
  padding: 13px 22px;
  min-height: 48px;
  box-sizing: border-box;
  text-decoration: none;
  transition: background 0.2s ease;
}
.bbm-wa:hover { background: #1eb757; }
.bbm-wa svg { width: 18px; height: 18px; }

/* Mobile: bottom-sheet */
@media (max-width: 560px) {
  .bbm-overlay { padding: 0; align-items: flex-end; }
  .bbm-card {
    max-width: none;
    max-height: 92vh;
    border-radius: 12px 12px 0 0;
    padding: 26px 20px 24px;
    transform: translateY(100%);
  }
  .bbm-overlay.show .bbm-card { transform: none; }
}

/* ============================================================
   2026-07-10 header, dock and trial-form reliability pass
   ============================================================ */

/* One optical row below the announcement bar: 50px controls share y=73px. */
.anav-logo {
  top: 48px;
  height: 50px;
  display: flex;
  align-items: center;
  transition: transform 220ms ease, opacity 160ms ease;
  will-change: transform;
}
.anav { top: 42px; }
.anav-pill,
.anav-burger { transition: translate 220ms ease, opacity 160ms ease; }
.bb-home-language--header { transition: transform 220ms ease, opacity 160ms ease; will-change: transform; }
html.bb-header-hidden .anav-logo,
html.bb-header-hidden .bb-home-language--header {
  transform: translate3d(0, -140px, 0) !important;
  opacity: 0;
  pointer-events: none !important;
}
html.bb-header-hidden .anav-pill,
html.bb-header-hidden .anav-burger {
  translate: 0 -140px;
  opacity: 0;
  pointer-events: none !important;
}

/* Keep both variants mounted; the runtime's surface class decides which one is visible. */
.anav-logo .logo-on-dark,
.anav-logo .logo-on-light { display: none; }
#anav-logo.over-dark .logo-on-dark { display: block !important; }
#anav-logo.over-dark .logo-on-light { display: none !important; }
#anav-logo.over-light .logo-on-light { display: block !important; }
#anav-logo.over-light .logo-on-dark { display: none !important; }

/* The dock is interactive immediately; the visual morph no longer makes taps feel delayed. */
.fmenu,
.fmenu-box,
.fmenu-bar,
.fmenu-navlink,
.fmenu-cta { pointer-events: auto; touch-action: manipulation; }
.fmenu-box {
  transition: width 280ms cubic-bezier(0.22,1,0.36,1),
              height 220ms cubic-bezier(0.22,1,0.36,1),
              border-radius 280ms cubic-bezier(0.22,1,0.36,1),
              transform 180ms ease;
}
.fmenu-box.open {
  transition: width 300ms cubic-bezier(0.22,1,0.36,1),
              height 300ms cubic-bezier(0.22,1,0.36,1),
              border-radius 300ms cubic-bezier(0.22,1,0.36,1);
}
.fmenu-circle,
.fmenu-box.open .fmenu-circle { transition: bottom 300ms cubic-bezier(0.22,1,0.36,1); }
.fmenu-box.open .fmenu-item { transition-delay: calc(80ms + 35ms * var(--idx)); }
.fmenu-navlink,
.fmenu-cta { cursor: pointer; }

/* Full lockup at the top of the inline modal, with stable mobile geometry. */
.bbm-card { max-width: 460px; overscroll-behavior: contain; scrollbar-gutter: stable; }
.bbm-head { padding-right: 48px; }
.bbm-logo { display: block; width: 156px; height: auto; margin: 0 0 22px; }
.hero-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 4;
  width: 56px;
  height: 56px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 999px;
  background: rgba(6,18,38,0.86);
  color: #ffffff;
  box-shadow: 0 12px 34px rgba(6,18,38,0.32);
  cursor: pointer;
  touch-action: manipulation;
}
.hero-video-frame.needs-play .hero-video-play { display: flex; }
.hero-video-play svg { width: 25px; height: 25px; margin-left: 3px; fill: currentColor; }
.hero-video-play:focus-visible { outline: 3px solid #EA720F; outline-offset: 3px; }

@media (min-width: 769px) {
  .fmenu-box.open { height: 526px; }
  .fmenu-box.open .fmenu-items {
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: 18px;
  }
}

@media (max-width: 900px) {
  /* 48px controls share the same centre line below the 36px announcement bar. */
  .anav-logo {
    top: 44px !important;
    left: 12px !important;
    height: 48px;
    align-items: center;
  }
  .anav-logo img { height: 26px; }
  .anav-burger {
    top: 44px !important;
    right: 12px !important;
    width: 48px;
    height: 48px;
  }
  .anav.menu-open .anav-pill { top: 100px; }
}

@media (max-width: 768px) {
  .fmenu-box.open .fmenu-items {
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: 12px;
  }
  .ft-panel { padding: 12px 16px 0; }
  .ft-input { font-size: 16px; }
}

@media (max-width: 560px) {
  .bbm-card {
    max-height: calc(100dvh - 12px);
    padding: 24px 18px calc(20px + env(safe-area-inset-bottom));
  }
  .bbm-logo { width: 146px; margin-bottom: 18px; }
  .bbm-input { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .anav-logo,
  .anav-pill,
  .anav-burger,
  .bb-home-language--header,
  .fmenu-box,
  .fmenu-circle { transition-duration: 0.01ms !important; }
}
