.ai-agent-page {
  --agent-blue: #1078ff;
  --agent-navy: #0f172a;
  --agent-line: rgba(15, 23, 42, 0.08);
  --agent-shadow: 0 20px 52px rgba(15, 23, 42, 0.08);
  --agent-shadow-lg: 0 30px 82px rgba(15, 23, 42, 0.15);
  --agent-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.ai-agent-page .section {
  padding: 104px 0;
}

.ai-agent-page #demo,
.ai-agent-page #workflow,
.ai-agent-page #capabilities,
.ai-agent-page #scenarios,
.ai-agent-page #control,
.ai-agent-page #result,
.ai-agent-page #stats,
.ai-agent-page #price,
.ai-agent-page #launch,
.ai-agent-page #faq {
  scroll-margin-top: 100px;
}

.agent-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(16, 120, 255, 0.1);
  color: #1078ff;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.agent-label--dark {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(248, 250, 252, 0.94);
}

/* Hero follows the wide offer composition used on the pricing page. */
.ai-agent-page .agent-hero {
  padding-top: 134px;
  padding-bottom: 0px;
}

.agent-hero__shell {
  position: relative;
  min-height: 400px;
  padding-right: clamp(295px, 39vw, 420px);
}

.agent-hero__main {
  position: relative;
  z-index: 4;
  max-width: 680px;
}

.agent-hero__title {
  max-width: 14ch;
  margin-top: 20px;
  color: var(--text);
  font-size: clamp(44px, 4.9vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 500;
}

.agent-hero__text {
  max-width: 48ch;
  margin-top: 24px;
  color: #3f5e8c;
  font-size: 18px;
  line-height: 1.52;
  letter-spacing: -0.018em;
}

.agent-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.agent-hero__proof {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 6;
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  transform: translateX(-50%);
}

.agent-hero__proof-item {
  padding: 18px 18px 20px;
  text-align: center;
  border-radius: 23px;
  border: 1px solid var(--agent-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.agent-hero__proof-item strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.agent-hero__proof-item span {
  display: block;
  margin-top: 9px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.42;
}

.agent-hero__visual {
  position: absolute;
  right: -88px;
  top: -102px;
  bottom: 0;
  width: min(54vw, 596px);
  pointer-events: none;
  z-index: 2;
}

.agent-hero__visual::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 4%;
  bottom: 157px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(16, 120, 255, 0.16), transparent 70%);
  filter: blur(6px);
}

.agent-hero__robot {
  position: absolute;
  right: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.agent-hero__bubble {
  position: absolute;
  z-index: 2;
  padding: 13px 15px;
  border-radius: 18px;
  border: 1px solid var(--agent-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  color: var(--text);
  font-size: 13px;
  line-height: 1.32;
}

.agent-hero__bubble small {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
}

.agent-hero__bubble--in {
  left: 4px;
  top: 158px;
  width: 190px;
}

.agent-intro {
  padding-top: 26px !important;
  padding-bottom: 52px !important;
}

.agent-intro__copy {
  max-width: 930px;
  margin: 0 auto;
  padding-top: 44px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  text-align: center;
}

.agent-intro__copy .section-title {
  margin-top: 0;
}

.agent-intro__copy .section-text {
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
}

.agent-pain__grid {
  margin-top: 47px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 15px;
}

.agent-pain__grid article,
.agent-audience__grid article,
.agent-result__grid article {
  padding: 27px 25px;
  border-radius: 25px;
  border: 1px solid var(--agent-line);
  background: rgba(255, 255, 255, 0.73);
  box-shadow: var(--agent-shadow);
}

.agent-pain__grid article {
  text-align: center;
}

.agent-pain__grid strong,
.agent-audience__grid strong,
.agent-result__grid strong {
  display: block;
  color: var(--text);
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.agent-pain__grid span,
.agent-audience__grid span,
.agent-result__grid span {
  display: block;
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.47;
}

.agent-audience {
  padding-top: 48px !important;
  padding-bottom: 85px !important;
}

.agent-audience .section-head {
  margin-bottom: 42px;
}

.agent-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

/* Product/video block mirrors the product-suite sections on /price. */
.agent-suite {
  padding-top: 32px !important;
  padding-bottom: 94px !important;
}

.agent-suite__shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(32px, 4vw, 54px);
  border-radius: 35px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--agent-shadow);
}

.agent-suite__title {
  max-width: 16ch;
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(37px, 4vw, 48px);
  line-height: 0.99;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.agent-suite__lead {
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.5;
}

.agent-suite__chips {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-suite__chips span {
  min-height: 34px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
}

.agent-suite__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-preview-wrap {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.09);
}

.agent-preview {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  background: #0f172a;
}

.agent-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.48);
  transition: background-color 0.2s ease;
}

.agent-preview img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.agent-preview:focus-visible {
  outline: 3px solid #1078ff;
  outline-offset: -3px;
}

.agent-preview__play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1078ff;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.28);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.agent-preview__play svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
  transform: translateX(2px);
}

.agent-preview__caption {
  margin: 0;
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.agent-system .section-head {
  max-width: 800px;
}

.agent-system__flow {
  display: grid;
  grid-template-columns: repeat(9, auto);
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.agent-system__flow > span {
  color: #1078ff;
  font-size: 20px;
  font-weight: 500;
}

.agent-system__item {
  width: 205px;
  min-height: 101px;
  padding: 23px 15px;
  border-radius: 22px;
  background: #1078ff;
  box-shadow: 0 17px 38px rgba(16, 120, 255, 0.16);
  text-align: center;
}

.agent-system__item--primary {
  background: #0f172a;
  box-shadow: 0 18px 43px rgba(15, 23, 42, 0.18);
}

.agent-system__item strong {
  display: block;
  color: #fff;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.agent-system__item p {
  margin-top: 7px;
  color: rgba(248, 250, 252, 0.76);
  font-size: 12px;
  line-height: 1.32;
}

.agent-value {
  padding-top: 78px !important;
}

.agent-value__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.agent-value__card {
  min-height: 272px;
  padding: 30px 27px;
  border-radius: 27px;
  border: 1px solid var(--agent-line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--agent-shadow);
}

.agent-value__card--accent {
  border-color: rgba(16, 120, 255, 0.16);
  background: linear-gradient(180deg, rgba(16, 120, 255, 0.08), rgba(255, 255, 255, 0.8));
}

.agent-value__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #1078ff;
  background: rgba(16, 120, 255, 0.1);
}

.agent-value__card h3 {
  margin-top: 23px;
  color: var(--text);
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.agent-value__card p {
  margin-top: 13px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.46;
}

.agent-scenarios {
  padding-top: 55px !important;
  padding-bottom: 82px !important;
}

.agent-scenarios__shell {
  display: grid;
  grid-template-columns: minmax(330px, 0.88fr) minmax(450px, 1.12fr);
  gap: clamp(34px, 5vw, 58px);
  align-items: center;
  padding: clamp(38px, 5vw, 60px);
  border-radius: 38px;
  background:
    radial-gradient(450px 340px at 100% 0%, rgba(16, 120, 255, 0.31), transparent 66%),
    linear-gradient(138deg, #0f172a 0%, #111d34 100%);
  box-shadow: 0 29px 74px rgba(15, 23, 42, 0.19);
}

.agent-scenarios__content h2 {
  margin-top: 20px;
  color: #f8fafc;
  font-size: clamp(35px, 4.2vw, 51px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.agent-scenarios__content p {
  margin-top: 20px;
  color: rgba(226, 232, 240, 0.84);
  font-size: 16px;
  line-height: 1.49;
}

.agent-scenarios__content .btn {
  margin-top: 28px;
}

.agent-scenarios__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.agent-scenarios__grid article {
  min-height: 154px;
  padding: 20px 19px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.agent-scenarios__grid strong {
  display: block;
  color: #f8fafc;
  font-size: 17px;
  line-height: 1.23;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.agent-scenarios__grid span {
  display: block;
  margin-top: 9px;
  color: rgba(226, 232, 240, 0.73);
  font-size: 13px;
  line-height: 1.38;
}

.agent-control {
  padding-top: 58px !important;
  padding-bottom: 78px !important;
}

.agent-control__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.agent-control__grid article {
  min-height: 252px;
  padding: 26px 22px;
  border-radius: 25px;
  border: 1px solid var(--agent-line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--agent-shadow);
}

.agent-control__grid svg {
  color: #1078ff;
}

.agent-control__grid h3 {
  margin-top: 22px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.14;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.agent-control__grid p {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.44;
}

.agent-result {
  padding-top: 42px !important;
  padding-bottom: 78px !important;
}

.agent-result .section-head {
  max-width: 930px;
  margin-bottom: 45px;
}

.agent-result__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 13px;
}

.agent-result__grid article {
  padding: 25px 21px;
  text-align: center;
}

.agent-result__grid strong {
  font-size: 19px;
}

.agent-stats {
  padding-top: 32px !important;
  padding-bottom: 82px !important;
}

.agent-stats__shell {
  display: grid;
  grid-template-columns: minmax(285px, 0.8fr) minmax(430px, 1.2fr);
  align-items: center;
  gap: clamp(34px, 5vw, 58px);
  padding: clamp(34px, 4.6vw, 52px);
  border-radius: 35px;
  border: 1px solid rgba(16, 120, 255, 0.12);
  background: linear-gradient(135deg, rgba(16, 120, 255, 0.08), rgba(255, 255, 255, 0.75));
}

.agent-stats__content h2 {
  max-width: 15ch;
  margin-top: 19px;
  color: var(--text);
  font-size: clamp(34px, 3.6vw, 45px);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 500;
}

.agent-stats__content p {
  margin-top: 19px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.49;
}

.agent-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.agent-stats__grid article {
  min-height: 101px;
  padding: 19px 19px;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.8);
}

.agent-stats__grid article:last-child {
  grid-column: span 2;
}

.agent-stats__grid strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.agent-stats__grid span {
  display: block;
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.35;
}

.agent-pricing {
  padding-top: 48px !important;
  padding-bottom: 90px !important;
}

.agent-pricing__head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.agent-pricing__head .section-title {
  margin-top: 0;
}

.agent-pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.agent-offer {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px;
  border-radius: 31px;
}

.agent-offer--featured {
  color: #f8fafc;
  background:
    radial-gradient(260px 220px at 100% 0%, rgba(16, 120, 255, 0.2), transparent 72%),
    linear-gradient(180deg, #0f172a 0%, #111d34 100%);
  box-shadow: 0 27px 70px rgba(15, 23, 42, 0.19);
}

.agent-offer__badge {
  display: inline-flex;
  align-self: flex-start;
  min-height: 34px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.agent-offer__price {
  margin-top: 25px;
  font-size: clamp(43px, 5vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 500;
}

.agent-offer__price span {
  display: block;
  margin-top: 9px;
  color: rgba(226, 232, 240, 0.74);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.agent-offer h3 {
  margin-top: 29px;
  color: #f8fafc;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.agent-offer p {
  margin-top: 15px;
  color: rgba(226, 232, 240, 0.85);
  font-size: 15px;
  line-height: 1.48;
}

.agent-offer__list {
  margin-top: 25px;
  display: grid;
  gap: 13px;
  flex: 1 1 auto;
}

.agent-offer__list li {
  position: relative;
  padding-left: 23px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 14px;
  line-height: 1.43;
}

.agent-offer__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1078ff;
}

.agent-offer .btn {
  margin-top: 30px;
}

.agent-tariffs {
  grid-column: 1;
  grid-row: 1;
  padding: 34px;
  border-radius: 31px;
  border: 1px solid var(--agent-line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--agent-shadow);
}

.agent-tariffs h3 {
  color: var(--text);
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.agent-tariffs__rows {
  margin-top: 26px;
  display: grid;
  gap: 9px;
}

.agent-tariffs__rows div {
  min-height: 67px;
  padding: 16px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.045);
}

.agent-tariffs__rows div.is-selected {
  background: rgba(16, 120, 255, 0.1);
}

.agent-tariffs__rows span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.25;
}

.agent-tariffs__rows strong {
  color: var(--text);
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  font-weight: 500;
}

.agent-tariffs__note {
  margin-top: 25px;
  padding: 18px 19px;
  border-radius: 19px;
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.035);
  font-size: 14px;
  line-height: 1.48;
}

.agent-launch {
  padding-top: 62px !important;
  padding-bottom: 90px !important;
}

.agent-launch__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.agent-launch__grid article {
  min-height: 207px;
  padding: 28px 26px;
  border-radius: 26px;
  border: 1px solid var(--agent-line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--agent-shadow);
}

.agent-launch__grid span {
  width: 43px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1078ff;
  background: rgba(16, 120, 255, 0.1);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.agent-launch__grid h3 {
  margin-top: 23px;
  color: var(--text);
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.agent-launch__grid p {
  margin-top: 13px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.agent-faq {
  padding-top: 74px !important;
}

.ai-agent-page .cta-box__product-text {
  max-width: 760px;
  margin: 20px 0 38px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.45;
}

@media (min-width: 1241px) {
  .ai-agent-page .cta-box .section-title,
  .ai-agent-page .cta-box__product-text {
    max-width: min(760px, calc(100% - 390px));
  }
}

.agent-video-modal[hidden] {
  display: none;
}

.agent-video-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: clamp(12px, 2vw, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.agent-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: #000;
}

.agent-video-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100vw - 32px), 1680px);
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
  overflow: hidden;
  background: #000;
}

.agent-video-modal__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.agent-video-modal__close {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  top: max(16px, env(safe-area-inset-top));
  z-index: 2;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transition: background-color 0.18s ease;
}

.agent-video-modal__close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.agent-video-modal__close:hover,
.agent-video-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.26);
}

.agent-video-modal__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body.agent-video-is-open {
  overflow: hidden;
}

.ai-agent-page.has-motion [data-agent-reveal] {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.76s var(--agent-ease),
    transform 0.76s var(--agent-ease),
    filter 0.76s var(--agent-ease);
}

.ai-agent-page.has-motion [data-agent-reveal].is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .agent-hero__proof-item,
  .agent-value__card,
  .agent-control__grid article,
  .agent-launch__grid article,
  .agent-pain__grid article,
  .agent-audience__grid article,
  .agent-result__grid article {
    transition: transform 0.28s var(--agent-ease), box-shadow 0.28s var(--agent-ease);
  }

  .agent-hero__proof-item:hover,
  .agent-value__card:hover,
  .agent-control__grid article:hover,
  .agent-launch__grid article:hover,
  .agent-pain__grid article:hover,
  .agent-audience__grid article:hover,
  .agent-result__grid article:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
  }

  .agent-preview:hover::after {
    background: rgba(2, 6, 23, 0.38);
  }

  .agent-preview:hover img {
    transform: scale(1.015);
  }

  .agent-preview:hover .agent-preview__play {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@media (max-width: 1240px) {
  .agent-hero__shell {
    min-height: 445px;
    padding-right: clamp(280px, 38vw, 380px);
  }

  .agent-hero__visual {
    right: -32px;
    width: min(53vw, 520px);
  }

  .agent-system__flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
  }

  .agent-system__flow > span {
    display: none;
  }

  .agent-system__item {
    width: auto;
  }
}

@media (max-width: 1040px) {
  .ai-agent-page .section {
    padding: 86px 0;
  }

  .agent-hero__shell {
    min-height: 0;
    padding-right: 0;
  }

  .agent-hero__main {
    max-width: none;
  }

  .agent-hero__visual {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(100%, 560px);
    height: 540px;
    margin: 36px auto 0;
  }

  .agent-hero__visual::before {
    bottom: 112px;
  }

  .agent-hero__robot {
    bottom: 80px;
  }

  .agent-hero__proof {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 30px;
    transform: none;
  }

  .agent-suite__shell,
  .agent-scenarios__shell,
  .agent-stats__shell {
    grid-template-columns: 1fr;
  }

  .agent-preview-wrap {
    max-width: 620px;
  }

  .agent-control__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-result__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .ai-agent-page .section {
    padding: 65px 0;
  }

  .ai-agent-page .agent-hero {
    padding-top: 0px;
    padding-bottom: 36px;
  }

  .agent-label {
    min-height: 31px;
    font-size: 11px;
  }

  .agent-hero__title {
    margin-top: 18px;
    max-width: none;
    font-size: clamp(37px, 10.7vw, 49px);
  }

  .agent-hero__text {
    font-size: 17px;
  }

  .agent-hero__proof,
  .agent-pain__grid,
  .agent-audience__grid,
  .agent-value__grid,
  .agent-result__grid,
  .agent-pricing__grid,
  .agent-launch__grid {
    grid-template-columns: 1fr;
  }

  .agent-hero__proof-item {
    min-height: auto;
  }

  .agent-hero__visual {
    height: clamp(340px, 99vw, 430px);
    margin-top: 25px;
  }

  .agent-hero__visual::before {
    bottom: 54px;
  }

  .agent-hero__robot {
    bottom: 22px;
  }

  .agent-hero__bubble--in {
    left: 0;
    top: 50px;
  }

  .agent-suite__shell {
    padding: 23px;
    border-radius: 28px;
  }

  .agent-preview-wrap {
    border-radius: 22px;
  }

  .agent-preview__play {
    width: 64px;
    height: 64px;
  }

  .agent-preview__play svg {
    width: 32px;
    height: 32px;
  }

  .agent-video-modal__dialog {
    width: 100%;
    height: calc(100vh - 20px);
    height: calc(100dvh - 20px);
  }

  .agent-video-modal__close {
    right: max(10px, env(safe-area-inset-right));
    top: max(10px, env(safe-area-inset-top));
    width: 46px;
    height: 46px;
  }

  .agent-system__flow {
    grid-template-columns: 1fr;
  }

  .agent-system__item {
    min-height: auto;
  }

  .agent-value__card,
  .agent-control__grid article,
  .agent-launch__grid article,
  .agent-result__grid article {
    min-height: auto;
  }

  .agent-scenarios {
    padding-top: 40px !important;
  }

  .agent-scenarios__shell {
    padding: 28px 20px;
    border-radius: 29px;
  }

  .agent-scenarios__grid {
    grid-template-columns: 1fr;
  }

  .agent-scenarios__grid article {
    min-height: auto;
  }

  .agent-stats__shell {
    padding: 27px 21px;
    border-radius: 28px;
  }

  .agent-offer,
  .agent-tariffs {
    grid-column: auto;
    grid-row: auto;
    padding: 26px 22px;
    border-radius: 27px;
  }

  .agent-offer {
    order: 1;
  }

  .agent-tariffs {
    order: 2;
  }
}

@media (max-width: 560px) {
  .agent-hero__actions,
  .agent-suite__actions {
    flex-direction: column;
  }

  .agent-hero__actions .btn,
  .agent-suite__actions .btn {
    width: 100%;
  }

  .agent-control__grid {
    grid-template-columns: 1fr;
  }

  .agent-stats__grid {
    grid-template-columns: 1fr;
  }

  .agent-stats__grid article:last-child {
    grid-column: auto;
  }

  .ai-agent-page .cta-box__product-text {
    margin-top: 16px;
    margin-bottom: 28px;
    font-size: 16px;
  }

  .agent-tariffs__rows div {
    padding-inline: 14px;
  }

  .agent-tariffs__rows strong {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .ai-agent-page .cta-box--lead-form .cta-box__form {
    display: block;
  }

  .ai-agent-page .cta-box__widget {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-agent-page *,
  .ai-agent-page *::before,
  .ai-agent-page *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .ai-agent-page.has-motion [data-agent-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
