/* Aikido partner page. Cybergen brand first; --ak is the only additional colour and marks Aikido activity.
   --ak-l is its lighter tint, used only where --ak would be too dark to read on navy. */
.ak { --ak: #6551F3; --ak-l: #b9b0fb; --ak-bg: rgba(101,81,243,.14); }

/* Hero */
.ak-hero .svc-hero-grid { grid-template-columns: 1.02fr 1fr; }
.ak-hero-vis { position: relative; width: min(520px, 100%); margin: 0 auto; }
.ak-lockup { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 18px; }
.ak-lockup img:first-child { height: 34px; width: auto; }
.ak-lockup img:last-child { height: 25px; width: auto; }
.ak-lockup span { color: var(--accent); font-size: 20px; font-weight: 300; }
.ak-console { position: relative; border-radius: 18px; background: #0b1f45; border: 1px solid rgba(148,212,244,.25); box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 70px rgba(101,81,243,.22); overflow: hidden; color: #dfe9f5; font-size: 13px; }
.ak-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; background: #071736; border-bottom: 1px solid rgba(148,212,244,.14); }
.ak-bar > i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.ak-bar b { margin-left: 8px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-bar u { margin-left: auto; text-decoration: none; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ak-l); animation: ak-blink 1.6s ease-in-out infinite; }
.ak-rows { list-style: none; margin: 0; padding: 10px 15px 2px; display: grid; gap: 2px; }
.ak-rows li { display: grid; grid-template-columns: 16px 88px 1fr 64px; gap: 9px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(148,212,244,.08); }
.ak-rows li:last-child { border-bottom: 0; }
.ak-rows li > i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(148,212,244,.3); animation: ak-tick 9s calc(var(--k) * .7s) infinite both; }
.ak-rows b { font-weight: 600; color: #fff; font-size: 13px; }
.ak-rows span { color: rgba(255,255,255,.58); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-rows em { height: 5px; border-radius: 3px; background: rgba(148,212,244,.12); overflow: hidden; position: relative; }
.ak-rows em::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ak), var(--accent)); transform: scaleX(0); transform-origin: 0 50%; animation: ak-load 9s calc(var(--k) * .7s) infinite both; }
.ak-down { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 10px 15px 12px; padding: 12px 14px; border-radius: 12px; background: rgba(148,212,244,.06); border: 1px solid rgba(148,212,244,.14); }
.ak-down small { display: block; font-size: 10.5px; letter-spacing: .05em; color: rgba(255,255,255,.62); }
.ak-down strong { display: block; font-size: 25px; line-height: 1.15; font-weight: 800; color: #fff; }
.ak-down .on strong { color: var(--accent); }
.ak-arrow { color: var(--ak-l); display: grid; animation: ak-nudge 1.8s ease-in-out infinite; }
.ak-arrow svg { width: 22px; height: 22px; }
.ak-fix { display: flex; align-items: center; gap: 9px; margin: 0 15px 15px; padding: 10px 12px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 12.5px; animation: ak-rise 9s 3.4s infinite both; }
.ak-fix b { color: var(--navy); }
.ak-fix span:not(.ak-dot) { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-fix u { margin-left: auto; flex: none; text-decoration: none; font-size: 11px; font-weight: 700; color: #fff; background: var(--ak); padding: 4px 9px; border-radius: 99px; }
.ak-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ak); box-shadow: 0 0 0 4px var(--ak-bg); }
.ak-cap { margin: 10px 0 0; text-align: right; font-size: 11px; color: rgba(255,255,255,.5); }
@keyframes ak-blink { 50% { opacity: .45; } }
@keyframes ak-nudge { 50% { transform: translateX(4px); } }
@keyframes ak-tick { 0%, 6% { background: transparent; border-color: rgba(148,212,244,.3); } 12%, 90% { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px #0b1f45; } 100% { background: transparent; border-color: rgba(148,212,244,.3); } }
@keyframes ak-load { 0% { transform: scaleX(0); } 12%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes ak-rise { 0%, 8% { opacity: 0; transform: translateY(8px); } 16%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Partnership facts */
.ak-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.ak-fact { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.ak-fact:hover { transform: translateY(-3px); border-color: var(--ak); }
.ak-fact strong { display: block; font-size: 25px; line-height: 1.15; font-weight: 800; color: var(--navy); }
.ak-fact span { display: block; margin-top: 5px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.ak-src { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* Platform explorer */
.ak-explore [role=tablist] { grid-template-columns: repeat(4, 1fr); }
.ak-explore [role=tab][aria-selected=true] { box-shadow: 0 18px 36px rgba(7,28,66,.25), inset 0 -3px 0 var(--ak); }
.ak-explore [role=tab][aria-selected=true] svg { background: var(--ak); color: #fff; }
.ak-explore .vn-prod::before { background: linear-gradient(180deg, var(--ak), var(--accent)); }
.ak-explore .vn-prod h3 { font-size: 16.5px; }

/* Simulator */
.ak-sim { margin-top: 46px; border-radius: 22px; background: rgba(7,28,66,.72); border: 1px solid rgba(148,212,244,.22); padding: 24px; }
.ak-sim-tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ak-sim-tabs > span { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 99px; border: 1px solid rgba(148,212,244,.2); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.65); transition: all .3s; }
.ak-sim-tabs em { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 800; background: rgba(148,212,244,.12); color: var(--accent); transition: all .3s; }
.ak-sim-tabs > span.on { color: #fff; border-color: var(--ak-l); }
.ak-sim-tabs > span.on em { background: var(--ak); color: #fff; }
.ak-replay { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 99px; background: transparent; border: 1px solid rgba(148,212,244,.45); color: var(--accent); font: 600 13px var(--font); cursor: pointer; transition: background .2s, color .2s; }
.ak-replay:hover { background: var(--accent); color: var(--navy); }
.ak-replay svg { width: 15px; height: 15px; }
.ak-sim-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ak-pan { padding: 20px; border-radius: 16px; background: rgba(0,21,52,.6); border: 1px solid rgba(148,212,244,.14); opacity: .42; transition: opacity .4s, border-color .4s, box-shadow .4s; min-width: 0; }
.ak-pan.seen { opacity: 1; }
.ak-pan.on { opacity: 1; border-color: var(--ak-l); box-shadow: 0 0 0 4px var(--ak-bg); }
.ak-pan h3 { margin: 0 0 6px; color: #fff; font-size: 17px; }
.ak-pan > p { margin: 0 0 14px; color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.55; }
.ak-mods { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ak-mods li { display: grid; grid-template-columns: 15px 1fr auto; gap: 9px; align-items: center; padding: 8px 11px; border-radius: 9px; background: rgba(148,212,244,.05); font-size: 13px; color: rgba(255,255,255,.85); }
.ak-mods b { font-weight: 500; }
.ak-mods i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(148,212,244,.3); transition: all .25s; }
.ak-mods li.busy i { border-color: var(--ak-l); border-top-color: transparent; animation: ak-spin .7s linear infinite; }
.ak-mods li.done i { background: var(--accent); border-color: var(--accent); }
.ak-mods .c { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
@keyframes ak-spin { to { transform: rotate(360deg); } }
.ak-fun { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ak-fun li { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; font-size: 13px; color: rgba(255,255,255,.85); }
.ak-fun b { font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; }
.ak-fun .t { grid-column: 1 / -1; grid-row: 2; height: 8px; border-radius: 4px; background: rgba(148,212,244,.1); overflow: hidden; }
.ak-fun .t i { display: block; height: 100%; min-width: 0; width: 0; border-radius: 4px; background: rgba(148,212,244,.65); transition: width .7s var(--ease); }
.ak-fun li:last-child .t i { background: var(--ak-l); }
.ak-fun li:last-child b { color: var(--ak-l); }
.ak-fun li.go .t i { width: max(var(--w), 7px); }
.ak-diff { border-radius: 10px; overflow: hidden; background: #071736; border: 1px solid rgba(148,212,244,.16); font-size: 11.5px; }
.ak-diff .h { display: flex; justify-content: space-between; gap: 8px; padding: 8px 11px; border-bottom: 1px solid rgba(148,212,244,.14); color: #fff; }
.ak-diff .st { color: var(--ak-l); font-weight: 600; }
.ak-diff code { display: block; padding: 4px 11px; font: 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; transition: opacity .4s, max-height .4s, padding .4s; max-height: 70px; overflow: hidden; }
.ak-diff .del { color: rgba(255,255,255,.72); background: rgba(255,255,255,.04); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.35); }
.ak-diff .add { color: var(--accent); background: rgba(148,212,244,.08); }
.ak-sim.merged .ak-diff .del { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
.ak-merge { width: 100%; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 10px; border: 0; background: var(--ak); color: #fff; font: 600 13.5px var(--font); cursor: pointer; transition: transform .2s, opacity .2s; }
.ak-merge:hover { transform: translateY(-1px); }
.ak-merge svg { width: 16px; height: 16px; }
.ak-sim.merged .ak-merge { background: var(--accent); color: var(--navy); }
.ak-note { margin: 16px 0 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.6); }

/* Lifecycle */
.ak-life { margin-top: 46px; }
.ak-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ak-track::before { content: ""; position: absolute; left: 10%; right: 10%; top: 45px; height: 3px; background: var(--line); }
.ak-pulse { position: absolute; top: 40px; left: 10%; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: var(--ak); box-shadow: 0 0 0 6px var(--ak-bg); animation: ak-travel 8s linear infinite; }
@keyframes ak-travel { 0% { left: 10%; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
.ak-stage { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; padding: 18px 8px 14px; background: none; border: 0; border-radius: 14px; font: inherit; cursor: pointer; transition: background .25s; }
.ak-stage svg { width: 56px; height: 56px; padding: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--blue); transition: all .3s; margin-bottom: 6px; }
.ak-stage b { font-size: 15.5px; color: var(--navy); }
.ak-stage small { font-size: 12.5px; color: var(--muted); }
.ak-stage:hover svg { border-color: var(--ak); }
.ak-stage.on { background: var(--light); }
.ak-stage.on svg { background: var(--navy); border-color: var(--navy); color: var(--accent); box-shadow: 0 0 0 5px var(--ak-bg); }
.ak-sps { margin-top: 14px; display: grid; }
.ak-sp { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s; text-align: center; padding: 26px; border-radius: 16px; background: var(--navy); color: #fff; }
.ak-sp.on { opacity: 1; visibility: visible; transform: none; }
.ak-sp p { margin: 0 auto 14px; max-width: 640px; font-size: 16px; line-height: 1.6; color: var(--teal-pale); }
.ak-sp div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ak-sp span { padding: 5px 13px; border-radius: 99px; border: 1px solid rgba(203,232,230,.5); font-size: 13px; font-weight: 600; }

/* Testing */
.ak-flow { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.ak-flow li { position: relative; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.ak-flow li:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -14px; width: 11px; height: 11px; z-index: 1; border-top: 2px solid var(--ak); border-right: 2px solid var(--ak); transform: rotate(45deg); }
.ak-flow span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--accent); margin-bottom: 12px; }
.ak-flow span svg { width: 22px; height: 22px; }
.ak-flow.in li:nth-child(1) span { animation: ak-pop .6s .1s both; } .ak-flow.in li:nth-child(2) span { animation: ak-pop .6s .35s both; } .ak-flow.in li:nth-child(3) span { animation: ak-pop .6s .6s both; }
@keyframes ak-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.08); background: var(--ak); color: #fff; } 100% { transform: none; } }
.ak-flow b { font-size: 18px; color: var(--navy); }
.ak-flow p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.ak-tbl { margin-top: 24px; border-radius: 16px; border: 1px solid var(--line); background: #fff; overflow-x: auto; }
.ak-tbl table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.ak-tbl thead th { padding: 18px; text-align: left; vertical-align: bottom; border-bottom: 2px solid var(--line); }
.ak-tbl thead th:nth-child(2) { border-bottom-color: var(--ak); }
.ak-tbl thead th:nth-child(3) { border-bottom-color: var(--blue); }
.ak-tbl thead img { display: block; height: 22px; width: auto; margin-bottom: 7px; }
.ak-tbl thead small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ak-tbl tbody th { padding: 15px 18px; text-align: left; font-weight: 700; color: var(--navy); white-space: nowrap; }
.ak-tbl td { padding: 15px 18px; color: var(--muted); line-height: 1.55; vertical-align: top; }
.ak-tbl tbody tr + tr > * { border-top: 1px solid var(--line); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Use cases */
.ak-ucs [role=tab][aria-selected=true] { box-shadow: inset 3px 0 0 var(--ak-l); }

/* Integrations */
.ak-int { overflow: hidden; }
.ak-marquee { display: flex; margin-top: 38px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ak-mq { flex: none; display: flex; gap: 10px; padding-right: 10px; animation: ak-mq 48s linear infinite; }
.ak-marquee:hover .ak-mq { animation-play-state: paused; }
.ak-mq span { flex: none; padding: 11px 20px; border-radius: 99px; background: var(--light); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--navy); white-space: nowrap; }
@keyframes ak-mq { to { transform: translateX(-100%); } }

/* Why Cybergen */
.ak-adds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.ak-add { padding: 26px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.ak-add:hover { transform: translateY(-5px); box-shadow: 0 24px 44px rgba(0,21,52,.1); }
.ak-add span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--accent); margin-bottom: 14px; }
.ak-add span svg { width: 22px; height: 22px; }
.ak-add h3 { margin: 0 0 7px; font-size: 17.5px; color: var(--navy); }
.ak-add p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.ak .pt-path { margin-top: 46px; }

@media (max-width: 1080px) {
  .ak-hero .svc-hero-grid { grid-template-columns: 1fr; }
  .ak-sim-grid { grid-template-columns: 1fr; }
  .ak-explore [role=tablist] { grid-template-columns: 1fr 1fr; }
  .ak-adds { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ak-lockup { gap: 10px; }
  .ak-lockup img:first-child { height: 24px; }
  .ak-lockup img:last-child { height: 18px; }
  .ak-explore [role=tablist], .ak-adds, .ak-flow { grid-template-columns: 1fr; }
  .ak-flow li:not(:last-child)::after { display: none; }
  .ak-sim { padding: 16px; }
  .ak-replay { margin-left: 0; }
  .ak-track { grid-template-columns: repeat(5, minmax(84px, 1fr)); overflow-x: auto; padding-bottom: 6px; }
  .ak-track::before, .ak-pulse { display: none; }
  .ak-stage svg { width: 46px; height: 46px; padding: 12px; }
  .ak-stage small { display: none; }
  .ak-rows li { grid-template-columns: 16px 78px 1fr; }
  .ak-rows em { display: none; }
  .ak-fix span:not(.ak-dot) { display: none; }
  .ak-tbl tbody th { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .ak-rows li > i, .ak-rows em::after, .ak-fix, .ak-bar u, .ak-arrow, .ak-pulse, .ak-mq { animation: none !important; }
  .ak-rows em::after { transform: none; }
  .ak-rows li > i { background: var(--accent); border-color: var(--accent); }
  .ak-marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .ak-mq { flex-wrap: wrap; justify-content: center; }
  .ak-mq[aria-hidden] { display: none; }
}
