/* ════════════════════════════════════════════════
   SIMRS Matrika Care - Marketing Site
   PT Matrika Solusi Indonesia
════════════════════════════════════════════════ */

:root {
    --navy-900: #06182d;
    --navy-800: #0a2540;
    --navy-700: #0e3056;
    --ink: #0f1e33;
    --ink-2: #334155;
    --muted: #64748b;
    --muted-2: #94a3b8;

    --primary: #0063d7;
    --sky: #0ea5e9;
    --teal: #14b8a6;
    --teal-brand: #178a7a;
    --violet: #6366f1;

    --bg: #f6f9fc;
    --bg-soft: #eef4fb;
    --card: #ffffff;
    --line: #e3eaf2;

    --grad: linear-gradient(120deg, #0063d7 0%, #0ea5e9 52%, #14b8a6 110%);
    --grad-soft: linear-gradient(120deg, #0063d7, #14b8a6);

    --shadow-sm: 0 2px 10px rgba(15, 30, 51, 0.06);
    --shadow: 0 16px 40px rgba(15, 30, 51, 0.10);
    --shadow-lg: 0 30px 70px rgba(10, 37, 64, 0.18);

    --r-sm: 12px;
    --r: 18px;
    --r-lg: 26px;
    --maxw: 1180px;

    --font: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --display: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    letter-spacing: .005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; }
[data-lucide] { width: 1em; height: 1em; stroke-width: 2; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
/* .hide-sm shown by default; hidden in the small-screen media query */

/* nicer line wrapping for reading copy (progressive enhancement) */
.hero__lead, .head__sub, .about__lead, .spot__lead, .why p, .integ p, .faq__a p, .footer__brand p { text-wrap: pretty; }

.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font); font-weight: 600; font-size: 15px;
    padding: 11px 20px; border-radius: 12px; border: 1.5px solid transparent;
    cursor: pointer; transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap; line-height: 1;
}
.btn [data-lucide] { width: 17px; height: 17px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(0, 99, 215, 0.30); background-size: 160% 160%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 99, 215, 0.42); background-position: 100% 0; }
.btn--outline { background: #fff; color: var(--primary); border-color: var(--line); }
.btn--outline:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--ink-2); }
.btn--ghost:hover { color: var(--primary); }
.btn--lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }

/* ─── Pills / eyebrows ─── */
.pill {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; letter-spacing: .02em;
    padding: 8px 16px; border-radius: 999px;
}
.pill--glow {
    color: #cfe3ff; background: rgba(14, 165, 233, .12);
    border: 1px solid rgba(14, 165, 233, .30);
}
.ping { position: relative; width: 8px; height: 8px; display: inline-block; }
.ping__dot { position: absolute; inset: 0; border-radius: 50%; background: #34d399; }
.ping__dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: #34d399; animation: ping 1.7s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--primary); background: rgba(0, 99, 215, .08);
    border: 1px solid rgba(0, 99, 215, .16);
    padding: 7px 15px; border-radius: 999px;
}
.eyebrow [data-lucide] { width: 14px; height: 14px; }
.eyebrow--light { color: #7dd3fc; background: rgba(14, 165, 233, .12); border-color: rgba(14, 165, 233, .28); }

/* ─── Section heads ─── */
.head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.head__title {
    font-family: var(--display); font-weight: 800; line-height: 1.12;
    font-size: clamp(28px, 4vw, 44px); letter-spacing: -.022em; margin: 0 0 12px;
    text-wrap: balance;
}
.head__sub { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto; }
.head--light .head__title { color: #fff; }
.head--light .head__sub { color: rgba(255, 255, 255, .58); }

.section { padding: 74px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-800); overflow: hidden; }
.sec__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.section--dark .container { position: relative; z-index: 2; }

/* ════════════ TOPBAR ════════════ */
.topbar {
    background: var(--navy-900); color: rgba(255, 255, 255, .72);
    font-size: 13px; font-weight: 500;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar [data-lucide] { width: 14px; height: 14px; color: var(--teal); flex-shrink: 0; }
.topbar__badge { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85); }
.topbar__badge [data-lucide] { color: #7dd3fc; }

/* ════════════ NAVBAR ════════════ */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s ease, border-color .3s ease, padding .3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.nav__brand { display: flex; align-items: baseline; gap: 6px; }
.nav__logo { height: 30px; width: auto; }
.nav__product {
    font-family: var(--display); font-weight: 700; font-size: 19px;
    background: var(--grad-soft); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; letter-spacing: -.01em;
}
.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__link { font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav__link::after {
    content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
    background: var(--grad); border-radius: 2px; transition: width .25s ease;
}
.nav__link:hover { color: var(--primary); }
.nav__link:hover::after { width: 100%; }
.nav__link.active-spy { color: var(--primary); }
.nav__link.active-spy::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--grad); color: #fff; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 12px; box-shadow: 0 10px 24px rgba(0, 99, 215, .30); }
.nav__cta--mobile { display: none; }
.nav__cta::after { display: none; }
.nav__burger {
    display: none; background: none; border: none; cursor: pointer;
    color: var(--ink); font-size: 26px; padding: 4px;
}

/* ════════════ HERO ════════════ */
.hero {
    position: relative; background: var(--navy-800); color: #fff;
    padding: 64px 0 68px; overflow: hidden; isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__grid {
    position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .04;
    background-image: linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
    background-size: 70px 70px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 40%, transparent 100%);
}
.hero__inner {
    position: relative; z-index: 3;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
    padding-top: 36px;
}
.hero__title {
    font-family: var(--display); font-weight: 800; letter-spacing: -.028em;
    font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin: 24px 0 22px;
    max-width: 20ch; text-wrap: balance;
}
.hero__title .grad { white-space: nowrap; }
.hero__lead { color: rgba(255, 255, 255, .66); font-size: 18px; max-width: 520px; margin-bottom: 32px; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero .btn--outline { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .18); }
.hero .btn--outline:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; }
.trust__item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .5); }
.trust__item [data-lucide] { width: 16px; height: 16px; color: #7dd3fc; }

/* hero mockup */
.hero__mock { position: relative; justify-self: center; width: 100%; max-width: 380px; animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.mock__notif {
    position: absolute; top: -30px; right: 6px; z-index: 5;
    display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
    background: rgba(16, 185, 129, .14); border: 1px solid rgba(16, 185, 129, .3);
    backdrop-filter: blur(12px); animation: popIn .5s ease 1s both;
}
@keyframes popIn { from { opacity: 0; transform: scale(.85) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.mock__notif-ic { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: rgba(16, 185, 129, .25); color: #6ee7b7; }
.mock__notif-ic [data-lucide] { width: 15px; height: 15px; }
.mock__notif-t { font-size: 12px; font-weight: 700; }
.mock__notif-s { font-size: 10px; color: rgba(255, 255, 255, .45); }
.mock__window {
    background: rgba(15, 23, 42, .72); border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); backdrop-filter: blur(18px);
}
.mock__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff6b6b88; } .dot--y { background: #ffd93d88; } .dot--g { background: #6bcb7788; }
.mock__url { flex: 1; height: 18px; border-radius: 7px; background: rgba(255, 255, 255, .06); margin-left: 10px; }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.mock__stat { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); border-radius: 14px; padding: 12px 10px; display: flex; flex-direction: column; gap: 3px; }
.mock__stat-l { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .4); }
.mock__stat-v { font-size: 18px; font-weight: 800; }
.mock__stat-c { font-size: 10px; font-weight: 700; }
.mock__stat-c.up { color: #34d399; } .mock__stat-c.down { color: #fbbf24; }
.mock__queue { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.mock__queue-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.mock__live { font-size: 9px; padding: 3px 8px; border-radius: 999px; background: rgba(16, 185, 129, .2); color: #34d399; font-weight: 700; }
.mock__row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.mock__row:last-child { border-bottom: none; }
.mock__no { font-size: 11px; font-weight: 800; color: #818cf8; width: 34px; }
.mock__pi { flex: 1; display: flex; flex-direction: column; }
.mock__pi b { font-size: 11px; font-weight: 600; }
.mock__pi i { font-size: 10px; font-style: normal; color: rgba(255, 255, 255, .35); }
.tag { font-size: 9px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .4); }
.tag--blue { background: rgba(14, 165, 233, .2); color: #38bdf8; }
.mock__btns { display: flex; gap: 8px; }
.mock__btn { flex: 1; height: 34px; border-radius: 12px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: rgba(0, 99, 215, .18); color: #93c5fd; border: 1px solid rgba(0, 99, 215, .28); }
.mock__btn-sq { width: 34px; height: 34px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }

/* hero metrics */
.hero__metrics {
    position: relative; z-index: 3; margin-top: 46px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 30px;
}
.metric { text-align: center; }
.metric__v { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); color: #fff; }
.metric__l { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .42); }

/* ════════════ MARQUEE ════════════ */
.marquee { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee__label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; padding: 0 18px; }
.marquee__viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 12px; width: max-content; animation: ticker 34s linear infinite; }
.marquee__viewport:hover .marquee__track { animation-play-state: paused; }
.mq {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    font-size: 13px; font-weight: 600; color: var(--ink-2);
    background: var(--card); border: 1px solid var(--line); border-radius: 999px;
    padding: 9px 16px; box-shadow: var(--shadow-sm);
}
.mq::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════════ ABOUT (image + text) ════════════ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 44px; }
.about--rev .about__media { order: 2; }
.about__media { position: relative; padding: 16px; }
.about__media::before {
    content: ""; position: absolute; inset: 0; border-radius: 30px;
    background: linear-gradient(160deg, rgba(0, 99, 215, .10), rgba(20, 184, 166, .12));
    border: 1px solid var(--line);
}
.about__img { position: relative; z-index: 1; width: 100%; max-width: 520px; margin: 0 auto; display: block; filter: drop-shadow(0 24px 40px rgba(10, 37, 64, .20)); }
.about__badge {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px;
    background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 11px 16px; box-shadow: var(--shadow);
}
.about__badge [data-lucide] { width: 24px; height: 24px; color: var(--primary); }
.about__badge--alt [data-lucide] { color: var(--teal); }
.about__badge b { display: block; font-family: var(--display); font-size: 16px; font-weight: 700; line-height: 1.1; }
.about__badge span { font-size: 12px; color: var(--muted); }
.about__badge--tl { top: 22px; left: -10px; animation: floatY 5.5s ease-in-out infinite; }
.about__badge--br { bottom: 26px; right: -10px; animation: floatY 6.5s ease-in-out infinite .8s; }
.about__lead { color: var(--muted); font-size: 17px; margin-top: 14px; }
.about__points { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-top: 24px; }
.about__points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink-2); }
.about__points li [data-lucide] { width: 21px; height: 21px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.about__points strong { color: var(--ink); font-weight: 700; }

/* ════════════ WHY GRID ════════════ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
    padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(0, 99, 215, .2); }
.why__ic {
    width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
    background: var(--grad); color: #fff; margin-bottom: 18px; box-shadow: 0 10px 22px rgba(0, 99, 215, .25);
}
.why__ic [data-lucide] { width: 26px; height: 26px; }
.why h3 { font-family: var(--display); font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 15px; }

/* ════════════ SPOTLIGHT (LLM MATRIKA + FORM BUILDER) ════════════ */
.spot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.spot {
    position: relative; overflow: hidden; display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.spot:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.spot--ai { background: linear-gradient(180deg, #fbfdff, #f3f8ff 100%); }
.spot--ai:hover { border-color: rgba(0, 99, 215, .25); }
.spot--builder { background: linear-gradient(180deg, #fdfbff, #f6f2ff 100%); }
.spot--builder:hover { border-color: rgba(139, 92, 246, .28); }
.spot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad); }
.spot--builder::before { background: linear-gradient(120deg, #8b5cf6, #0ea5e9); }

.spot__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.spot__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.spot__ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(0, 99, 215, .3); flex-shrink: 0; }
.spot__ic [data-lucide] { width: 28px; height: 28px; }
.spot__ic--alt { background: linear-gradient(135deg, #8b5cf6, #0ea5e9); box-shadow: 0 12px 26px rgba(139, 92, 246, .3); }
.spot__chip { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); background: rgba(0, 99, 215, .1); border: 1px solid rgba(0, 99, 215, .18); padding: 5px 11px; border-radius: 999px; }
.spot__chip--alt { color: #7c3aed; background: rgba(139, 92, 246, .1); border-color: rgba(139, 92, 246, .22); }
.spot__title { font-family: var(--display); font-size: 23px; font-weight: 700; line-height: 1.15; }
.spot__lead { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

/* feature chips */
.spot__tags { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 22px; }
.spot__tags span { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.spot__tags [data-lucide] { width: 18px; height: 18px; color: #fff; background: var(--teal); border-radius: 50%; padding: 3.5px; flex-shrink: 0; }
.spot--builder .spot__tags [data-lucide] { background: #8b5cf6; }

.spot__note { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 13px; color: var(--ink-2); background: rgba(255, 255, 255, .6); border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; }
.spot__note [data-lucide] { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.spot--builder .spot__note [data-lucide] { color: #7c3aed; }

/* ── AI chat preview ── */
.chat {
    margin-bottom: 22px; border-radius: 16px; overflow: hidden;
    background: linear-gradient(180deg, #0c2238, #0a1a2e);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 34px rgba(10, 37, 64, .18);
}
.chat__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.chat__ava { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.chat__ava [data-lucide] { width: 17px; height: 17px; }
.chat__id b { display: block; font-size: 13px; font-weight: 600; color: #fff; line-height: 1.25; }
.chat__id span { display: flex; align-items: center; gap: 5px; font-size: 11px; color: rgba(255, 255, 255, .45); }
.chat__live { width: 6px; height: 6px; border-radius: 50%; background: #34d399; animation: pulseDot 1.8s ease-out infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); } 100% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } }
.chat__body { padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; }
.chat__row { display: flex; }
.chat__row--out { justify-content: flex-end; }
.chat__bubble { max-width: 88%; font-size: 13px; line-height: 1.55; padding: 10px 13px; border-radius: 14px; }
.chat__bubble--user { background: var(--grad); color: #fff; border-bottom-right-radius: 5px; }
.chat__bubble--ai { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .82); border-bottom-left-radius: 5px; }
.chat__bubble--ai p { margin: 2px 0; }
.chat__bubble--ai b { color: #fff; font-weight: 600; }
.chat__tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #7dd3fc; background: rgba(14, 165, 233, .16); padding: 3px 8px; border-radius: 6px; margin-bottom: 7px; }
.chat__caret { display: inline-block; width: 2px; height: 12px; margin-left: 3px; vertical-align: -2px; background: #7dd3fc; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* staggered entrance once the card reveals */
.reveal-ready .spot .chat__row { opacity: 0; transform: translateY(10px); }
.reveal-ready .spot.in .chat__row { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.reveal-ready .spot.in .chat__row--in { transition-delay: .5s; }

/* ── Form builder preview ── */
.build {
    margin-bottom: 22px; border-radius: 16px; overflow: hidden;
    background: #fff; border: 1px solid var(--line);
    box-shadow: 0 16px 34px rgba(10, 37, 64, .08);
}
.build__bar { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.build__name { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink); }
.build__name [data-lucide] { width: 15px; height: 15px; color: #8b5cf6; }
.build__add { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #7c3aed; background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .2); padding: 4px 9px; border-radius: 8px; }
.build__add [data-lucide] { width: 13px; height: 13px; }
.build__canvas { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.build__field { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.build__field > [data-lucide] { width: 15px; height: 15px; color: var(--muted-2); cursor: grab; }
.build__type { margin-left: auto; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #7c3aed; background: rgba(139, 92, 246, .1); padding: 3px 8px; border-radius: 6px; }
.build__field--drag { border-color: rgba(139, 92, 246, .55); border-style: dashed; box-shadow: 0 10px 22px rgba(139, 92, 246, .18); animation: dragFloat 3.2s ease-in-out infinite; }
@keyframes dragFloat { 0%, 100% { transform: rotate(-.6deg) translateY(0); } 50% { transform: rotate(.5deg) translateY(-5px); } }
.build__drop { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--muted-2); border: 1.5px dashed var(--line); border-radius: 10px; padding: 12px; }
.build__drop [data-lucide] { width: 15px; height: 15px; }

/* ════════════ TABS + MODULE GRID ════════════ */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 38px; }
.tab {
    font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer;
    padding: 9px 18px; border-radius: 999px; color: rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
    transition: all .2s ease;
}
.tab:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.tab.active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 8px 20px rgba(0, 99, 215, .35); }

.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod {
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
    border-radius: var(--r); padding: 20px; transition: all .25s ease;
}
.mod:hover { background: rgba(20, 184, 166, .1); border-color: rgba(20, 184, 166, .38); transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0, 0, 0, .25); }
.mod__ic { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); margin-bottom: 14px; padding: 9px; transition: transform .25s ease; }
.mod:hover .mod__ic { transform: scale(1.06) rotate(-3deg); }
.mod__ic img { width: 100%; height: 100%; object-fit: contain; }
.mod__group { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: rgba(255, 255, 255, .34); }
.mod__name { font-family: var(--display); font-size: 16px; font-weight: 600; color: #fff; margin: 3px 0 7px; }
.mod__desc { font-size: 13px; color: rgba(255, 255, 255, .5); line-height: 1.5; }

/* ════════════ UNIT GRID ════════════ */
.unit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.unit {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
    padding: 24px 22px; position: relative; overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.unit::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.unit:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.unit:hover::before { transform: scaleX(1); }
.unit__ic { width: 74px; height: 74px; border-radius: 19px; display: grid; place-items: center; background: linear-gradient(135deg, #eff6ff, #ecfeff); padding: 13px; margin-bottom: 16px; transition: transform .25s ease; }
.unit:hover .unit__ic { transform: scale(1.06); }
.unit__ic img { width: 100%; height: 100%; object-fit: contain; }
.unit h3 { font-family: var(--display); font-size: 17px; font-weight: 600; margin-bottom: 7px; }
.unit p { color: var(--muted); font-size: 14px; }

/* ════════════ INTEGRASI ════════════ */
.integ-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.integ { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.integ::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.integ:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.integ:hover::before { transform: scaleX(1); }
.integ__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0, 99, 215, .1), rgba(20, 184, 166, .12)); color: var(--primary); margin-bottom: 18px; transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease; }
.integ:hover .integ__ic { background: var(--grad); color: #fff; transform: scale(1.05); box-shadow: 0 10px 22px rgba(0, 99, 215, .28); }
.integ__ic [data-lucide] { width: 27px; height: 27px; }
.integ__ic--logo { background: #fff; padding: 11px; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.integ__ic--logo img { width: 100%; height: 100%; object-fit: contain; }
.integ:hover .integ__ic--logo { background: #fff; box-shadow: 0 10px 22px rgba(0, 0, 0, .14); }
.integ h3 { font-family: var(--display); font-size: 19px; font-weight: 600; margin-bottom: 9px; }
.integ p { color: var(--muted); font-size: 15px; }

.badges { text-align: center; }
.badges__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--muted-2); margin-bottom: 24px; }
.badges__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
.badges__row img { height: 62px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s ease, opacity .3s ease, transform .3s ease; }
.badges__row img:hover { filter: grayscale(0); opacity: 1; transform: scale(1.06); }

/* ════════════ FLOW ════════════ */
.flow { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
.flow__step {
    flex: 1; min-width: 210px; max-width: 250px; text-align: center; position: relative;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 22px 28px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.flow__step:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(0, 99, 215, .2); }
.flow__num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--display); font-weight: 800; font-size: 14px; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0, 99, 215, .35); }
.flow__ic { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: rgba(0, 99, 215, .08); color: var(--primary); margin: 12px auto 16px; transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease; }
.flow__step:hover .flow__ic { background: var(--grad); color: #fff; transform: scale(1.06); box-shadow: 0 10px 22px rgba(0, 99, 215, .25); }
.flow__ic [data-lucide] { width: 28px; height: 28px; }
.flow__step h3 { font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 7px; }
.flow__step p { color: var(--muted); font-size: 14px; }
.flow__arrow { display: flex; align-items: center; color: var(--primary); opacity: .5; }
.flow__arrow [data-lucide] { width: 26px; height: 26px; animation: nudgeX 1.8s ease-in-out infinite; }
@keyframes nudgeX { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* ════════════ CLIENT SPOTLIGHT ════════════ */
.client {
    max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1.45fr 1fr;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; box-shadow: var(--shadow);
}
.client__main { padding: 42px; }
.client__logo { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0, 99, 215, .1), rgba(20, 184, 166, .12)); color: var(--primary); margin-bottom: 24px; }
.client__logo [data-lucide] { width: 27px; height: 27px; }
.client__text { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin-bottom: 28px; }
.client__text strong { color: var(--ink); font-weight: 700; }
.client__who { display: flex; align-items: center; gap: 13px; }
.client__av { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 16px; font-family: var(--display); flex-shrink: 0; }
.client__name { font-weight: 700; font-size: 16px; }
.client__role { font-size: 13px; color: var(--muted); }
.client__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .1); }
.cstat { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; }
.cstat__v { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.cstat__l { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .58); }

/* ════════════ PRICING ════════════ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 34px 30px; display: flex; flex-direction: column; position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.price:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price--feat { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price--feat:hover { transform: scale(1.03) translateY(-5px); }
.price__tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #fff; }
.price__name { font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.price__for { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.price--feat .price__for { color: rgba(255, 255, 255, .55); }
.price__amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.price--feat .price__amount { border-color: rgba(255, 255, 255, .12); }
.price__cur { font-size: 13px; font-weight: 600; color: var(--muted); }
.price__num { font-family: var(--display); font-size: 30px; font-weight: 700; }
.price__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.price__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.price--feat .price__list li { color: rgba(255, 255, 255, .8); }
.price__list li [data-lucide] { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.price--feat .btn--primary { box-shadow: 0 10px 24px rgba(0, 99, 215, .4); }

/* ════════════ FAQ ════════════ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq__item.open { border-color: rgba(0, 99, 215, .3); box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--ink); }
.faq__q [data-lucide] { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; transition: transform .25s ease; }
.faq__item.open .faq__q [data-lucide] { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ════════════ CTA ════════════ */
.cta { padding: 70px 0; background: var(--navy-800); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 99, 215, .35), transparent 65%); top: -200px; right: -150px; pointer-events: none; }
.cta::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 184, 166, .22), transparent 65%); bottom: -200px; left: -120px; pointer-events: none; }
.cta__head { position: relative; z-index: 2; text-align: center; max-width: 660px; margin: 0 auto 46px; }
.cta__head h2 { font-family: var(--display); font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: #fff; line-height: 1.12; margin-bottom: 14px; letter-spacing: -.022em; text-wrap: balance; }
.cta__head p { color: rgba(255, 255, 255, .62); font-size: 17px; margin-bottom: 22px; }
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta__visual { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.cta__doc { width: 100%; max-width: 360px; display: block; filter: drop-shadow(0 26px 50px rgba(0, 0, 0, .45)); }
.cta__card { position: absolute; bottom: 16px; right: 0; background: rgba(15, 23, 42, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-lg); max-width: 240px; }
.cta__card .cta__list { margin: 0; gap: 10px; }
.cta__card .cta__list li { color: rgba(255, 255, 255, .9); font-size: 13px; }
.cta__text h2 { font-family: var(--display); font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 16px; letter-spacing: -.02em; }
.cta__text > p { color: rgba(255, 255, 255, .62); font-size: 17px; margin-bottom: 24px; }
.cta__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.cta__list li { display: flex; align-items: center; gap: 11px; color: rgba(255, 255, 255, .82); font-size: 15px; }
.cta__list li [data-lucide] { width: 20px; height: 20px; color: var(--teal); }
.cta__contacts { display: flex; flex-wrap: wrap; gap: 14px; }
.cta__contact { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: #fff; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s ease; }
.cta__contact:hover { background: rgba(255, 255, 255, .14); }
.cta__contact [data-lucide] { width: 18px; height: 18px; color: var(--teal); }

.cta__form { background: #fff; border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.cta__form h3 { font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; font-family: var(--font); font-size: 15px; color: var(--ink);
    padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 99, 215, .12); }
.cta__form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ════════════ FOOTER ════════════ */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .6); padding: 50px 0 24px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.6fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .85; margin-bottom: 16px; }
.footer__brand p { font-size: 14px; line-height: 1.7; max-width: 320px; margin-bottom: 18px; }
.footer__social { display: flex; gap: 10px; }
.soc { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .07); transition: transform .2s ease, background .2s ease; }
.soc [data-lucide] { width: 18px; height: 18px; }
.soc:hover { transform: translateY(-3px); }
.soc--wa:hover { background: #25d366; } .soc--ig:hover { background: linear-gradient(135deg, #f09433, #dc2743, #bc1888); } .soc--in:hover { background: #0a66c2; }
.footer__col h4 { font-family: var(--display); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: rgba(255, 255, 255, .58); padding: 5px 0; transition: color .2s ease; }
.footer__col a:hover { color: #fff; }
.footer__col--contact p { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; margin-bottom: 12px; line-height: 1.55; }
.footer__col--contact [data-lucide] { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; }
.footer__bottom p { font-size: 13px; color: rgba(255, 255, 255, .42); }
.footer__badges { display: flex; align-items: center; gap: 18px; }
.footer__badges img { height: 40px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .7; background: rgba(255, 255, 255, .92); border-radius: 6px; padding: 4px 6px; }

/* inline brand icons (WhatsApp / Instagram / LinkedIn) */
.brand-ic { display: block; fill: currentColor; }
.soc .brand-ic { width: 18px; height: 18px; }
.fab--wa .brand-ic { width: 28px; height: 28px; }
.cta__contact .brand-ic { width: 18px; height: 18px; color: var(--teal); }
.integ__ic .brand-ic { width: 27px; height: 27px; }

/* ════════════ FABs ════════════ */
.fab { position: fixed; right: 22px; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); z-index: 90; cursor: pointer; border: none; transition: transform .25s ease, opacity .25s ease; }
.fab [data-lucide] { width: 26px; height: 26px; }
.fab--wa { bottom: 22px; background: #25d366; }
.fab--wa:hover { transform: scale(1.1); }
.fab--top { bottom: 86px; background: var(--grad); opacity: 0; pointer-events: none; }
.fab--top.show { opacity: 1; pointer-events: auto; }
.fab--top:hover { transform: scale(1.1); }
.fab--top [data-lucide] { width: 22px; height: 22px; }

/* ════════════ REVEAL ════════════ */
/* hidden state applies only after JS is confirmed running (html.reveal-ready),
   so the page stays fully visible if JS is disabled or fails to load */
.reveal-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal-ready .reveal.in { opacity: 1; transform: none; }

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 1024px) {
    .hide-md { display: none !important; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__mock { display: none; }
    .why-grid, .integ-grid { grid-template-columns: repeat(2, 1fr); }
    .spot-grid { grid-template-columns: 1fr; }
    .about { grid-template-columns: 1fr; gap: 36px; }
    .about--rev .about__media { order: 0; }
    .about__media { max-width: 560px; margin: 0 auto; width: 100%; }
    .mod-grid, .unit-grid { grid-template-columns: repeat(3, 1fr); }
    .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .price--feat { transform: none; }
    .price--feat:hover { transform: translateY(-5px); }
    .cta__inner { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .client { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed; top: 0; right: 0; height: 100vh; width: min(82vw, 320px);
        flex-direction: column; align-items: flex-start; justify-content: flex-start;
        gap: 4px; padding: 92px 28px 28px; background: #fff;
        box-shadow: -16px 0 50px rgba(15, 30, 51, .18);
        /* revealed via clip-path (kept on-screen) so the closed drawer never
           extends the page width, preserving the sticky navbar */
        clip-path: inset(0 -60px 0 100%); visibility: hidden;
        transition: clip-path .32s ease, visibility .32s ease; z-index: 95;
    }
    .nav__menu.open { clip-path: inset(0 -60px 0 -60px); visibility: visible; }
    .nav__menu .nav__link { font-size: 17px; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
    .nav__cta--mobile { display: inline-flex !important; margin-top: 16px; }
    .nav__burger { display: block; z-index: 96; }
    .nav__actions .btn--primary { display: none; }
    .section { padding: 54px 0; }
    .why-grid, .integ-grid, .mod-grid, .unit-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__metrics { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .flow { flex-direction: column; align-items: center; gap: 10px; }
    .flow__step { width: 100%; max-width: 420px; }
    .flow__arrow { transform: rotate(90deg); align-self: center; }
    .badges__row { gap: 30px; }
    .badges__row img { height: 48px; }
    /* new components */
    .spot { padding: 26px; }
    .client__main { padding: 30px; }
    .cstat { padding: 22px 20px; }
    /* CTA floating card → stack neatly under the image */
    .cta__visual { flex-direction: column; align-items: center; gap: 18px; }
    .cta__card { position: static; width: 100%; max-width: 360px; margin: 0 auto; }
}

@media (max-width: 540px) {
    .container { padding: 0 18px; }
    .topbar__left span:first-child, .topbar__right .topbar__badge:first-child { display: inline; }
    .hide-sm { display: none !important; }
    .why-grid, .integ-grid, .mod-grid, .unit-grid { grid-template-columns: 1fr; }
    .hero__actions .btn { width: 100%; }
    .cta__form { padding: 24px 20px; }
    .footer__top { grid-template-columns: 1fr; gap: 30px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .head__title { font-size: 27px; }
    .hero__title { font-size: 32px; }
    /* spotlight cards */
    .spot { padding: 22px; }
    .spot__head { gap: 13px; }
    .spot__ic { width: 50px; height: 50px; border-radius: 15px; }
    .spot__ic [data-lucide] { width: 24px; height: 24px; }
    .spot__tags { grid-template-columns: 1fr; gap: 11px; }
    /* client spotlight */
    .client__main { padding: 24px; }
    .client__text { font-size: 16px; }
    .cstat { padding: 18px 16px; }
    .cstat__v { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
}
