/* AI development page — builds on mvp-, saas- and api-redesign.css with AI-specific components */

/* Hero copy */
.ix-kicker {
  display: block;
  margin-top: 16px;
  color: var(--mx-ink);
  font-family: var(--font-primary, inherit);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.ix-hero .mx-hero-copy > p.ix-hero-sub {
  margin-top: 12px;
  font-size: 15px;
}
.ix-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--mx-indigo);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}
.ix-text-link:hover {
  color: var(--mx-violet);
}
.ix-text-link .bi {
  transition: transform 0.25s ease;
}
.ix-text-link:hover .bi {
  transform: translateX(3px);
}

/* Hero chat + agent visual */
.ix-hero-visual {
  position: relative;
  padding: 26px 0 24px;
}
.ix-chat {
  border: 6px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--mx-shadow-lg);
  overflow: hidden;
}
.ix-chat > header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.4), transparent 50%),
    var(--mx-dark);
}
.ix-chat-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--mx-grad);
  font-size: 18px;
}
.ix-chat > header b {
  display: block;
  font-size: 15px;
}
.ix-chat > header small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a5b4fc;
  font-size: 12px;
}
.ix-chat > header small em {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  animation: mx-ping-dot 1.6s ease-in-out infinite;
}
.ix-chat-body {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fafbfe;
}
.ix-chat .ix-msg {
  max-width: 88%;
  margin: 0;
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
}
.ix-msg.is-user {
  justify-self: end;
  border-bottom-right-radius: 5px;
  color: #fff;
  background: var(--mx-grad);
}
.ix-msg.is-ai {
  justify-self: start;
  border: 1px solid var(--mx-line);
  border-bottom-left-radius: 5px;
  background: #fff;
  color: var(--mx-ink);
}
.ix-msg.is-ai p {
  margin: 0;
}
.ix-agent-steps {
  display: grid;
  gap: 6px;
  justify-self: start;
}
.ix-agent-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #eef0ff;
  color: #3730a3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  opacity: 0;
  animation: ix-step-in 0.5s ease forwards;
}
.ix-agent-steps span:nth-child(2) {
  animation-delay: 0.5s;
}
.ix-agent-steps span .bi:last-child {
  color: var(--mx-mint);
}
.ix-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.ix-sources span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--mx-soft);
  color: var(--mx-muted);
  font-size: 11.5px;
  font-weight: 600;
}
.ix-sources .bi {
  color: var(--mx-violet);
}
.ix-approval {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px dashed #f3c26b;
  border-radius: 14px;
  background: #fffaf0;
}
.ix-approval > .bi {
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #b45309;
  background: #fdecc8;
  font-size: 16px;
}
.ix-approval b {
  display: block;
  font-size: 13.5px;
}
.ix-approval small {
  color: var(--mx-muted);
  font-size: 11.5px;
}
.ix-approval > span {
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd35e, #efa90f);
  color: #1d1c18;
  font-size: 12px;
  font-weight: 700;
}
.ix-chat > footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 18px;
  border-top: 1px solid var(--mx-line);
  color: #94a3b8;
  font-size: 13px;
}
.ix-chat > footer i {
  margin-left: auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--mx-grad);
  font-style: normal;
}
.ix-chip-a {
  top: 0;
  right: -24px;
}
.ix-chip-b {
  left: -34px;
  bottom: -6px;
  animation-delay: -2.4s;
}
.ix-page .ix-chip-b > .bi {
  color: var(--mx-violet);
  background: #f2ecff;
}

/* About */
.ix-about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.ix-service-cloud {
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.12), transparent 45%),
    linear-gradient(140deg, #f5f4ff, #faf7ff);
  border: 1px solid #e6e3fb;
}
.ix-service-cloud > small {
  display: block;
  margin-bottom: 16px;
  color: var(--mx-indigo);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ix-service-cloud > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ix-service-cloud span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--mx-line);
  border-radius: 14px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ix-service-cloud span:hover {
  transform: translateY(-3px);
  box-shadow: var(--mx-shadow);
}
.ix-service-cloud span > i {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--mx-grad);
  font-size: 16px;
  font-style: normal;
}

/* Custom AI bento */
.ix-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ix-bento article {
  padding: 26px;
  border: 1px solid var(--mx-line);
  border-radius: var(--mx-radius);
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.ix-bento article:hover {
  transform: translateY(-6px);
  border-color: #d4d6f7;
  box-shadow: var(--mx-shadow-lg);
}
.ix-bento article:hover .mx-icon {
  color: #fff;
  background: var(--mx-grad);
}
.ix-bento header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ix-bento header b {
  color: #c3c7d8;
  font-family: var(--font-primary, inherit);
  font-size: 15px;
}
.ix-bento h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.ix-bento p {
  margin-top: 8px !important;
  color: var(--mx-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.ix-bento article.is-feature {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  border: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.35), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(124, 58, 237, 0.45), transparent 50%),
    var(--mx-dark);
}
.ix-bento article.is-feature header {
  margin-bottom: auto;
}
.ix-bento article.is-feature .mx-icon {
  width: 64px;
  height: 64px;
  color: #fff;
  background: var(--mx-grad);
}
.ix-bento article.is-feature .mx-icon .bi {
  font-size: 28px;
}
.ix-bento article.is-feature h3 {
  margin-top: 60px !important;
  color: #fff;
  font-size: 26px;
}
.ix-bento article.is-feature p {
  color: #c3c8e6;
  font-size: 16px;
}
.ix-bento article.is-feature header b {
  color: rgba(255, 255, 255, 0.35);
}

/* Shared split + panel + checks */
.ix-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.ix-panel {
  padding: 26px;
  border: 1px solid var(--mx-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--mx-shadow);
}
.ix-panel > header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--mx-line);
}
.ix-panel > header > span {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--mx-grad);
  font-size: 20px;
}
.ix-panel h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.ix-checks {
  display: grid;
  gap: 10px;
}
.ix-checks.is-two {
  grid-template-columns: 1fr 1fr;
}
.ix-checks li {
  display: flex;
  gap: 10px;
  color: #334155;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
}
.ix-checks .bi {
  width: 20px;
  height: 20px;
  flex: none;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--mx-mint);
  font-size: 11px;
}
.ix-callout {
  margin-top: 26px;
  padding: 22px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.3), transparent 45%),
    linear-gradient(150deg, #4338ca, #6d28d9);
}
.ix-callout h3 {
  color: #fff !important;
  font-size: 19px;
}
.ix-callout p {
  margin-top: 8px !important;
  color: #dcd8ff;
  font-size: 14.5px;
  line-height: 1.65;
}
.ix-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.ix-flow span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.ix-flow span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mx-gold);
}
.ix-flow .bi {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
.ix-split .mx-outcome {
  margin-top: 18px;
}

/* Chatbots */
.ix-bot-types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.ix-bot-types article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.ix-bot-types article:hover {
  transform: translateY(-6px);
  border-color: rgba(165, 180, 252, 0.45);
  background: rgba(255, 255, 255, 0.07);
}
.ix-bot-types span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mx-grad);
  font-size: 20px;
}
.ix-bot-types h3 {
  margin-top: 18px !important;
  font-size: 17px;
  letter-spacing: -0.015em;
}
.ix-bot-types p {
  margin-top: 6px !important;
  font-size: 13.5px;
  line-height: 1.55;
}
.ix-bot-features {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}
.ix-bot-features > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 18px;
}
.ix-bot-features span {
  display: flex;
  gap: 8px;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.45;
}
.ix-bot-features .bi {
  flex: none;
  margin-top: 3px;
  color: #6ee7b7;
}

/* AI agents */
.ix-agent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.ix-agent-run {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.3), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(124, 58, 237, 0.45), transparent 55%),
    var(--mx-dark);
  box-shadow: var(--mx-shadow-lg);
}
.ix-agent-run > header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.ix-agent-run > header > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mx-grad);
  font-size: 22px;
}
.ix-agent-run > header small {
  display: block;
  color: #a5b4fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ix-agent-run > header b {
  font-size: 18px;
}
.ix-agent-run > header em {
  margin-left: auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.ix-agent-run ol {
  position: relative;
  display: grid;
  gap: 8px;
}
.ix-agent-run ol::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: rgba(165, 180, 252, 0.25);
}
.ix-agent-run li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px 8px 0;
}
.ix-agent-run li > span {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(165, 180, 252, 0.3);
  border-radius: 50%;
  background: #141a3a;
  color: #c7d2fe;
  font-size: 17px;
}
.ix-agent-run li.is-done > span {
  border-color: transparent;
  background: var(--mx-grad);
  color: #fff;
}
.ix-agent-run li.is-wait > span {
  border-color: #f3c26b;
  color: var(--mx-gold);
  animation: ix-wait 2s ease-in-out infinite;
}
.ix-agent-run li b {
  display: block;
  font-size: 15px;
}
.ix-agent-run li small {
  color: #9aa3c7;
  font-size: 12.5px;
}
.ix-agent-run li em {
  margin-left: auto;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
  color: #6ee7b7;
}
.ix-agent-run li.is-wait em {
  color: var(--mx-gold);
}
.ix-agent-run li.is-next em {
  color: #7c86b0;
}
.ix-agent-run > footer {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #b6bcd8;
  font-size: 13px;
}
.ix-agent-run > footer .bi {
  color: var(--mx-gold);
}
.ix-agent-side {
  display: grid;
  gap: 18px;
}
.ix-cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ix-cap-grid span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--mx-soft);
  font-size: 13.5px;
  font-weight: 600;
}
.ix-cap-grid .bi {
  color: var(--mx-indigo);
  font-size: 15px;
}
#ai-agents > .mx-wrap > .mx-outcome {
  max-width: none;
  margin-top: 22px;
}

/* LLM + RAG */
.ix-llm {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: stretch;
}
.ix-models {
  padding: 26px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.35), transparent 50%),
    linear-gradient(150deg, #4338ca, #6d28d9);
}
.ix-models > small {
  color: var(--mx-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ix-models h3 {
  margin-top: 8px !important;
  color: #fff !important;
  font-size: 22px;
}
.ix-models p {
  margin-top: 10px !important;
  color: #dcd8ff;
  font-size: 14.5px;
  line-height: 1.65;
}
.ix-model-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.ix-model-chips span {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.ix-models .ix-models-note {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}
.ix-rag {
  margin-top: 22px;
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.28), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(124, 58, 237, 0.4), transparent 50%),
    var(--mx-dark);
  box-shadow: var(--mx-shadow-lg);
}
.ix-rag-intro {
  max-width: 760px;
}
.ix-rag-intro h3 {
  margin-top: 14px !important;
  color: #fff !important;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.03em;
}
.ix-rag-intro p {
  margin-top: 10px !important;
  color: #b6bcd8;
  font-size: 15.5px;
  line-height: 1.7;
}
.ix-rag-pipe {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 32px 0 !important;
}
.ix-rag-pipe::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, #818cf8, #a78bfa, #38bdf8);
  opacity: 0.5;
}
.ix-rag-pipe li {
  position: relative;
  text-align: center;
}
.ix-rag-pipe li > span {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(165, 180, 252, 0.3);
  border-radius: 18px;
  background: #141a3a;
  color: #c7d2fe;
  font-size: 22px;
  transition: background 0.3s ease, color 0.3s ease;
}
.ix-rag-pipe li:hover > span,
.ix-rag-pipe li:last-child > span {
  border-color: transparent;
  color: #fff;
  background: var(--mx-grad);
}
.ix-rag-pipe b {
  display: block;
  margin-top: 12px;
  font-family: var(--font-primary, inherit);
  font-size: 16px;
}
.ix-rag-pipe small {
  display: block;
  margin-top: 3px;
  color: #9aa3c7;
  font-size: 12.5px;
  line-height: 1.4;
}
.ix-rag-lists {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
}
.ix-rag-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.ix-rag-chips.is-use {
  grid-template-columns: 1fr;
}
.ix-rag-chips span {
  display: flex;
  gap: 8px;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.45;
}
.ix-rag-chips .bi {
  flex: none;
  margin-top: 3px;
  color: #6ee7b7;
}
.ix-rag-chips.is-use .bi {
  color: var(--mx-gold);
  margin-top: 1px;
  font-size: 18px;
}

/* ERP / CRM / HRMS panel */
.ix-biz-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}
.ix-biz-title {
  padding: 26px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.35), transparent 50%),
    var(--mx-dark);
}
.ix-biz-title > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--mx-grad);
  font-size: 24px;
}
.ix-biz-title h3 {
  margin-top: 18px !important;
  color: #fff !important;
  font-size: 24px;
}
.ix-biz-title p {
  margin-top: 6px !important;
  color: #a5b4fc;
  font-size: 14px;
}
.ix-biz-panel ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ix-biz-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--mx-line);
  border-radius: 14px;
  background: #fff;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ix-biz-panel li:hover {
  border-color: #c9ccf6;
  transform: translateY(-2px);
}
.ix-biz-panel li b {
  color: var(--mx-indigo);
  font-size: 12px;
}
#ai-business .mx-outcome {
  margin-top: 22px;
}

/* Automation */
.ix-gap {
  margin-top: 28px;
}
.ix-tags-lg span {
  padding: 9px 14px;
  background: #fff;
  font-size: 14px;
}
.ix-steps {
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--mx-line);
  box-shadow: var(--mx-shadow);
}
.ix-steps > header small {
  color: var(--mx-indigo);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ix-steps > header h3 {
  margin-top: 6px !important;
  font-size: 22px;
}
.ix-steps ol {
  position: relative;
  display: grid;
  gap: 4px;
  margin-top: 20px !important;
}
.ix-steps ol::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, #c7c3ff, #e0cfff, #bde7ff);
}
.ix-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
}
.ix-steps li b {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--mx-grad);
  font-size: 13px;
}
.ix-steps-note {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff8ec;
  border: 1px solid #f7dcb0;
}
.ix-steps-note .bi {
  flex: none;
  margin-top: 3px;
  color: #c2780a;
}
.ix-steps-note p {
  color: var(--mx-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Websites / mobile / SaaS */
.ix-surfaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ix-surfaces article {
  padding: 26px;
  border: 1px solid var(--mx-line);
  border-radius: var(--mx-radius);
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ix-surfaces article:hover {
  transform: translateY(-6px);
  box-shadow: var(--mx-shadow-lg);
}
.ix-surfaces article:hover .mx-icon {
  color: #fff;
  background: var(--mx-grad);
}
.ix-surfaces header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--mx-line);
}
.ix-surfaces h3 {
  font-size: 19px;
}

/* ML + Document AI */
.ix-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ix-duo article {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}
.ix-duo header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.ix-duo header > span {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--mx-grad);
  font-size: 22px;
}
.ix-duo header small {
  color: var(--mx-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ix-duo h3 {
  margin-top: 4px !important;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.ix-duo article > p {
  margin-top: 18px !important;
  font-size: 14.5px;
  line-height: 1.65;
}
.ix-duo .sx-dark-note {
  margin-top: auto;
  padding-top: 16px;
}
.ix-duo article > p + .sx-dark-note {
  margin-top: 18px;
}

/* Marketing */
.ix-marketing {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid #e6e3fb;
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.1), transparent 40%),
    linear-gradient(140deg, #f7f6ff, #fdfbff);
}
.ix-marketing .mx-outcome {
  margin-top: 20px;
}

/* Industries */
.ix-industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ix-industries article {
  padding: 22px;
  border: 1px solid var(--mx-line);
  border-radius: 20px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ix-industries article:hover {
  transform: translateY(-5px);
  box-shadow: var(--mx-shadow-lg);
}
.ix-industries header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.ix-industries header span {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--mx-violet);
  background: #f5efff;
  font-size: 18px;
  transition: background 0.3s ease, color 0.3s ease;
}
.ix-industries article:hover header span {
  color: #fff;
  background: var(--mx-grad);
}
.ix-industries h3 {
  font-size: 16.5px;
  letter-spacing: -0.01em;
}
.ix-industries ul {
  display: grid;
  gap: 7px;
}
.ix-industries li {
  position: relative;
  padding-left: 16px;
  color: var(--mx-muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.ix-industries li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mx-grad);
}

/* AI MVP */
.ix-poc {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.ix-poc > .bi {
  color: var(--mx-indigo);
  font-size: 20px;
}
.ix-poc article {
  flex: 1;
  padding: 18px;
  border: 1px solid var(--mx-line);
  border-radius: 18px;
  background: #fff;
}
.ix-poc article > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--mx-indigo);
  background: #f0f0ff;
  font-size: 18px;
}
.ix-poc b {
  display: block;
  margin-top: 12px;
  font-family: var(--font-primary, inherit);
  font-size: 17px;
}
.ix-poc p {
  margin-top: 4px !important;
  color: var(--mx-muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.ix-poc article.is-mvp {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--mx-grad) border-box;
}
.ix-poc article.is-mvp > span {
  color: #fff;
  background: var(--mx-grad);
}
.ix-numbered {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ix-numbered li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--mx-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.ix-numbered b {
  color: var(--mx-indigo);
  font-size: 12px;
}

/* Security risks */
.ix-risks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.ix-risks span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid #f3d5d5;
  border-radius: 999px;
  background: #fff6f6;
  color: #9f1239;
  font-size: 13px;
  font-weight: 600;
}

/* Cost */
.ix-cost-tip {
  display: flex;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 16px 18px;
  border: 1px solid #dfe1fb;
  border-radius: 16px;
  background: #fff;
}
.ix-cost-tip .bi {
  flex: none;
  margin-top: 3px;
  color: var(--mx-violet);
  font-size: 18px;
}
.ix-cost-tip p {
  color: var(--mx-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
#ai-cost .mx-factors span {
  font-size: 17px;
}

/* CTA */
.ix-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.ix-ghost-dark {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
.ix-ghost-dark:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Keyframes */
@keyframes ix-step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ix-wait {
  50% {
    box-shadow: 0 0 0 6px rgba(243, 200, 67, 0.15);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .ix-bento,
  .ix-industries {
    grid-template-columns: repeat(2, 1fr);
  }
  .ix-bot-types {
    grid-template-columns: repeat(3, 1fr);
  }
  .ix-bot-features > div {
    grid-template-columns: repeat(2, 1fr);
  }
  .ix-surfaces {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .ix-about,
  .ix-split,
  .ix-agent,
  .ix-llm,
  .ix-duo,
  .ix-marketing,
  .ix-biz-panel,
  .ix-rag-lists {
    grid-template-columns: 1fr;
  }
  .ix-agent-run {
    position: static;
  }
  .ix-hero-visual {
    max-width: 620px;
  }
  .ix-rag-pipe {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 24px;
  }
  .ix-rag-pipe::before {
    display: none;
  }
}
@media (max-width: 640px) {
  .ix-bento,
  .ix-industries,
  .ix-bot-types,
  .ix-bot-features > div,
  .ix-surfaces,
  .ix-service-cloud > div,
  .ix-checks.is-two,
  .ix-cap-grid,
  .ix-biz-panel ol,
  .ix-numbered,
  .ix-rag-chips {
    grid-template-columns: 1fr;
  }
  .ix-bento article.is-feature {
    grid-row: auto;
  }
  .ix-bento article.is-feature h3 {
    margin-top: 28px !important;
  }
  .ix-rag-pipe {
    grid-template-columns: 1fr 1fr;
  }
  .ix-poc {
    flex-direction: column;
    align-items: stretch;
  }
  .ix-poc > .bi {
    align-self: center;
    transform: rotate(90deg);
  }
  .ix-msg {
    max-width: 100%;
    font-size: 13px;
  }
  .ix-approval > span {
    display: none;
  }
  .ix-cta-actions > a {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ix-agent-steps span,
  .ix-chat > header small em,
  .ix-agent-run li.is-wait > span {
    animation: none !important;
    opacity: 1;
  }
}
