/* Aliunity AI — product page (the .nav-ai rainbow button lives in styles.css so it's global) */

:root {
  --ai-pink: #c9748f;
  --ai-blue: #7fa9e0;
}

/* ---- Gradient text treatment (matches the nav badge's palette) ---- */
.ai-gradientText {
  background: linear-gradient(90deg, #ff8a9e, #ffc371, #7fe0b8, #6fb7ff, #b79cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- Hero (real datacenter video background) ---- */
.ai-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.05) brightness(0.85);
}

.ai-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.55) 0%, rgba(7, 7, 7, 0.72) 45%, rgba(7, 7, 7, 0.94) 100%),
    linear-gradient(90deg, rgba(7, 7, 7, 0.55) 0%, rgba(7, 7, 7, 0.15) 45%, rgba(7, 7, 7, 0.55) 100%);
}

.ai-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.ai-title {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.ai-title__rotator {
  display: block;
  transition: opacity 0.26s ease;
}

.ai-lead {
  max-width: 60ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  font-size: 18px;
}

.ai-hero__actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ai-hero__proof {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.ai-hero__proofItem {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-hero__proofNum {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ai-hero__proofLabel {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Sections ---- */
.ai-section {
  padding: 84px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-section:first-of-type {
  border-top: none;
}

#see-it-work {
  padding-top: 40px;
}

.ai-head {
  max-width: 720px;
  margin: 0 0 36px;
}

.ai-h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: -0.03em;
}

.ai-p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  max-width: 66ch;
}

/* ---- Real explainer video embed ---- */
.ai-mediaSplit {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.ai-mediaSplit__text .ai-p {
  max-width: 48ch;
}

.ai-media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: #000;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.ai-media video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  background: #000;
}

.ai-media__caption {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 48ch;
}

/* ---- Product screenshot: browser-chrome-framed app mockup (light mode) ---- */
.ai-dashScroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

.ai-dashFrame {
  min-width: 900px;
  border-radius: 18px;
  overflow: hidden;
  background: #fbfbfd;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}

.ai-dashFrame__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 16px;
  background: #eef0f4;
  border-bottom: 1px solid #e2e4ea;
}

.ai-dashFrame__dots {
  display: flex;
  gap: 7px;
}

.ai-dashFrame__dots span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d7d9de;
}

.ai-dashFrame__dots span:nth-child(1) { background: #ff5f57; }
.ai-dashFrame__dots span:nth-child(2) { background: #febc2e; }
.ai-dashFrame__dots span:nth-child(3) { background: #28c840; }

.ai-dashFrame__url {
  justify-self: center;
  font-size: 12px;
  font-family: "SF Mono", "Menlo", monospace;
  color: #6b7280;
  background: #fff;
  border: 1px solid #e2e4ea;
  border-radius: 999px;
  padding: 5px 16px;
}

.ai-dash {
  display: flex;
  color: #16181d;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 560px;
}

.ai-dash__sidebar {
  width: 220px;
  flex: 0 0 auto;
  background: #f6f7f9;
  border-right: 1px solid #e7e8ec;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
}

.ai-dash__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 18px;
}

.ai-dash__brandMark {
  color: #4f6de0;
  font-size: 15px;
}

.ai-dash__brandName {
  font-family: "Agrandir Grand", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #16181d;
}

.ai-dash__navLabel {
  margin: 14px 8px 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9299a6;
}

.ai-dash__navItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5160;
}

.ai-dash__navItem svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #8890a0;
}

.ai-dash__navItem--active {
  background: #e9edfb;
  color: #33409e;
  font-weight: 600;
}

.ai-dash__navItem--active svg {
  color: #4f6de0;
}

.ai-dash__user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px 4px;
  border-top: 1px solid #e7e8ec;
}

.ai-dash__userAvatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #16181d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.ai-dash__user div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.ai-dash__user strong {
  font-size: 12.5px;
  font-weight: 600;
}

.ai-dash__user span {
  font-size: 11px;
  color: #9299a6;
}

.ai-dash__main {
  flex: 1;
  min-width: 0;
  padding: 22px 28px 28px;
}

.ai-dash__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.ai-dash__topbar h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.ai-dash__topbarActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-dash__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid #e2e4ea;
  background: #fff;
  font-size: 12.5px;
  color: #9299a6;
}

.ai-dash__search svg {
  width: 14px;
  height: 14px;
}

.ai-dash__search span {
  margin-left: 10px;
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 5px;
  background: #f1f2f5;
  color: #9299a6;
}

.ai-dash__quickActions {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #e2e4ea;
  background: #fff;
  color: #16181d;
  cursor: default;
}

.ai-dash__icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid #e2e4ea;
  background: #fff;
  display: grid;
  place-items: center;
  color: #6b7280;
}

.ai-dash__icon svg {
  width: 14px;
  height: 14px;
}

.ai-dash__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9299a6;
}

.ai-dash__today {
  margin: 4px 0 18px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.ai-dash__cardRow {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.ai-dash__card {
  background: #fff;
  border: 1px solid #e7e8ec;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 28px rgba(16, 24, 40, 0.05);
}

.ai-dash__cardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9299a6;
  margin-bottom: 10px;
}

.ai-dash__cardHead a {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 12.5px;
  color: #4f6de0;
}

.ai-dash__pill {
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f2f5;
  color: #4b5160;
}

.ai-dash__cardLabel {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5160;
}

.ai-dash__statRow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.ai-dash__bigStat {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #16181d;
}

.ai-dash__trend {
  font-size: 11.5px;
  font-weight: 700;
  color: #1a9c6b;
  background: #e4f8ee;
  padding: 3px 9px;
  border-radius: 999px;
}

.ai-dash__statSub {
  margin: 4px 0 14px;
  font-size: 12.5px;
  color: #9299a6;
}

.ai-dash__chart {
  display: block;
  width: 100%;
  height: 90px;
}

.ai-dash__footnote {
  margin: 14px 0 0;
  font-size: 11.5px;
  color: #b1b6c0;
}

.ai-dash__queue {
  display: grid;
}

.ai-dash__queueItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 4px 11px 10px;
  border-top: 1px solid #f0f1f4;
  border-left: 3px solid transparent;
  border-radius: 6px;
}

.ai-dash__queueItem:first-child {
  border-top: none;
  padding-top: 4px;
}

.ai-dash__queueItem--new { border-left-color: #4f6de0; }
.ai-dash__queueItem--review { border-left-color: #a78bfa; }
.ai-dash__queueItem--declined { border-left-color: #c7cad1; }
.ai-dash__queueItem--flag { border-left-color: #e0607a; }

.ai-dash__queueItem div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ai-dash__queueItem strong {
  font-size: 13px;
  font-weight: 600;
}

.ai-dash__queueItem span {
  font-size: 11.5px;
  color: #9299a6;
}

.ai-dash__queueItem b {
  font-size: 15px;
  font-weight: 800;
  color: #16181d;
}

.ai-dash__card--full {
  margin-top: 0;
}

.ai-dash__pipelineBar {
  display: flex;
  gap: 3px;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  margin: 14px 0 16px;
}

.ai-dash__pipelineBar span {
  display: block;
}

.ai-dash__pipelineStages {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.ai-dash__pipelineStages div {
  border: 1px solid #eceef2;
  border-top: 3px solid var(--stage-color, #eceef2);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-dash__pipelineStages strong {
  font-size: 12px;
  font-weight: 600;
  color: #4b5160;
}

.ai-dash__pipelineStages span {
  font-size: 15px;
  font-weight: 800;
  color: #16181d;
}

/* ---- How it works: connected timeline ---- */
.ai-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ai-timeline::before {
  content: '';
  position: absolute;
  top: 21px;
  left: calc(16.666% - 1px);
  right: calc(16.666% - 1px);
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(201, 116, 143, 0.05),
    rgba(201, 116, 143, 0.55) 20%,
    rgba(127, 169, 224, 0.55) 80%,
    rgba(127, 169, 224, 0.05)
  );
  z-index: 0;
}

.ai-tlStep {
  position: relative;
  z-index: 1;
}

.ai-tlStep__node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--ai-pink), var(--ai-blue));
  color: #0a0a0a;
  box-shadow: 0 0 0 6px #070707;
}

.ai-tlStep h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.ai-tlStep p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
  font-size: 14.5px;
  max-width: 32ch;
}

/* ---- Built in-house: split media + trust list ---- */
.ai-splitGrid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.ai-splitGrid__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.ai-splitGrid__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  filter: saturate(1.05);
}

.ai-trustList {
  display: grid;
  gap: 0;
  margin-top: 26px;
}

.ai-trustList__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.ai-trustList__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.ai-trustList__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ai-pink);
  flex: 0 0 auto;
}

.ai-trustList__icon svg {
  width: 19px;
  height: 19px;
}

.ai-trustList__item:nth-child(2n) .ai-trustList__icon {
  color: var(--ai-blue);
}

.ai-trustList h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.ai-trustList p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.6;
  font-size: 14.5px;
}

/* ---- CTA band ---- */
.ai-ctaBand {
  border-radius: 28px;
  padding: 48px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(600px 260px at 20% 0%, rgba(201, 116, 143, 0.12), transparent 60%),
    radial-gradient(600px 260px at 80% 100%, rgba(127, 169, 224, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.03);
}

.ai-ctaBand h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.6vw, 34px);
  letter-spacing: -0.02em;
}

.ai-ctaBand p {
  margin: 0 auto 24px;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.ai-ctaBand__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .ai-hero { min-height: auto; padding-top: 120px; }
  .ai-timeline { grid-template-columns: 1fr; gap: 34px; }
  .ai-timeline::before { top: 0; bottom: 0; left: 20px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(201,116,143,0.55), rgba(127,169,224,0.55)); }
  .ai-tlStep { padding-left: 58px; }
  .ai-tlStep__node { position: absolute; left: 0; top: 0; }
  .ai-splitGrid { grid-template-columns: 1fr; gap: 28px; }
  .ai-splitGrid__media img { min-height: 240px; }
  .ai-mediaSplit { grid-template-columns: 1fr; gap: 24px; }
  .ai-ctaBand { padding: 32px 22px; }
}
