/* /ai only — dark atmosphere. Glows attach to objects, not the whole page. */

body.bv-page.ai-night {
  --bv-cream: #07060f;
  --bv-cream-deep: #0b0916;
  --bv-paper: #141221;
  --bv-ink: #ece8f4;
  --bv-muted: #b7b1c6;
  --bv-faint: #8e889c;
  --bv-line: rgba(255, 255, 255, 0.1);
  --neb-vibe: 0;
  --bg: #07060f;
  --bg-subtle: #0b0916;
  --white: #141221;
  --text: #ece8f4;
  --text-secondary: #b7b1c6;
  --text-muted: #8e889c;
  --border: rgba(255, 255, 255, 0.1);
  --ai-purple: #a78bfa;
  --ai-orange: #f0a05a;
  --ai-green: #37c6a0;
  --ai-teal: #2dd4bf;
  background: #07060f;
  color: #ece8f4;
  color-scheme: dark;
}
body.bv-page.ai-night::after { opacity: 0; }

body.bv-page.ai-night .bv-nav {
  background: rgba(7, 6, 15, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}
body.bv-page.ai-night .bv-nav a,
body.bv-page.ai-night .bv-nav button,
body.bv-page.ai-night .bv-nav__word,
body.bv-page.ai-night .bv-nav__logo { color: #ece8f4; }
body.bv-page.ai-night .bv-foot {
  background: #05040c;
  color: #c9c3d4;
  border-top-color: rgba(255, 255, 255, 0.06);
}
body.bv-page.ai-night .bv-foot a { color: #c9c3d4; }
body.bv-page.ai-night .bv-nav__menu,
body.bv-page.ai-night .bv-nav__mega {
  background: #12101c;
  border-color: rgba(255, 255, 255, 0.08);
  color: #ece8f4;
}

body.bv-page.ai-night main {
  background: #07060f;
  color: #ece8f4;
  position: relative;
  isolation: isolate;
}
body.bv-page.ai-night .bv-section,
body.bv-page.ai-night .bv-section--deep,
body.bv-page.ai-night .ai-hero,
body.bv-page.ai-night .ai-layer {
  position: relative;
  z-index: 1;
  background: transparent;
  overflow: visible;
}
body.bv-page.ai-night .bv-section .bv-wrap,
body.bv-page.ai-night .ai-hero .bv-wrap,
body.bv-page.ai-night .ai-layer .bv-wrap {
  position: relative;
  z-index: 1;
}
body.bv-page.ai-night h1,
body.bv-page.ai-night h2,
body.bv-page.ai-night h3 { color: #ece8f4; }
body.bv-page.ai-night .bv-kicker {
  color: #9ae7d2;
  background: rgba(55, 198, 160, 0.14);
  border: 1px solid rgba(154, 231, 210, 0.28);
}
body.bv-page.ai-night h1 em {
  color: #c4b5fd;
  font-style: normal;
  text-shadow: 0 0 28px rgba(167, 139, 250, 0.55);
}
body.bv-page.ai-night .bv-page-hero__lede,
body.bv-page.ai-night .bv-section p,
body.bv-page.ai-night .bv-section__head p { color: #b7b1c6; }
body.bv-page.ai-night strong { color: #ece8f4; }
body.bv-page.ai-night .bv-btn--ghost {
  color: #ece8f4;
  border-color: rgba(255, 255, 255, 0.16);
  background: transparent;
}

.ai-glowwrap { position: relative; isolation: isolate; }
.ai-glow {
  position: absolute;
  inset: 18% 10%;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.7;
  transform: scale(0.94);
  animation: ai-breathe 5.4s ease-in-out infinite;
}
.ai-glow--tight { inset: 28% 18%; filter: blur(28px); }
.ai-glow--wide { inset: 6% -8%; filter: blur(52px); }
.ai-glow--tall { inset: -4% 18%; filter: blur(46px); }
.ai-glow--purple { background: radial-gradient(circle, rgba(167, 139, 250, 0.95), transparent 68%); }
.ai-glow--orange { background: radial-gradient(circle, rgba(240, 160, 90, 0.92), transparent 68%); animation-duration: 6.2s; }
.ai-glow--green { background: radial-gradient(circle, rgba(55, 198, 160, 0.92), transparent 68%); animation-duration: 4.8s; }
.ai-glow--teal { background: radial-gradient(circle, rgba(45, 212, 191, 0.92), transparent 68%); animation-duration: 5.6s; }
.ai-glow--teal-mix {
  background: radial-gradient(circle at 30% 40%, rgba(167, 139, 250, 0.85), transparent 58%),
    radial-gradient(circle at 70% 60%, rgba(45, 212, 191, 0.8), transparent 58%);
}
.ai-glow--mix {
  inset: -40% -20%;
  background:
    radial-gradient(circle at 20% 40%, rgba(167, 139, 250, 0.95), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(55, 198, 160, 0.85), transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(240, 160, 90, 0.7), transparent 50%);
  animation-duration: 3.8s;
}
.ai-glowwrap > :not(.ai-glow) { position: relative; z-index: 1; }
.ai-glowwrap--cta { display: inline-flex; isolation: isolate; }
.ai-glowwrap--cta .bv-btn { position: relative; z-index: 1; }

.ai-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.ai-split--flip { grid-template-columns: minmax(300px, 1.12fr) minmax(0, 0.88fr); }

.ai-swap {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #9ae7d2 !important;
}
.ai-swap a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ai-swap--center { text-align: center; }

.ai-scene--first {
  background: radial-gradient(900px 420px at 88% 10%, rgba(167, 139, 250, 0.1), transparent 52%);
}
.ai-scene--create {
  background: radial-gradient(800px 380px at 8% 80%, rgba(45, 212, 191, 0.1), transparent 50%);
}
.ai-scene--ask {
  background: radial-gradient(720px 420px at 92% 20%, rgba(240, 160, 90, 0.08), transparent 55%);
}
.ai-scene--intel {
  background: radial-gradient(1000px 280px at 50% 100%, rgba(167, 139, 250, 0.1), transparent 50%);
}
.ai-scene--askreal {
  background: radial-gradient(700px 360px at 12% 0%, rgba(55, 198, 160, 0.08), transparent 50%);
}
.ai-scene--act {
  background: radial-gradient(640px 400px at 90% 40%, rgba(240, 160, 90, 0.1), transparent 52%);
}
.ai-scene--safe {
  background: radial-gradient(900px 380px at 10% 80%, rgba(45, 212, 191, 0.08), transparent 50%);
}
.ai-scene--opt {
  background: radial-gradient(700px 300px at 50% 100%, rgba(167, 139, 250, 0.08), transparent 55%);
}

/* ---------- HERO ---------- */
.ai-hero {
  padding: clamp(20px, 4vw, 40px) 0 clamp(48px, 7vw, 80px);
}
.ai-hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.ai-hero__copy { max-width: 24em; }
.ai-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.02;
}
.ai-hero .bv-page-hero__lede { font-size: 17px; }
.ai-hero__line {
  margin: 16px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ece8f4 !important;
}

.ai-os {
  position: relative;
  padding: 22px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(24, 21, 38, 0.96), rgba(14, 12, 24, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.ai-os__aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 160px;
  background:
    radial-gradient(circle at 30% 40%, rgba(167, 139, 250, 0.28), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(45, 212, 191, 0.2), transparent 50%);
  filter: blur(8px);
  animation: ai-aurora 8s ease-in-out infinite;
  pointer-events: none;
}
.ai-os__layer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 16px;
  width: min(100%, 360px);
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(196, 181, 253, 0.35);
  background: linear-gradient(180deg, rgba(46, 36, 78, 0.88), rgba(28, 22, 48, 0.92));
  box-shadow: 0 16px 40px rgba(88, 60, 160, 0.28);
  transform: translateY(-10px);
  opacity: 0;
}
.ai-os.is-in .ai-os__layer {
  opacity: 1;
  transform: none;
  animation: ai-float 4.8s ease-in-out 0.6s infinite;
}
.ai-os__layer i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(167, 139, 250, 0.2);
  color: #c4b5fd;
  font-size: 18px;
}
.ai-os__layer small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ae7d2;
}
.ai-os__layer b {
  display: block;
  font-size: 14px;
  font-weight: 650;
}
.ai-os__layer > span {
  margin-left: auto;
  font-size: 11px;
  color: #b7b1c6;
}
.ai-os__mods {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ai-os__mods article {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #161422;
  color: #ece8f4;
  font-size: 13px;
  font-weight: 600;
  filter: grayscale(1);
  opacity: 0.72;
  transform: translateY(8px);
}
.ai-os.is-in .ai-os__mods article {
  filter: none;
  opacity: 1;
  transform: none;
  transition: filter 0.7s ease, opacity 0.7s ease, transform 0.7s ease;
}
.ai-os.is-in .ai-os__mods article:nth-child(1) { transition-delay: 0.05s; }
.ai-os.is-in .ai-os__mods article:nth-child(2) { transition-delay: 0.12s; }
.ai-os.is-in .ai-os__mods article:nth-child(3) { transition-delay: 0.18s; }
.ai-os.is-in .ai-os__mods article:nth-child(4) { transition-delay: 0.24s; }
.ai-os.is-in .ai-os__mods article:nth-child(5) { transition-delay: 0.3s; }
.ai-os.is-in .ai-os__mods article:nth-child(6) { transition-delay: 0.36s; }
.ai-os__mods i {
  color: #9ae7d2;
  font-size: 16px;
}
.ai-os__cap {
  margin: 12px 0 0;
  font-size: 12px;
  color: #8e889c !important;
  text-align: center;
}
.ai-os__cmp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.ai-os__cmp article {
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #100e1a;
  opacity: 0;
  transform: translateY(10px);
}
.ai-os.is-in .ai-os__cmp article {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease 0.7s, transform 0.55s ease 0.7s;
}
.ai-os.is-in .ai-os__cmp article.is-ai { transition-delay: 0.88s; }
.ai-os__cmp small {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8e889c;
}
.ai-os__cmp .is-ai {
  border-color: rgba(167, 139, 250, 0.32);
  background: rgba(46, 36, 78, 0.45);
}
.ai-os__cmp .is-ai small { color: #c4b5fd; }
.ai-os__cmp p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #d9d4e6 !important;
}

/* ---------- TOGGLE ---------- */
.ai-toggle {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #100e1a;
  padding: 16px;
}
.ai-toggle__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.ai-toggle__modes,
.ai-toggle__kinds,
.ai-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.ai-toggle__modes,
.ai-toggle__kinds { margin: 0; }
.ai-toggle__modes button,
.ai-toggle__kinds button,
.ai-pills button,
.ai-chat__prompts button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #161422;
  color: #c9c3d4;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ai-toggle__modes button.is-on,
.ai-toggle__kinds button.is-on,
.ai-pills button.is-on,
.ai-chat__prompts button.is-on {
  background: #ece8f4;
  color: #141221;
  border-color: #ece8f4;
}

.ai-app {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1830;
}
.ai-app__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #12101c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ai-app__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a364c;
}
.ai-app__chrome span:nth-child(1) { background: #f0a05a; }
.ai-app__chrome span:nth-child(2) { background: #37c6a0; }
.ai-app__chrome span:nth-child(3) { background: #a78bfa; }
.ai-app__chrome b {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
}
.ai-app__body { padding: 16px; }
.ai-same {
  display: grid;
  gap: 10px;
}
.ai-same__badge {
  justify-self: start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(142, 136, 156, 0.18);
  color: #b7b1c6;
}
.ai-same.is-ai .ai-same__badge {
  background: rgba(167, 139, 250, 0.2);
  color: #c4b5fd;
}
.ai-same label,
.ai-same .ai-same__row {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: #8e889c;
}
.ai-same b,
.ai-same input,
.ai-same textarea,
.ai-same .ai-same__field {
  display: block;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12101c;
  color: #ece8f4;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
}
.ai-same textarea,
.ai-same .ai-same__field--tall { min-height: 72px; }
.ai-same.is-manual .ai-same__field { color: #6d687c; }
.ai-same.is-ai .ai-same__field {
  border-color: rgba(167, 139, 250, 0.28);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.08);
}

/* ---------- CREATE ---------- */
.ai-create {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.ai-create li {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141221;
  min-height: 100%;
  opacity: 0.72;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.ai-create.is-on li,
.ai-create li.is-on {
  opacity: 1;
  transform: none;
}
.ai-create li.is-on {
  border-color: rgba(167, 139, 250, 0.4);
  background: #1b1730;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}
.ai-create i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.12);
  color: #9ae7d2;
  margin-bottom: 12px;
}
.ai-create b {
  display: block;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.ai-create p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #b7b1c6 !important;
}

/* ---------- ASK ANYWHERE ---------- */
.ai-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #12101c;
  min-height: 320px;
}
.ai-desk__app {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-width: 0;
}
.ai-desk__app aside {
  padding: 14px 10px;
  background: #0d0b16;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: 11px;
  color: #8e889c;
}
.ai-desk__app aside small {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ae7d2;
}
.ai-desk__app aside span {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(167, 139, 250, 0.18);
  color: #ece8f4;
  font-weight: 650;
}
.ai-desk__main { padding: 14px; min-width: 0; }
.ai-desk__main header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.ai-desk__main header small { color: #8e889c; font-size: 11px; }
.ai-desk__rows {
  display: grid;
  gap: 8px;
}
.ai-desk__rows article {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #1a1830;
  font-size: 12px;
}
.ai-desk__rows b { font-weight: 600; }
.ai-desk__rows span { color: #8e889c; }
.ai-desk__panel {
  padding: 16px 14px;
  background: linear-gradient(180deg, #241c3c, #19162a);
  border-left: 1px solid rgba(167, 139, 250, 0.28);
}
.ai-desk__panel p {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ae7d2 !important;
}
.ai-desk__panel strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.ai-desk__panel span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #b7b1c6;
}

/* ---------- CHAIN ---------- */
.ai-chain {
  position: relative;
  margin: 8px auto 0;
  max-width: 980px;
  padding: 28px 8px 18px;
}
.ai-chain ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ai-chain li {
  position: relative;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141221;
  font-size: 13px;
  font-weight: 650;
  min-width: 96px;
  text-align: center;
}
.ai-chain li.is-hot {
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.18);
  color: #c4b5fd;
}
.ai-chain__pulse {
  display: none;
}

/* ---------- QUESTIONS ---------- */
.ai-console {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12101c;
  overflow: hidden;
}
.ai-console__q,
.ai-console__out { padding: 18px 18px 8px; }
.ai-console__out {
  padding-bottom: 18px;
  background: #161422;
}
.ai-chat__label {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8e889c !important;
}
.ai-chat__q {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #ece8f4 !important;
}
.ai-chat__prompts {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ai-console table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ai-console th,
.ai-console td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ai-console th { color: #8e889c; font-weight: 600; }
.ai-console tbody tr {
  opacity: 0;
  transform: translateY(8px);
}
.ai-console.is-rows tbody tr {
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ai-console.is-rows tbody tr:nth-child(2) { transition-delay: 0.08s; }
.ai-console.is-rows tbody tr:nth-child(3) { transition-delay: 0.16s; }
.ai-console__next {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 650;
  color: #c4b5fd !important;
}

/* ---------- FLOW ---------- */
.ai-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.ai-flow li {
  position: relative;
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141221;
  min-height: 100%;
}
.ai-flow li.is-now {
  border-color: rgba(45, 212, 191, 0.4);
  background: #17182a;
}
.ai-flow li.is-gate {
  border-color: rgba(240, 160, 90, 0.35);
}
.ai-flow li.is-gate.is-now {
  box-shadow: 0 0 0 1px rgba(240, 160, 90, 0.35), 0 16px 36px rgba(0, 0, 0, 0.2);
}
.ai-flow small {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8e889c;
}
.ai-flow b {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.ai-flow p {
  margin: 8px 0 0;
  font-size: 14px;
  color: #b7b1c6 !important;
}

/* ---------- SAFE ---------- */
.ai-safe-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ai-safe-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #ece8f4;
}
.ai-safe-list i { color: #9ae7d2; font-size: 18px; }
.ai-lock {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 8px;
}
.ai-lock article,
.ai-lock__gate {
  position: relative;
  z-index: 1;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141221;
}
.ai-lock__ai { opacity: 0.88; }
.ai-lock__gate {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
  background: #1b1730;
  border-color: rgba(167, 139, 250, 0.35);
}
.ai-lock__gate i {
  font-size: 22px;
  color: #c4b5fd;
}
.ai-lock small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8e889c;
}
.ai-lock b { display: block; font-size: 16px; }
.ai-lock span { font-size: 13px; color: #b7b1c6; }
.ai-lock.is-on .ai-lock__gate {
  animation: ai-lock-pulse 2.8s ease-in-out infinite;
}

/* ---------- OPTIONAL ---------- */
.ai-opt {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.ai-opt li {
  display: grid;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141221;
}
.ai-opt li.is-ai {
  border-color: rgba(167, 139, 250, 0.4);
  background: #1b1730;
}
.ai-opt i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  color: #9ae7d2;
}
.ai-opt b { display: block; font-size: 16px; }
.ai-opt p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #b7b1c6 !important;
}
.ai-opt button {
  appearance: none;
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #12101c;
  color: #c9c3d4;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.ai-opt li.is-ai button {
  background: #ece8f4;
  color: #141221;
  border-color: #ece8f4;
}

/* ---------- CTA ---------- */
.ai-layer {
  padding: clamp(56px, 8vw, 96px) 0;
  background: #05040c !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.ai-layer h2 {
  margin: 0 auto;
  max-width: 16em;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.ai-layer__lede {
  margin: 16px auto 0;
  max-width: 36em;
  color: #b7b1c6 !important;
}
.ai-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 36px auto 0;
  max-width: 760px;
  text-align: left;
}
.ai-close article {
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12101c;
}
.ai-close article.is-ready {
  border-color: rgba(167, 139, 250, 0.35);
  background: #1b1730;
}
.ai-close small {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8e889c;
}
.ai-close b {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.ai-close em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  color: #9ae7d2;
}
.ai-close > span {
  display: grid;
  place-items: center;
  min-width: 72px;
  height: 36px;
  border-radius: 999px;
  background: rgba(240, 160, 90, 0.16);
  color: #f0a05a;
  font-size: 12px;
  font-weight: 700;
}
.ai-layer__cta { margin-top: 32px; }

@keyframes ai-breathe {
  0%, 100% { transform: scale(0.9); opacity: 0.45; }
  50% { transform: scale(1.12); opacity: 0.95; }
}
@keyframes ai-aurora {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate3d(2%, -2%, 0) scale(1.06); opacity: 1; }
}
@keyframes ai-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes ai-lock-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(167, 139, 250, 0); }
  50% { box-shadow: 0 0 28px rgba(167, 139, 250, 0.28); }
}

@media (max-width: 1100px) {
  .ai-create,
  .ai-opt { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ai-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .ai-hero__grid,
  .ai-split,
  .ai-split--flip { grid-template-columns: 1fr; }
  .ai-hero__copy { max-width: 36em; }
  .ai-create,
  .ai-opt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-desk { grid-template-columns: 1fr; }
  .ai-desk__panel { border-left: 0; border-top: 1px solid rgba(167, 139, 250, 0.28); }
  .ai-close { grid-template-columns: 1fr; text-align: left; }
  .ai-close > span { justify-self: start; }
}
@media (max-width: 640px) {
  .ai-hero h1 { font-size: clamp(2.1rem, 11vw, 2.9rem); }
  .ai-os__mods,
  .ai-os__cmp,
  .ai-create,
  .ai-opt,
  .ai-flow { grid-template-columns: 1fr; }
  .ai-desk__app { grid-template-columns: 76px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ai-glow,
  .ai-os__aurora,
  .ai-os.is-in .ai-os__layer,
  .ai-lock.is-on .ai-lock__gate { animation: none !important; }
  .ai-os__layer,
  .ai-os__mods article,
  .ai-os__cmp article,
  .ai-create li,
  .ai-console tbody tr {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
