/* SofiCore website — brand colours taken from the logo */
:root {
    --navy: #0a1a4f;
    --navy-deep: #060f33;
    --blue: #1557e6;
    --blue-bright: #1e8bff;
    --teal: #12c2c4;
    --teal-deep: #0b8f9c;
    --ink: #0f1b3d;
    --text: #44506b;
    --muted: #7a859d;
    --line: #e3e8f2;
    --bg: #ffffff;
    --bg-soft: #f4f7fc;
    --grad: linear-gradient(120deg, var(--blue) 0%, var(--teal) 100%);
    --radius: 16px;
    --shadow: 0 10px 30px rgba(10, 26, 79, .08);
    --shadow-lg: 0 24px 60px rgba(10, 26, 79, .16);
    --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.soft { background: var(--bg-soft); }

.eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px;
}
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.sec-head p { font-size: 1.08rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px;
    font-weight: 600; font-size: .98rem; border: 1.5px solid transparent; cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(21, 87, 230, .35); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn svg { width: 18px; height: 18px; }

.pill {
    display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.pill.live { background: rgba(18, 194, 196, .14); color: var(--teal-deep); }
.pill.soon { background: rgba(21, 87, 230, .1); color: var(--blue); }
.pill.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 1.8s infinite; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
    transition: background .3s, box-shadow .3s;
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.45rem; color: #fff; letter-spacing: -.02em; }
.brand img { height: 42px; width: auto; }
.brand b { color: var(--teal); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { padding: 9px 20px; color: #fff; }
.nav.scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(10, 26, 79, .08); }
.nav.scrolled .brand { color: var(--navy); }
.nav.scrolled .nav-links a:not(.btn) { color: var(--text); }
.nav.scrolled .nav-links a:not(.btn):hover { color: var(--blue); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }
.nav.scrolled .burger span { background: var(--navy); }

/* ── Hero slider ─────────────────────────────────── */
.hero {
    position: relative; padding: 0; min-height: min(100vh, 900px); color: #fff; overflow: hidden;
    background: radial-gradient(1200px 700px at 85% 10%, #173a9c 0%, transparent 60%),
                radial-gradient(900px 600px at 5% 95%, #0b6f86 0%, transparent 55%),
                linear-gradient(160deg, var(--navy-deep), var(--navy));
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
/* Full-bleed moving photo behind each slide */
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); }
.slide.active .slide-bg { animation: kenburns 9s ease-out forwards; }
.slide-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(6,15,51,.9) 0%, rgba(8,20,64,.68) 45%, rgba(10,26,79,.3) 100%),
                linear-gradient(0deg, rgba(6,15,51,.85) 0%, transparent 35%);
}
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.floaty { animation: float 7s ease-in-out infinite; }

/* ── Platform mock (mirrors the real dashboard layout; all sizes in em) ── */
.app { display: flex; background: #f2f4f8; border-radius: 1.1em; overflow: hidden; color: #1e2128; font-size: 13px; line-height: 1.4; text-align: left; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.app-sm { font-size: 11px; }
.app-sm .hm { display: none; }
.app-sm .app-stats.four { grid-template-columns: repeat(3, 1fr); }
.app-side { width: 13.5em; flex: none; background: #16181f; color: #8b95a1; padding: 1.1em .7em; }
.app-brand { display: flex; align-items: center; gap: .6em; color: #fff; font-weight: 700; padding: 0 .4em; }
.app-brand img { height: 1.9em; width: auto; }
.app-side h6 { font-size: .72em; letter-spacing: .12em; text-transform: uppercase; margin: 1.5em .7em .5em; color: #6a80a0; font-weight: 700; }
.app-side span { display: block; padding: .48em .7em; border-radius: .5em; font-size: .92em; }
.app-side span.on { background: rgba(21,87,230,.28); color: #fff; box-shadow: inset 3px 0 0 var(--blue-bright); }
.app-main { flex: 1; min-width: 0; }
.app-top { display: flex; align-items: center; gap: 1em; background: #fff; border-bottom: 1px solid #e9ecef; padding: .8em 1.2em; }
.app-top b { flex: 1; font-size: 1.1em; }
.app-badge { font-size: .8em; font-weight: 600; color: #15803d; background: #dcfce7; border: 1px solid #bbf7d0; padding: .2em .7em; border-radius: .4em; }
.app-badge::before { content: "●"; font-size: .7em; margin-right: .5em; animation: blink 1.6s infinite; }
.app-av { width: 2.1em; height: 2.1em; border-radius: 50%; background: rgba(21,87,230,.14); }
.app-body { padding: 1em 1.2em 1.2em; min-height: 29em; }
.app-tabs { display: flex; gap: .3em; background: #fff; border: 1px solid #e5e7eb; border-radius: .7em; padding: .45em; margin-bottom: 1em; overflow: hidden; white-space: nowrap; }
.app-tabs span { padding: .4em .9em; border-radius: .5em; font-size: .88em; font-weight: 600; color: #6c757d; }
.app [data-go] { cursor: pointer; }
.app-tabs span.on { background: var(--blue); color: #fff; }
.app-view { display: none; }
.app-view.on { display: block; animation: fadeUp .45s ease; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; margin-bottom: 1em; }
.app-stat { background: #fff; border-radius: .6em; border-left: .3em solid #22c55e; padding: .8em .5em; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.app-stat small { display: block; color: #6c757d; font-size: .82em; }
.app-stat strong { font-size: 1.45em; color: #16a34a; font-variant-numeric: tabular-nums; }
.app-stat.r { border-color: #ef4444; } .app-stat.r strong { color: #dc2626; }
.app-stat.b { border-color: var(--blue); } .app-stat.b strong { color: var(--blue); }
.app table { width: 100%; border-collapse: collapse; background: #fff; border-radius: .6em; overflow: hidden; font-size: .9em; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.app th { background: #212529; color: #fff; text-align: left; padding: .55em .8em; font-weight: 600; white-space: nowrap; }
.app td { padding: .55em .8em; border-top: 1px solid #eef0f3; white-space: nowrap; }
.app .num { text-align: right; font-variant-numeric: tabular-nums; }
.bdg { font-size: .84em; font-weight: 700; padding: .15em .6em; border-radius: .4em; }
.bdg.ok { background: #dcfce7; color: #15803d; } .bdg.wn { background: #fef3c7; color: #b45309; } .bdg.er { background: #fee2e2; color: #b91c1c; }
.app-chart { background: #fff; border-radius: .6em; padding: .8em .8em .3em; margin-bottom: 1em; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.app-chart small { font-size: .78em; font-weight: 700; color: #6c757d; text-transform: uppercase; letter-spacing: .08em; }
.app-chart svg { display: block; width: 100%; height: 8.5em; }
.app-chart .ln { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.app-view.on .app-chart .ln { animation: draw 2.4s ease forwards .2s; }
@keyframes blink { 50% { opacity: .25; } }

.app-card { background: #fff; border-radius: .6em; box-shadow: 0 1px 3px rgba(0,0,0,.08); margin-bottom: 1em; overflow: hidden; }
.app-card-h { display: flex; align-items: center; gap: .5em; padding: .6em .9em; border-bottom: 1px solid #eef0f3; font-size: .92em; }
.app-card-h small { color: #6c757d; }
.app-card .app-chart { box-shadow: none; margin: 0; padding: .6em .9em; }
.chip { font-size: .78em; font-weight: 700; color: var(--blue); background: rgba(21,87,230,.1); padding: .1em .6em; border-radius: .4em; }
.app-seg { display: inline-flex; align-items: center; font-size: .82em; white-space: nowrap; }
.app-seg em { font-style: normal; font-weight: 600; color: #6c757d; margin-right: .5em; }
.app-seg span { padding: .25em .7em; border: 1px solid #ced4da; margin-left: -1px; color: #6c757d; font-weight: 600; background: #fff; }
.app-seg span:first-of-type { border-radius: .4em 0 0 .4em; }
.app-seg span:last-of-type { border-radius: 0 .4em .4em 0; }
.app-seg span.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.app-seg.r { margin-left: auto; }
.app-ctl { display: flex; align-items: center; gap: 1.2em; flex-wrap: wrap; background: #fff; border: 1px solid #e5e7eb; border-radius: .7em; padding: .55em .9em; margin-bottom: 1em; font-size: .95em; }
.app-in { color: #6c757d; font-size: .9em; white-space: nowrap; }
.app-in i { font-style: normal; display: inline-block; border: 1px solid #ced4da; border-radius: .35em; padding: .1em .7em; margin-left: .4em; color: #1e2128; }
.app-in u { display: inline-block; width: 2.2em; height: 1.2em; border-radius: 1em; background: var(--blue); vertical-align: middle; margin-left: .4em; position: relative; }
.app-in u::after { content: ""; position: absolute; right: .15em; top: .15em; width: .9em; height: .9em; border-radius: 50%; background: #fff; }
.app-upd { color: #6c757d; font-size: .85em; margin-left: auto; }
.app-btn { margin-left: auto; background: var(--blue); color: #fff; font-weight: 600; font-size: .85em; padding: .35em .9em; border-radius: .4em; white-space: nowrap; }
.app-ntabs { display: flex; gap: .2em; font-size: .88em; white-space: nowrap; overflow: hidden; }
.app-ntabs span { padding: .45em .9em; border: 1px solid transparent; border-bottom: 0; border-radius: .5em .5em 0 0; color: var(--blue); font-weight: 600; }
.app-ntabs span.on { background: #fff; border-color: #dee2e6; color: #1e2128; }
.app-ntabs i { font-style: normal; font-size: .8em; color: #fff; border-radius: .4em; padding: .05em .45em; margin-left: .3em; background: #dc3545; }
.app-ntabs i.wn { background: #ffc107; color: #1e2128; }
.app-ntabs + table { border-top-left-radius: 0; }
.app [data-v="noc"] th { background: #f8f9fa; color: #1e2128; border-bottom: 2px solid #dee2e6; }
.app .ctr { text-align: center; }
.asr { display: inline-block; font-weight: 700; line-height: 1.15; padding: .15em .5em; border-radius: .35em; }
.asr small { display: block; font-weight: 500; font-size: .78em; opacity: .8; }
.asr.er { background: #fee2e2; color: #b91c1c; } .asr.wn { background: #fef3c7; color: #b45309; } .asr.ok { background: #dcfce7; color: #15803d; }
.bdg.in { background: #dbeafe; color: #1d4ed8; } .bdg.gr { background: #e9ecef; color: #495057; }
.app-stats.four { grid-template-columns: repeat(4, 1fr); }
.app-stat.s { border-color: #6c757d; } .app-stat.s strong { color: #6c757d; }
.app-stat.i { border-color: #0dcaf0; } .app-stat.i strong { color: #0aa2c0; }
.app-bars { display: flex; align-items: flex-end; gap: .35em; height: 7em; padding: .7em .9em; }
.app-bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--blue-bright), var(--blue)); border-radius: .2em .2em 0 0; transform: scaleY(0); transform-origin: bottom; }
.app-view.on .app-bars i { animation: barup .7s ease forwards; animation-delay: var(--d); }
@keyframes barup { to { transform: scaleY(1); } }
.app-legend { display: flex; gap: 1.2em; font-size: .8em; color: #6c757d; padding-top: .3em; }
.app-legend span::before { content: ""; display: inline-block; width: .9em; height: .25em; border-radius: 1em; background: var(--c); margin-right: .4em; vertical-align: middle; }
.app-bell { position: relative; color: #6c757d; display: inline-flex; animation: ring 4s ease-in-out infinite; transform-origin: top center; }
.app-bell svg { width: 1.5em; height: 1.5em; }
.app-bell i { position: absolute; top: -.5em; right: -.6em; font-style: normal; font-size: .68em; font-weight: 700; color: #fff; background: #dc3545; border-radius: 1em; padding: .05em .45em; }
@keyframes ring { 0%, 78%, 100% { transform: rotate(0); } 82% { transform: rotate(16deg); } 86% { transform: rotate(-14deg); } 90% { transform: rotate(10deg); } 94% { transform: rotate(-5deg); } }

/* ── Showcase band with crossfading data-centre photos ── */
.showcase { position: relative; overflow: hidden; background: var(--navy-deep); color: rgba(255,255,255,.82); }
.showcase h2 { color: #fff; }
.showcase .eyebrow { color: var(--teal); }
.showcase .wrap { position: relative; z-index: 1; }
.showcase .app { max-width: 1040px; margin: 0 auto; }
.showcase .sample-note { text-align: center; margin-top: 18px; }
.show-bg, .show-bg i { position: absolute; inset: 0; }
.show-bg i { background-size: cover; background-position: center; opacity: 0; animation: bgfade 27s linear infinite; }
.show-bg i:nth-child(2) { animation-delay: 9s; }
.show-bg i:nth-child(3) { animation-delay: 18s; }
.show-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,15,51,.88) 0%, rgba(8,22,70,.55) 50%, rgba(6,15,51,.9) 100%); }
@keyframes bgfade {
    0% { opacity: 0; transform: scale(1); }
    5%, 33% { opacity: 1; }
    40% { opacity: 0; transform: scale(1.12); }
    100% { opacity: 0; transform: scale(1.12); }
}

.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: drift 16s ease-in-out infinite alternate; }
.orb.a { width: 380px; height: 380px; background: var(--blue); top: -80px; right: 8%; }
.orb.b { width: 300px; height: 300px; background: var(--teal); bottom: -60px; left: 4%; animation-delay: -6s; }

.slides { position: relative; display: grid; min-height: min(100vh, 900px); }
.slide {
    grid-area: 1 / 1; min-width: 0; position: relative; overflow: hidden; display: flex; align-items: center; padding: 110px 0 120px;
    opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s;
}
.slide.active { opacity: 1; visibility: visible; }
.slide .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; width: 100%; }
.slide-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.slide.active .slide-copy > * { opacity: 1; transform: none; }
.slide.active .slide-copy > *:nth-child(2) { transition-delay: .12s; }
.slide.active .slide-copy > *:nth-child(3) { transition-delay: .24s; }
.slide.active .slide-copy > *:nth-child(4) { transition-delay: .36s; }
.slide-copy .pill { background: rgba(255, 255, 255, .12); color: #cfe9ff; margin-bottom: 20px; }
.slide-copy h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 700; margin-bottom: 20px; }
.slide-copy p { font-size: 1.14rem; color: rgba(255, 255, 255, .8); max-width: 540px; margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.slide-art { opacity: 0; transform: translateX(60px) scale(.96); transition: opacity .9s ease .15s, transform .9s ease .15s; }
.slide.active .slide-art { opacity: 1; transform: none; }

.slider-ui { position: absolute; left: 0; right: 0; bottom: 38px; z-index: 5; }
.slider-ui .wrap { display: flex; align-items: center; gap: 18px; }
.dots { display: flex; gap: 10px; flex: 1; }
.dot { flex: 1; max-width: 190px; white-space: nowrap; overflow: hidden; background: none; border: 0; padding: 10px 0; cursor: pointer; text-align: left; color: rgba(255,255,255,.55); font: 600 .8rem/1 inherit; font-family: inherit; }
.dot i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); margin-bottom: 10px; overflow: hidden; }
.dot i::after { content: ""; display: block; height: 100%; width: 0; background: var(--grad); }
.dot.active { color: #fff; }
.dot.active i::after { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero.paused .dot.active i::after { animation-play-state: paused; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.arrow:hover { background: rgba(255,255,255,.14); }
.arrow svg { width: 18px; height: 18px; }

/* Slide artwork — illustrated product screens */
.screen {
    background: rgba(255, 255, 255, .97); border-radius: 18px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
    color: var(--ink); overflow: hidden; animation: float 7s ease-in-out infinite;
}
.screen-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #eef2f9; border-bottom: 1px solid var(--line); font-size: .76rem; color: var(--muted); font-weight: 600; }
.screen-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3dae8; }
.screen-bar em { font-style: normal; margin-left: 8px; }
.screen-body { padding: 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.kpi small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.kpi strong { font-size: 1.3rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi strong.up { color: var(--teal-deep); }
.chart { background: var(--bg-soft); border-radius: 12px; padding: 12px 12px 4px; margin-bottom: 14px; }
.chart small { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.chart svg { width: 100%; height: 120px; display: block; }
.chart .ln { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.slide.active .chart .ln { animation: draw 2.6s ease forwards .4s; }
.rows { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; font-size: .82rem; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; }
.row b { flex: 1; font-weight: 600; }
.row .st { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(18,194,196,.18); }
.row .st.warn { background: #f0a020; box-shadow: 0 0 0 4px rgba(240,160,32,.18); }
.row span { color: var(--muted); font-variant-numeric: tabular-nums; }
.tag { font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(21,87,230,.1); color: var(--blue); }
.sample-note { text-align: right; font-size: .68rem; color: rgba(255,255,255,.45); margin-top: 10px; }

.omni { position: relative; height: 440px; }
.phone {
    position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 250px; height: 440px;
    background: #fff; border-radius: 34px; border: 8px solid #0d1634; box-shadow: 0 40px 90px rgba(0,0,0,.45);
    padding: 34px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 70px; height: 7px; border-radius: 7px; background: #0d1634; }
.bubble { max-width: 86%; padding: 9px 13px; border-radius: 15px; font-size: .8rem; line-height: 1.4; color: var(--ink); background: #eef2f9; opacity: 0; transform: translateY(14px) scale(.96); }
.bubble small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.bubble.me { align-self: flex-end; background: var(--grad); color: #fff; }
.slide.active .bubble { animation: pop .5s ease forwards; }
.slide.active .bubble:nth-child(1) { animation-delay: .5s; } .slide.active .bubble:nth-child(2) { animation-delay: 1.2s; }
.slide.active .bubble:nth-child(3) { animation-delay: 1.9s; } .slide.active .bubble:nth-child(4) { animation-delay: 2.6s; }
.slide.active .bubble:nth-child(5) { animation-delay: 3.3s; }
.chip-f {
    position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 16px; font-weight: 700;
    font-size: .85rem; box-shadow: 0 16px 40px rgba(0,0,0,.3); display: flex; align-items: center; gap: 8px; animation: float 6s ease-in-out infinite;
}
.chip-f i { width: 10px; height: 10px; border-radius: 50%; }
.chip-f.c1 { left: 0; top: 40px; } .chip-f.c2 { right: 0; top: 96px; animation-delay: -2s; }
.chip-f.c3 { left: 10px; bottom: 110px; animation-delay: -3.5s; } .chip-f.c4 { right: 8px; bottom: 56px; animation-delay: -1s; }
.chip-f.c5 { left: 34px; top: 210px; animation-delay: -4.5s; }

.voice-card { padding: 26px; }
.wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 130px; margin: 6px 0 20px; background: var(--bg-soft); border-radius: 14px; }
.wave i { width: 6px; border-radius: 6px; background: var(--grad); height: 100px; transform: scaleY(.18); animation: wave 1.3s ease-in-out infinite; }
.call-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.agents { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.agent { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .8rem; }
.agent .av { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .78rem; flex: none; }
.agent b { display: block; color: var(--ink); line-height: 1.2; }
.agent small { color: var(--muted); }
.agent .st { margin-left: auto; }
.queue { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; font-size: .8rem; }
.queue .bar { height: 8px; border-radius: 8px; background: #dfe6f3; margin-top: 8px; overflow: hidden; }
.queue .bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 8px; }
.slide.active .queue .bar i { animation: grow 2.4s ease forwards .6s; }

/* ── Marquee ─────────────────────────────────────── */
.marquee { padding: 22px 0; background: var(--navy-deep); overflow: hidden; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { white-space: nowrap; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.16); padding: 8px 18px; border-radius: 999px; font-size: .86rem; font-weight: 600; }
.marquee span::before { content: "●"; color: var(--teal); margin-right: 9px; font-size: .6rem; vertical-align: middle; }

/* ── Cards / grids ───────────────────────────────── */
.grid { display: grid; gap: 24px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
    transition: transform .3s, box-shadow .3s, border-color .3s; position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 1.22rem; }
.card p:last-child { margin-bottom: 0; }
.ico { width: 54px; height: 54px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.ico svg { width: 26px; height: 26px; }
.card .pill { position: absolute; top: 26px; right: 26px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
.ticks li { position: relative; padding: 5px 0 5px 28px; font-size: .95rem; }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: 10px; width: 17px; height: 17px; border-radius: 50%;
    background: rgba(18,194,196,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8f9c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ── Platform explorer ───────────────────────────── */
.explorer { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.tabs { display: grid; gap: 8px; position: sticky; top: 96px; }
.tab {
    display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid transparent;
    background: none; font: 600 .96rem inherit; font-family: inherit; color: var(--text); cursor: pointer; transition: all .2s;
}
.tab svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.tab:hover { background: #fff; }
.tab.active { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.tab.active svg { color: var(--blue); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); display: none; }
.panel.active { display: block; animation: fadeUp .45s ease; }
.panel h3 { font-size: 1.6rem; }
.panel > p { font-size: 1.04rem; max-width: 720px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-top: 26px; }
.feat div { padding-left: 16px; border-left: 3px solid var(--line); transition: border-color .2s; }
.feat div:hover { border-color: var(--teal); }
.feat h4 { font-size: 1rem; margin-bottom: 4px; }
.feat p { font-size: .92rem; margin: 0; }

.modules { margin-top: 56px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.modules h3 { font-size: 1.4rem; margin-bottom: 26px; }
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 36px; }
.mod-grid h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 12px; }
.mod-grid span { display: inline-block; margin: 0 6px 8px 0; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink); }

/* ── Facts strip ─────────────────────────────────── */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts .wrap > div { padding: 30px 26px; border-left: 1px solid var(--line); }
.facts .wrap > div:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-size: 1.45rem; color: var(--ink); letter-spacing: -.02em; }
.facts span { font-size: .86rem; color: var(--muted); }

/* ── Route map ───────────────────────────────────── */
.route-map { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 28px; overflow: hidden; }
.rm-head { display: flex; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.rm-head em { font-style: normal; color: var(--muted); font-weight: 600; }
.rm-body { display: flex; align-items: center; padding: 40px 48px; }
.rm-node { flex: none; min-width: 150px; text-align: center; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.rm-node b { display: block; color: var(--ink); font-size: .95rem; }
.rm-node small { color: var(--muted); font-size: .76rem; }
.rm-node i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); margin: 0 auto 8px; }
.rm-node.core { border-color: var(--blue); box-shadow: 0 0 0 6px rgba(21,87,230,.08); }
.rm-node.core img { height: 34px; margin: 0 auto 6px; }
.rm-node.pick { border-color: var(--teal); }
.rm-node.dim { opacity: .55; }
.rm-node.dim i { background: var(--muted); }
.rm-stack { display: grid; gap: 12px; }
.rm-line { flex: 1; height: 2px; background: var(--line); position: relative; min-width: 30px; }
.rm-line span { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); animation: travel 2.4s linear infinite; }
.rm-line + .rm-node + .rm-line span { animation-delay: 1.2s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }

/* ── Flow ────────────────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font-weight: 700; font-size: 1.5rem; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h4 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .86rem; margin: 0; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: translateY(-50%) rotate(45deg); z-index: 1; }

/* ── About ───────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.about-art { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.about-art img { border-radius: 14px; }
.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.about-copy .lead { font-size: 1.14rem; color: var(--ink); }
.portfolio { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.portfolio span { padding: 7px 15px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink); }
.objective { margin-top: 26px; padding: 22px 26px; border-radius: 16px; background: linear-gradient(120deg, rgba(21,87,230,.07), rgba(18,194,196,.1)); border-left: 4px solid var(--teal); color: var(--ink); font-size: 1.04rem; }
.objective strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 6px; }

/* ── Coming soon band ────────────────────────────── */
.dark { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: rgba(255,255,255,.8); position: relative; overflow: hidden; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--teal); }
.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.dark .card:hover { background: rgba(255,255,255,.08); border-color: rgba(18,194,196,.5); box-shadow: none; }
.dark .pill.soon { background: rgba(18,194,196,.16); color: #7fe9ea; }
.dark .ticks li::before { background-color: rgba(18,194,196,.25); }
.g2 { grid-template-columns: repeat(2, 1fr); }

/* ── Contact ─────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
    font: inherit; font-size: .95rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,87,230,.12); }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-content: center; }
.c-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.c-list li { display: flex; gap: 14px; align-items: flex-start; }
.c-list .ico { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex: none; }
.c-list .ico svg { width: 20px; height: 20px; }
.c-list b { display: block; color: var(--ink); }

/* ── Footer ──────────────────────────────────────── */
footer { background: var(--navy-deep); color: rgba(255,255,255,.65); padding: 60px 0 28px; font-size: .92rem; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
footer a { color: rgba(255,255,255,.65); display: block; padding: 4px 0; transition: color .2s; }
footer a:hover { color: var(--teal); }
footer .brand { margin-bottom: 14px; }
.tagline { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-top: 14px; }
.copy { padding-top: 24px; text-align: center; font-size: .84rem; }

/* ── Reveal + keyframes ──────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fill { to { width: 100%; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { to { width: var(--w, 70%); } }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.15); } }
@keyframes wave { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(var(--h, .8)); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,194,196,.6); } 100% { box-shadow: 0 0 0 9px rgba(18,194,196,0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1020px) {
    .g4 { grid-template-columns: repeat(2, 1fr); }
    .g3 { grid-template-columns: repeat(2, 1fr); }
    .flow { grid-template-columns: repeat(3, 1fr); }
    .step::after { display: none; }
    .explorer { grid-template-columns: 1fr; }
    .tabs { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; }
    .about, .contact { grid-template-columns: 1fr; gap: 40px; }
    .about-art { max-width: 380px; margin: 0 auto; }
    .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    section { padding: 68px 0; }
    .burger { display: block; }
    .nav-links {
        position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
        padding: 10px 24px 22px; box-shadow: 0 20px 40px rgba(10,26,79,.15); display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a:not(.btn) { color: var(--text) !important; padding: 13px 0; border-bottom: 1px solid var(--line); }
    .nav-links .btn { margin-top: 14px; justify-content: center; }
    .slide { padding: 100px 0 110px; align-items: flex-start; }
    .slide .wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .omni { height: 330px; transform: scale(.75); transform-origin: top center; }
    .chip-f.c3, .chip-f.c5 { display: none; }
    .chip-f.c1 { left: -6px; } .chip-f.c2, .chip-f.c4 { right: -6px; }
    .dot { font-size: 0; }
    .g3, .g2, .feat, .form .two, .mod-grid { grid-template-columns: 1fr; }
    .app-side, .app .hm { display: none; }
    .app, .app-sm { font-size: 11px; }
    .app-body { min-height: 27em; padding: .9em; }
    .app-stats.four { grid-template-columns: repeat(3, 1fr); }
    .slide-bg::after { background: linear-gradient(180deg, rgba(6,15,51,.88) 0%, rgba(8,20,64,.7) 55%, rgba(6,15,51,.9) 100%); }
    .facts .wrap { grid-template-columns: 1fr 1fr; }
    .facts .wrap > div { padding: 20px 0; border-left: 0; }
    .rm-body { flex-direction: column; padding: 28px; gap: 0; }
    .rm-line { flex: none; width: 2px; height: 34px; min-width: 0; }
    .rm-line span { display: none; }
    .panel, .modules { padding: 26px; }
}
@media (max-width: 560px) {
    .g4, .flow, .foot { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: 1fr 1fr; }
    .kpi:last-child { display: none; }
    .agents { grid-template-columns: 1fr; }
}
