:root {
  --ai-navy: #041525;
  --ai-ink: #123243;
  --ai-cyan: #1ac7cf;
  --ai-blue: #0b94de;
  --ai-mint: #66e2c5;
  --ai-paper: #f4fafc;
}

.ai-product-page {
  color: var(--ai-ink);
  background: #fff;
}

.ai-product-page .home-header {
  background: rgba(255, 255, 255, .9);
}

.ai-product-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 154px 0 86px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(29, 205, 207, .23), transparent 29%),
    radial-gradient(circle at 16% 80%, rgba(31, 122, 220, .2), transparent 30%),
    linear-gradient(132deg, #03111f 0%, #06263a 55%, #064254 100%);
}

.ai-product-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.ai-product-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.ai-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: rgba(220, 242, 247, .7);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.ai-breadcrumb a:hover { color: #fff; }

.ai-product-kicker {
  margin-bottom: 20px;
  color: #73e4e0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2em;
}

.ai-product-copy h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(48px, 5.7vw, 82px);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: .98;
}

.ai-product-copy h1 span {
  display: block;
  margin-top: 12px;
  color: transparent;
  background: linear-gradient(90deg, #fff, #72e4d6 78%);
  background-clip: text;
  -webkit-background-clip: text;
}

.ai-product-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(226, 242, 247, .8);
  font-size: 18px;
  line-height: 1.85;
}

.ai-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.ai-product-actions .button-primary {
  color: #052235;
  background: linear-gradient(105deg, #67e0c6, #36cddd);
  box-shadow: 0 18px 42px rgba(41, 209, 205, .22);
}

.ai-product-actions .button-secondary {
  border-color: rgba(255,255,255,.22);
  color: #fff;
  background: rgba(255,255,255,.06);
}

.ai-product-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-product-points li {
  border: 1px solid rgba(135, 226, 222, .18);
  border-radius: 999px;
  padding: 9px 13px;
  color: #bfe8e8;
  background: rgba(4, 26, 40, .35);
  font-size: 12px;
  font-weight: 800;
}

.product-console {
  position: relative;
  border: 1px solid rgba(145, 226, 232, .24);
  border-radius: 24px;
  padding: 18px;
  background: rgba(4, 18, 31, .7);
  box-shadow: 0 38px 100px rgba(0, 0, 0, .34);
  backdrop-filter: blur(20px);
}

.product-console::after {
  position: absolute;
  inset: 18% -12% -18% 28%;
  z-index: -1;
  content: "";
  border-radius: 50%;
  background: rgba(20, 188, 204, .16);
  filter: blur(45px);
}

.console-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 16px;
  color: #98c0ca;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 7px; height: 7px; border-radius: 50%; background: #2b5969; }
.console-dots i:first-child { background: #24d6ad; }

.note-console-stage,
.voice-console-stage {
  border: 1px solid rgba(171, 228, 233, .15);
  border-radius: 16px;
  overflow: hidden;
  color: #dff2f4;
  background: linear-gradient(150deg, rgba(8, 42, 57, .95), rgba(5, 27, 42, .96));
}

.note-console-tabs,
.voice-console-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(173, 225, 231, .12);
  padding: 10px;
  gap: 6px;
}

.note-console-tabs span,
.voice-console-tabs span {
  border-radius: 9px;
  padding: 10px 8px;
  color: #7fa5ae;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}

.note-console-tabs .is-active,
.voice-console-tabs .is-active {
  color: #dff;
  background: linear-gradient(110deg, rgba(28, 155, 206, .28), rgba(39, 211, 183, .18));
}

.note-console-body { padding: 24px; }

.note-live-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid rgba(171, 228, 233, .1);
  padding: 18px 0;
}

.note-live-row:first-child { padding-top: 0; }
.note-live-row:last-child { border-bottom: 0; padding-bottom: 0; }
.note-speaker { color: #3fe0c1; font-size: 11px; font-weight: 900; }
.note-speaker time { display: block; margin-top: 6px; color: #6c95a0; font-size: 9px; }
.note-live-row p { margin: 0; color: #d9e9ec; font-size: 13px; line-height: 1.75; }
.note-live-row.is-current { border-left: 2px solid #39d7c2; margin-left: -24px; padding-left: 22px; background: linear-gradient(90deg, rgba(42, 211, 190, .06), transparent); }

.voice-console-body { display: grid; grid-template-columns: 1fr 140px; min-height: 370px; }
.voice-script { padding: 28px; }
.voice-script h3 { margin-bottom: 18px; color: #fff; font-size: 15px; }
.voice-script p { color: #cfe2e6; font-size: 13px; line-height: 2; }
.voice-script mark { border-radius: 4px; padding: 2px 4px; color: #dff; background: rgba(42, 211, 190, .18); }
.voice-track { border-left: 1px solid rgba(171, 228, 233, .12); padding: 22px 14px; background: rgba(2, 16, 28, .34); }
.voice-avatar { display: grid; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 14px; color: #082637; background: linear-gradient(135deg, #6ae1c7, #42bde0); font-size: 18px; font-weight: 950; place-items: center; }
.voice-track strong, .voice-track small { display: block; text-align: center; }
.voice-track strong { color: #fff; font-size: 11px; }
.voice-track small { margin-top: 5px; color: #7399a3; font-size: 9px; }
.voice-wave { display: flex; height: 90px; align-items: center; justify-content: center; gap: 3px; margin-top: 28px; }
.voice-wave i { width: 3px; height: var(--h); border-radius: 99px; background: linear-gradient(#66e2c5, #1599dc); animation: voice-pulse 1.1s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes voice-pulse { to { transform: scaleY(.42); opacity: .62; } }

.ai-proof-strip { border-bottom: 1px solid #dbe9ed; background: #eff8fa; }
.ai-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ai-proof-grid div { border-right: 1px solid #d7e7eb; padding: 28px 24px; }
.ai-proof-grid div:last-child { border-right: 0; }
.ai-proof-grid strong { display: block; margin-bottom: 5px; color: #0d6f8f; font-size: 14px; }
.ai-proof-grid span { color: #6c8189; font-size: 12px; }

.ai-product-section { padding: 104px 0; }
.ai-product-section.is-tint { background: var(--ai-paper); }
.ai-product-section.is-dark { color: #fff; background: var(--ai-navy); }
.ai-section-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 54px; margin-bottom: 54px; }
.ai-section-label { color: #0796c3; font-size: 11px; font-weight: 950; letter-spacing: .16em; line-height: 1.65; }
.ai-section-head h2 { max-width: 900px; margin-bottom: 16px; color: inherit; font-size: clamp(34px, 4vw, 58px); font-weight: 950; letter-spacing: -.045em; line-height: 1.08; }
.ai-section-head h2 span { color: #0c98c7; }
.is-dark .ai-section-head h2 span { color: #5dd9d0; }
.ai-section-head p { max-width: 780px; margin: 0; color: #647a83; font-size: 16px; line-height: 1.8; }
.is-dark .ai-section-head p { color: #98b5bd; }

.ai-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-feature-card { position: relative; min-height: 270px; overflow: hidden; border: 1px solid #dbe8ec; border-radius: 18px; padding: 30px; background: #fff; box-shadow: 0 16px 40px rgba(36, 83, 101, .06); }
.ai-feature-card::before { position: absolute; top: 0; left: 30px; width: 42px; height: 3px; content: ""; background: linear-gradient(90deg, var(--ai-blue), var(--ai-mint)); }
.ai-feature-card span { color: #0992bc; font: 800 10px/1.2 var(--font-mono); letter-spacing: .1em; }
.ai-feature-card h3 { margin: 30px 0 14px; color: #173b49; font-size: 22px; font-weight: 900; }
.ai-feature-card p { margin: 0; color: #657b84; font-size: 14px; line-height: 1.8; }

.ai-workflow { counter-reset: workflow; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(139, 202, 210, .22); }
.ai-workflow article { position: relative; border-right: 1px solid rgba(139, 202, 210, .18); padding: 36px 28px 10px 0; }
.ai-workflow article:last-child { border-right: 0; padding-left: 28px; }
.ai-workflow article:not(:first-child) { padding-left: 28px; }
.ai-workflow span { display: block; margin-bottom: 52px; color: #52d4cd; font: 800 11px/1 var(--font-mono); }
.ai-workflow h3 { margin-bottom: 12px; color: #f2fbfc; font-size: 19px; }
.ai-workflow p { color: #91adb6; font-size: 13px; line-height: 1.8; }

.ai-scenario-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ai-scenario-card { border: 1px solid #dbe8ec; border-radius: 18px; padding: 30px; background: #fff; }
.ai-scenario-card span { color: #0994bd; font: 800 10px/1 var(--font-mono); }
.ai-scenario-card h3 { margin: 20px 0 10px; font-size: 21px; }
.ai-scenario-card p { margin: 0; color: #677d86; font-size: 14px; line-height: 1.75; }

.ai-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-related-card { display: flex; min-height: 210px; flex-direction: column; justify-content: space-between; border: 1px solid #d9e8ed; border-radius: 18px; padding: 28px; background: linear-gradient(145deg, #fff, #f1fafb); transition: transform 180ms ease, box-shadow 180ms ease; }
.ai-related-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(28, 87, 108, .1); }
.ai-related-card small { color: #0c91bb; font-weight: 900; letter-spacing: .1em; }
.ai-related-card h3 { margin: 22px 0 12px; font-size: 20px; line-height: 1.35; }
.ai-related-card p { margin: 0; color: #667c84; font-size: 13px; line-height: 1.75; }
.ai-related-card strong { margin-top: 22px; color: #087fa9; font-size: 12px; }

.ai-product-cta { padding: 96px 0; color: #fff; background: linear-gradient(120deg, #087db1, #0cb6b8); }
.ai-product-cta-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.ai-product-cta h2 { max-width: 800px; margin-bottom: 12px; font-size: clamp(34px, 4vw, 56px); font-weight: 950; letter-spacing: -.04em; }
.ai-product-cta p { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); line-height: 1.75; }
.ai-product-cta .button { color: #087da7; background: #fff; }

.ai-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ai-faq details { border: 1px solid #dce8ec; border-radius: 14px; padding: 20px 22px; background: #fff; }
.ai-faq summary { cursor: pointer; color: #244653; font-weight: 850; }
.ai-faq p { margin: 16px 0 0; color: #6a7e86; font-size: 13px; line-height: 1.75; }

@media (max-width: 1080px) {
  .ai-product-hero-grid { grid-template-columns: 1fr; }
  .product-console { max-width: 760px; }
  .ai-feature-grid, .ai-related-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-workflow { grid-template-columns: repeat(2, 1fr); }
  .ai-workflow article:nth-child(2) { border-right: 0; }
  .ai-workflow article:nth-child(n+3) { border-top: 1px solid rgba(139, 202, 210, .18); }
}

@media (max-width: 760px) {
  .ai-product-hero { min-height: 0; padding: 124px 0 58px; }
  .ai-product-copy h1 { font-size: clamp(42px, 14vw, 62px); }
  .ai-product-lead { font-size: 16px; }
  .ai-product-hero-grid { gap: 42px; }
  .ai-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-proof-grid div:nth-child(2) { border-right: 0; }
  .ai-proof-grid div:nth-child(n+3) { border-top: 1px solid #d7e7eb; }
  .ai-product-section { padding: 72px 0; }
  .ai-section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .ai-feature-grid, .ai-scenario-grid, .ai-related-grid, .ai-faq { grid-template-columns: 1fr; }
  .ai-feature-card { min-height: 0; }
  .ai-workflow { grid-template-columns: 1fr; }
  .ai-workflow article, .ai-workflow article:not(:first-child), .ai-workflow article:last-child { border-right: 0; border-bottom: 1px solid rgba(139, 202, 210, .18); padding: 28px 0; }
  .ai-workflow span { margin-bottom: 20px; }
  .ai-product-cta-grid { grid-template-columns: 1fr; }
  .voice-console-body { grid-template-columns: 1fr; }
  .voice-track { border-top: 1px solid rgba(171, 228, 233, .12); border-left: 0; }
  .voice-wave { height: 54px; margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .voice-wave i { animation: none; }
}

/* Homepage entry for the two desktop AI workflows. */
.ai-home-suite { position: relative; overflow: hidden; padding: 96px 0; color: #eefbff; background: #061a2a; }
.ai-home-suite::before { position: absolute; inset: 0; pointer-events: none; content: ""; background: radial-gradient(circle at 10% 0, rgba(0,156,220,.22), transparent 38%), radial-gradient(circle at 90% 100%, rgba(42,205,190,.17), transparent 36%); }
.ai-home-suite .shell { position: relative; }
.ai-home-suite-head { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 54px; align-items: end; margin-bottom: 40px; }
.ai-home-suite-head .section-kicker { margin: 0; color: #51d8d0; }
.ai-home-suite-head h2 { max-width: 900px; margin: 0 0 14px; color: #fff; font-size: clamp(36px,4.8vw,64px); font-weight: 950; letter-spacing: -.05em; line-height: 1.04; }
.ai-home-suite-head h2 span { display: block; color: #55d9d2; }
.ai-home-suite-head p { max-width: 760px; margin: 0; color: #9db8c1; font-size: 15px; line-height: 1.8; }
.ai-home-suite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ai-home-suite-card { position: relative; display: grid; min-height: 350px; overflow: hidden; border: 1px solid rgba(150,220,228,.18); border-radius: 22px; padding: 34px; color: #eaf9fc; background: linear-gradient(145deg, rgba(20,59,77,.93), rgba(7,29,43,.96)); box-shadow: 0 28px 70px rgba(0,0,0,.2); transition: transform 180ms ease, border-color 180ms ease; }
.ai-home-suite-card:hover { transform: translateY(-5px); border-color: rgba(83,216,208,.55); }
.ai-home-suite-card::after { position: absolute; right: -70px; bottom: -100px; width: 270px; height: 270px; border: 1px solid rgba(85,217,210,.19); border-radius: 50%; content: ""; }
.ai-home-suite-card small { color: #55d9d2; font: 800 10px/1 var(--font-mono); letter-spacing: .13em; }
.ai-home-suite-card h3 { margin: 20px 0 12px; color: #fff; font-size: clamp(26px,3vw,38px); font-weight: 930; letter-spacing: -.035em; }
.ai-home-suite-card p { max-width: 560px; margin: 0; color: #a9c0c8; line-height: 1.75; }
.ai-home-suite-tags { display: flex; flex-wrap: wrap; gap: 8px; align-self: end; margin: 28px 0 26px; }
.ai-home-suite-tags span { border: 1px solid rgba(124,211,219,.16); border-radius: 999px; padding: 7px 10px; color: #c2dce1; background: rgba(102,203,211,.07); font-size: 11px; }
.ai-home-suite-link { position: relative; z-index: 1; display: inline-flex; width: fit-content; align-items: center; gap: 9px; color: #58dbd3; font-size: 13px; font-weight: 900; }
.ai-home-suite-link::after { content: "\2192"; font-size: 18px; }
.ai-home-mini-transcript { display: grid; gap: 8px; align-self: end; margin-top: 22px; }
.ai-home-mini-transcript i { display: block; height: 7px; border-radius: 999px; background: linear-gradient(90deg,#0ca6dc,#55d9d2); opacity: .72; }
.ai-home-mini-transcript i:nth-child(1) { width: 86%; }.ai-home-mini-transcript i:nth-child(2) { width: 64%; }.ai-home-mini-transcript i:nth-child(3) { width: 76%; }
.ai-home-mini-wave { display: flex; height: 44px; align-items: center; gap: 4px; align-self: end; margin-top: 22px; }
.ai-home-mini-wave i { width: 4px; border-radius: 99px; background: linear-gradient(180deg,#5be0d7,#139cd1); }
.ai-home-mini-wave i:nth-child(3n+1){height:26%}.ai-home-mini-wave i:nth-child(3n+2){height:74%}.ai-home-mini-wave i:nth-child(3n){height:46%}

@media (max-width: 900px) {
  .ai-home-suite-head { grid-template-columns: 1fr; gap: 16px; }
  .ai-home-suite-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ai-home-suite { padding: 72px 0; }
  .ai-home-suite-card { min-height: 320px; padding: 26px; }
}
