/* ==========================================================================
   Billbuk Group website
   Plain CSS, no framework. Brand orange from the logo, navy from Lync.
   Sections: tokens · base · layout · buttons · nav · hero · eco · cards ·
             features · product pages · contact · footer · mockups · motion
   ========================================================================== */

:root {
    --brand: #ff5a22;            /* logo orange */
    --brand-600: #ea4a12;
    --brand-700: #c63b0b;
    --brand-50: #fff2ec;
    --navy: #0b1530;
    --navy-2: #121f44;
    --navy-3: #1c2d5e;
    --ink: #0f172a;
    --text: #475467;
    --muted: #667085;
    --line: #e6e8ee;
    --soft: #f6f7fb;
    --white: #fff;

    --blue: #2a9bdb;
    --green: #12b76a;
    --wa: #25d366;
    --amber: #f59e0b;
    --violet: #7c3aed;
    --teal: #0ea5a4;

    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
    --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 20px 40px -18px rgba(16, 24, 40, .22);
    --shadow-lg: 0 30px 70px -30px rgba(11, 21, 48, .5);
    --grad: linear-gradient(135deg, #ff7a3d 0%, #ff5a22 45%, #e2361a 100%);
    --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* Navy canvas + no overscroll bounce: pulling past the top/bottom on phones shows the hero/footer colour, not white */
html {
    background: var(--navy);
    overscroll-behavior-y: none;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.12;
}

:focus-visible {
    outline: 3px solid rgba(255, 90, 34, .5);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip {
    position: absolute; left: 16px; top: -60px; z-index: 2000;
    padding: 10px 16px; border-radius: 10px;
    background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .72); position: relative; overflow: hidden; }
.section-dark::before {
    content: ""; position: absolute; inset: auto -20% -60% auto; width: 700px; height: 700px;
    background: radial-gradient(closest-side, rgba(255, 90, 34, .22), transparent); pointer-events: none;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, .7); }

.head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.head .lead { margin-top: 16px; }

.h2 { font-size: clamp(30px, 4.2vw, 46px); }
.h3 { font-size: clamp(24px, 3vw, 32px); }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--text); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; margin-bottom: 18px;
    border: 1px solid rgba(255, 90, 34, .25); border-radius: 999px;
    background: var(--brand-50); color: var(--brand-700);
    font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.eyebrow-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #ffd3c1; }
.eyebrow-blue { background: #eaf5fc; border-color: #bfe2f6; color: #176aa0; }
.eyebrow-green { background: #e8f8ef; border-color: #b7ebcd; color: #0b7a47; }
.eyebrow-orange { }
.eyebrow-amber { background: #fff6e5; border-color: #fbdca0; color: #9a5b00; }
.eyebrow-violet { background: #f3edff; border-color: #d9c8fd; color: #5b21b6; }
.eyebrow-teal { background: #e6f7f7; border-color: #a9e3e2; color: #0b6e6d; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-blue { background: linear-gradient(135deg, #2a9bdb, #4361ee); -webkit-background-clip: text; background-clip: text; }

.tint-blue { color: var(--blue); }
.tint-orange { color: var(--brand); }
.tint-green { color: var(--green); }
.tint-amber { color: var(--amber); }
.tint-violet { color: var(--violet); }
.tint-teal { color: var(--teal); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover { color: var(--brand-600); }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 22px; border: 0; border-radius: 12px;
    font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
    transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-primary, .btn-orange { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 90, 34, .8); }
.btn-primary:hover, .btn-orange:hover { color: #fff; box-shadow: 0 16px 30px -12px rgba(255, 90, 34, .9); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-blue { background: linear-gradient(135deg, #2a9bdb, #4361ee); color: #fff; box-shadow: 0 10px 24px -10px rgba(42, 155, 219, .8); }
.btn-green { background: linear-gradient(135deg, #25d366, #0f9f5a); color: #fff; box-shadow: 0 10px 24px -10px rgba(18, 183, 106, .8); }
.btn-amber { background: linear-gradient(135deg, #fbbf24, #f59e0b 50%, #d97706); color: #fff; box-shadow: 0 10px 24px -10px rgba(245, 158, 11, .8); }
.btn-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 10px 24px -10px rgba(124, 58, 237, .8); }
.btn-teal { background: linear-gradient(135deg, #14b8a6, #0e7490); color: #fff; box-shadow: 0 10px 24px -10px rgba(14, 165, 164, .8); }
.btn-blue:hover, .btn-green:hover, .btn-amber:hover, .btn-violet:hover, .btn-teal:hover { color: #fff; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--nav-h);
    transition: background .25s, box-shadow .25s, border-color .25s;
    border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-word { font-family: Ubuntu, Inter, sans-serif; font-weight: 700; font-size: 21px; letter-spacing: .01em; color: var(--brand); line-height: 1; }
.brand-word em { font-style: normal; }
.brand:hover { color: var(--ink); }

/* Transparent nav over dark heroes until scrolled */
.has-dark-hero .nav:not(.is-scrolled):not(.is-open) .brand-word { color: #fff; }
.has-dark-hero .nav:not(.is-scrolled):not(.is-open) .nav-links > li > a,
.has-dark-hero .nav:not(.is-scrolled):not(.is-open) .nav-menu-btn,
.has-dark-hero .nav:not(.is-scrolled):not(.is-open) .nav-toggle { color: #fff; }

.nav.is-scrolled, body:not(.has-dark-hero) .nav {
    background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 24, 40, .4);
}

.nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent;
    color: var(--ink); font-size: 26px;
}

.nav-panel {
    position: fixed; inset: var(--nav-h) 0 auto; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    padding: 12px 16px 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(16, 24, 40, .35);
    display: none;
}
.nav.is-open { background: #fff; border-bottom-color: var(--line); }
.nav.is-open .nav-panel { display: block; }

.nav-links > li > a, .nav-menu-btn {
    display: flex; align-items: center; gap: 4px; width: 100%;
    padding: 12px 8px; border: 0; background: none; text-align: left;
    color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 10px; white-space: nowrap;
}
.nav-links > li > a:hover, .nav-menu-btn:hover { color: var(--brand-600); }
.nav-links > li > a[aria-current="page"] { color: var(--brand-600); }
.nav-menu-btn i { transition: transform .2s; }
.has-menu.is-open .nav-menu-btn i { transform: rotate(180deg); }

.mega { display: none; padding: 4px 0 8px; }
.has-menu.is-open .mega { display: block; }
.mega-grid { display: grid; gap: 4px; }
.mega-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; color: var(--ink); }
.mega-item:hover { background: var(--soft); color: var(--ink); }
.mega-item > i {
    flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
    background: var(--soft); font-size: 20px;
}
.mega-item b { display: block; font-size: 14px; line-height: 1.3; }
.mega-item small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.mega-all { display: inline-flex; gap: 6px; align-items: center; margin: 8px 10px 0; font-weight: 600; font-size: 14px; }
.nav-actions { padding-top: 12px; }
.nav-actions .btn { width: 100%; }

@media (min-width: 1024px) {
    .nav-toggle, .nav-only-mobile { display: none; }
    .nav-panel {
        position: static; display: flex !important; align-items: center; gap: 28px;
        max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none;
    }
    .nav-links { display: flex; align-items: center; gap: 4px; }
    .nav-links > li > a, .nav-menu-btn { width: auto; padding: 8px 14px; }
    .has-menu { position: relative; }
    .mega {
        display: block; position: absolute; top: calc(100% + 12px); left: 50%; width: 640px;
        padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s, visibility .18s;
    }
    .mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
    .has-menu:hover .mega, .has-menu.is-open .mega, .has-menu:focus-within .mega {
        opacity: 1; visibility: visible; transform: translate(-50%, 0);
    }
    .mega-grid { grid-template-columns: 1fr 1fr; }
    .mega-all { margin-top: 10px; }
    .nav-actions { padding: 0; }
    .nav-actions .btn { width: auto; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 clamp(64px, 8vw, 104px);
    background: var(--navy); color: rgba(255, 255, 255, .74);
}
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(600px 420px at 85% 20%, rgba(255, 90, 34, .32), transparent 70%),
        radial-gradient(520px 380px at 10% 90%, rgba(67, 97, 238, .28), transparent 70%),
        radial-gradient(400px 300px at 50% 0%, rgba(42, 155, 219, .16), transparent 70%),
        linear-gradient(180deg, #0b1530 0%, #0d1a3b 100%);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero h1 { color: #fff; font-size: clamp(36px, 4.9vw, 62px); letter-spacing: -.035em; }
.hero .lead { color: rgba(255, 255, 255, .74); margin-top: 20px; max-width: 620px; }
.hero .hl { position: relative; color: #fff; white-space: nowrap; }
.hero .hl::after {
    content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .2em; z-index: -1;
    background: var(--grad); border-radius: 6px; opacity: .9;
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.hero-tags li {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .82);
}
.hero-tags i { color: #ff9a6e; }

.hero-sm { padding-bottom: clamp(48px, 6vw, 80px); }
.hero-sm h1 { font-size: clamp(34px, 5vw, 54px); }
.hero-sm .lead { max-width: 720px; }
.hero-center { text-align: center; }
.hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-center .hero-ctas { justify-content: center; }
.big-code { font-size: clamp(80px, 14vw, 140px); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.05em; }

.hero-product h1 { font-size: clamp(32px, 4.6vw, 52px); }
.hero-tagline { margin-top: 14px; font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: #ffb899; }
.hero-product .lead { margin-top: 12px; }
.hero-url { margin-top: 20px; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.hero-url a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-visual { min-width: 0; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 20px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .82); }
.crumbs a:hover { color: #fff; }

.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.cat-nav a {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-weight: 600; font-size: 14px;
}
.cat-nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.cat-nav i { color: #ff9a6e; font-size: 18px; }

/* ---------- Ecosystem orbit (home hero) ---------- */
.eco {
    --r: min(40vw, 205px);
    position: relative; width: calc(var(--r) * 2 + 120px); max-width: 100%; aspect-ratio: 1; margin: 0 auto;
}
.eco-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); border: 1px dashed rgba(255, 255, 255, .16); }
.eco-ring.r1 { width: calc(var(--r) * 2); height: calc(var(--r) * 2); animation: spin 60s linear infinite; }
.eco-ring.r2 { width: calc(var(--r) * 1.3); height: calc(var(--r) * 1.3); border-style: solid; border-color: rgba(255, 255, 255, .07); }
.eco-ring.r3 { width: calc(var(--r) * 2.45); height: calc(var(--r) * 2.45); border-color: rgba(255, 255, 255, .05); border-style: solid; }
.eco-core {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 128px; height: 128px; border-radius: 34px; display: grid; place-items: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px);
    box-shadow: 0 0 0 10px rgba(255, 90, 34, .08), 0 0 80px 10px rgba(255, 90, 34, .35);
}
.eco-core img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 10px 30px -8px rgba(255, 90, 34, .8); }
.eco-node {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
    display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; text-align: center;
}
.eco-node span {
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; font-size: 26px; color: #fff;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .3);
}
@media (min-width: 992px) and (max-width: 1199px) { .eco { --r: 165px; } }
.eco-node b { white-space: nowrap; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(11, 21, 48, .7); padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); }
.node-blue span { background: linear-gradient(145deg, #4cb4ee, #2a6fdb); }
.node-orange span { background: linear-gradient(145deg, #ff8a55, #e2361a); }
.node-green span { background: linear-gradient(145deg, #3ee07f, #0f9f5a); }
.node-amber span { background: linear-gradient(145deg, #fcd34d, #e58a00); }
.node-violet span { background: linear-gradient(145deg, #a78bfa, #6d28d9); }
.node-teal span { background: linear-gradient(145deg, #2dd4bf, #0e7490); }
.eco-chip {
    position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px;
    background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-lg); white-space: nowrap;
}
.eco-chip.c1 { right: -4%; top: 47%; } .eco-chip.c1 i { color: var(--wa); }
.eco-chip.c2 { right: 2%; top: 4%; } .eco-chip.c2 i { color: var(--green); }
.eco-chip.c3 { left: -4%; top: 47%; } .eco-chip.c3 i { color: var(--violet); }
@media (max-width: 520px) {
    .eco { --r: 34vw; width: 100%; }
    .eco-core { width: 96px; height: 96px; border-radius: 26px; }
    .eco-core img { width: 62px; height: 62px; border-radius: 16px; }
    .eco-node { width: 84px; }
    .eco-node span { width: 46px; height: 46px; border-radius: 14px; font-size: 21px; }
    .eco-node b { font-size: 11px; }
    .eco-chip { display: none; }
}

/* ---------- Category pillars ---------- */
.pillars {
    position: relative; z-index: 2; margin-top: -40px;
    display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { display: flex; gap: 14px; padding: 22px; background: #fff; color: var(--text); transition: background .2s; }
.pillar:hover { background: #fffaf7; color: var(--text); }
.pillar i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); font-size: 22px; }
.pillar b { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.pillar small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* ---------- Filters + product cards ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.chip {
    padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
    color: var(--ink); font-size: 14px; font-weight: 600; transition: all .18s;
}
.chip:hover { border-color: #ffc2a9; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.pgrid { display: grid; gap: 20px; }
@media (min-width: 700px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }

.pcard {
    --c: var(--brand); --c-soft: var(--brand-50);
    position: relative; display: flex; flex-direction: column; gap: 10px;
    padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s, border-color .22s;
}
.pcard::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--radius) var(--radius) 0 0;
    background: var(--c); opacity: 0; transition: opacity .22s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pcard:hover::before { opacity: 1; }
.pcard.is-hidden { display: none; }
.pcard-blue { --c: var(--blue); --c-soft: #eaf5fc; }
.pcard-green { --c: var(--green); --c-soft: #e8f8ef; }
.pcard-amber { --c: var(--amber); --c-soft: #fff6e5; }
.pcard-violet { --c: var(--violet); --c-soft: #f3edff; }
.pcard-teal { --c: var(--teal); --c-soft: #e6f7f7; }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pcard-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c-soft); color: var(--c); font-size: 26px; }
.pcard-cat { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; text-align: right; }
.pcard h3 { font-size: 20px; letter-spacing: -.02em; }
.pcard-link { color: var(--ink); }
.pcard-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.pcard-link:hover { color: var(--ink); }
.pcard-tag { color: var(--c); font-weight: 600; font-size: 14px; }
.pcard p { font-size: 15px; }
.pcard-points { display: grid; gap: 6px; margin: 4px 0 6px; }
.pcard-points li { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink); font-weight: 500; }
.pcard-points i { color: var(--c); }
.pcard-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pcard-foot .link-arrow { font-size: 14px; color: var(--c); }
.pcard:hover .link-arrow i { transform: translateX(3px); }
.pcard-url { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }

/* ---------- Feature rows ---------- */
.feature { display: grid; gap: 40px; align-items: center; }
.feature + .feature { margin-top: clamp(64px, 9vw, 112px); }
@media (min-width: 992px) {
    .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
    .feature.is-reverse .feature-copy { order: 2; }
}
.feature-copy .lead { margin-top: 16px; }
.feature-copy .h3 { margin-bottom: 4px; }
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.product-url { margin-top: 18px; font-size: 14px; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.product-url a { font-weight: 600; }

.checks { display: grid; gap: 14px; margin-top: 24px; }
.checks li { display: flex; gap: 14px; }
.checks li > i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-50); color: var(--brand); font-size: 18px; }
.checks b { display: block; color: var(--ink); font-size: 15px; }
.checks div { font-size: 14.5px; line-height: 1.55; }

.tool-grid { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 560px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
.tool { display: flex; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.tool > i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #eaf5fc; color: var(--blue); font-size: 19px; }
.tool b { display: block; color: var(--ink); font-size: 14.5px; }
.tool span { display: block; font-size: 13px; line-height: 1.5; margin-top: 2px; }

.feature-visual {
    position: relative; min-width: 0; border-radius: 28px; padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 48px);
    overflow: hidden; isolation: isolate;
}
.feature-visual::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: radial-gradient(rgba(15, 23, 42, .12) 1px, transparent 1px); background-size: 18px 18px;
}
.bg-blue { background: linear-gradient(145deg, #e6f4fd, #dfe7ff); }
.bg-orange { background: linear-gradient(145deg, #fff0e8, #ffe1d3); }
.bg-green { background: linear-gradient(145deg, #e3f8ec, #d3f3e2); }
.bg-amber { background: linear-gradient(145deg, #fff5e0, #ffe7c2); }
.bg-violet { background: linear-gradient(145deg, #f1eaff, #e4dcff); }
.bg-teal { background: linear-gradient(145deg, #e0f6f5, #d4eef7); }

/* ---------- Why / process ---------- */
.why-grid { display: grid; gap: 16px; position: relative; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.why i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 90, 34, .16); color: #ff9a6e; font-size: 22px; margin-bottom: 16px; }
.why h3 { font-size: 18px; margin-bottom: 8px; }
.why p { font-size: 14.5px; }
.why-light .why { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.why-light .why i { background: var(--brand-50); color: var(--brand); }
.why-light .why h3 { color: var(--ink); }

.process { position: relative; display: grid; gap: 12px; margin-top: 40px; counter-reset: s; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .16); }
.process span { display: block; font-size: 13px; font-weight: 700; color: #ff9a6e; letter-spacing: .08em; }
.process b { display: block; color: #fff; margin-top: 4px; }
.process small { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- Products page ---------- */
.cat-head { display: flex; gap: 18px; align-items: center; margin-bottom: 56px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.cat-head p { margin-top: 6px; }
.cat-ico { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--grad); color: #fff; font-size: 28px; box-shadow: 0 14px 30px -14px rgba(255, 90, 34, .9); }

/* ---------- Product detail ---------- */
.overview { display: grid; gap: 24px; margin-bottom: 56px; }
@media (min-width: 992px) { .overview { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.overview-text { display: grid; gap: 16px; font-size: 17px; }
.sub-head { margin-bottom: 24px; }
.cap-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }
.cap { --c: var(--brand); --c-soft: var(--brand-50); padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .2s, transform .2s; }
.cap:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cap-blue { --c: var(--blue); --c-soft: #eaf5fc; }
.cap-green { --c: var(--green); --c-soft: #e8f8ef; }
.cap-amber { --c: var(--amber); --c-soft: #fff6e5; }
.cap-violet { --c: var(--violet); --c-soft: #f3edff; }
.cap-teal { --c: var(--teal); --c-soft: #e6f7f7; }
.cap i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--c-soft); color: var(--c); font-size: 22px; margin-bottom: 14px; }
.cap h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -.01em; }
.cap p { font-size: 14.5px; }
.note { display: flex; gap: 8px; align-items: flex-start; margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: var(--soft); font-size: 14px; color: var(--muted); }
.note i { color: var(--brand); margin-top: 2px; }

.two-col { display: grid; gap: 48px; }
@media (min-width: 992px) { .two-col { grid-template-columns: 1fr 1fr; gap: 72px; } }
.benefits { display: grid; gap: 14px; margin-top: 24px; }
.benefits li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.benefits i { font-size: 22px; }
.uses { display: grid; gap: 12px; }
@media (min-width: 560px) { .uses { grid-template-columns: 1fr 1fr; } }
.use { padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.use i { font-size: 24px; }
.use b { display: block; margin-top: 8px; color: var(--ink); }
.use p { font-size: 14px; margin-top: 4px; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 20px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 20px; color: var(--brand); transition: transform .2s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq p { padding-bottom: 18px; }

/* ---------- About / legal ---------- */
.prose { display: grid; gap: 16px; font-size: 17px; }
.prose a { font-weight: 600; }
.legal { max-width: 820px; margin: 0 auto; font-size: 16px; }
.legal h2 { font-size: 24px; margin-top: 24px; }
.legal h3 { font-size: 18px; margin-top: 8px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }

.cta {
    position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 6vw, 72px) 24px;
    border-radius: 28px; background: var(--navy); color: rgba(255, 255, 255, .74);
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 80% 0%, rgba(255, 90, 34, .35), transparent 70%), radial-gradient(400px 300px at 0% 100%, rgba(67, 97, 238, .3), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255, 255, 255, .74); margin: 14px auto 0; max-width: 620px; }
.cta .hero-ctas { justify-content: center; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--soft), #fff); }
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: .95fr 1.05fr; gap: 64px; } }
.contact .eyebrow-light { background: var(--brand-50); border-color: rgba(255, 90, 34, .25); color: var(--brand-700); }
.contact-copy .lead { margin-top: 16px; }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-list li { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.contact-list i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); font-size: 20px; }
.contact-list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.contact-list a { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-list div { color: var(--ink); font-size: 15px; }

.enquiry { padding: clamp(22px, 4vw, 36px); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.enquiry h3 { font-size: 22px; margin-bottom: 20px; }
.enquiry-grid { display: grid; gap: 16px; }
@media (min-width: 560px) { .enquiry-grid { grid-template-columns: 1fr 1fr; } .enquiry-grid .wide { grid-column: 1 / -1; } }
.enquiry label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.enquiry .opt { color: var(--muted); font-weight: 500; }
.enquiry input, .enquiry select, .enquiry textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #d0d5dd; border-radius: 12px; background: #fff;
    font: inherit; font-size: 15px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.enquiry textarea { resize: vertical; min-height: 120px; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 90, 34, .15); }
.enquiry-error { margin-top: 12px; color: #b42318; font-size: 14px; font-weight: 600; }
.enquiry-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.enquiry-foot p { display: flex; gap: 6px; font-size: 13px; color: var(--muted); max-width: 360px; }
.enquiry-foot p i { color: var(--brand); margin-top: 2px; }

.contact-quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-quick a {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 600;
}
.contact-quick a:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.quick-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .quick-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } }
.quick { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: box-shadow .2s, transform .2s; }
.quick:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.quick > i:first-child { font-size: 26px; }
.quick b { display: block; }
.quick small { display: block; color: var(--muted); font-size: 13px; }
.quick .arrow { margin-left: auto; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .64); padding: 72px 0 28px; font-size: 14.5px; }
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: #fff; }
.footer .brand-word { color: #fff; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.3fr 1.1fr .9fr 1.1fr; } }
.footer-brand p { margin: 18px 0 20px; max-width: 360px; }
.footer-h { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer ul { display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: #ff9a6e; margin-top: 3px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: 18px; transition: background .2s; }
.social a:hover { background: var(--brand); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer-tm { color: rgba(255, 255, 255, .45); }

.to-top {
    position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 46px; height: 46px; border: 0; border-radius: 14px;
    background: var(--grad); color: #fff; font-size: 22px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ==========================================================================
   Product illustrations (mockups)
   ========================================================================== */
.viz { --c: var(--brand); position: relative; max-width: 520px; margin: 0 auto; padding: 10px 0 30px; font-size: 13px; color: var(--ink); line-height: 1.4; }
.viz-blue { --c: var(--blue); }
.viz-green { --c: var(--green); }
.viz-amber { --c: var(--amber); }
.viz-violet { --c: var(--violet); }
.viz-teal { --c: var(--teal); }
.viz b { font-weight: 700; }

.mk-window { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(15, 23, 42, .06); }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f6f7fb; border-bottom: 1px solid var(--line); }
.mk-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mk-bar span:nth-child(2) { background: #febc2e; }
.mk-bar span:nth-child(3) { background: #28c840; }
.mk-bar em { margin-left: 10px; padding: 3px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-style: normal; font-size: 11.5px; color: var(--muted); }
.mk-body { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }

.mk-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 4px; }
.mk-tool { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: var(--soft); font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; }
.mk-tool i { font-size: 18px; color: var(--c); }
.mk-tool.on { background: var(--c); color: #fff; }
.mk-tool.on i { color: #fff; }
.mk-row { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.mk-row div { min-width: 0; flex: 1; }
.mk-row b { display: block; font-size: 13px; }
.mk-row span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #eaf5fc; color: var(--blue); font-size: 16px; }
.mk-ico-alt { background: #eef0ff; color: #4361ee; }
.mk-ico-alt2 { background: #fff3e0; color: #ea8a00; }
.mk-pill { flex: none; padding: 3px 9px; border-radius: 999px; background: #e8f8ef; color: #0b7a47; font-size: 11px; font-weight: 700; font-style: normal; }
.mk-pill.amber { background: #fff3d6; color: #9a5b00; }
.mk-spark { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding-top: 6px; }
.mk-spark i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--c), rgba(42, 155, 219, .25)); transform-origin: bottom; animation: grow 1.2s ease-out both; }

.mk-float-card { position: absolute; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(15, 23, 42, .05); }
.mk-qr { right: -10px; bottom: -6px; width: 128px; text-align: center; }
.mk-qr svg { width: 92px; height: 92px; margin: 0 auto 6px; }
.mk-toast { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; box-shadow: var(--shadow-lg); white-space: nowrap; }
.mk-toast i { color: #4ade80; font-size: 15px; }
.mk-toast-green { background: #0f9f5a; }
.mk-toast-green i { color: #fff; }
.viz-blue .mk-toast { left: -8px; top: -4px; }

/* Phone */
.mk-phone { width: 270px; max-width: 78%; margin: 0 auto; border-radius: 34px; padding: 10px; background: #0b1530; box-shadow: var(--shadow-lg); }
.mk-phone > * { background: #fff; }
.mk-phone-top { display: flex; align-items: center; gap: 8px; padding: 18px 14px 12px; border-radius: 26px 26px 0 0; border-bottom: 1px solid var(--line); }
.mk-phone-top small { margin-left: auto; color: var(--muted); font-size: 11px; }
.mk-sms { padding: 14px 12px 22px; border-radius: 0 0 26px 26px; display: grid; gap: 4px; background: #f6f7fb; }
.mk-sms p { padding: 10px 12px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: var(--shadow-sm); font-size: 12px; }
.mk-sms small { font-size: 10.5px; color: var(--muted); margin: 0 0 10px 4px; }
.mk-check { right: -14px; top: 40px; display: grid; gap: 7px; width: 186px; }
.viz-orange .mk-phone, .viz-amber .mk-phone { margin-left: 4%; }
.mk-check span { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.mk-check i { color: var(--green); font-size: 15px; }
.mk-check .pending i { color: var(--brand); }
.viz-orange .mk-toast { left: -6px; bottom: 40px; }
.viz-orange .mk-toast i { color: #ffb38f; }

/* WhatsApp inbox */
.mk-inbox-body { display: grid; grid-template-columns: 40% 60%; min-height: 250px; }
.mk-chats { border-right: 1px solid var(--line); padding: 8px; display: grid; gap: 4px; align-content: start; }
.mk-chat { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; }
.mk-chat.on { background: #e8f8ef; }
.mk-chat div { min-width: 0; }
.mk-chat b { display: block; font-size: 12px; }
.mk-chat span { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; font-style: normal; }
.av.a1 { background: #12b76a; } .av.a2 { background: #4361ee; } .av.a3 { background: #ea8a00; } .av.a4 { background: #7c3aed; }
.mk-convo { padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #efeae2; background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px); background-size: 12px 12px; }
.mk-agent { align-self: center; display: inline-flex; gap: 4px; align-items: center; padding: 3px 10px; border-radius: 999px; background: #fff; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.mk-convo p { max-width: 88%; padding: 8px 10px; border-radius: 10px; font-size: 12px; box-shadow: var(--shadow-sm); }
.mk-convo .in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.mk-convo .out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.mk-convo .out small { color: #34b7f1; font-weight: 700; margin-left: 4px; }
.mk-typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 12px; background: #fff; border-radius: 10px; }
.mk-typing span { width: 6px; height: 6px; border-radius: 50%; background: #9aa3b2; animation: blink 1.2s infinite; }
.mk-typing span:nth-child(2) { animation-delay: .2s; } .mk-typing span:nth-child(3) { animation-delay: .4s; }
.mk-team { left: -10px; bottom: -4px; }
.mk-avs { display: flex; margin-top: 8px; }
.mk-avs .av { width: 32px; height: 32px; border: 2px solid #fff; margin-left: -8px; }
.mk-avs .av:first-child { margin-left: 0; }
.viz-green .mk-toast { right: -6px; top: -6px; }

/* Restaurant */
.mk-phone > .mk-screen { border-radius: 26px; overflow: hidden; padding-bottom: 12px; }
.mk-menu-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 14px 10px; border-radius: 26px 26px 0 0; }
.mk-menu-head small { display: inline-flex; gap: 3px; align-items: center; padding: 3px 8px; border-radius: 999px; background: #fff3d6; color: #9a5b00; font-weight: 700; font-size: 11px; }
.mk-cats { display: flex; gap: 6px; padding: 0 14px 10px; }
.mk-cats span { padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: 11px; font-weight: 600; color: var(--muted); }
.mk-cats .on { background: var(--amber); color: #fff; }
.mk-dish { display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.mk-dish div { flex: 1; min-width: 0; }
.mk-dish b { display: block; font-size: 12.5px; }
.mk-dish small { color: var(--muted); font-size: 11px; }
.mk-dish em { font-style: normal; padding: 4px 10px; border-radius: 8px; border: 1px solid #fbd38d; color: #b45309; font-size: 11px; font-weight: 700; }
.mk-dish em.added { background: var(--amber); border-color: var(--amber); color: #fff; min-width: 26px; text-align: center; }
.dish { flex: none; width: 40px; height: 40px; border-radius: 12px; }
.dish.d1 { background: radial-gradient(circle at 35% 35%, #ffb36b, #d9480f); }
.dish.d2 { background: radial-gradient(circle at 35% 35%, #ffe08a, #e6a100); }
.dish.d3 { background: radial-gradient(circle at 35% 35%, #d6b38a, #7a4a1f); }
.mk-cart { display: flex; justify-content: space-between; align-items: center; margin: 8px 10px 0; padding: 12px 14px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 12px; }
.mk-ticket { right: -8px; top: 30px; width: 190px; display: grid; gap: 5px; }
.mk-ticket-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.mk-ticket span { font-size: 12px; }
.mk-ticket small { color: var(--muted); }
.mk-progress { height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; margin-top: 4px; }
.mk-progress i { display: block; width: 62%; height: 100%; background: var(--amber); border-radius: 99px; }
.viz-amber .mk-toast { left: -8px; top: 46%; }
.viz-amber .mk-toast i { color: #fbbf24; }

/* HRMS */
.mk-scan { width: 260px; max-width: 72%; margin: 0 auto; padding: 22px; border-radius: 26px; background: #0b1530; box-shadow: var(--shadow-lg); text-align: center; }
.mk-face { position: relative; aspect-ratio: 1; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #2a3a6e, #121f44); display: grid; place-items: center; overflow: hidden; }
.mk-face > i { font-size: 120px; color: #a78bfa; opacity: .9; }
.mk-face .c { position: absolute; width: 34px; height: 34px; border: 3px solid #a78bfa; }
.mk-face .tl { left: 14px; top: 14px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.mk-face .tr { right: 14px; top: 14px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.mk-face .bl { left: 14px; bottom: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.mk-face .br { right: 14px; bottom: 14px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.mk-scanline { position: absolute; left: 10%; right: 10%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #c4b5fd, transparent); box-shadow: 0 0 18px 4px rgba(167, 139, 250, .6); animation: scan 2.6s ease-in-out infinite; }
.mk-scan-meta { margin-top: 14px; color: #fff; }
.mk-scan-meta b { display: flex; justify-content: center; align-items: center; gap: 6px; }
.mk-scan-meta b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.mk-scan-meta small { color: rgba(255, 255, 255, .6); font-size: 11.5px; }
.mk-punch { left: -10px; top: 24px; display: grid; gap: 10px; }
.mk-punch small { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.mk-punch b { font-size: 16px; }
.mk-cal { right: -10px; bottom: 0; width: 196px; }
.mk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 8px; }
.mk-cal-grid i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 5px; font-style: normal; font-size: 9px; font-weight: 700; }
.d-P { background: #e8f8ef; color: #0b7a47; }
.d-A { background: #fee4e2; color: #b42318; }
.d-H { background: #f3edff; color: #5b21b6; }
.viz-violet .mk-toast { right: 10px; top: -8px; }
.viz-violet .mk-toast i { color: #c4b5fd; }

/* Custom dev */
.mk-code pre { margin: 0; padding: 18px; overflow-x: auto; background: #0f1a36; color: #dbe4ff; font: 12.5px/1.7 ui-monospace, "Cascadia Code", Consolas, monospace; }
.mk-code .mk-bar { background: #16234a; border-color: rgba(255, 255, 255, .06); }
.mk-code .mk-bar em { background: #0f1a36; border-color: rgba(255, 255, 255, .1); color: #9fb0d9; }
.mk-code .k { color: #ff9a6e; } .mk-code .t { color: #5eead4; } .mk-code .f { color: #93c5fd; } .mk-code .c { color: #64748b; }
.mk-arch { left: 0; right: 0; width: max-content; max-width: 100%; margin: 0 auto; bottom: -10px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.mk-arch span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 10px; background: #e6f7f7; color: #0b6e6d; font-weight: 700; font-size: 12px; }
.mk-arch .ar { color: var(--muted); }
.viz-teal .mk-toast { right: -6px; top: -10px; }
.viz-teal .mk-toast i { color: #5eead4; }
.viz-teal { padding-bottom: 46px; }

/* Visuals inside dark product heroes */
.hero-visual .viz { max-width: 500px; }

@media (max-width: 520px) {
    .viz { font-size: 12px; }
    .mk-tool { font-size: 9.5px; padding: 8px 2px; }
    .mk-row { gap: 8px; }
    .mk-float-card { transform: scale(.86); }
    .mk-qr { right: -4px; transform-origin: bottom right; }
    .mk-check, .mk-ticket { right: -4px; transform-origin: top right; }
    .mk-team, .mk-punch { left: -4px; transform-origin: left; }
    .mk-cal { right: -4px; transform-origin: bottom right; }
    .mk-arch { gap: 4px; padding: 10px; }
    .mk-arch span { padding: 5px 7px; font-size: 11px; }
    .mk-inbox-body { grid-template-columns: 1fr; }
    .mk-chats { display: none; }
}

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes grow { from { transform: scaleY(.1); } }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@keyframes scan { 0%, 100% { top: 14%; } 50% { top: 84%; } }

.float-1 { animation: floaty 6s ease-in-out infinite; }
.float-2 { animation: floaty 7s ease-in-out 1s infinite; }
.float-3 { animation: floaty 6.5s ease-in-out .5s infinite; }
/* Cards that are also scaled on mobile keep their transform: float only on wider screens */
@media (max-width: 520px) { .mk-float-card.float-1, .mk-float-card.float-2 { animation: none; } }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
