.ios-agent-page { --ia-bg: #070c12; --ia-surface: #0b131b; --ia-line: #22313b; --ia-green: #39e5b1; --ia-muted: #9cabb6; color: #f3f8fa; background: var(--ia-bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow: clip; }
.ios-agent-page *, .ios-agent-page *::before, .ios-agent-page *::after { box-sizing: border-box; }
.ios-agent-page :is(h1,h2,h3,p) { color: inherit; letter-spacing: -.025em; }
.ia-container { width: min(1216px, calc(100% - 48px)); margin-inline: auto; }
.ia-hero { position: relative; padding-top: 58px; background: radial-gradient(ellipse at 78% 34%, #123d3d80, transparent 52%), linear-gradient(110deg, #080d14, #08141c); }
.ia-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 36px; }
.ia-hero-copy, .ia-split > *, .ia-faq > * { min-width: 0; }
.ios-agent-page .ia-eyebrow { margin: 0 0 22px; color: var(--ia-green); font-size: 11px; font-weight: 800; letter-spacing: .13em; line-height: 1.6; }
.ios-agent-page h1 { margin: 0; max-width: 620px; font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; line-height: 1.13; text-wrap: balance; overflow-wrap: break-word; }
.ios-agent-page .ia-lead { max-width: 590px; margin: 26px 0 0; color: #b6c5ce; font-size: 17px; line-height: 1.85; }
.ia-badges { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 25px; }
.ia-badges > span { color: #adccc5; font-size: 12px; }
.ia-badges > span::before { content: "✓"; color: var(--ia-green); margin-inline-end: 6px; }
.ia-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ia-button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 50px; max-width: 100%; padding: 12px 22px; border: 1px solid var(--ia-green); border-radius: 9px; color: #04251c; background: var(--ia-green); text-decoration: none; font-size: 14px; font-weight: 750; line-height: 1.5; transition: background .18s ease, transform .18s ease; }
.ia-button-secondary { color: #e9f4f3; border-color: #425958; background: #0a171b; }
.ia-button:hover { color: #04251c; background: #80f4cf; transform: translateY(-2px); }
.ia-button-secondary:hover { color: #fff; border-color: #69d5bd; background: #183c35; }
.ia-button:focus-visible, .ia-faq summary:focus-visible { outline: 2px solid var(--ia-green); outline-offset: 5px; }
.ia-step-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 38px; border-top: 1px solid #29413f; }
.ia-step-strip > span { position: relative; padding: 23px 14px; color: #b4c5cb; font-size: 12px; line-height: 1.5; }
.ia-step-strip b { margin-inline-end: 12px; color: #78948f; font: 11px ui-monospace, monospace; }
.ia-step-strip > span::before { position: absolute; content: ""; top: -1px; left: 0; width: 34%; height: 2px; background: var(--ia-green); opacity: 0; animation: ia-stage 12s linear infinite; animation-delay: calc(var(--ia-step) * 3s); }
.ia-section { padding-block: 92px; border-top: 1px solid #1b2b3370; }
.ia-surface { background: var(--ia-surface); }
.ios-agent-page h2 { margin: 0; max-width: 840px; font-size: clamp(30px, 3vw, 44px); font-weight: 750; line-height: 1.24; text-wrap: balance; }
.ios-agent-page h3 { margin: 20px 0 12px; font-size: 19px; font-weight: 700; line-height: 1.45; }
.ios-agent-page .ia-intro { max-width: 760px; margin: 22px 0 0; color: var(--ia-muted); font-size: 16px; line-height: 1.85; }
.ia-benefits, .ia-fleet { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; margin-top: 48px; }
.ia-benefits article, .ia-fleet article { border-top: 1px solid #365047; padding-top: 20px; min-width: 0; }
.ia-number { color: var(--ia-green); font: 11px ui-monospace, monospace; }
.ios-agent-page article p { margin: 0; color: var(--ia-muted); font-size: 14px; line-height: 1.85; }
.ia-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 80px; }
.ios-agent-page .ia-note { margin: 25px 0 0; color: #92a7af; font-size: 12px; line-height: 1.85; }
.ia-workflow, .ia-skill-stack { list-style: none; padding: 0; margin: 0; }
.ia-workflow li { display: flex; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--ia-line); }
.ia-workflow li > span { flex: 0 0 40px; display: grid; place-items: center; height: 40px; border-radius: 50%; border: 1px solid #31685a; color: var(--ia-green); font: 12px ui-monospace, monospace; }
.ia-workflow h3 { font-size: 16px; margin: 0; }
.ia-workflow p { color: var(--ia-muted); margin: 7px 0 0; font-size: 13px; line-height: 1.65; }
.ia-skill-stack { display: grid; gap: 22px; }
.ia-skill-stack li { border: 1px solid #28423d; border-radius: 12px; padding: 25px; background: #0b1c1b; }
.ia-skill-stack span { color: var(--ia-green); font: 12px ui-monospace, monospace; }
.ia-skill-stack h3 { margin: 12px 0 0; }
.ios-agent-page blockquote { margin: 22px 0 0; border-inline-start: 2px solid var(--ia-green); padding: 15px 20px; color: #c5dbd5; background: #36e1b006; font-size: 14px; line-height: 1.85; }
.ia-scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--ia-line); }
.ia-scenes li { display: flex; align-items: center; gap: 16px; padding: 24px 12px 24px 0; border-bottom: 1px solid var(--ia-line); color: #c6d7db; font-size: 14px; line-height: 1.8; }
.ia-scenes span { color: var(--ia-green); }
.ia-privacy { margin-top: 54px; padding: 30px; border: 1px solid #265749; border-radius: 12px; background: #0c211c; }
.ia-privacy h3 { margin: 0 0 12px; }
.ia-privacy p { margin: 0; color: #a5c2b9; font-size: 14px; line-height: 1.85; }
.ia-faq { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); gap: 70px; }
.ia-faq details { padding: 22px 0; border-bottom: 1px solid var(--ia-line); }
.ia-faq summary { cursor: pointer; color: #e5f1f0; font-size: 16px; font-weight: 650; line-height: 1.7; }
.ia-faq p { color: var(--ia-muted); font-size: 14px; line-height: 1.85; margin: 18px 0 0; }
.ia-final { padding: 95px 0; background: radial-gradient(ellipse at 50% 100%, #174b3b66, transparent 72%), #07110f; text-align: center; }
.ia-final h2, .ia-final .ia-intro { margin-inline: auto; }
.ia-final .ia-actions { justify-content: center; }
/* Original matrix animation: one controller, independent phones, centralized results. */
.ia-demo { position: relative; width: 100%; min-width: 0; margin: 0; }
.ia-demo-art { position: relative; height: 570px; isolation: isolate; }
.ia-demo-grid { position: absolute; inset: 0; z-index: -2; opacity: .38; background-image: linear-gradient(#439c8b20 1px,transparent 1px),linear-gradient(90deg,#439c8b20 1px,transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse,#000,transparent 78%); }
.ia-console { position: absolute; top: 12px; inset-inline: 12px; display: flex; align-items: center; gap: 10px; min-height: 56px; border: 1px solid #3d7565; border-radius: 10px; padding: 12px 16px; background: linear-gradient(110deg,#10382e,#0c2025); box-shadow: 0 12px 36px #0003; }
.ia-console > div { min-width: 0; display: grid; gap: 5px; }
.ia-console strong { color: #def5eb; font-size: 13px; }.ia-console small { color: #8bb7ac; font-size: 10px; line-height: 1.5; }
.ia-status-dot { display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--ia-green); box-shadow: 0 0 10px #39e5b170; }
.ia-console-ai { margin-left: auto; color: var(--ia-green); font: 800 18px ui-monospace,monospace; }
.ia-matrix-meta { position: absolute; top: 80px; inset-inline: 21px; display: flex; justify-content: space-between; gap: 15px; font-size: 9px; color: #80a89c; }
.ia-matrix-wires { position: absolute; z-index: -1; inset: 15px 0 40px; width: 100%; height: calc(100% - 55px); overflow: visible; }
.ia-matrix-wires path { fill: none; stroke: #32705c; stroke-width: 1; }
.ia-matrix-wires .ia-matrix-signal { stroke: #58f2c1; stroke-width: 1.5; stroke-dasharray: 9 80; animation: ia-matrix-signal 7s linear infinite; opacity: .7; }
.ia-matrix-grid { position: absolute; inset: 113px 22px 122px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 21px 26px; }
.ia-matrix-node { --ia-delay: calc(var(--ia-node) * -1.7s); position: relative; min-width: 0; justify-self: center; width: min(100%,119px); }
.ia-matrix-phone { position: relative; height: calc(100% - 18px); min-height: 133px; border: 2px solid #577b73; border-radius: 19px; background: linear-gradient(145deg,#173132,#0c181f); box-shadow: 6px 9px 20px #0005,inset 0 0 0 2px #071017; overflow: hidden; animation: ia-device-border 12s linear infinite; animation-delay: var(--ia-delay); }
.ia-mini-island { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 29px; height: 6px; border-radius: 5px; background: #020b10; }
.ia-mini-header { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin: 20px 9px 0; }
.ia-mini-header b { color: #98c5b7; font: 8px ui-monospace,monospace; white-space: nowrap; }
.ia-mini-header i { flex: 0 0 auto; width: 4px; height: 4px; background: #4ce9ad; border-radius: 50%; }
.ia-mini-app { display: flex; align-items: center; gap: 7px; margin: 12px 9px 0; }
.ia-mini-app > span { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 auto; border: 1px solid #3f8e78; border-radius: 7px; background: #174b3b; color: #7cf4c9; font-size: 14px; }
.ia-mini-app > b { min-width: 0; color: #d3ebe3; font-size: 9px; line-height: 1.5; }
.ia-mini-content { margin: 12px 10px 0; animation: ia-before 12s linear infinite; animation-delay: var(--ia-delay); }
.ia-mini-content > i { display: block; height: 4px; margin-top: 7px; border-radius: 3px; background: #476861; }
.ia-mini-content > i:nth-child(2) { width: 70%; }.ia-mini-content > i:nth-child(3) { width: 86%; }
.ia-mini-action { height: 14px; margin-top: 13px; border: 1px solid #46c79b; border-radius: 4px; background: #208b68; }
.ia-mini-result { position: absolute; top: 77px; left: 6px; right: 6px; display: grid; justify-items: center; gap: 8px; opacity: 0; animation: ia-after 12s linear infinite; animation-delay: var(--ia-delay); }
.ia-mini-result > span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #59e7a4; border-radius: 50%; background: #22613c66; color: #93ffd0; font-size: 18px; }
.ia-mini-result > b { font-size: 8px; line-height: 1.4; color: #b8f8d5; text-align: center; }
.ia-scan { position: absolute; top: 35px; inset-inline: 3px; height: 1px; background: #8afbdd; box-shadow: 0 -5px 15px 4px #3effcc20; opacity: 0; animation: ia-scan 12s linear infinite; animation-delay: var(--ia-delay); }
.ia-tap { position: absolute; bottom: 28px; right: 23px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid #fff; background: #ffffff44; opacity: 0; animation: ia-tap 12s linear infinite; animation-delay: var(--ia-delay); }
.ia-mini-progress { position: absolute; bottom: 13px; left: 10px; right: 10px; height: 2px; overflow: hidden; background: #34584b; }
.ia-mini-progress > i { display: block; width: 100%; height: 100%; background: #53ebaf; transform-origin: left; animation: ia-progress 12s linear infinite; animation-delay: var(--ia-delay); }
.ia-mini-home { position: absolute; bottom: 5px; left: 33%; right: 33%; height: 2px; border-radius: 2px; background: #728e85; }
.ia-node-status { position: relative; height: 17px; margin-top: 6px; text-align: center; font-size: 8px; }
.ia-node-status > span { position: absolute; inset: 0; color: #85b2a4; opacity: 0; animation: ia-node-wait 12s linear infinite; animation-delay: var(--ia-delay); }
.ia-node-status > span:nth-child(2) { color: #65d8dd; animation-name: ia-node-run; }
.ia-node-status > span:nth-child(3) { color: #72edb4; animation-name: ia-node-done; }
.ia-dispatch-hub { position: absolute; bottom: 54px; left: 9%; right: 9%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px; border: 1px solid #3b9c76; border-radius: 10px; background: linear-gradient(115deg,#133e2e,#0e2926); box-shadow: 0 0 26px #2cd98b12; }
.ia-hub-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border: 1px solid #438968; border-radius: 8px; color: #70f1bc; background: #1d583d; font: 800 12px ui-monospace,monospace; }
.ia-dispatch-hub > div { display: grid; gap: 6px; min-width: 0; }
.ia-dispatch-hub b { color: #c9f6df; font-size: 11px; }.ia-dispatch-hub small { color: #87bca6; font-size: 9px; line-height: 1.5; }
.ia-hub-pulse { flex: 0 0 auto; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #57e6a6; animation: ia-hub-pulse 1.7s ease-in-out infinite; }
.ia-demo-caption { position: absolute; display: flex; align-items: center; bottom: 7px; left: 12%; right: 12%; height: 30px; color: #b5e9d4; padding-inline: 12px; font-size: 10px; }
.ia-caption-step { position: absolute; left: 27px; right: 0; opacity: 0; animation: ia-stage 12s linear infinite; animation-delay: calc(var(--ia-step) * 3s); }
.ia-demo figcaption { margin-top: 8px; text-align: center; color: #89a29f; font-size: 10px; line-height: 1.6; }
@keyframes ia-stage { 0%,23% { opacity: 1; } 25%,100% { opacity: 0; } }
@keyframes ia-before { 0%,44% { opacity: 1; } 49%,96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ia-after { 0%,45% { opacity: 0; transform: translateY(5px); } 52%,94% { opacity: 1; transform: translateY(0); } 99%,100% { opacity: 0; } }
@keyframes ia-scan { 0% { opacity: 0; transform: translateY(0); } 3% { opacity: 1; } 24% { opacity: 1; transform: translateY(95px); } 26%,100% { opacity: 0; transform: translateY(95px); } }
@keyframes ia-tap { 0%,30% { opacity: 0; transform: scale(.5); } 35% { opacity: 1; transform: scale(1); } 43% { opacity: 0; transform: scale(2.7); } 100% { opacity: 0; } }
@keyframes ia-progress { 0% { transform: scaleX(.05); } 75%,96% { transform: scaleX(1); } 100% { transform: scaleX(.05); } }
@keyframes ia-device-border { 0%,24%,100% { border-color: #577b73; } 28%,48% { border-color: #47c2d0; } 55%,92% { border-color: #65dba5; } }
@keyframes ia-node-wait { 0%,24% { opacity: 1; } 25%,100% { opacity: 0; } }
@keyframes ia-node-run { 0%,24% { opacity: 0; } 25%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes ia-node-done { 0%,49% { opacity: 0; } 50%,96% { opacity: 1; } 97%,100% { opacity: 0; } }
@keyframes ia-matrix-signal { to { stroke-dashoffset: -178; } }
@keyframes ia-hub-pulse { 50% { box-shadow: 0 0 0 5px #39e5b120; } }
@media (max-width: 1100px) {
  .ia-hero-grid { gap: 20px; }.ios-agent-page h1 { font-size: 44px; }
  .ia-split { gap: 38px; }.ia-benefits, .ia-fleet { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ia-faq { gap: 35px; }.ia-matrix-grid { gap: 21px 15px; inset-inline: 15px; }
}
@media (max-width: 760px) {
  .ia-container { width: calc(100% - 36px); }.ia-hero { padding-top: 46px; }
  .ia-hero-grid, .ia-split, .ia-faq { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .ia-hero-copy { max-width: 600px; }.ios-agent-page h1 { max-width: 560px; font-size: clamp(35px,8vw,46px); }
  .ios-agent-page .ia-lead { font-size: 16px; }.ia-demo { max-width: 480px; justify-self: center; }
  .ia-hero .ia-step-strip { margin-top: 26px; }.ia-step-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }.ia-step-strip > span { padding: 15px 6px; }
  .ia-section, .ia-final { padding-block: 65px; }.ia-scenes { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ia-benefits, .ia-fleet { gap: 30px 22px; }.ia-privacy { padding: 23px; }
}
@media (max-width: 400px) {
  .ia-container { width: calc(100% - 32px); }.ia-actions { gap: 10px; }.ia-button { flex: 1 1 130px; padding-inline: 13px; gap: 12px; }
  .ia-demo-art { height: 530px; }.ia-matrix-grid { inset: 108px 5px 120px; gap: 21px 12px; }
  .ia-matrix-phone { border-radius: 16px; }.ia-mini-app { gap: 4px; margin-inline: 7px; }.ia-mini-app > span { width: 19px; height: 21px; font-size: 12px; }
  .ia-mini-app > b { font-size: 8px; }.ia-mini-header { margin-inline: 7px; }.ia-mini-header b { font-size: 7px; }
  .ia-console { inset-inline: 0; }.ia-matrix-meta { inset-inline: 5px; }.ia-dispatch-hub { left: 5%; right: 5%; }.ia-dispatch-hub small { font-size: 8px; }
  .ia-benefits, .ia-fleet, .ia-scenes { grid-template-columns: 1fr; }.ia-demo-caption { left: 5%; right: 5%; }
}
@media (prefers-reduced-motion: reduce) {
  .ios-agent-page *, .ios-agent-page *::before, .ios-agent-page *::after { animation: none !important; transition: none !important; }
  .ia-mini-content, .ia-scan, .ia-tap, .ia-caption-step, .ia-node-status > span { opacity: 0; }
  .ia-mini-result, .ia-caption-step:last-child, .ia-node-status > span:last-child { opacity: 1; transform: none; }
  .ia-mini-progress > i { transform: none; }.ia-step-strip > span:last-child::before { opacity: 1; }
}
