/* Website: shared styles (header, footer, buttons, motion). The brand colours are set inline in the layout. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; font-family: inherit; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--green); color: #fff; } .btn.primary:hover { background: var(--green-d); }
.btn.outline { border-color: var(--ink); color: var(--ink); background: transparent; } .btn.outline:hover { background: var(--soft); }
.btn.light { background: #fff; color: var(--ink); } .btn.light:hover { background: var(--chip); }
.btn.ghost-light { border-color: rgba(255,255,255,.55); color: #fff; } .btn.ghost-light:hover { background: rgba(255,255,255,.1); }
.btn.sm { padding: 8px 14px; font-size: 14px; }

/* promo strip */
.promo { background: var(--chip); color: var(--dark); font-size: 14px; text-align: center; padding: 8px 16px; }
.promo b { background: var(--dark); color: #fff; padding: 2px 8px; border-radius: 6px; font-size: 12px; margin-right: 8px; }
.promo a { text-decoration: underline; font-weight: 600; margin-left: 6px; }

/* header */
header.top { position: sticky; top: 10px; z-index: 30; margin: 10px max(12px, env(safe-area-inset-left, 0px)) 0 max(12px, env(safe-area-inset-right, 0px)); background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(227,232,237,.9); border-radius: 18px; box-shadow: 0 12px 32px -20px rgba(15,29,36,.45); }
header.top .wrap { display: flex; align-items: center; gap: 8px; height: 72px; max-width: 1440px; padding-left: 20px; }
.logo img { height: 38px; width: auto; display: block; }
@media (max-width: 560px) { header.top .wrap { height: 64px; } .logo img { height: 32px; } }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 24px; }
.nav > a, .dd > button { background: none; border: 0; font: 500 15px Inter, sans-serif; color: var(--ink); padding: 10px 12px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav > a:hover, .dd > button:hover { background: var(--soft); }
.dd { position: relative; }
.dd > button::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(10,40,35,.28); padding: 8px; display: none; }
.dd:hover .menu, .dd:focus-within .menu { display: block; }
.menu a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.menu a:hover { background: #f5f7f9; }
.menu .mi { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--chip); display: flex; align-items: center; justify-content: center; color: var(--dark); }
.menu b { display: block; font-size: 14.5px; } .menu small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.menu.right { left: auto; right: 0; min-width: 240px; }
.dd:hover .menu.mega, .dd:focus-within .menu.mega { display: grid; grid-template-columns: repeat(3, 1fr); width: min(860px, 92vw); gap: 2px; }
.menu.mega .all { grid-column: 1 / -1; justify-content: center; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--dark); }
.top .end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.top .end .login { font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 999px; transition: background .2s; } .top .end .login:hover { background: rgba(18,35,42,.06); }
.top .end .btn { padding: 12px 24px; font-weight: 700; }
.burger { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
.mobile { display: none; border-top: 1px solid var(--line); padding: 10px 24px 20px; border-radius: 0 0 18px 18px; }
.mobile.open { display: block; }
.mobile a { display: block; padding: 11px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile .btn { display: flex; margin-top: 10px; padding: 12px 22px; border: 1.5px solid transparent; }
.mobile .btn.outline { border-color: var(--ink); }
@media (max-width: 980px) { .nav, .top .end { display: none; } .burger { display: block; } }

/* footer */
footer { background: #08161c; color: rgba(255,255,255,.75); padding: 64px 0 0; font-size: 14.5px; margin-top: 0; overflow: hidden; }
/* The name in giant letters at the very end: they rise one after another as the page reaches its end, and sink going back up. */
.fword { display: flex; justify-content: space-between; margin-top: 28px; padding: 0 max(8px, env(safe-area-inset-left, 0px)); height: calc(var(--fs) * .75); overflow: hidden; font: 800 var(--fs)/.82 "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -.04em; color: #e8edf0; user-select: none; }
.fword span { display: block; transform: translateY(calc((1 - var(--p, 1)) * (100% + var(--i) * 12%))); will-change: transform; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; font: 700 15px "Plus Jakarta Sans", Inter, sans-serif; margin: 0 0 12px; }
footer a { display: block; padding: 4px 0; } footer a:hover { color: #fff; }
footer .brand img { height: 58px; width: auto; display: block; }
footer .social { display: flex; gap: 10px; margin-top: 18px; }
footer .social a, footer .social span { width: 38px; height: 38px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .2s, color .2s; }
footer .social span { cursor: default; }
footer .social a:hover { background: rgba(255,255,255,.18); }
footer .cities { margin-top: 20px; }
footer .cities .lbl { display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; font-size: 13.5px; margin-bottom: 9px; }
footer .cities .lbl svg { color: rgba(255,255,255,.7); }
footer .cities ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 4px; }
footer .cities li { font-size: 13.5px; color: rgba(255,255,255,.88); white-space: nowrap; }
footer .cities li + li::before { content: ""; display: inline-block; width: 1px; height: 12px; background: rgba(255,255,255,.35); margin: 0 8px; vertical-align: -1px; }
footer .legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* ── 3D and live motion (every page) ───────────────────────────── */
/* Comes in when scrolled to (JS adds .in); --d staggers a row of cards. */
.reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
/* A card that leans towards the mouse, with a soft shine where the mouse is. */
.tilt3d { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.tilt3d::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.35), transparent 45%); }
.tilt3d:hover { box-shadow: 0 30px 60px -30px rgba(10,40,35,.45); } .tilt3d:hover::after { opacity: 1; }
.reveal.tilt3d { transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s), box-shadow .25s ease; }
.reveal.tilt3d.in { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity .7s ease var(--d, 0s), transform .25s ease, box-shadow .25s ease; }
/* Slow moving colour behind a section. */
.aurora { position: relative; overflow: hidden; isolation: isolate; }
.aurora::before, .aurora::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; filter: blur(70px); opacity: .45; animation: drift 18s ease-in-out infinite alternate; }
.aurora::before { background: #e0e7ff; top: -180px; left: -120px; }
.aurora::after { background: #bae6fd; bottom: -200px; right: -140px; animation-delay: -9s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(120px, 60px) scale(1.15); } 100% { transform: translate(-60px, 120px) scale(.95); } }
/* Running line of modules. */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .run { display: flex; gap: 14px; width: max-content; animation: run 40s linear infinite; }
.marquee:hover .run { animation-play-state: paused; }
.marquee a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; white-space: nowrap; box-shadow: 0 6px 16px -12px rgba(10,40,35,.4); }
.marquee a:hover { border-color: var(--dark); color: var(--dark); }
.marquee a svg { color: var(--dark); }
@keyframes run { to { transform: translateX(-50%); } }
/* Numbers that count up. */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: center; }
.stat b { display: block; font: 800 38px "Plus Jakarta Sans", sans-serif; color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
/* A live screen made of HTML (rows slide in, a pulsing status). */
.mock { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 30px 40px 80px -30px rgba(0,0,0,.45), 0 0 0 1px rgba(10,40,35,.08); text-align: left; color: var(--ink); }
.mock .mbar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f1; }
.mock .mbar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd8d5; }
.mock .mbar b { margin-left: 10px; font-size: 12.5px; }
.mock .mbar .live { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--green-d); display: inline-flex; align-items: center; gap: 6px; }
.mock .mbar .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(15,157,116,.6); } 50% { box-shadow: 0 0 0 7px rgba(15,157,116,0); } }
.mock .row { display: grid; grid-template-columns: 1.4fr 1fr .9fr; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; opacity: 0; transform: translateX(-14px); animation: rowIn .5s ease forwards; animation-delay: calc(var(--i) * .18s + .3s); }
.mock .row span:last-child { text-align: right; font-weight: 700; }
.mock .row:nth-child(even) { background: #f7f8fa; }
.mock .foot { padding: 12px 16px; border-top: 2px solid var(--line); font-weight: 700; display: flex; justify-content: space-between; background: #f8fbfa; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
/* The software open on one screen (website.partials.app-window). */
.appwin { background: #fff; border-radius: 14px; overflow: hidden; color: #12232a; font-size: 12px; line-height: 1.35; text-align: left;
    box-shadow: 30px 50px 90px -25px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.18); }
.aw-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #eef2f1; }
.aw-bar i { width: 9px; height: 9px; border-radius: 50%; background: #f87171; } .aw-bar i:nth-child(2) { background: #fbbf24; } .aw-bar i:nth-child(3) { background: #34d399; }
.aw-bar span { margin-left: 10px; font-size: 11px; color: #6b7a76; background: #fff; border-radius: 6px; padding: 2px 12px; flex: 1; max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-top { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid #e5ebe9; }
.aw-logo { height: 22px; } .aw-search { margin-left: auto; border: 1px solid #e2e8e6; border-radius: 7px; padding: 3px 34px 3px 10px; color: #9aa7a3; font-size: 11px; }
.aw-plus { width: 22px; height: 22px; border-radius: 6px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.aw-av { width: 22px; height: 22px; border-radius: 50%; background: #111; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; }
.aw-body { display: grid; grid-template-columns: 132px 1fr; min-height: 300px; }
.aw-side { background: #f4f8f6; border-right: 1px solid #e5ebe9; padding: 8px 6px; }
.aw-g { padding: 5px 8px; border-radius: 6px; color: #3d4f4a; font-weight: 500; }
.aw-g.on, .aw-i.on { background: var(--green); color: #fff; font-weight: 600; }
.aw-i { padding: 4px 8px 4px 18px; border-radius: 6px; color: #4b5d58; font-size: 11.5px; }
.aw-main { padding: 12px 14px; background: #fafcfb; min-width: 0; }
.aw-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.aw-head b { font-size: 15px; font-family: "Plus Jakarta Sans", Inter, sans-serif; }
.aw-head span { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.aw-head em { font-style: normal; border: 1px solid #d5dedb; background: #fff; border-radius: 6px; padding: 3px 9px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.aw-head em.pri { background: var(--green); border-color: var(--green); color: #fff; }
.aw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.aw-stats div { background: #fff; border: 1px solid #e5ebe9; border-radius: 9px; padding: 7px 10px; }
.aw-stats small { display: block; color: #6b7a76; font-size: 10.5px; } .aw-stats b { font-size: 13.5px; }
.aw-table { background: #fff; border: 1px solid #e5ebe9; border-radius: 9px; overflow: hidden; }
.aw-tr { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; padding: 7px 10px; border-top: 1px solid #eef2f1; align-items: center;
    opacity: 0; transform: translateY(8px); animation: rowIn .45s ease forwards; animation-delay: calc(var(--i, 0) * .15s + .35s); }
.aw-tr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-th { background: #f4f8f6; border-top: 0; font-weight: 600; color: #4b5d58; opacity: 1; transform: none; animation: none; }
.aw-tr .b { font-style: normal; display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.b-ok { background: #dcfce7; color: #166534; } .b-bad { background: #fee2e2; color: #991b1b; } .b-warn { background: #fef3c7; color: #92400e; } .b-info { background: #e0f2fe; color: #075985; }
@media (max-width: 560px) { .aw-body { grid-template-columns: 1fr; } .aw-side { display: none; } .aw-stats { grid-template-columns: 1fr 1fr; } }
/* Small window inside a card (home page): just the screen. */
.appwin.compact { height: 100%; border-radius: 0; box-shadow: none; font-size: 11px; }
.appwin.compact .aw-body { grid-template-columns: 1fr; min-height: 0; }
.appwin.compact .aw-main { padding: 10px 12px; }
.appwin.compact .aw-head b { font-size: 13px; }
.appwin.compact .aw-tr { padding: 7px 9px; }
/* Rows wait until their card is on screen. */
.reveal:not(.in) .aw-tr, .reveal:not(.in) .mock .row { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .aw-tr { animation: none; opacity: 1; transform: none; } }
/* Page heads of inner pages (features, contact). */
.phead { position: relative; overflow: hidden; color: #fff; background: radial-gradient(800px 420px at 80% 20%, rgba(96,165,250,.22), transparent 60%), linear-gradient(120deg, #0b1a20 0%, #132a33 55%, #1f3a44 100%); }
.phead::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent 5%, #000 70%); }
.crumbs { font-size: 13.5px; color: rgba(255,255,255,.7); position: relative; } .crumbs a { color: #cfe0e6; } .crumbs a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; } .tilt3d { transform: none !important; }
    .aurora::before, .aurora::after, .marquee .run, .mock .row, .mock .mbar .live::before { animation: none; } .mock .row { opacity: 1; transform: none; }
}

/* floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Line icons (App\Support\WebsiteIcons::draw): a <use> of a symbol held once on the page. */
.wi { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
