/* Medikos — deck (design canvas 1600×900, scaled to fit) */
:root {
  --cyan: #00C2FF; --blue: #1E5BFF; --blue-2: #0070F8; --deep: #0038C0; --navy: #001840;
  --ink: #0B1F45; --muted: #4A5B7C; --line: #DCE5F5; --bg: #F5F8FF;
  --grad: linear-gradient(120deg, #00C2FF 0%, #1E5BFF 100%);
  --grad-deep: linear-gradient(135deg, #0A2A78 0%, #001840 72%);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --scale: 1;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); color: var(--ink); background: #000C24; overflow: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.viewport { position: fixed; inset: 0; display: grid; place-items: center; overflow: hidden; }
.stage { position: relative; width: 1600px; height: 900px; flex: none; transform: scale(var(--scale)); transform-origin: center center; }

.slide {
  position: absolute; inset: 0; overflow: hidden; padding: 84px 104px 96px;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
  border-radius: 6px;
}
.slide.active { opacity: 1; visibility: visible; transform: none; }
.slide.past { transform: translateX(-24px); }

.s-light { background: #fff; }
.s-tint { background: var(--bg); }
.s-light::after {
  content: ""; position: absolute; right: -180px; top: -220px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 255, .12), transparent 65%); pointer-events: none;
}
.s-dark { background: var(--grad-deep); color: #C9D6F2; }
.s-dark h2 { color: #fff; }

.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.b1 { width: 820px; height: 820px; right: -260px; top: -340px; background: radial-gradient(circle, rgba(0, 194, 255, .22), transparent 65%); }
.b2 { width: 760px; height: 760px; left: -300px; bottom: -420px; background: radial-gradient(circle, rgba(30, 91, 255, .25), transparent 65%); }
.b3 { width: 700px; height: 700px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(0, 194, 255, .22), transparent 65%); }

.kicker { font-size: 17px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.kicker-light { color: var(--cyan); }
h2 { font-size: 54px; font-weight: 800; }
h3 { font-size: 25px; font-weight: 700; }
.s-head { margin-bottom: 48px; max-width: 1340px; position: relative; z-index: 1; }
.lead { font-size: 25px; line-height: 1.5; color: #C9D6F2; margin-top: 26px; max-width: 640px; }
.body { font-size: 22px; line-height: 1.55; color: var(--muted); margin-top: 22px; }
.note { font-size: 18px; color: var(--muted); margin-top: 26px; }
.note.center { text-align: center; }
.s-dark .note { color: #A9BCE3; }

/* Cover */
.s-cover { background: linear-gradient(180deg, #F5F8FF, #fff); flex-direction: row; align-items: center; gap: 64px; padding-right: 0; }
.s-cover .b1 { background: radial-gradient(circle, rgba(0, 194, 255, .2), transparent 65%); }
.s-cover .b2 { background: radial-gradient(circle, rgba(30, 91, 255, .14), transparent 65%); }
.cover-copy { flex: 1 1 0; position: relative; z-index: 1; }
.cover-logo { width: 360px; height: auto; margin-bottom: 56px; }
.s-cover h1 { font-size: 68px; font-weight: 800; line-height: 1.06; }
.pitch { font-size: 25px; line-height: 1.5; color: var(--muted); margin-top: 30px; max-width: 640px; }
.meta { margin-top: 48px; font-size: 17px; font-weight: 700; color: var(--deep); letter-spacing: .06em; text-transform: uppercase; }
.cover-media { flex: 0 0 640px; height: 100%; margin: -84px 0 -96px; position: relative; }
.cover-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; border-radius: 48px 0 0 48px; }
.cover-media::before { content: ""; position: absolute; left: -14px; top: 120px; bottom: 120px; width: 6px; border-radius: 6px; background: var(--grad); }

/* Cards (problem) */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; position: relative; z-index: 1; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px 36px; }
.card .num { display: block; font-size: 44px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 22px; line-height: 1; }
.card h3 { margin-bottom: 14px; }
.card p { font-size: 19px; line-height: 1.5; color: var(--muted); }
.bottom-line { margin-top: 44px; font-size: 28px; font-weight: 800; color: var(--navy); }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 80px; align-items: center; position: relative; z-index: 1; }
.split-media { grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: 72px; }
.split-media.rev { grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); }
.media { border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 40, 140, .45); }
.media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }

.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 42px; font-size: 22px; line-height: 1.4; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat, var(--grad);
}
.ticks strong { color: var(--navy); }
.ticks-light li { color: #D6E1F7; }
.ticks-light strong { color: #fff; }

.guard { display: flex; gap: 16px; margin-top: 32px; padding: 20px 24px; border-radius: 18px; background: rgba(0, 194, 255, .1); border: 1px solid rgba(0, 194, 255, .4); }
.guard svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guard p { font-size: 18px; line-height: 1.5; color: #D6E1F7; }
.guard strong { color: #fff; }

/* Hub */
.hub { position: relative; width: 600px; height: 600px; justify-self: center; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines circle { fill: none; stroke: rgba(0, 194, 255, .35); stroke-width: 1.5; stroke-dasharray: 4 8; }
.hub-core {
  position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; z-index: 2;
  box-shadow: 0 0 0 14px rgba(255, 255, 255, .08), 0 0 0 30px rgba(255, 255, 255, .04), 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.hub-core img { width: 112px; height: auto; }
.hub-node {
  position: absolute; z-index: 2; transform: translate(-50%, -50%); white-space: nowrap;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 19px; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px);
}
/* six points on r=215 around (300,300) */
.n1 { left: 300px; top: 85px; }
.n2 { left: 486px; top: 192px; }
.n3 { left: 486px; top: 408px; }
.n4 { left: 300px; top: 515px; }
.n5 { left: 114px; top: 408px; }
.n6 { left: 114px; top: 192px; background: var(--grad); border-color: transparent; }

/* Tiles (pillars) */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; position: relative; z-index: 1; }
.tile { display: flex; gap: 22px; align-items: flex-start; padding: 32px 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px -20px rgba(0, 40, 120, .35); }
.tile h3 { margin-bottom: 8px; }
.tile p { font-size: 19px; line-height: 1.45; color: var(--muted); }
.t-ic { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0, 194, 255, .15), rgba(30, 91, 255, .15)); }
.t-ic svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile-accent { background: var(--grad-deep); border-color: transparent; }
.tile-accent h3 { color: #fff; }
.tile-accent p { color: #C9D6F2; }
.tile-accent .t-ic { background: var(--grad); }
.tile-accent .t-ic svg { stroke: #fff; }

/* Integrations */
.int-wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 64px; align-items: center; position: relative; z-index: 1; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 3px; background: var(--grad); border-radius: 3px; }
.flow li { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; align-items: center; padding: 6px 0; }
.f-n { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--blue); color: var(--blue); font-weight: 800; font-size: 22px; position: relative; z-index: 1; }
.flow strong { font-size: 25px; color: var(--navy); }
.flow small { font-size: 18px; color: var(--muted); }
.int-media img { border-radius: 26px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(0, 40, 140, .45); }
.int-media p { margin-top: 24px; font-size: 19px; line-height: 1.5; color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) minmax(0,1.25fr); gap: 22px; position: relative; z-index: 1; }
.plan { border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; background: #fff; }
.plan h3 { font-size: 28px; }
.p-sub { font-size: 17px; color: var(--blue); font-weight: 700; margin: 6px 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { font-size: 19px; padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .45em; width: 13px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.plan-hl { background: var(--grad-deep); border-color: transparent; color: #D6E1F7; box-shadow: 0 30px 60px -30px rgba(0, 40, 140, .6); }
.plan-hl h3 { color: #fff; }
.plan-hl .p-sub { color: var(--cyan); }
.plan-hl li::before { border-color: var(--cyan); }
.model { border-radius: 24px; padding: 32px 30px; background: var(--bg); border: 1px dashed #B5C6EA; }
.model h3 { font-size: 28px; margin-bottom: 18px; }
.model p { font-size: 18px; line-height: 1.5; color: var(--muted); }
.model p + p { margin-top: 14px; }
.model strong { color: var(--navy); }

/* CTA */
.s-cta { align-items: center; text-align: center; }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 1100px; }
.cta-mark { width: 96px; height: auto; margin-bottom: 30px; filter: drop-shadow(0 16px 30px rgba(0, 194, 255, .35)); }
.s-cta h2 { font-size: 62px; max-width: 980px; }
.next { list-style: none; padding: 0; margin: 44px 0 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: n; text-align: left; }
.next li { counter-increment: n; padding: 26px 26px 28px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: 19px; line-height: 1.45; color: #C9D6F2; }
.next li::before { content: "0" counter(n); display: block; font-weight: 800; font-size: 18px; color: var(--cyan); margin-bottom: 10px; }
.next strong { display: block; color: #fff; font-size: 22px; margin-bottom: 4px; }
.cta-btn { display: inline-block; padding: 22px 40px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: 22px; text-decoration: none; box-shadow: 0 20px 40px -16px rgba(0, 194, 255, .7); }
.cta-btn:hover { filter: brightness(1.08); }
.url { margin-top: 22px; font-size: 17px; color: #8FA6D6; }

/* Controls */
.controls {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 10;
  display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px;
  background: rgba(0, 24, 64, .78); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); color: #fff;
  opacity: .9; transition: opacity .3s;
}
.controls:hover { opacity: 1; }
.controls button, .controls .home { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.controls button:hover, .controls .home:hover { background: rgba(255, 255, 255, .12); }
.controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.controls .home img { width: 22px; height: auto; }
.counter { font-size: 14px; font-weight: 700; min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
.dots { display: flex; gap: 6px; padding: 0 6px 0 4px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: width .25s, background .25s; }
.dots button[aria-selected="true"] { width: 22px; border-radius: 6px; background: var(--cyan); }
.dots button:hover { background: rgba(255, 255, 255, .7); }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 10; background: rgba(255, 255, 255, .08); }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s ease; }
@media (max-width: 640px) { .dots { display: none; } }

@media (prefers-reduced-motion: reduce) { .slide, .progress span { transition: none; } }

/* Print / PDF: one slide per landscape page */
@page { size: 1600px 900px; margin: 0; }
@media print {
  html, body { height: auto; overflow: visible; background: #fff; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .controls, .progress, .skip-link { display: none !important; }
  .viewport { position: static; display: block; overflow: visible; }
  .stage { transform: none !important; width: 1600px; height: auto; }
  .slide { position: relative; width: 1600px; height: 900px; opacity: 1; visibility: visible; transform: none; transition: none; border-radius: 0; break-after: page; page-break-after: always; }
  .slide:last-child { break-after: auto; page-break-after: auto; }
  /* background-clip:text renders with artefacts in PDF — use solid brand colours */
  .grad-text, h2 em, .card .num { background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: var(--blue) !important; }
  .s-cover .grad-text { color: var(--blue); }
}

/* emphasis inside headings */
h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
