/* Componentes: header, botões, cards, mock, filtros, FAQ, formulário, footer */

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); }
.brand-mark { color: var(--text); flex: none; }
.brand-name { font-size: 1.15rem; font-weight: 500; letter-spacing: -.03em; }
.brand-name strong { font-weight: 800; }
.header-brand { color: var(--text); display: inline-flex; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, height .3s;
}
.site-header.is-scrolled {
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn-gc) {
    display: block; padding: .45rem .8rem; border-radius: var(--radius-sm);
    color: var(--text-muted); font-size: .93rem; font-weight: 550;
}
.main-nav a:not(.btn-gc):hover { color: var(--text); background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 2px; background: var(--grad-brand); border-radius: 2px; }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; }

.icon-btn {
    width: 40px; height: 40px; display: inline-grid; place-items: center;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: transparent; color: var(--text); transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--border-strong); background: var(--surface-2); }
[data-theme="dark"] .theme-icon-light, [data-theme="light"] .theme-icon-dark { display: none; }

.burger { width: 18px; height: 12px; position: relative; display: block; }
.burger span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 1px; }
.burger span:last-child { top: 9px; }
.nav-open .burger span:first-child { top: 5px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 991.98px) {
    .main-nav {
        position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
        background: var(--bg); padding: 1.5rem 20px 2rem;
        display: flex; flex-direction: column; gap: 1.5rem;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
        overflow-y: auto;
    }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open .site-header { background: var(--bg); border-bottom-color: var(--border); }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a:not(.btn-gc) { font-size: 1.35rem; padding: .85rem 0; border-bottom: 1px solid var(--border); border-radius: 0; color: var(--text); }
    .main-nav a:not(.btn-gc):hover { background: none; }
    .main-nav a[aria-current="page"]::after { display: none; }
    .main-nav a[aria-current="page"] { color: var(--accent-text); }
    .nav-cta-mobile { display: inline-flex; justify-content: center; }
    body.nav-open { overflow: hidden; }
}

/* ---------- Botões ---------- */
.btn-gc {
    --b-bg: var(--surface-2); --b-fg: var(--text); --b-bd: var(--border-strong);
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .8rem 1.3rem; border-radius: var(--radius);
    font-weight: 650; font-size: .95rem; line-height: 1.2;
    background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
    transition: transform .2s var(--ease), box-shadow .25s, background .2s, border-color .2s;
    cursor: pointer; white-space: nowrap;
}
.btn-gc:hover { color: var(--b-fg); transform: translateY(-1px); }
.btn-gc:active { transform: translateY(0); }
.btn-gc .bi { transition: transform .2s var(--ease); }
.btn-gc:hover .bi-arrow-right { transform: translateX(3px); }
.btn-gc-primary { --b-bg: var(--accent); --b-fg: #fff; --b-bd: transparent; box-shadow: 0 8px 24px -10px var(--accent); }
.btn-gc-primary:hover { box-shadow: 0 12px 30px -10px var(--accent); }
.btn-gc-ghost { --b-bg: transparent; }
.btn-gc-ghost:hover { --b-bd: var(--text-dim); }
.btn-gc-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-gc[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .92rem; }
.link-arrow .bi { transition: transform .2s var(--ease); }
.link-arrow:hover .bi { transform: translate(2px, -1px); }

/* ---------- Cards genéricos ---------- */
.card-gc {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.75rem; height: 100%; position: relative;
    transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.card-gc:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.card-icon {
    width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: var(--radius); border: 1px solid var(--border);
    background: var(--surface-2); color: var(--accent-text); font-size: 1.2rem; margin-bottom: 1.25rem;
}
.tick-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .45rem; }
.tick-list li { position: relative; padding-left: 1.6rem; color: var(--text-muted); font-size: .95rem; }
.tick-list li::before {
    content: ""; position: absolute; left: 0; top: .5em; width: .8rem; height: .45rem;
    border-left: 2px solid var(--p-accent, var(--accent)); border-bottom: 2px solid var(--p-accent, var(--accent));
    transform: rotate(-45deg);
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.25rem; }
.chips li { font-size: .75rem; padding: .2rem .6rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-family: var(--font-mono); }

/* ---------- Status ---------- */
.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-left: auto; white-space: nowrap; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-dim); }
.status-live .dot { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.status-beta .dot { background: #f59e0b; }

/* ---------- Produtos ---------- */
.product-mono {
    width: 44px; height: 44px; display: grid; place-items: center; flex: none;
    border-radius: 12px; font-weight: 800; font-size: 1.2rem; color: #fff;
    background: linear-gradient(135deg, var(--p-accent, var(--accent)), var(--p-accent-2, var(--accent-2)));
}
.product-logo-lg { width: 64px; height: 64px; font-size: 1.7rem; border-radius: 16px; }
.product-card {
    position: relative; height: 100%;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.75rem; display: flex; flex-direction: column; overflow: hidden;
    transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.product-card::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 2px;
    background: linear-gradient(90deg, var(--p-accent), var(--p-accent-2));
    opacity: .9;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.product-card-top { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.product-card-headline { font-size: 1.15rem; font-weight: 650; letter-spacing: -.015em; color: var(--text); }
.product-card-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.product-card-soon { border-style: dashed; justify-content: center; background: transparent; }
.product-card-soon::before { display: none; }
.product-card-soon .product-mono { background: var(--surface-2); color: var(--text-muted); margin-bottom: 1rem; border: 1px solid var(--border); }

/* ---------- Mock de interface ---------- */
.mock {
    margin: 0; border-radius: var(--radius-lg); border: 1px solid var(--border-strong);
    background: var(--surface); box-shadow: var(--shadow), 0 40px 80px -40px var(--p-accent, var(--accent));
    overflow: hidden; position: relative;
}
.mock-shot img { width: 100%; height: auto; display: block; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: .7rem .9rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.mock-bar em { margin-left: .75rem; font-style: normal; font-family: var(--font-mono); font-size: .72rem; color: var(--text-dim); }
.mock-body { display: grid; grid-template-columns: 64px 1fr; min-height: 260px; }
.mock-side { border-right: 1px solid var(--border); padding: 1rem .8rem; display: grid; align-content: start; gap: .8rem; }
.mock-side b { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--p-accent), var(--p-accent-2)); }
.mock-side i { height: 6px; border-radius: 4px; background: var(--border-strong); }
.mock-main { padding: 1rem; display: grid; gap: .9rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock-kpi { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .6rem; background: var(--bg-2); }
.mock-kpi small { display: block; font-size: .62rem; color: var(--text-dim); margin-bottom: .5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-kpi span { display: block; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--p-accent), var(--p-accent-2)); opacity: .85; }
.mock-chart { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .5rem; background: var(--bg-2); }
.mock-chart svg { width: 100%; height: 90px; display: block; }
.mock-rows { display: grid; gap: .45rem; }
.mock-rows i { height: 8px; border-radius: 4px; background: var(--border); }
.mock-rows i:nth-child(2) { width: 82%; }
.mock-rows i:nth-child(3) { width: 64%; }
.mock-note { position: absolute; right: .7rem; bottom: .55rem; font-size: .62rem; font-family: var(--font-mono); color: var(--text-dim); }

/* ---------- Cases ---------- */
.case-card {
    position: relative; height: 100%; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
    transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.case-card-visual {
    aspect-ratio: 16 / 7; position: relative; overflow: hidden; display: grid; place-items: center;
    background:
        radial-gradient(circle at 20% 120%, var(--p-accent) 0, transparent 55%),
        radial-gradient(circle at 90% -20%, var(--p-accent-2) 0, transparent 50%),
        var(--surface-2);
}
.case-card-visual::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 28px 28px;
}
.case-card-visual span { position: relative; z-index: 1; font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); font-weight: 800; letter-spacing: -.04em; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.case-card-body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.case-card-body .link-arrow { margin-top: auto; }

/* ---------- Filtros ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn {
    padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--border);
    background: transparent; color: var(--text-muted); font-size: .88rem; font-weight: 600;
    transition: all .2s;
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
[data-filter-item].is-hidden { display: none !important; }
.filter-empty { color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.35rem 0; font-weight: 650; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-text); }
.faq-icon { transition: transform .3s var(--ease); color: var(--text-muted); flex: none; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer p { color: var(--text-muted); padding-bottom: 1.35rem; margin: 0; max-width: 70ch; }

/* ---------- Breadcrumb ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 2rem; font-size: .85rem; }
.crumbs li { color: var(--text-dim); display: flex; gap: .4rem; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--text); }

/* ---------- Formulário ---------- */
.form-gc label { font-weight: 600; font-size: .9rem; margin-bottom: .4rem; display: block; }
.form-gc .req { color: var(--accent-text); }
.form-gc .field {
    width: 100%; padding: .8rem 1rem; border-radius: var(--radius);
    background: var(--bg-2); color: var(--text); border: 1px solid var(--border-strong);
    font: inherit; transition: border-color .2s, box-shadow .2s;
}
.form-gc .field::placeholder { color: var(--text-dim); }
.form-gc .field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.form-gc select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%239aa3b5' d='M8 11 3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-gc textarea.field { min-height: 150px; resize: vertical; }
.form-gc .field[aria-invalid="true"] { border-color: #ef4444; }
.field-error { color: #f87171; font-size: .82rem; margin-top: .35rem; min-height: 1em; }
[data-theme="light"] .field-error { color: #dc2626; }
.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 18px; height: 18px; margin-top: .25rem; accent-color: var(--accent); flex: none; }
.check label { font-weight: 500; color: var(--text-muted); margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 1rem 1.2rem; display: none; gap: .7rem; align-items: flex-start; }
.form-status.is-visible { display: flex; }
.form-status.is-success { background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .35); }
.form-status.is-error { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .35); }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 5rem 0 2rem; background: var(--bg); }
.footer-desc { max-width: 36ch; font-size: .95rem; }
.footer-tagline { font-family: var(--font-mono); font-size: .8rem; color: var(--accent-text); }
.footer-title { font-size: .78rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 1rem; font-weight: 500; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .93rem; }
.footer-links a { color: var(--text-muted); word-break: break-word; }
.footer-links a:hover { color: var(--text); }
.social { list-style: none; padding: 0; display: flex; gap: .5rem; margin: 1.25rem 0 0; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-muted); }
.social a:hover { color: var(--text); border-color: var(--border-strong); }
.footer-bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .85rem; color: var(--text-muted); }

/* ---------- Botões flutuantes ---------- */
.fab {
    position: fixed; right: 20px; z-index: 900; width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.3rem; border: 1px solid var(--border-strong);
    box-shadow: var(--shadow); transition: transform .25s var(--ease), opacity .25s;
}
.fab:hover { transform: translateY(-2px); }
.fab-wa { bottom: 20px; background: #1fa855; color: #fff; border-color: transparent; }
.fab-wa:hover { color: #fff; }
.fab-top { bottom: 82px; background: var(--surface); color: var(--text); width: 42px; height: 42px; right: 24px; font-size: 1rem; }
.fab-top:only-of-type { bottom: 20px; }

/* Ajustes de layout do menu no desktop */
@media (min-width: 992px) {
    .main-nav { display: flex; align-items: center; }
    .main-nav .nav-cta-mobile { display: none; }
}

/* Logos reais */
.brand-mark { width: 36px; height: auto; }
.product-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.product-icon img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.product-icon.product-logo-lg { width: 64px; height: 64px; }
.product-icon.product-logo-sm { width: 28px; height: 28px; }
.node .product-icon { width: 30px; height: 30px; }
.hero-strip .product-icon { width: 26px; height: 26px; }
.wordmark { display: inline-block; }
.wordmark img { height: var(--wm-h, 56px); width: auto; display: block; }
@media (max-width: 575.98px) { .wordmark img { height: calc(var(--wm-h, 56px) * .8); } }
[data-theme="dark"] .wm-light, [data-theme="light"] .wm-dark { display: none; }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.plan { position: relative; padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.plan-featured { border-color: var(--p-accent); box-shadow: 0 20px 50px -30px var(--p-accent); }
.plan-tag { position: absolute; top: -11px; left: 1.5rem; font-size: .7rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; background: var(--p-accent); color: #04130f; padding: .2rem .6rem; border-radius: 999px; font-weight: 600; }
.plan-price { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; margin: .5rem 0 0; color: var(--text); }
.plan-price small { font-size: .9rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.plan-extra { font-size: .85rem; color: var(--text-muted); margin-bottom: .75rem; }
.plan-limit { font-family: var(--font-mono); font-size: .78rem; color: var(--p-accent); margin-bottom: .75rem; }
[data-theme="light"] .plan-limit { color: var(--p-accent-2); }

/* Passos e segmentos de produto */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; counter-reset: st; border-top: 1px solid var(--border); }
.steps > div { padding: 1.5rem 1.5rem 1.5rem 0; position: relative; }
.steps > div::before { counter-increment: st; content: "0" counter(st); display: block; font-family: var(--font-mono); color: var(--p-accent, var(--accent)); margin-bottom: .75rem; }
.steps h3 { font-size: 1.02rem; }
.steps p { color: var(--text-muted); font-size: .92rem; margin: 0; }
.problem { border-left: 3px solid var(--p-accent); padding: .25rem 0 .25rem 1.5rem; }
.problem h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.03em; }
.problem p { color: var(--text-muted); font-size: 1.05rem; max-width: 62ch; margin: 0; }

/* Ícones de produto: sempre quadrados, sem estourar o espaço */
.product-icon { overflow: hidden; border-radius: 22%; }
.product-icon img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; display: block; }

/* ---------- Demonstração interativa dos produtos ---------- */
.demo { display: flex; flex-direction: column; }
.demo-tabs { display: flex; gap: .25rem; padding: .6rem .75rem 0; border-bottom: 1px solid var(--border); background: var(--surface-2); overflow-x: auto; }
.demo-tabs button { border: 0; background: transparent; color: var(--text-muted); font-size: .8rem; font-weight: 600; padding: .5rem .8rem; border-radius: 8px 8px 0 0; position: relative; white-space: nowrap; }
.demo-tabs button:hover { color: var(--text); }
.demo-tabs button[aria-selected="true"] { color: var(--text); background: var(--surface); }
.demo-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 0; height: 2px; background: var(--p-accent); border-radius: 2px; }
.demo-panel { padding: 1rem; min-height: 300px; }
.demo-panel[hidden] { display: none; }
.demo-panel:not([hidden]) { animation: fadeUp .35s var(--ease) both; }
.demo small, .demo-caption { display: block; font-size: .68rem; color: var(--text-dim); margin-bottom: .5rem; }
.demo-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .75rem; }
.demo-kpi { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .65rem .7rem; background: var(--bg-2); }
.demo-kpi small { margin-bottom: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-kpi strong { font-size: clamp(1rem, .9rem + .5vw, 1.35rem); letter-spacing: -.03em; display: block; line-height: 1.2; }
.demo-kpi em { font-style: normal; font-size: .7rem; font-family: var(--font-mono); color: var(--p-accent); }
.demo-kpi em.is-alert { color: #f59e0b; }
.demo-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: .6rem; }
.demo-card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .7rem; background: var(--bg-2); }
.demo-card svg { width: 100%; height: 110px; display: block; }
.demo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.demo-list li { display: flex; justify-content: space-between; gap: .75rem; font-size: .78rem; padding: .4rem 0; border-bottom: 1px dashed var(--border); }
.demo-list li:last-child { border-bottom: 0; }
.demo-list b { font-weight: 600; color: var(--text-muted); white-space: nowrap; font-family: var(--font-mono); font-size: .72rem; }
.demo-heat { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: .68rem; }
.demo-heat th { color: var(--text-dim); font-weight: 500; text-align: center; }
.demo-heat th[scope="row"] { text-align: left; width: 34px; }
.demo-heat td span { display: block; height: 26px; border-radius: 5px; background: var(--p-accent); opacity: calc(.1 + var(--h) * .9); }
.demo-phone { display: grid; place-items: center; padding: .25rem 0; }
.phone { width: 230px; border: 1px solid var(--border-strong); border-radius: 26px; padding: 1.1rem 1rem; background: var(--bg-2); box-shadow: 0 20px 40px -24px var(--p-accent); }
.phone-badge { display: inline-block; font-size: .66rem; font-family: var(--font-mono); color: var(--p-accent); border: 1px solid var(--border); padding: .15rem .5rem; border-radius: 999px; margin-bottom: .6rem; }
.phone-title { display: block; font-size: .95rem; margin-bottom: .6rem; }
.phone ul { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; gap: .45rem; }
.phone li { display: flex; gap: .6rem; align-items: center; font-size: .8rem; font-weight: 600; }
.phone li i { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--p-accent), var(--p-accent-2)); opacity: .85; flex: none; }
.phone li small { display: block; margin: 0; font-weight: 500; font-family: var(--font-mono); font-size: .66rem; color: var(--text-muted); }
.phone-btn { display: flex; justify-content: center; align-items: center; gap: .4rem; padding: .6rem; border-radius: 10px; background: var(--p-accent); color: #04130f; font-weight: 700; font-size: .82rem; margin-top: .6rem; }
.demo-pos { display: grid; grid-template-columns: 1.3fr 1fr; gap: .6rem; }
.pos-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .7rem; padding-top: .6rem; border-top: 1px solid var(--border); font-size: .8rem; }
.pos-total strong { font-size: 1.25rem; letter-spacing: -.03em; }
.pos-pay { display: grid; gap: .4rem; }
.pos-pay span { border: 1px solid var(--border); border-radius: 8px; padding: .45rem .6rem; font-size: .78rem; font-weight: 600; }
.pos-pay span.is-on { border-color: var(--p-accent); color: var(--p-accent); }
.demo-table { width: 100%; font-size: .78rem; border-collapse: collapse; }
.demo-table th { text-align: left; font-weight: 500; color: var(--text-dim); font-size: .68rem; padding: .4rem .5rem; border-bottom: 1px solid var(--border); }
.demo-table td { padding: .6rem .5rem; border-bottom: 1px dashed var(--border); }
.tag { font-size: .68rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; white-space: nowrap; }
.tag-ok { background: rgba(34, 197, 94, .14); color: #22c55e; }
.tag-warn { background: rgba(245, 158, 11, .15); color: #f59e0b; }
.tag-info { background: rgba(79, 124, 255, .14); color: var(--accent-text); }
@media (max-width: 575.98px) {
    .demo-kpis { grid-template-columns: 1fr 1fr; }
    .demo-kpis .demo-kpi:last-child { grid-column: span 2; }
    .demo-grid, .demo-pos { grid-template-columns: 1fr; }
}
