/* Ematrix website — shared styles */
:root {
  --night: #0B1220; --night-2: #111A2E; --ink: #172033; --ink-2: #3A4459; --muted: #5F6B80; --soft: #8D99AE;
  --line: #E7EAF0; --line-2: #D6DCE6; --smoke: #F7F8FA; --white: #FFFFFF;
  --blue: #246BFD; --blue-600: #1A56D6; --blue-300: #7AA5FF; --blue-50: #EEF3FF;
  --green: #16A66A; --green-600: #0A8F5A; --green-50: #E8F7F0; --orange: #FF8A34; --orange-50: #FFF2E8; --violet: #7C5CDB; --violet-50: #F3EEFF;
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11,18,32,.04), 0 10px 30px rgba(11,18,32,.07);
  --shadow-lg: 0 30px 70px -25px rgba(11,18,32,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid rgba(36,107,253,.45); outline-offset: 3px; border-radius: 6px; }
.i { flex: none; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--blue), #22C58B, var(--orange)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Buttons */
.btn { --bg: var(--white); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 12px; border: 1px solid transparent; font: 600 15px/1 "Plus Jakarta Sans", Arial, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; overflow: hidden; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 11px 16px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 22px -8px rgba(36,107,253,.7); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 12px 28px -8px rgba(36,107,253,.8); }
.btn-light { background: var(--white); color: var(--night); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: #B9C3D3; }
.btn-ghost-dark { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); }

/* Eyebrow + headings */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.on-dark { color: var(--blue-300); }
.grad { background: linear-gradient(95deg, #8DB4FF 0%, #4F8BFF 35%, #34D399 75%, #FFB37A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: gradShift 8s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }
.section { padding: 104px 0; position: relative; }
.section.tight { padding: 80px 0; }
.section.alt { background: var(--smoke); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); margin: 14px 0 14px; }
.section-head p { color: var(--muted); font-size: 17.5px; margin: 0; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); transition: background .3s, box-shadow .3s, height .3s; }
.site-header.solid { background: rgba(255,255,255,.9); backdrop-filter: saturate(170%) blur(14px); -webkit-backdrop-filter: saturate(170%) blur(14px); box-shadow: 0 1px 0 var(--line); --header-h: 66px; height: 66px; }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.logo b { font-size: 19px; letter-spacing: .14em; font-weight: 800; }
.logo-dark { height: 34px; width: auto; display: none; }
.logo-light { display: inline-flex; align-items: center; gap: 10px; }
.site-header.solid .logo-dark { display: block; }
.site-header.solid .logo-light { display: none; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a:not(.btn) { display: block; padding: 9px 14px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.82); transition: color .2s, background .2s; }
.menu a:not(.btn):hover { color: var(--white); background: rgba(255,255,255,.08); }
.menu a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.1); }
.site-header.solid .menu a:not(.btn) { color: var(--ink-2); }
.site-header.solid .menu a:not(.btn):hover { color: var(--ink); background: var(--smoke); }
.site-header.solid .menu a[aria-current="page"] { color: var(--blue); background: var(--blue-50); }
.menu-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.site-header.solid .menu-btn { border-color: var(--line-2); background: var(--white); color: var(--ink); }

/* Dark sections & animated backgrounds */
.dark { background: var(--night); color: #C8D1E0; position: relative; overflow: hidden; isolation: isolate; }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: radial-gradient(circle, rgba(36,107,253,.9), transparent 62%); top: -22vmax; right: -12vmax; }
.aurora i:nth-child(2) { background: radial-gradient(circle, rgba(22,166,106,.55), transparent 62%); bottom: -26vmax; left: -14vmax; animation-duration: 26s; animation-delay: -6s; }
.aurora i:nth-child(3) { background: radial-gradient(circle, rgba(255,138,52,.35), transparent 62%); top: 30%; left: 40%; width: 30vmax; height: 30vmax; animation-duration: 30s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-4vmax, 3vmax) scale(1.08); } 100% { transform: translate(3vmax, -2vmax) scale(.95); } }
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }

/* Home hero */
.hero { padding: calc(var(--header-h) + 72px) 0 110px; min-height: min(920px, 100vh); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; margin: 20px 0 22px; letter-spacing: -0.035em; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19.5px); color: #AAB6C9; max-width: 580px; margin: 0 0 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #D6DEEB; font-size: 13.5px; font-weight: 500; }
.chip .i { color: #34D399; }

/* Orbit graphic */
.orbit { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin-left: auto; }
.orbit .ring { position: absolute; inset: var(--inset); border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); animation: spin var(--dur) linear infinite; }
.orbit .ring.r1 { --inset: 22%; --dur: 40s; }
.orbit .ring.r2 { --inset: 9%; --dur: 60s; animation-direction: reverse; }
.orbit .ring.r3 { --inset: -2%; --dur: 90s; border-style: solid; border-color: rgba(255,255,255,.06); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit .core { position: absolute; inset: 36%; border-radius: 28%; display: grid; place-items: center; background: linear-gradient(145deg, #1D2B48, #0E1628); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 10px rgba(36,107,253,.06), 0 0 80px rgba(36,107,253,.45); animation: pulse 5s ease-in-out infinite; }
.orbit .core svg { width: 46%; height: 46%; }
@keyframes pulse { 50% { box-shadow: 0 0 0 18px rgba(36,107,253,.03), 0 0 110px rgba(36,107,253,.6); } }
/* ring (spins) > arm (fixed angle) > sat (back to upright, centred on the ring) > pill (counter-spins) */
.orbit .arm { position: absolute; inset: 0; transform: rotate(var(--a)); }
.orbit .sat { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))); }
.orbit .pill { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 13px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--white); background: rgba(17,26,46,.9); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 30px rgba(0,0,0,.35); animation: spin var(--dur) linear infinite reverse; }
.orbit .ring.r2 .pill { animation-direction: normal; }
.orbit .pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--white); }
.marquee p { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); background: var(--smoke); }
.marquee-mask { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Cards with mouse spotlight */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; overflow: hidden; }
.card.spot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--x, 50%) var(--y, 0%), rgba(36,107,253,.09), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card.spot:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: var(--blue); background: var(--blue-50); transition: transform .3s var(--ease); }
.card:hover .ic { transform: rotate(-6deg) scale(1.06); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0 0 16px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--blue); text-decoration: none; }
.more .i { transition: transform .25s var(--ease); }
.more:hover .i { transform: translateX(4px); }
.tone-green .ic { color: var(--green-600); background: var(--green-50); }
.tone-orange .ic { color: #D9661A; background: var(--orange-50); }
.tone-violet .ic { color: var(--violet); background: var(--violet-50); }
.tone-ink .ic { color: var(--white); background: var(--ink); }

/* Bento products */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento .card { display: flex; flex-direction: column; padding: 0; }
.bento .b-wide { grid-column: span 4; }
.bento .b-std { grid-column: span 2; }
.bento .b-half { grid-column: span 3; }
.b-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.b-body .more { margin-top: auto; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.t-green { background: var(--green-50); color: var(--green-600); } .t-orange { background: var(--orange-50); color: #C2551A; } .t-blue { background: var(--blue-50); color: var(--blue-600); } .t-violet { background: var(--violet-50); color: var(--violet); }
.b-visual { height: 190px; background: linear-gradient(180deg, var(--smoke), #EEF1F6); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
/* ClinicQ queue */
.vq { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; width: min(420px, 86%); }
.vq-now { background: var(--night); color: var(--white); border-radius: 16px; padding: 16px 20px; text-align: center; box-shadow: var(--shadow-lg); }
.vq-now small { display: block; font-size: 11px; color: #8D99AE; text-transform: uppercase; letter-spacing: .08em; }
.vq-now b { font-size: 34px; letter-spacing: -0.02em; display: block; line-height: 1.1; }
.vq-list { display: grid; gap: 8px; }
.vq-row { display: flex; justify-content: space-between; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 13px; font-weight: 600; animation: rise 6s var(--ease) infinite; }
.vq-row:nth-child(2) { animation-delay: .25s; } .vq-row:nth-child(3) { animation-delay: .5s; }
.vq-row em { font-style: normal; font-size: 11.5px; color: var(--green-600); background: var(--green-50); padding: 2px 8px; border-radius: 999px; }
@keyframes rise { 0%, 8% { opacity: 0; transform: translateY(8px); } 16%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* KashRide route */
.vr svg { width: 100%; height: 190px; }
.vr .route { stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.vr .car { offset-path: path("M30 150 C 90 40, 160 170, 230 80 S 330 40, 370 60"); animation: ride 6s ease-in-out infinite; }
@keyframes ride { 0% { offset-distance: 0%; } 100% { offset-distance: 100%; } }
/* Emvora pipeline */
.vp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 86%; }
.vp-col { background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 7px; align-content: start; min-height: 130px; }
.vp-col small { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.vp-card { height: 22px; border-radius: 7px; background: var(--white); border: 1px solid var(--line); }
.vp-card.move { background: var(--blue-50); border-color: #C9D8FF; animation: hop 5s var(--ease) infinite; }
@keyframes hop { 0%, 20% { transform: translateX(0); } 45%, 70% { transform: translateX(calc(100% + 30px)); } 95%, 100% { transform: translateX(0); } }
/* CampaignTrix bars */
.vb { display: flex; align-items: flex-end; gap: 12px; height: 130px; width: 72%; }
.vb span { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #A78BFA, var(--violet)); transform-origin: bottom; animation: grow 4s var(--ease) infinite alternate; height: var(--h); }
.vb span:nth-child(2n) { background: linear-gradient(180deg, #7AA5FF, var(--blue)); animation-delay: .3s; }
.vb span:nth-child(3n) { animation-delay: .6s; }
@keyframes grow { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
/* WhatsApp chat */
.vc { width: min(360px, 86%); display: grid; gap: 8px; }
.vc .msg { max-width: 82%; padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: var(--white); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); box-shadow: 0 2px 6px rgba(11,18,32,.05); animation: pop 7s var(--ease) infinite; opacity: 0; }
.vc .msg.me { justify-self: end; background: #DCF8C6; border-color: #C9EDB0; border-radius: 12px 12px 4px 12px; }
.vc .msg:nth-child(2) { animation-delay: .9s; } .vc .msg:nth-child(3) { animation-delay: 1.8s; }
@keyframes pop { 0% { opacity: 0; transform: translateY(6px) scale(.98); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Split + checklists */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.start { align-items: start; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--ink-2); font-size: 16px; }
.checks .i { color: var(--green); margin-top: 3px; }
.dark .checks li { color: #C8D1E0; }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; top: 27px; left: 6%; height: 2px; width: calc(88% * var(--tp, 0)); background: linear-gradient(90deg, var(--blue), #22C58B); transition: width 1.4s var(--ease); }
.timeline.in { --tp: 1; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step .n { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line); font-weight: 800; color: var(--blue); font-size: 18px; transition: border-color .4s, background .4s, color .4s; }
.timeline.in .step .n { border-color: var(--blue); background: var(--blue); color: var(--white); }
.timeline.in .step:nth-child(2) .n { transition-delay: .35s; } .timeline.in .step:nth-child(3) .n { transition-delay: .7s; } .timeline.in .step:nth-child(4) .n { transition-delay: 1.05s; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* Stats-free trust band */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.pillars > div { background: var(--night); padding: 34px 30px; }
.pillars .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(36,107,253,.14); color: var(--blue-300); margin-bottom: 18px; }
.pillars h3 { font-size: 19px; margin-bottom: 8px; }
.pillars p { color: #9AA6BA; margin: 0; font-size: 15.5px; }

/* Page hero (inner pages) */
.page-hero { padding: calc(var(--header-h) + 72px) 0 84px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); max-width: 920px; margin: 16px 0 18px; font-weight: 800; letter-spacing: -0.03em; }
.page-hero .lead { font-size: clamp(17px, 1.6vw, 19px); color: #AAB6C9; max-width: 720px; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: #8D99AE; margin-bottom: 22px; }
.crumbs a { color: #AAB6C9; text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* Prose / legal */
.prose { max-width: 780px; }
.prose h2 { font-size: 23px; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue); }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.toc { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.toc b { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue); }
.updated { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: #AAB6C9; margin-top: 18px; }

/* Facts table */
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.facts div { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.facts a { color: var(--blue); text-decoration: none; }

/* Product list */
.plist { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pitem { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.pitem:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.pitem b { font-size: 16.5px; }
.pitem span { color: var(--muted); font-size: 14px; }
.pitem small { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 700; color: var(--blue); overflow-wrap: anywhere; }

/* Values / panel */
.panel { background: var(--night); color: #D6DEEB; border-radius: 22px; padding: 38px; position: relative; overflow: hidden; isolation: isolate; }
.panel h3 { color: var(--white); font-size: 22px; margin-bottom: 14px; }
.panel .big { font-size: clamp(20px, 2.2vw, 25px); line-height: 1.5; color: #E6ECF5; margin: 0; }
.values { display: grid; gap: 14px; }
.value { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--white); transition: border-color .3s, box-shadow .3s; }
.value:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.value .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.value b { display: block; font-size: 16.5px; margin-bottom: 2px; }
.value span { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .3s var(--ease); color: var(--blue); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; background: var(--white); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
a.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.ccard .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.ccard small { display: block; color: var(--muted); font-size: 13px; }
.ccard b { font-size: 16px; overflow-wrap: anywhere; }
.map { margin-top: 14px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--smoke); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { color: #D93F3F; }
.field input, .field select, .field textarea { width: 100%; font: 15.5px/1.5 "Plus Jakarta Sans", Arial, sans-serif; color: var(--ink); background: var(--smoke); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36,107,253,.14); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.alert { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 16px 18px; margin-top: 20px; font-size: 15px; }
.alert.ok { background: var(--green-50); color: #0B6A43; border: 1px solid #BFE8D3; }
.alert.err { background: #FDECEC; color: #A12828; border: 1px solid #F5C6C6; }

/* Code window (training) */
.code-window { background: #0E1628; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .6s var(--ease); }
.code-window:hover { transform: none; }
.cw-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.cw-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A4459; }
.cw-bar i:nth-child(1) { background: #FF5F57; } .cw-bar i:nth-child(2) { background: #FEBC2E; } .cw-bar i:nth-child(3) { background: #28C840; }
.cw-bar span { margin-left: 10px; font-size: 12.5px; color: #8D99AE; font-family: ui-monospace, Consolas, monospace; }
.code-window pre { margin: 0; padding: 22px 24px 26px; font: 14px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace; color: #D6DEEB; white-space: pre-wrap; }
.code-window .c { color: #6B7891; } .code-window .k { color: #7AA5FF; } .code-window .s { color: #34D399; } .code-window .f { color: #FFB37A; }
.caret { display: inline-block; width: 8px; height: 17px; margin-left: 2px; vertical-align: -3px; background: #7AA5FF; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Service illustrations */
@keyframes shimmer { to { background-position: -200% 0; } }
.mock-win { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1200px) rotateY(-7deg) rotateX(3deg); transition: transform .6s var(--ease); }
.mock-win:hover { transform: none; }
.mw-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--smoke); }
.mw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D6DCE6; }
.mw-bar i:nth-child(1) { background: #FF5F57; } .mw-bar i:nth-child(2) { background: #FEBC2E; } .mw-bar i:nth-child(3) { background: #28C840; }
.mw-bar span { margin-left: 12px; flex: 1; max-width: 240px; font-size: 12px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; }
.mw-site { padding: 18px; display: grid; gap: 16px; }
.mws-nav { display: flex; gap: 10px; align-items: center; }
.mws-nav b { width: 70px; height: 14px; border-radius: 6px; background: var(--ink); }
.mws-nav span { width: 38px; height: 8px; border-radius: 4px; background: #E3E8EF; }
.mws-nav span:first-of-type { margin-left: auto; }
.mws-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: center; }
.mws-hero b { display: block; height: 16px; border-radius: 6px; background: var(--ink); margin-bottom: 8px; width: 90%; }
.mws-hero b.s { width: 60%; background: var(--blue); }
.mws-hero span { display: block; height: 8px; border-radius: 4px; background: #E3E8EF; width: 80%; margin: 12px 0 14px; }
.mws-hero em { display: block; width: 84px; height: 26px; border-radius: 8px; background: var(--blue); animation: pulseBtn 2.6s ease-in-out infinite; }
@keyframes pulseBtn { 50% { box-shadow: 0 0 0 8px rgba(36,107,253,.15); } }
.mws-img { height: 120px; border-radius: 12px; background: linear-gradient(135deg, #DCE7FF, #E8F7F0); position: relative; overflow: hidden; }
.mws-img::after { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; background: rgba(36,107,253,.25); top: 20px; left: 30px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(40px, 20px); } }
.mws-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mws-cards i, .mw-rows i { border-radius: 10px; border: 1px solid var(--line); background: linear-gradient(90deg, #EEF1F6 0%, #F7F9FC 40%, #EEF1F6 80%); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
.mws-cards i { height: 64px; }
.mw-dash { display: grid; grid-template-columns: 56px 1fr; min-height: 300px; }
.mw-dash aside { background: var(--night); padding: 14px 12px; display: grid; gap: 12px; align-content: start; }
.mw-dash aside i { height: 10px; border-radius: 4px; background: rgba(255,255,255,.14); }
.mw-dash aside i.on { background: var(--blue-300); }
.mw-dash > div { padding: 16px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.kpis small { display: block; height: 7px; width: 50%; border-radius: 4px; background: #E3E8EF; margin-bottom: 8px; }
.kpis b { display: block; height: 14px; width: 70%; border-radius: 5px; background: var(--ink); }
.kpis div:nth-child(2) b { background: var(--green); }
.kpis div:nth-child(3) b { background: var(--orange); }
.mw-chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.mw-chart span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #7AA5FF, var(--blue)); transform-origin: bottom; animation: grow 3.5s var(--ease) infinite alternate; }
.mw-chart span:nth-child(2n) { animation-delay: .4s; }
.mw-rows { display: grid; gap: 8px; }
.mw-rows i { height: 22px; border-radius: 6px; }
.mock-phone { width: 270px; margin: 0 auto; background: var(--white); border: 10px solid var(--night); border-radius: 40px; padding: 16px 14px 14px; box-shadow: var(--shadow-lg); display: grid; gap: 10px; position: relative; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.mp-notch { width: 90px; height: 18px; border-radius: 0 0 12px 12px; background: var(--night); margin: -16px auto 4px; }
.mp-head b { display: block; font-size: 16px; }
.mp-head span { font-size: 12px; color: var(--muted); }
.mp-card { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 10px; animation: rise 7s var(--ease) infinite; }
.mp-card:nth-child(4) { animation-delay: .3s; } .mp-card:nth-child(5) { animation-delay: .6s; } .mp-card:nth-child(6) { animation-delay: .9s; }
.mp-card i { width: 34px; height: 34px; border-radius: 10px; background: var(--blue-50); flex: none; }
.mp-card.hl { background: var(--night); border-color: var(--night); }
.mp-card.hl i { background: rgba(122,165,255,.3); }
.mp-card.hl b { background: rgba(255,255,255,.8); }
.mp-card.hl span { background: rgba(255,255,255,.25); }
.mp-card div { flex: 1; display: grid; gap: 6px; }
.mp-card b { height: 9px; width: 70%; border-radius: 4px; background: var(--ink); }
.mp-card span { height: 7px; width: 45%; border-radius: 4px; background: #E3E8EF; }
.mp-tab { display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid var(--line); }
.mp-tab i { width: 18px; height: 18px; border-radius: 6px; background: #E3E8EF; }
.mp-tab i:first-child { background: var(--blue); }
.mock-api { position: relative; width: 100%; max-width: 480px; aspect-ratio: 420 / 300; margin: 0 auto; }
.mock-api svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock-api .links path { stroke: #C3CCDA; stroke-dasharray: 4 6; }
.mock-api .flow path { stroke: var(--blue); stroke-width: 3.5; stroke-dasharray: 26 180; animation: flow 2.6s linear infinite; }
.mock-api .flow path:nth-child(2) { animation-delay: .5s; stroke: var(--green); }
.mock-api .flow path:nth-child(3) { animation-delay: 1s; stroke: var(--orange); }
.mock-api .flow path:nth-child(4) { animation-delay: 1.5s; stroke: var(--violet); }
.mock-api .flow path:nth-child(5) { animation-delay: 2s; }
@keyframes flow { from { stroke-dashoffset: 190; } to { stroke-dashoffset: 0; } }
.mock-api .node { position: absolute; transform: translate(-50%, -50%); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap; }
.mock-api .hub { left: 50%; top: 50%; background: var(--night); color: var(--white); border-color: var(--night); padding: 14px 20px; font-size: 15px; box-shadow: 0 0 0 8px rgba(36,107,253,.12), var(--shadow-lg); }
.mock-api .n1 { left: 19%; top: 20%; } .mock-api .n2 { left: 81%; top: 20%; } .mock-api .n3 { left: 17%; top: 80%; } .mock-api .n4 { left: 83%; top: 80%; } .mock-api .n5 { left: 50%; top: 10%; }
.tech { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 56px; }
.tech span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.tech b { font-weight: 600; font-size: 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--smoke); color: var(--ink-2); }
a.svc-link { text-decoration: none; display: block; }
.svc-big { padding: 36px; }
.svc-big h3 { font-size: 24px; }
.svc-big p { font-size: 16.5px; }
@media (max-width: 640px) {
  .mws-hero { grid-template-columns: 1fr; }
  .mock-win, .code-window { transform: none; }
  .mock-api .node { font-size: 11.5px; padding: 7px 10px; }
  .mock-api .hub { font-size: 13px; padding: 10px 14px; }
}

/* CTA */
.cta-section { padding: 0 0 104px; }
.alt + .cta-section, .dark + .cta-section, .page-hero + .cta-section { padding-top: 104px; }
.cta-card { position: relative; overflow: hidden; isolation: isolate; background: var(--night); border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, rgba(122,165,255,.6), rgba(52,211,153,.35), rgba(255,179,122,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.cta-card h2 { color: var(--white); font-size: clamp(26px, 3.2vw, 38px); max-width: 620px; }
.cta-card p { color: #AAB6C9; margin: 12px 0 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--night); color: #9AA6BA; padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 16px 0 18px; max-width: 360px; }
.site-footer h3 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #C3CCDA; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .i { margin-top: 4px; color: var(--blue-300); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 22px 26px; font-size: 13.5px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }

/* Responsive */
@media (max-width: 1100px) {
  .plist { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid, .legal-layout { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .orbit { margin: 10px auto 0; width: min(440px, 100%); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .bento .b-wide, .bento .b-std, .bento .b-half { grid-column: span 3; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .timeline::before, .timeline::after { display: none; }
  .timeline .step .n { border-color: var(--blue); background: var(--blue); color: var(--white); }
  .pillars { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .hide-sm { display: none; }
  .menu { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding: 90px 28px 40px; background: rgba(11,18,32,.97); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .menu.open { opacity: 1; visibility: visible; }
  .menu a:not(.btn), .site-header.solid .menu a:not(.btn) { color: #E6ECF5; font-size: 24px; font-weight: 700; padding: 12px 6px; background: none; }
  .site-header.solid .menu a[aria-current="page"], .menu a[aria-current="page"] { color: var(--blue-300); background: none; }
  .menu-cta { display: block; margin-top: 18px; }
  .menu-cta .btn { width: 100%; padding: 16px; font-size: 16px; }
  .menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open .site-header .logo-dark { display: none; }
  .menu-open .site-header .logo-light { display: inline-flex; }
  .menu-open .site-header .menu-btn { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.25); }
  .menu-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding: calc(var(--header-h) + 40px) 0 72px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .g2, .g3, .g4, .fields, .facts, .plist { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-wide, .bento .b-std, .bento .b-half { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; }
  .cta-card { padding: 34px 24px; border-radius: 22px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-card { padding: 24px; }
  .panel { padding: 28px; }
  .orbit .pill { font-size: 11.5px; padding: 7px 10px; }
  .card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .vc .msg, .vq-row { opacity: 1; }
}

/* Pay online: pending notice and receipt */
.alert.wait { background: #FFF7E6; color: #8A5300; border: 1px solid #F5D9A8; }
.receipt { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.receipt th { text-align: left; color: var(--muted); font-weight: 500; padding: 10px 12px 10px 0; width: 34%; vertical-align: top; border-bottom: 1px solid #E8EDF4; }
.receipt td { padding: 10px 0; border-bottom: 1px solid #E8EDF4; color: var(--ink); overflow-wrap: anywhere; }
@media print { .site-header, .site-footer, #form, .hero, .page-hero { display: none !important; } }
.field.check-row { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; }
.field.check-row input { width: 18px; height: 18px; min-height: 0; flex: none; margin: 3px 0 0; padding: 0; }
.field.check-row label { font-weight: 500; margin: 0; line-height: 1.5; }
@media (max-width: 980px) { .pay-grid > #form { order: -1; } }
