html,
body {
    min-height: 100%;
}

body {
    background: #f6f8fb;
    color: #18212f;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
}

.footer-link {
    color: #667085;
    display: block;
    margin-bottom: 6px;
}

.footer-link:hover {
    color: #198754;
}

.navbar-brand {
    letter-spacing: 0;
}

.nav-link.active {
    color: #198754 !important;
    font-weight: 600;
}

.hero-command {
    background: #101612;
    border: 1px solid #24352c;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(16, 22, 18, 0.22);
    color: #ffffff;
    overflow: hidden;
    padding: clamp(28px, 5vw, 56px);
    position: relative;
}

.hero-command::before,
.demo-report-hero::before {
    background:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.hero-command > .row,
.demo-report-hero > * {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    background: rgba(25, 135, 84, 0.16);
    border: 1px solid rgba(83, 210, 138, 0.35);
    border-radius: 999px;
    color: #8ff0b1;
    display: inline-flex;
    font-size: 13px;
    font-weight: 750;
    margin-bottom: 18px;
    padding: 8px 12px;
}

.hero-command h1,
.demo-report-copy h1 {
    color: #ffffff;
    font-size: 56px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 20px;
}

.hero-lead,
.demo-report-copy p,
.hero-note {
    color: #c3d0c8;
}

.hero-lead,
.demo-report-copy p {
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    font-size: 14px;
    margin-top: 14px;
}

.hero-proof-dark div {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-proof-dark span {
    color: #a9b8ad;
}

.hero-proof-dark strong {
    color: #ffffff;
}

.command-screen {
    background: #f7faf7;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    color: #18212f;
    overflow: hidden;
}

.command-topbar {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #e3e9e5;
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
}

.command-topbar span,
.command-metrics span,
.command-sidebar span,
.insight-item span,
.demo-report-stats span,
.report-insight span,
.report-main-toolbar span {
    color: #667085;
    display: block;
    font-size: 12px;
    font-weight: 650;
}

.command-topbar strong,
.report-main-toolbar strong {
    display: block;
    font-size: 14px;
    margin-top: 3px;
}

.live-pill {
    background: #e7f7ee;
    border: 1px solid #bce8ce;
    border-radius: 999px;
    color: #198754 !important;
    padding: 7px 10px;
}

.command-layout {
    display: grid;
    grid-template-columns: 172px minmax(0, 1fr) 190px;
    min-height: 390px;
}

.command-sidebar,
.command-insights {
    background: #fbfdfb;
    padding: 14px;
}

.command-sidebar {
    border-right: 1px solid #e3e9e5;
}

.command-insights {
    border-left: 1px solid #e3e9e5;
}

.control-score {
    background: #111a14;
    border-radius: 8px;
    color: #ffffff;
    margin-bottom: 14px;
    padding: 14px;
}

.control-score span {
    color: #9fb3a8;
}

.control-score strong {
    display: block;
    font-size: 42px;
    line-height: 1;
    margin: 8px 0;
}

.control-score small {
    color: #c3d0c8;
    display: block;
}

.command-filter {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e8eee9;
    border-radius: 8px;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    margin-top: 8px;
    padding: 10px;
}

.command-filter.active {
    border-color: #198754;
}

.command-filter.danger {
    background: #fff5f5;
    border-color: #ffd7d7;
}

.command-filter.warning {
    background: #fffaf0;
    border-color: #ffe3a3;
}

.command-main {
    padding: 14px;
}

.command-metrics {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 12px;
}

.command-metrics div {
    background: #ffffff;
    border: 1px solid #e8eee9;
    border-radius: 8px;
    padding: 12px;
}

.command-metrics strong {
    display: block;
    font-size: 20px;
    margin-top: 5px;
}

.command-table {
    background: #ffffff;
    border: 1px solid #e3e9e5;
    border-radius: 8px;
    overflow: hidden;
}

.command-row {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(150px, 1.2fr) 0.8fr 0.7fr 0.9fr;
    padding: 12px;
}

.command-row + .command-row {
    border-top: 1px solid #edf2ee;
}

.command-row.head {
    background: #f3f7f4;
    color: #667085;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
}

.command-row.danger-row {
    background: #fff5f5;
    color: #b42318;
}

.command-row.warning-row {
    background: #fffaf0;
}

.command-insights > strong {
    display: block;
    margin-bottom: 12px;
}

.insight-item {
    background: #ffffff;
    border: 1px solid #e8eee9;
    border-left: 4px solid #198754;
    border-radius: 8px;
    padding: 12px;
}

.insight-item + .insight-item {
    margin-top: 10px;
}

.insight-item.danger {
    border-left-color: #dc3545;
}

.insight-item.warning {
    border-left-color: #ffc107;
}

.insight-item p {
    color: #495057;
    font-size: 13px;
    margin: 5px 0 0;
}

.hero-section {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    box-shadow: 0 18px 45px rgba(18, 38, 63, 0.07);
}

.profit-preview,
.auth-card,
.content-panel,
.metric-card,
.empty-state {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 38, 63, 0.06);
}

.profit-preview,
.auth-card,
.content-panel,
.empty-state {
    padding: 24px;
}

.preview-row {
    align-items: center;
    border-bottom: 1px solid #edf0f5;
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

.preview-row span {
    color: #6c757d;
}

.hero-proof-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-proof-grid div {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 12px;
}

.hero-proof-grid span,
.report-summary span,
.before-after-mini span {
    color: #667085;
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.hero-proof-grid strong {
    display: block;
    font-size: 14px;
    line-height: 1.25;
}

.hero-proof-grid.hero-proof-dark div {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-proof-grid.hero-proof-dark span {
    color: #a9b8ad;
}

.hero-proof-grid.hero-proof-dark strong {
    color: #ffffff;
}

.hero-report-card {
    box-shadow: 0 18px 42px rgba(18, 38, 63, 0.12);
}

.report-summary {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-summary div,
.before-after-mini div {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 12px;
}

.report-summary strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
}

.mini-report-table {
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    overflow: hidden;
}

.mini-report-row {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 0.9fr 0.9fr;
    padding: 10px 12px;
}

.mini-report-row + .mini-report-row {
    border-top: 1px solid #eef2f6;
}

.mini-report-row.header {
    background: #f8fafc;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.mini-report-row.danger-row {
    background: #fff5f5;
}

.mini-report-row.warning-row {
    background: #fffaf0;
}

.before-after-mini {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.before-after-mini strong {
    display: block;
    font-size: 14px;
    line-height: 1.3;
}

.landing-section {
    margin-top: 40px;
}

.section-heading {
    margin-bottom: 18px;
    max-width: 720px;
}

.section-heading h2 {
    font-size: 38px;
    font-weight: 750;
    letter-spacing: 0;
    margin: 10px 0 0;
}

.section-heading.compact {
    margin-bottom: 20px;
}

.section-heading.compact h2 {
    font-size: 28px;
}

.landing-card,
.pricing-card,
.demo-cta,
.before-after,
.onboarding-step,
.demo-metric {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 38, 63, 0.05);
}

.landing-card,
.pricing-card,
.onboarding-step {
    height: 100%;
    padding: 24px;
}

.landing-card h3,
.pricing-card h3,
.onboarding-step h2 {
    font-size: 19px;
    font-weight: 750;
    margin-bottom: 10px;
}

.landing-card p,
.pricing-card p,
.onboarding-step p,
.demo-cta p,
.before-after p {
    color: #667085;
    margin-bottom: 0;
}

.step-card span,
.onboarding-step span {
    align-items: center;
    background: #e8f5ee;
    border-radius: 999px;
    color: #198754;
    display: inline-flex;
    font-weight: 750;
    height: 34px;
    justify-content: center;
    margin-bottom: 18px;
    width: 34px;
}

.csv-flow,
.lead-calculator {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 38, 63, 0.05);
    padding: 28px;
}

.csv-flow {
    display: grid;
    gap: 22px;
}

.csv-flow-steps {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.csv-flow-steps div {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 14px;
}

.csv-flow-steps span {
    align-items: center;
    background: #e8f5ee;
    border-radius: 999px;
    color: #198754;
    display: inline-flex;
    font-weight: 750;
    height: 30px;
    justify-content: center;
    margin-bottom: 12px;
    width: 30px;
}

.csv-flow-steps strong,
.csv-flow-steps small {
    display: block;
}

.csv-flow-steps small {
    color: #667085;
    margin-top: 6px;
}

.lead-calculator {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
}

.lead-calculator-result {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 20px;
}

.lead-calculator-result h3 {
    font-size: 22px;
    font-weight: 750;
    margin-bottom: 14px;
}

.audience-list {
    display: grid;
    gap: 10px;
}

.audience-list div {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 12px 14px;
}

.calc-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calc-grid span {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 14px;
}

.before-after {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}

.before-panel,
.after-panel {
    padding: 28px;
}

.before-panel {
    background: #fff7f7;
    border-right: 1px solid #f1d6d6;
}

.after-panel {
    background: #f4fbf7;
}

.before-panel h2,
.after-panel h2,
.demo-cta h2 {
    font-size: 26px;
    font-weight: 750;
    margin-bottom: 10px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pricing-card.featured {
    border-color: #198754;
    box-shadow: 0 18px 40px rgba(25, 135, 84, 0.16);
}

.pricing-card strong {
    font-size: 28px;
}

.pricing-card ul {
    color: #495057;
    margin: 0;
    padding-left: 18px;
}

.pricing-card li + li {
    margin-top: 8px;
}

.pricing-card .btn {
    margin-top: auto;
}

.demo-cta {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 28px;
}

.demo-metric {
    height: 100%;
    padding: 18px;
}

.demo-metric.danger {
    border-left: 4px solid #dc3545;
}

.demo-metric.warning {
    border-left: 4px solid #ffc107;
}

.demo-metric span {
    color: #667085;
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.demo-metric strong {
    font-size: 26px;
}

.demo-table-wrap thead th {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 2;
}

.demo-card-list {
    display: none;
}

.demo-product-card {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    padding: 16px;
}

.demo-product-card + .demo-product-card {
    margin-top: 12px;
}

.demo-product-card.danger {
    border-left: 4px solid #dc3545;
}

.demo-product-card.warning {
    border-left: 4px solid #ffc107;
}

.demo-product-card.success {
    border-left: 4px solid #198754;
}

.demo-report-hero {
    background: #101612;
    border: 1px solid #24352c;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(16, 22, 18, 0.18);
    color: #ffffff;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    margin-bottom: 24px;
    overflow: hidden;
    padding: clamp(24px, 4vw, 44px);
    position: relative;
}

.demo-report-stats {
    display: grid;
    gap: 12px;
}

.demo-report-stats div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 18px;
}

.demo-report-stats strong {
    display: block;
    font-size: 40px;
    line-height: 1;
    margin: 8px 0;
}

.demo-report-stats small {
    color: #c3d0c8;
}

.demo-report-stats .danger {
    border-color: rgba(220, 53, 69, 0.42);
}

.demo-report-stats .danger strong {
    color: #ff8a91;
}

.demo-report-stats .warning {
    border-color: rgba(255, 193, 7, 0.45);
}

.demo-report-stats .warning strong {
    color: #ffd66b;
}

.report-workspace {
    display: grid;
    gap: 18px;
    grid-template-columns: 280px minmax(0, 1fr);
}

.report-sidebar,
.report-main {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 38, 63, 0.05);
}

.report-sidebar {
    align-self: start;
    padding: 18px;
    position: sticky;
    top: 86px;
}

.report-score {
    margin-bottom: 18px;
}

.report-filter-title {
    color: #667085;
    font-size: 12px;
    font-weight: 750;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.report-filters {
    display: grid;
    gap: 8px;
}

.report-filters a {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    color: #344054;
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    padding: 11px 12px;
}

.report-filters a.active {
    background: #e8f5ee;
    border-color: #198754;
    color: #146c43;
}

.report-filters b {
    background: #ffffff;
    border-radius: 999px;
    color: #667085;
    min-width: 28px;
    padding: 3px 8px;
    text-align: center;
}

.report-insight {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-left: 4px solid #198754;
    border-radius: 8px;
    margin-top: 14px;
    padding: 14px;
}

.report-insight.danger {
    border-left-color: #dc3545;
}

.report-insight strong {
    display: block;
    line-height: 1.3;
    margin: 6px 0;
}

.report-insight p {
    color: #667085;
    font-size: 13px;
    margin: 0;
}

.report-main {
    overflow: hidden;
}

.report-main-toolbar {
    align-items: center;
    background: #fbfdfb;
    border-bottom: 1px solid #e5e9f0;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px 18px;
}

.report-table-wrap {
    max-height: 680px;
}

.report-table {
    margin-bottom: 0;
    min-width: 1180px;
}

.report-table thead th {
    background: #ffffff;
    border-bottom: 1px solid #e5e9f0;
    position: sticky;
    top: 0;
    z-index: 2;
}

.report-table tbody tr.status-row.danger td {
    background: #fff7f7;
}

.report-table tbody tr.status-row.warning td {
    background: #fffbf0;
}

.report-table tbody tr.status-row.success td {
    background: #fbfffd;
}

.report-table tbody tr:hover td {
    background: #f1f6f3;
}

.mobile-facts {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-facts div {
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
}

.mobile-facts span {
    color: #667085;
    display: block;
    font-size: 12px;
}

.mobile-facts strong {
    display: block;
    margin-top: 2px;
}

.seo-hero {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 38, 63, 0.06);
    margin-bottom: 24px;
    padding: 34px;
}

.seo-hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0;
    max-width: 860px;
}

.seo-hero p {
    color: #667085;
    font-size: 18px;
    margin: 14px 0 0;
    max-width: 820px;
}

.result-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-grid div {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 14px;
}

.result-grid .wide {
    grid-column: 1 / -1;
}

.result-grid span {
    color: #667085;
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

.result-grid strong {
    font-size: 22px;
}

.faq-list .accordion-item {
    border-color: #e5e9f0;
}

.faq-list .accordion-button {
    font-weight: 700;
}

.support-box {
    display: grid;
    gap: 12px;
}

.support-box div {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 14px;
}

.support-box span {
    color: #667085;
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.csv-columns {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.csv-columns div {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 12px;
}

.csv-columns strong,
.csv-columns span {
    display: block;
}

.csv-columns span {
    color: #667085;
    font-size: 13px;
    margin-top: 3px;
}

.clean-list {
    color: #495057;
    padding-left: 18px;
}

.clean-list li + li {
    margin-top: 8px;
}

.mapping-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(180px, 0.7fr) minmax(220px, 1fr);
}

.mapping-head {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.mapping-label {
    align-items: center;
    display: flex;
    font-weight: 600;
}

.onboarding-mini {
    display: grid;
    gap: 10px;
}

.onboarding-mini div {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    padding: 12px;
}

.onboarding-mini strong {
    align-items: center;
    background: #e8f5ee;
    border-radius: 999px;
    color: #198754;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.interface-shot {
    background: #ffffff;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(18, 38, 63, 0.12);
    overflow: hidden;
}

.shot-toolbar {
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid #e5e9f0;
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
}

.shot-dots {
    display: flex;
    gap: 6px;
}

.shot-dots span {
    background: #ced6e0;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.shot-body {
    padding: 18px;
}

.shot-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.shot-metric {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 12px;
}

.shot-metric span {
    color: #667085;
    display: block;
    font-size: 12px;
}

.shot-metric strong {
    display: block;
    font-size: 20px;
    margin-top: 6px;
}

.shot-layout {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
}

.shot-table {
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    overflow: hidden;
}

.shot-row {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 0.8fr 0.8fr 0.8fr;
    padding: 11px 12px;
}

.shot-row + .shot-row {
    border-top: 1px solid #eef2f6;
}

.shot-row.header {
    background: #f8fafc;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.shot-row.loss {
    background: #fff5f5;
}

.shot-row.warning-row {
    background: #fffaf0;
}

.shot-side {
    display: grid;
    gap: 12px;
}

.shot-chart,
.shot-history,
.shot-export {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 14px;
}

.bar-chart {
    align-items: end;
    display: flex;
    gap: 8px;
    height: 110px;
    margin-top: 12px;
}

.bar-chart span {
    background: #198754;
    border-radius: 6px 6px 0 0;
    flex: 1;
}

.bar-chart span.loss-bar {
    background: #dc3545;
}

.trust-card {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 38, 63, 0.05);
    height: 100%;
    padding: 22px;
}

.trust-card strong {
    display: block;
    font-size: 26px;
    margin-bottom: 10px;
}

.marketplace-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.marketplace-badges span {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    color: #495057;
    font-weight: 700;
    padding: 10px 14px;
}

.screenshot-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.screenshot-card {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 38, 63, 0.05);
    padding: 18px;
}

.screenshot-card.large {
    grid-column: span 2;
}

.screenshot-card > strong {
    display: block;
    margin-bottom: 12px;
}

.screenshot-card p {
    color: #667085;
    font-size: 14px;
    margin: 12px 0 0;
}

.mini-dashboard {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-dashboard span,
.mini-product,
.mini-export {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 12px;
}

.mini-dashboard b {
    display: block;
    font-size: 20px;
    margin-top: 4px;
}

.mini-lines {
    display: grid;
    gap: 8px;
}

.mini-lines span {
    background: #edf2f7;
    border-radius: 8px;
    display: block;
    height: 28px;
}

.mini-lines .danger-line {
    background: #ffe3e3;
}

.mini-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mini-filter span {
    background: #f1f3f5;
    border-radius: 999px;
    font-size: 12px;
    padding: 7px 10px;
}

.mini-filter .active {
    background: #dc3545;
    color: #ffffff;
}

.mini-product span,
.mini-product small {
    color: #667085;
    display: block;
}

.mini-product b {
    display: block;
    font-size: 22px;
    margin: 6px 0;
}

.mini-export {
    align-items: center;
    color: #198754;
    display: flex;
    font-size: 32px;
    font-weight: 800;
    height: 94px;
    justify-content: center;
}

.metric-card {
    height: 100%;
    padding: 18px;
}

.metric-card span {
    color: #6c757d;
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.metric-card strong {
    display: block;
    font-size: 34px;
    line-height: 1.1;
}

.metric-card.success {
    border-left: 4px solid #198754;
}

.metric-card.warning {
    border-left: 4px solid #ffc107;
}

.metric-card.danger {
    border-left: 4px solid #dc3545;
}

.empty-state {
    text-align: center;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-table {
    min-width: 1280px;
}

.product-table th {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-table td {
    font-size: 14px;
}

.product-name {
    min-width: 220px;
}

.actions-cell {
    min-width: 170px;
    white-space: nowrap;
}

.csv-sample {
    background: #f2f4f7;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    color: #344054;
    font-size: 13px;
    padding: 14px;
    white-space: pre-wrap;
    word-break: break-word;
}

.badge {
    font-weight: 600;
}

.btn,
.form-control {
    border-radius: 8px;
}

.table > :not(caption) > * > * {
    padding-bottom: 14px;
    padding-top: 14px;
}

.legal-content p {
    color: #495057;
    line-height: 1.7;
}

.legal-content h2 {
    font-size: 21px;
    font-weight: 750;
    margin-top: 26px;
}

@media (max-width: 575.98px) {
    .profit-preview,
    .auth-card,
    .content-panel,
    .empty-state {
        padding: 18px;
    }

    .hero-command h1,
    .demo-report-copy h1 {
        font-size: 36px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .seo-hero h1 {
        font-size: 34px;
    }

    .metric-card strong {
        font-size: 28px;
    }

    .display-5 {
        font-size: 2rem;
    }

    .calc-grid,
    .before-after,
    .before-after-mini,
    .hero-proof-grid,
    .report-summary {
        grid-template-columns: 1fr;
    }

    .before-panel {
        border-bottom: 1px solid #f1d6d6;
        border-right: 0;
    }

    .demo-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 20px;
    }

    .csv-flow,
    .lead-calculator {
        padding: 20px;
    }
}

@media (max-width: 991.98px) {
    .hero-command h1,
    .demo-report-copy h1 {
        font-size: 44px;
    }

    .shot-metrics,
    .shot-layout,
    .screenshot-grid,
    .csv-flow-steps,
    .lead-calculator,
    .command-layout,
    .command-metrics,
    .demo-report-hero,
    .report-workspace {
        grid-template-columns: 1fr;
    }

    .command-sidebar,
    .command-insights {
        border-left: 0;
        border-right: 0;
    }

    .command-sidebar {
        border-bottom: 1px solid #e3e9e5;
    }

    .command-insights {
        border-top: 1px solid #e3e9e5;
    }

    .report-sidebar {
        position: static;
    }

    .screenshot-card.large {
        grid-column: auto;
    }

    .shot-row,
    .command-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .demo-table-wrap {
        display: none;
    }

    .demo-card-list {
        display: block;
    }

    .hero-command,
    .demo-report-hero {
        margin-left: -12px;
        margin-right: -12px;
    }

    .hero-actions,
    .report-main-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn,
    .report-main-toolbar .btn {
        width: 100%;
    }

    .report-sidebar,
    .report-main {
        border-radius: 8px;
    }
}

/* Brand color normalization: remove default Bootstrap green from UI chrome */
.btn-success,
.btn-success:focus,
.btn-success:active,
.btn-success.show {
    background: var(--tpl-primary) !important;
    border-color: var(--tpl-primary) !important;
    color: var(--tpl-primary-foreground) !important;
}

.btn-success:hover {
    background: var(--tpl-primary-hover) !important;
    border-color: var(--tpl-primary-hover) !important;
    color: var(--tpl-primary-foreground) !important;
}

.btn-outline-success {
    background: transparent !important;
    border-color: rgba(37, 99, 235, 0.28) !important;
    color: var(--tpl-primary) !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active,
.btn-outline-success.show {
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.36) !important;
    color: var(--tpl-primary) !important;
}

.badge.text-bg-success,
.text-bg-success {
    background: rgba(37, 99, 235, 0.1) !important;
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: var(--tpl-primary) !important;
}

.alert-success {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1e40af !important;
}

.text-success {
    color: var(--tpl-primary) !important;
}

.footer-link:hover,
.nav-link.active {
    color: var(--tpl-primary) !important;
}

.content-template .pricing-card.featured,
.pricing-card.featured {
    border-color: rgba(37, 99, 235, 0.38);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.16);
}

.app-health.success {
    border-top-color: var(--tpl-primary);
}

.app-health.success strong {
    color: var(--tpl-primary);
}

/* Product and auth pages aligned with the provided light SaaS template */
body.app-shell,
body.auth-template {
    background:
        radial-gradient(circle at 88% 0%, rgba(37, 99, 235, 0.08), transparent 32%),
        radial-gradient(circle at 0% 20%, rgba(37, 99, 235, 0.06), transparent 28%),
        var(--tpl-bg);
    color: var(--tpl-foreground);
}

.product-navbar {
    background: rgba(248, 250, 252, 0.86);
    border-bottom: 1px solid var(--tpl-border);
    backdrop-filter: blur(14px);
}

.product-navbar .container {
    max-width: 1280px;
}

.product-navbar .navbar-brand {
    align-items: center;
    color: var(--tpl-foreground) !important;
    display: inline-flex;
    gap: 8px;
}

.product-navbar .navbar-brand::before {
    align-items: center;
    background: var(--tpl-primary);
    border-radius: 10px;
    color: var(--tpl-primary-foreground);
    content: "◇";
    display: inline-flex;
    font-size: 18px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    width: 36px;
}

.product-navbar .nav-link {
    color: var(--tpl-muted-foreground);
    font-weight: 650;
}

.product-navbar .nav-link:hover,
.product-navbar .nav-link.active {
    color: var(--tpl-primary) !important;
}

.product-navbar .btn-success,
.app-shell .btn-success,
.auth-template .btn-success {
    background: var(--tpl-primary);
    border-color: var(--tpl-primary);
    color: var(--tpl-primary-foreground);
    font-weight: 750;
}

.product-navbar .btn-success:hover,
.app-shell .btn-success:hover,
.auth-template .btn-success:hover {
    background: var(--tpl-primary-hover);
    border-color: var(--tpl-primary-hover);
}

.product-navbar .btn-outline-success,
.app-shell .btn-outline-success,
.auth-template .btn-outline-success {
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--tpl-primary);
    font-weight: 700;
}

.product-navbar .btn-outline-success:hover,
.app-shell .btn-outline-success:hover,
.auth-template .btn-outline-success:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--tpl-primary);
}

.product-main {
    padding: 32px 0 56px;
}

.product-container {
    max-width: 1280px;
}

.auth-main {
    align-items: center;
    display: flex;
    min-height: calc(100vh - 74px);
    padding: 48px 0;
}

.auth-container {
    max-width: 1180px;
}

.app-shell h1,
.auth-template h1 {
    color: var(--tpl-foreground);
    font-weight: 850;
    letter-spacing: 0;
}

.app-shell .text-muted,
.auth-template .text-muted {
    color: var(--tpl-muted-foreground) !important;
}

.app-shell .metric-card,
.app-shell .content-panel,
.app-shell .empty-state,
.auth-template .auth-card,
.app-shell .auth-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--tpl-border);
    border-radius: var(--tpl-radius-lg);
    box-shadow: var(--tpl-shadow-sm);
}

.app-shell .metric-card,
.app-shell .content-panel,
.app-shell .empty-state,
.auth-template .auth-card {
    transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.app-shell .metric-card:hover,
.app-shell .content-panel:hover,
.auth-template .auth-card:hover {
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: var(--tpl-shadow-md);
}

.app-shell .metric-card {
    min-height: 132px;
    padding: 22px;
}

.app-shell .metric-card span {
    color: var(--tpl-muted-foreground);
    font-weight: 700;
}

.app-shell .metric-card strong {
    color: var(--tpl-foreground);
    font-size: 34px;
}

.app-shell .metric-card.success {
    border-left: 0;
    box-shadow: inset 0 4px 0 rgba(5, 150, 105, 0.85), var(--tpl-shadow-sm);
}

.app-shell .metric-card.warning {
    border-left: 0;
    box-shadow: inset 0 4px 0 rgba(217, 119, 6, 0.85), var(--tpl-shadow-sm);
}

.app-shell .metric-card.danger {
    border-left: 0;
    box-shadow: inset 0 4px 0 rgba(220, 38, 38, 0.85), var(--tpl-shadow-sm);
}

.app-shell .content-panel,
.app-shell .empty-state,
.auth-template .auth-card {
    padding: 28px;
}

.auth-template .auth-card {
    margin: 0 auto;
    max-width: 520px;
}

.auth-template .auth-card h1 {
    font-size: 32px;
}

.auth-template .auth-card::before {
    background: var(--tpl-primary);
    border-radius: 12px;
    content: "◇";
    color: var(--tpl-primary-foreground);
    display: inline-flex;
    align-items: center;
    height: 44px;
    justify-content: center;
    margin-bottom: 18px;
    width: 44px;
}

.app-shell .form-control,
.app-shell .form-select,
.auth-template .form-control,
.auth-template .form-select {
    border-color: var(--tpl-border);
    border-radius: 8px;
    min-height: 44px;
}

.app-shell .form-control:focus,
.app-shell .form-select:focus,
.auth-template .form-control:focus,
.auth-template .form-select:focus {
    border-color: var(--tpl-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.app-shell .filter-bar .btn {
    border-radius: 999px;
    font-weight: 700;
}

.app-shell .product-table,
.app-shell .table {
    color: var(--tpl-foreground);
}

.app-shell .table {
    margin-bottom: 0;
}

.app-shell .table thead th {
    background: #ffffff;
    border-bottom: 1px solid var(--tpl-border);
    color: var(--tpl-muted-foreground);
    font-size: 12px;
    letter-spacing: 0;
}

.app-shell .table tbody td {
    border-color: #edf2f7;
}

.app-shell .table-hover tbody tr {
    transition: background 140ms ease;
}

.app-shell .table-hover tbody tr:hover td {
    background: rgba(37, 99, 235, 0.035);
}

.app-shell .badge.text-bg-success,
.auth-template .badge.text-bg-success {
    background: rgba(5, 150, 105, 0.12) !important;
    color: var(--tpl-emerald) !important;
}

.app-shell .badge.text-bg-warning {
    background: rgba(217, 119, 6, 0.12) !important;
    color: var(--tpl-amber) !important;
}

.app-shell .badge.text-bg-danger {
    background: rgba(220, 38, 38, 0.12) !important;
    color: var(--tpl-destructive) !important;
}

.app-shell .csv-sample {
    background: var(--tpl-muted);
    border-color: var(--tpl-border);
    color: var(--tpl-foreground);
}

.app-shell .onboarding-mini div,
.app-shell .mapping-grid select,
.app-shell .mapping-grid input {
    border-color: var(--tpl-border);
}

.app-shell .onboarding-mini strong {
    background: rgba(37, 99, 235, 0.1);
    color: var(--tpl-primary);
}

.app-shell .alert,
.auth-template .alert {
    border-radius: var(--tpl-radius-lg);
}

.app-shell .dropdown-menu {
    border-color: var(--tpl-border);
    border-radius: var(--tpl-radius-lg);
    box-shadow: var(--tpl-shadow-md);
}

.app-shell footer,
.auth-template footer {
    background: rgba(241, 245, 249, 0.45);
    border-color: var(--tpl-border) !important;
}

.app-shell .footer-link,
.auth-template .footer-link,
.app-shell footer .text-muted,
.auth-template footer .text-muted {
    color: var(--tpl-muted-foreground) !important;
}

.app-shell footer strong,
.auth-template footer strong {
    color: var(--tpl-foreground) !important;
}

@media (max-width: 991.98px) {
    .product-navbar .navbar-collapse {
        background: rgba(248, 250, 252, 0.98);
        border: 1px solid var(--tpl-border);
        border-radius: var(--tpl-radius-lg);
        box-shadow: var(--tpl-shadow-md);
        margin-top: 12px;
        padding: 14px;
    }

    .product-navbar .ms-auto,
    .product-navbar .d-flex {
        align-items: stretch !important;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .product-main {
        padding-top: 22px;
    }

    .app-shell .content-panel,
    .app-shell .empty-state,
    .auth-template .auth-card {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-command h1,
    .demo-report-copy h1 {
        font-size: 36px;
    }
}

/* MarjaQalqan dark SaaS landing */
:root {
    --mq-bg: #070a0c;
    --mq-panel: rgba(255, 255, 255, 0.07);
    --mq-panel-strong: rgba(255, 255, 255, 0.11);
    --mq-border: rgba(255, 255, 255, 0.14);
    --mq-border-strong: rgba(112, 244, 171, 0.36);
    --mq-text: #f3fff8;
    --mq-muted: #9dadb4;
    --mq-green: #68f29d;
    --mq-green-dark: #18a964;
    --mq-cyan: #40e7d1;
    --mq-lime: #c8ff66;
    --mq-yellow: #ffd166;
    --mq-red: #ff6577;
    --mq-radius: 8px;
    --mq-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    --mq-transition: 180ms ease;
}

body.landing-dark {
    background:
        linear-gradient(180deg, #070a0c 0%, #0a1110 42%, #070a0c 100%);
    color: var(--mq-text);
}

.landing-dark a {
    color: inherit;
}

.landing-dark .landing-main {
    padding: 0 0 56px;
}

.landing-dark .landing-container {
    max-width: 1240px;
    padding-top: 32px;
}

.landing-navbar {
    background: rgba(7, 10, 12, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(18px);
}

.landing-navbar .navbar-brand {
    color: var(--mq-text) !important;
}

.landing-navbar .navbar-brand::before {
    background: linear-gradient(135deg, var(--mq-green), var(--mq-cyan));
    border-radius: 6px;
    content: "";
    display: inline-block;
    height: 12px;
    margin-right: 9px;
    vertical-align: 1px;
    width: 12px;
}

.landing-navbar .nav-link {
    color: rgba(243, 255, 248, 0.78);
    font-weight: 650;
}

.landing-navbar .nav-link:hover,
.landing-navbar .nav-link.active {
    color: var(--mq-green) !important;
}

.landing-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.18);
}

.landing-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.landing-navbar .btn-outline-success {
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--mq-text);
}

.landing-navbar .btn-outline-success:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--mq-text);
}

.landing-navbar .btn-success {
    background: var(--mq-green);
    border-color: var(--mq-green);
    color: #07100b;
    font-weight: 800;
}

.mq-hero,
.mq-section,
.mq-final-cta {
    position: relative;
}

.mq-hero {
    background:
        linear-gradient(135deg, rgba(104, 242, 157, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--mq-border);
    border-radius: var(--mq-radius);
    box-shadow: var(--mq-shadow);
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
    overflow: hidden;
    padding: 48px;
}

.mq-hero-centered {
    display: block;
    padding-bottom: 92px;
    text-align: center;
}

.mq-hero-centered .mq-hero-copy {
    margin: 0 auto;
    max-width: 860px;
}

.mq-hero-centered .mq-hero-copy p {
    margin-left: auto;
    margin-right: auto;
}

.mq-hero-centered .mq-actions,
.mq-hero-centered .mq-trust-strip {
    justify-content: center;
}

.mq-preview-wrap {
    margin: -62px auto 0;
    max-width: 1040px;
    position: relative;
    z-index: 2;
}

.mq-preview-wrap .mq-dashboard-mockup {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 252, 248, 0.9));
    color: #101612;
}

.mq-preview-wrap .mq-mockup-top,
.mq-preview-wrap .mq-mini-stat,
.mq-preview-wrap .mq-sku-table,
.mq-preview-wrap .mq-safe-price {
    color: #101612;
}

.mq-preview-wrap .mq-mini-stat,
.mq-preview-wrap .mq-calc-result div {
    background: rgba(13, 26, 18, 0.04);
    border-color: rgba(13, 26, 18, 0.08);
}

.mq-preview-wrap .mq-mini-stat strong,
.mq-preview-wrap .mq-sku-row strong,
.mq-preview-wrap .mq-sku-row b,
.mq-preview-wrap .mq-safe-price strong {
    color: #101612;
}

.mq-preview-wrap .mq-sku-row {
    border-bottom-color: rgba(13, 26, 18, 0.08);
}

.mq-stats-band {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 56px;
    padding: 26px 0;
}

.mq-stats-band div {
    align-items: center;
    display: grid;
    justify-items: center;
    text-align: center;
}

.mq-stat-icon {
    background: rgba(104, 242, 157, 0.12);
    border: 1px solid rgba(104, 242, 157, 0.24);
    border-radius: 999px;
    display: inline-flex;
    height: 42px;
    margin-bottom: 12px;
    position: relative;
    width: 42px;
}

.mq-stat-icon::after {
    background: linear-gradient(135deg, var(--mq-green), var(--mq-cyan));
    border-radius: 999px;
    content: "";
    height: 16px;
    left: 12px;
    position: absolute;
    top: 12px;
    width: 16px;
}

.mq-stats-band strong {
    color: var(--mq-text);
    display: block;
    font-size: 34px;
    line-height: 1;
}

.mq-stats-band p {
    color: var(--mq-muted);
    font-size: 14px;
    line-height: 1.45;
    margin: 8px 0 0;
    max-width: 220px;
}

.mq-hero::before,
.mq-final-cta::before {
    background:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.mq-hero > *,
.mq-final-cta > * {
    position: relative;
    z-index: 1;
}

.mq-kicker {
    background: rgba(104, 242, 157, 0.12);
    border: 1px solid rgba(104, 242, 157, 0.28);
    border-radius: 999px;
    color: var(--mq-green);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 16px;
    padding: 8px 12px;
}

.mq-hero h1,
.mq-section-head h2,
.mq-final-cta h2 {
    color: var(--mq-text);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.02;
}

.mq-hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
}

.mq-hero p,
.mq-section-head p,
.mq-final-cta p {
    color: var(--mq-muted);
    font-size: 18px;
    line-height: 1.7;
}

.mq-hero p {
    margin-bottom: 26px;
    max-width: 620px;
}

.mq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mq-btn-primary,
.mq-btn-ghost {
    border-radius: var(--mq-radius);
    font-weight: 850;
    transition: transform var(--mq-transition), box-shadow var(--mq-transition), border-color var(--mq-transition), background var(--mq-transition);
}

.mq-btn-primary {
    background: linear-gradient(135deg, var(--mq-green), var(--mq-cyan));
    border: 0;
    color: #07100b;
    box-shadow: 0 14px 32px rgba(64, 231, 209, 0.2);
}

.mq-btn-primary:hover,
.mq-btn-ghost:hover {
    transform: translateY(-2px);
}

.mq-btn-primary:hover {
    color: #07100b;
    box-shadow: 0 18px 42px rgba(104, 242, 157, 0.26);
}

.mq-btn-ghost {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.17);
    color: var(--mq-text);
}

.mq-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(104, 242, 157, 0.34);
    color: var(--mq-text);
}

.mq-trust-strip {
    color: var(--mq-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.mq-trust-strip span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 8px 11px;
}

.mq-dashboard-mockup,
.mq-glass-card,
.mq-feature-card,
.mq-steps div,
.mq-report-panel,
.mq-calculator,
.mq-price-card,
.mq-faq-grid details,
.mq-final-cta {
    background: var(--mq-panel);
    border: 1px solid var(--mq-border);
    border-radius: var(--mq-radius);
    backdrop-filter: blur(18px);
}

.mq-dashboard-mockup {
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}

.mq-mockup-top {
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid var(--mq-border);
    display: flex;
    justify-content: space-between;
    padding: 16px 18px;
}

.mq-mockup-top span,
.mq-mini-stat span,
.mq-safe-price span,
.mq-report-score span,
.mq-report-metrics span,
.mq-calc-result span,
.mq-price-card span {
    color: var(--mq-muted);
    display: block;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
}

.mq-mockup-top strong {
    display: block;
    margin-top: 4px;
}

.mq-mockup-top b {
    background: rgba(104, 242, 157, 0.14);
    border: 1px solid rgba(104, 242, 157, 0.28);
    border-radius: 999px;
    color: var(--mq-green);
    font-size: 12px;
    padding: 7px 10px;
}

.mq-hero-metrics,
.mq-report-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 18px;
}

.mq-mini-stat,
.mq-report-metrics div,
.mq-calc-result div {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mq-radius);
    padding: 14px;
}

.mq-mini-stat strong,
.mq-report-metrics strong,
.mq-calc-result strong {
    color: var(--mq-text);
    display: block;
    font-size: 24px;
    line-height: 1.05;
    margin-top: 8px;
}

.mq-mini-stat.danger strong,
.mq-report-metrics .danger strong {
    color: var(--mq-red);
}

.mq-mini-stat.warning strong,
.mq-report-metrics .warning strong {
    color: var(--mq-yellow);
}

.mq-sku-table {
    margin: 0 18px 18px;
    overflow: hidden;
}

.mq-sku-row {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(145px, 1.2fr) 0.8fr 0.9fr 0.7fr 0.8fr;
    padding: 13px 0;
}

.mq-sku-row.head {
    color: var(--mq-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.mq-sku-row em {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
    justify-content: center;
    padding: 6px 9px;
}

.mq-sku-row.danger em {
    background: rgba(255, 101, 119, 0.13);
    color: var(--mq-red);
}

.mq-sku-row.warning em {
    background: rgba(255, 209, 102, 0.13);
    color: var(--mq-yellow);
}

.mq-sku-row.success em {
    background: rgba(104, 242, 157, 0.13);
    color: var(--mq-green);
}

.mq-safe-price {
    background: rgba(104, 242, 157, 0.1);
    border-top: 1px solid rgba(104, 242, 157, 0.2);
    padding: 18px;
}

.mq-safe-price strong {
    display: block;
    margin: 6px 0;
}

.mq-safe-price p {
    color: var(--mq-muted);
    margin: 0;
}

.mq-section {
    margin-top: 84px;
}

.mq-section-head {
    margin-bottom: 26px;
    max-width: 820px;
}

.mq-section-head h2,
.mq-final-cta h2 {
    font-size: 46px;
    margin-bottom: 14px;
}

.mq-section-head p,
.mq-final-cta p {
    margin-bottom: 0;
}

.mq-card-grid {
    display: grid;
    gap: 16px;
}

.mq-card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mq-card-grid.six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mq-glass-card,
.mq-feature-card {
    min-height: 220px;
    padding: 24px;
    transition: transform var(--mq-transition), border-color var(--mq-transition), background var(--mq-transition);
}

.mq-glass-card:hover,
.mq-feature-card:hover,
.mq-price-card:hover,
.mq-faq-grid details:hover {
    background: var(--mq-panel-strong);
    border-color: var(--mq-border-strong);
    transform: translateY(-4px);
}

.mq-icon {
    background: linear-gradient(135deg, rgba(104, 242, 157, 0.95), rgba(64, 231, 209, 0.9));
    border-radius: var(--mq-radius);
    display: inline-block;
    height: 34px;
    margin-bottom: 18px;
    position: relative;
    width: 34px;
}

.mq-icon::after {
    border: solid #07100b;
    border-width: 0 3px 3px 0;
    content: "";
    height: 14px;
    left: 12px;
    position: absolute;
    top: 7px;
    transform: rotate(45deg);
    width: 8px;
}

.mq-glass-card.danger .mq-icon {
    background: linear-gradient(135deg, #ff6577, #ff9aa7);
}

.mq-glass-card.warning .mq-icon {
    background: linear-gradient(135deg, #ffd166, #ffe59c);
}

.mq-glass-card h3,
.mq-feature-card h3,
.mq-steps h3,
.mq-price-card h3 {
    color: var(--mq-text);
    font-size: 21px;
    font-weight: 850;
    margin-bottom: 10px;
}

.mq-glass-card p,
.mq-feature-card p,
.mq-steps p,
.mq-price-card p,
.mq-faq-grid p {
    color: var(--mq-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.mq-steps {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mq-steps div {
    padding: 26px;
}

.mq-steps span {
    align-items: center;
    background: rgba(104, 242, 157, 0.13);
    border: 1px solid rgba(104, 242, 157, 0.28);
    border-radius: 999px;
    color: var(--mq-green);
    display: inline-flex;
    font-size: 18px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    margin-bottom: 18px;
    width: 42px;
}

.mq-steps a {
    color: var(--mq-green);
    display: inline-flex;
    font-weight: 800;
    margin-top: 18px;
}

.mq-report-panel {
    display: grid;
    gap: 18px;
    grid-template-columns: 220px minmax(0, 1fr) 280px;
    padding: 18px;
}

.mq-report-score {
    background: #0a100d;
    border: 1px solid rgba(104, 242, 157, 0.22);
    border-radius: var(--mq-radius);
    padding: 20px;
}

.mq-report-score strong {
    color: var(--mq-green);
    display: block;
    font-size: 72px;
    line-height: 0.95;
    margin: 12px 0;
}

.mq-report-score p,
.mq-report-action p {
    color: var(--mq-muted);
    margin-bottom: 0;
}

.mq-report-metrics {
    padding: 0;
}

.mq-report-action {
    align-self: stretch;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mq-radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.mq-report-action strong {
    color: var(--mq-text);
    font-size: 22px;
    line-height: 1.2;
}

.mq-report-action .btn {
    margin-top: 18px;
}

.mq-testimonial-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mq-testimonial-grid article {
    background: var(--mq-panel);
    border: 1px solid var(--mq-border);
    border-radius: var(--mq-radius);
    padding: 26px;
    transition: transform var(--mq-transition), border-color var(--mq-transition), background var(--mq-transition);
}

.mq-testimonial-grid article:hover {
    background: var(--mq-panel-strong);
    border-color: var(--mq-border-strong);
    transform: translateY(-4px);
}

.mq-stars {
    color: var(--mq-yellow);
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.mq-testimonial-grid p {
    color: var(--mq-text);
    font-size: 17px;
    line-height: 1.6;
}

.mq-testimonial-grid strong,
.mq-testimonial-grid span {
    display: block;
}

.mq-testimonial-grid strong {
    color: var(--mq-text);
    margin-top: 22px;
}

.mq-testimonial-grid span {
    color: var(--mq-muted);
    font-size: 14px;
    margin-top: 4px;
}

.mq-calculator {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    padding: 22px;
}

.mq-calc-form {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mq-calc-form label {
    display: grid;
    gap: 8px;
}

.mq-calc-form label span {
    color: var(--mq-muted);
    font-size: 13px;
    font-weight: 750;
}

.mq-calc-form input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--mq-radius);
    color: var(--mq-text);
    min-height: 46px;
    padding: 10px 12px;
    transition: border-color var(--mq-transition), box-shadow var(--mq-transition);
}

.mq-calc-form input:focus {
    border-color: rgba(104, 242, 157, 0.55);
    box-shadow: 0 0 0 3px rgba(104, 242, 157, 0.12);
    outline: 0;
}

.mq-calc-form button {
    align-self: end;
}

.mq-calc-result {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mq-radius);
    display: grid;
    gap: 12px;
    padding: 18px;
}

.mq-calc-result p {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mq-radius);
    color: var(--mq-muted);
    margin: 0;
    padding: 12px;
}

.mq-pricing {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mq-price-card {
    display: flex;
    flex-direction: column;
    min-height: 440px;
    padding: 26px;
    transition: transform var(--mq-transition), border-color var(--mq-transition), background var(--mq-transition);
}

.mq-price-card.featured {
    background:
        linear-gradient(180deg, rgba(104, 242, 157, 0.14), rgba(255, 255, 255, 0.07));
    border-color: var(--mq-border-strong);
    box-shadow: 0 22px 60px rgba(104, 242, 157, 0.14);
}

.mq-price-card > span {
    color: var(--mq-green);
    margin-bottom: 12px;
}

.mq-price-card > strong {
    color: var(--mq-text);
    display: block;
    font-size: 34px;
    line-height: 1.05;
    margin-bottom: 12px;
}

.mq-price-card ul {
    color: var(--mq-muted);
    margin: 22px 0;
    padding-left: 18px;
}

.mq-price-card li + li {
    margin-top: 10px;
}

.mq-price-card .btn {
    margin-top: auto;
}

.mq-faq-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mq-faq-grid details {
    padding: 20px;
    transition: transform var(--mq-transition), border-color var(--mq-transition), background var(--mq-transition);
}

.mq-faq-grid summary {
    color: var(--mq-text);
    cursor: pointer;
    font-size: 18px;
    font-weight: 850;
}

.mq-faq-grid p {
    margin-top: 12px;
}

.mq-final-cta {
    background:
        linear-gradient(135deg, rgba(104, 242, 157, 0.18), rgba(64, 231, 209, 0.08)),
        rgba(255, 255, 255, 0.07);
    box-shadow: var(--mq-shadow);
    margin-top: 84px;
    overflow: hidden;
    padding: 44px;
    text-align: center;
}

.mq-final-cta h2,
.mq-final-cta p {
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

.mq-final-cta .btn {
    margin-top: 22px;
}

.landing-dark footer {
    background: #070a0c;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.landing-dark footer .text-muted,
.landing-dark .footer-link {
    color: var(--mq-muted) !important;
}

.landing-dark footer strong {
    color: var(--mq-text) !important;
}

.landing-dark .alert {
    border-radius: var(--mq-radius);
}

@media (max-width: 1199.98px) {
    .mq-hero {
        grid-template-columns: 1fr;
    }

    .mq-dashboard-mockup {
        max-width: 100%;
    }

    .mq-report-panel {
        grid-template-columns: 1fr;
    }

    .mq-stats-band,
    .mq-testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .landing-navbar .navbar-collapse {
        background: rgba(7, 10, 12, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.11);
        border-radius: var(--mq-radius);
        margin-top: 12px;
        padding: 14px;
    }

    .landing-navbar .ms-auto {
        align-items: stretch;
        flex-direction: column;
        margin-left: 0 !important;
    }

    .mq-card-grid.three,
    .mq-card-grid.six,
    .mq-steps,
    .mq-testimonial-grid,
    .mq-calculator,
    .mq-pricing,
    .mq-faq-grid {
        grid-template-columns: 1fr;
    }

    .mq-hero h1 {
        font-size: 48px;
    }

    .mq-section-head h2,
    .mq-final-cta h2 {
        font-size: 38px;
    }
}

@media (max-width: 767.98px) {
    .landing-dark .landing-container {
        padding-top: 18px;
    }

    .mq-hero,
    .mq-final-cta {
        padding: 24px;
    }

    .mq-hero h1 {
        font-size: 38px;
    }

    .mq-section-head h2,
    .mq-final-cta h2 {
        font-size: 32px;
    }

    .mq-hero p,
    .mq-section-head p,
    .mq-final-cta p {
        font-size: 16px;
    }

    .mq-actions,
    .mq-actions .btn {
        width: 100%;
    }

    .mq-sku-row {
        grid-template-columns: 1fr;
    }

    .mq-hero-metrics,
    .mq-report-metrics,
    .mq-calc-form {
        grid-template-columns: 1fr;
    }

    .mq-section,
    .mq-final-cta {
        margin-top: 56px;
    }

    .mq-price-card {
        min-height: auto;
    }

    .mq-stats-band {
        grid-template-columns: 1fr;
    }
}

/* Exact light landing template port from the provided ZIP */
:root {
    --tpl-bg: #f8fafc;
    --tpl-foreground: #1e293b;
    --tpl-card: #ffffff;
    --tpl-muted: #f1f5f9;
    --tpl-muted-foreground: #64748b;
    --tpl-primary: #2563eb;
    --tpl-primary-hover: #1d4ed8;
    --tpl-primary-foreground: #ffffff;
    --tpl-destructive: #dc2626;
    --tpl-emerald: #059669;
    --tpl-amber: #d97706;
    --tpl-border: #e2e8f0;
    --tpl-radius-lg: 16px;
    --tpl-radius-xl: 20px;
    --tpl-radius-2xl: 24px;
    --tpl-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --tpl-shadow-md: 0 10px 24px rgba(15, 23, 42, 0.08);
    --tpl-shadow-xl: 0 24px 70px rgba(15, 23, 42, 0.16);
}

body.landing-template {
    background: var(--tpl-bg);
    color: var(--tpl-foreground);
}

.landing-template .template-main {
    padding: 0;
}

.landing-template .template-page {
    max-width: none;
    padding: 0;
    width: 100%;
}

.template-navbar {
    background: rgba(248, 250, 252, 0.82);
    border-bottom: 1px solid var(--tpl-border);
    backdrop-filter: blur(14px);
}

.template-navbar .container {
    max-width: 1280px;
    padding-bottom: 16px;
    padding-top: 16px;
}

.template-navbar .navbar-brand {
    align-items: center;
    color: var(--tpl-foreground) !important;
    display: inline-flex;
    font-size: 20px;
    gap: 8px;
}

.template-navbar .navbar-brand::before {
    background: var(--tpl-primary);
    border-radius: 10px;
    color: var(--tpl-primary-foreground);
    content: "◇";
    display: inline-flex;
    align-items: center;
    height: 40px;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    width: 40px;
}

.template-navbar .nav-link {
    color: var(--tpl-muted-foreground);
    font-size: 14px;
    font-weight: 650;
    transition: color 160ms ease;
}

.template-navbar .nav-link:hover,
.template-navbar .nav-link.active {
    color: var(--tpl-foreground) !important;
}

.template-navbar .btn-outline-success {
    border-color: transparent;
    color: var(--tpl-muted-foreground);
}

.template-navbar .btn-outline-success:hover {
    background: var(--tpl-muted);
    color: var(--tpl-foreground);
}

.template-navbar .btn-success {
    background: var(--tpl-primary);
    border-color: var(--tpl-primary);
    color: var(--tpl-primary-foreground);
    font-weight: 700;
}

.template-navbar .btn-success:hover {
    background: var(--tpl-primary-hover);
    border-color: var(--tpl-primary-hover);
}

.tpl-section-inner {
    margin: 0 auto;
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
}

.tpl-hero {
    overflow: hidden;
    padding-bottom: 80px;
    padding-top: 160px;
    position: relative;
}

.tpl-bg-blob {
    border-radius: 999px;
    filter: blur(72px);
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.tpl-bg-blob-right {
    background: rgba(37, 99, 235, 0.06);
    height: 600px;
    right: -150px;
    top: -150px;
    width: 600px;
}

.tpl-bg-blob-left {
    background: rgba(37, 99, 235, 0.1);
    bottom: -100px;
    height: 400px;
    left: -110px;
    width: 400px;
}

.tpl-hero .tpl-section-inner {
    position: relative;
    z-index: 1;
}

.tpl-hero-copy {
    margin: 0 auto;
    max-width: 780px;
    text-align: center;
}

.tpl-pill {
    align-items: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 999px;
    color: var(--tpl-primary);
    display: inline-flex;
    font-size: 14px;
    font-weight: 650;
    gap: 8px;
    margin-bottom: 24px;
    padding: 8px 16px;
}

.tpl-hero h1 {
    color: var(--tpl-foreground);
    font-size: 60px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.04;
    margin: 0;
}

.tpl-hero p {
    color: var(--tpl-muted-foreground);
    font-size: 20px;
    line-height: 1.65;
    margin: 24px auto 0;
    max-width: 760px;
}

.tpl-hero-actions,
.tpl-cta-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

.tpl-btn {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-size: 16px;
    font-weight: 750;
    gap: 8px;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.tpl-btn:hover {
    transform: translateY(-1px);
}

.tpl-btn-primary {
    background: var(--tpl-primary);
    border: 1px solid var(--tpl-primary);
    color: var(--tpl-primary-foreground);
}

.tpl-btn-primary:hover {
    background: var(--tpl-primary-hover);
    border-color: var(--tpl-primary-hover);
    color: var(--tpl-primary-foreground);
}

.tpl-btn-outline {
    background: transparent;
    border: 1px solid var(--tpl-border);
    color: var(--tpl-foreground);
}

.tpl-btn-outline:hover {
    background: var(--tpl-muted);
    color: var(--tpl-foreground);
}

.tpl-btn-light {
    background: var(--tpl-primary-foreground);
    border: 1px solid var(--tpl-primary-foreground);
    color: var(--tpl-primary);
}

.tpl-btn-light:hover {
    background: rgba(255, 255, 255, 0.92);
    color: var(--tpl-primary);
}

.tpl-btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: var(--tpl-primary-foreground);
}

.tpl-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--tpl-primary-foreground);
}

.tpl-btn-full {
    width: 100%;
}

.tpl-arrow {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    height: 8px;
    transform: rotate(-45deg);
    width: 8px;
}

.tpl-trust-row {
    align-items: center;
    color: var(--tpl-muted-foreground);
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 32px;
    justify-content: center;
    margin-top: 48px;
}

.tpl-trust-row div {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.tpl-icon,
.tpl-feature-icon,
.tpl-stat-icon,
.tpl-step-icon {
    color: var(--tpl-primary);
    display: inline-flex;
    position: relative;
}

.tpl-icon {
    height: 20px;
    width: 20px;
}

.tpl-icon::before,
.tpl-feature-icon::before,
.tpl-stat-icon::before,
.tpl-step-icon::before {
    background: currentColor;
    border-radius: 2px;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
}

.tpl-icon-shield::before { clip-path: polygon(50% 0, 90% 18%, 82% 72%, 50% 100%, 18% 72%, 10% 18%); }
.tpl-icon-trend::before { clip-path: polygon(0 70%, 16% 70%, 16% 100%, 0 100%, 0 70%, 34% 48%, 48% 62%, 74% 24%, 68% 18%, 100% 0, 86% 34%, 80% 28%, 50% 76%, 34% 60%); }
.tpl-icon-zap::before { clip-path: polygon(48% 0, 12% 58%, 42% 58%, 30% 100%, 88% 38%, 56% 38%); }
.tpl-icon-users::before { clip-path: circle(34% at 50% 28%); }
.tpl-icon-package::before { clip-path: polygon(50% 0, 95% 24%, 95% 76%, 50% 100%, 5% 76%, 5% 24%); }
.tpl-icon-star::before { clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 35%); }
.tpl-icon-calculator::before { clip-path: inset(0 12% 0 12% round 2px); }
.tpl-icon-chart::before { clip-path: polygon(8% 100%, 8% 52%, 28% 52%, 28% 100%, 40% 100%, 40% 22%, 60% 22%, 60% 100%, 72% 100%, 72% 0, 92% 0, 92% 100%); }
.tpl-icon-target::before { clip-path: circle(50% at 50% 50%); }
.tpl-icon-down::before { clip-path: polygon(0 18%, 18% 0, 55% 38%, 76% 18%, 100% 42%, 55% 88%); }
.tpl-icon-alert::before { clip-path: polygon(50% 0, 100% 92%, 0 92%); }
.tpl-icon-box::before { clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%); }
.tpl-icon-link::before { clip-path: polygon(22% 32%, 38% 16%, 62% 40%, 48% 54%, 34% 40%, 18% 56%, 44% 82%, 60% 66%, 74% 80%, 44% 100%, 0 56%); }
.tpl-icon-bars::before { clip-path: polygon(0 100%, 0 56%, 22% 56%, 22% 100%, 38% 100%, 38% 22%, 60% 22%, 60% 100%, 76% 100%, 76% 0, 100% 0, 100% 100%); }
.tpl-icon-light::before { clip-path: polygon(42% 0, 58% 0, 58% 34%, 88% 18%, 96% 32%, 66% 50%, 96% 68%, 88% 82%, 58% 66%, 58% 100%, 42% 100%, 42% 66%, 12% 82%, 4% 68%, 34% 50%, 4% 32%, 12% 18%, 42% 34%); }

.tpl-dashboard-preview {
    margin: 64px auto 0;
    max-width: 1024px;
}

.tpl-dashboard-shell {
    background: var(--tpl-card);
    border: 1px solid var(--tpl-border);
    border-radius: var(--tpl-radius-2xl);
    box-shadow: var(--tpl-shadow-xl);
    padding: 8px;
}

.tpl-dashboard-inner {
    background: rgba(241, 245, 249, 0.5);
    border-radius: var(--tpl-radius-xl);
    padding: 32px;
}

.tpl-dashboard-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tpl-dashboard-card,
.tpl-product-panel,
.tpl-calc-card,
.tpl-feature-card,
.tpl-testimonial,
.tpl-price-card,
.tpl-faq,
.tpl-faq details {
    background: var(--tpl-card);
    border: 1px solid var(--tpl-border);
    border-radius: var(--tpl-radius-lg);
    box-shadow: var(--tpl-shadow-sm);
}

.tpl-dashboard-card {
    padding: 16px;
}

.tpl-dashboard-card p,
.tpl-product-panel h4,
.tpl-product-row,
.tpl-calc-form label span,
.tpl-result-stack span {
    color: var(--tpl-muted-foreground);
}

.tpl-dashboard-card p {
    font-size: 14px;
    font-weight: 650;
    margin-bottom: 4px;
}

.tpl-dashboard-card strong {
    color: var(--tpl-foreground);
    display: block;
    font-size: 24px;
    font-weight: 800;
}

.tpl-dashboard-card span {
    display: block;
    font-size: 14px;
    margin-top: 4px;
}

.tpl-positive {
    color: var(--tpl-emerald) !important;
}

.tpl-negative {
    color: var(--tpl-destructive) !important;
}

.tpl-warning {
    color: var(--tpl-amber) !important;
}

.tpl-product-panels {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.tpl-product-panel {
    padding: 16px;
}

.tpl-product-panel h4 {
    color: var(--tpl-foreground);
    font-size: 14px;
    font-weight: 750;
    margin-bottom: 12px;
}

.tpl-product-panel .tpl-danger-title {
    color: var(--tpl-destructive);
}

.tpl-product-row {
    align-items: center;
    display: flex;
    font-size: 14px;
    gap: 16px;
    justify-content: space-between;
}

.tpl-product-row + .tpl-product-row {
    margin-top: 12px;
}

.tpl-product-row > span {
    color: var(--tpl-foreground);
}

.tpl-product-row div {
    align-items: center;
    display: flex;
    gap: 16px;
}

.tpl-product-row b,
.tpl-product-row em {
    font-style: normal;
    white-space: nowrap;
}

.tpl-product-row em {
    min-width: 48px;
    text-align: right;
}

.tpl-stats {
    background: rgba(241, 245, 249, 0.3);
    border-bottom: 1px solid var(--tpl-border);
    border-top: 1px solid var(--tpl-border);
    padding: 64px 0;
}

.tpl-stats-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tpl-stats-grid div {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.tpl-stat-icon {
    align-items: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 999px;
    color: var(--tpl-primary);
    display: inline-flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 12px;
    padding: 12px;
    width: 48px;
}

.tpl-stats-grid strong {
    color: var(--tpl-foreground);
    display: block;
    font-size: 36px;
    font-weight: 850;
    line-height: 1;
}

.tpl-stats-grid p {
    color: var(--tpl-muted-foreground);
    font-size: 14px;
    margin: 8px 0 0;
}

.tpl-section {
    padding: 96px 0;
}

.tpl-muted {
    background: rgba(241, 245, 249, 0.3);
}

.tpl-section-head {
    margin: 0 auto;
    max-width: 720px;
    text-align: center;
}

.tpl-section-head h2 {
    color: var(--tpl-primary);
    font-size: 16px;
    font-weight: 750;
    margin-bottom: 8px;
}

.tpl-section-head p {
    color: var(--tpl-foreground);
    font-size: 36px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.12;
    margin-bottom: 16px;
}

.tpl-section-head > span {
    color: var(--tpl-muted-foreground);
    display: block;
    font-size: 18px;
    line-height: 1.6;
}

.tpl-feature-grid,
.tpl-testimonial-grid,
.tpl-pricing-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 64px auto 0;
    max-width: 1024px;
}

.tpl-feature-card {
    padding: 24px;
    transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.tpl-feature-card:hover,
.tpl-testimonial:hover {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: var(--tpl-shadow-md);
    transform: translateY(-2px);
}

.tpl-feature-icon {
    align-items: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    color: var(--tpl-primary);
    display: inline-flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 16px;
    padding: 12px;
    transition: background 160ms ease, color 160ms ease;
    width: 48px;
}

.tpl-feature-card:hover .tpl-feature-icon {
    background: var(--tpl-primary);
    color: var(--tpl-primary-foreground);
}

.tpl-feature-card h3,
.tpl-calc-card h3,
.tpl-step h3,
.tpl-price-card h3 {
    color: var(--tpl-foreground);
    font-size: 18px;
    font-weight: 750;
    margin-bottom: 8px;
}

.tpl-feature-card p,
.tpl-step p,
.tpl-price-card p,
.tpl-faq p {
    color: var(--tpl-muted-foreground);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 0;
}

.tpl-calculator-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 48px auto 0;
    max-width: 900px;
}

.tpl-calc-card {
    padding: 24px;
}

.tpl-calc-form {
    display: grid;
    gap: 20px;
}

.tpl-calc-form label {
    display: grid;
    gap: 8px;
}

.tpl-calc-form label span {
    font-size: 14px;
    font-weight: 700;
}

.tpl-calc-form input {
    border: 1px solid var(--tpl-border);
    border-radius: 8px;
    color: var(--tpl-foreground);
    font-size: 18px;
    height: 48px;
    padding: 8px 12px;
}

.tpl-calc-form input:focus {
    border-color: var(--tpl-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: 0;
}

.tpl-result-stack {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.tpl-result-stack div,
.tpl-result-stack p {
    background: rgba(241, 245, 249, 0.6);
    border-radius: 8px;
    margin: 0;
    padding: 16px;
}

.tpl-result-stack div {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.tpl-result-stack strong {
    color: var(--tpl-foreground);
    font-size: 20px;
}

.tpl-result-stack p {
    color: var(--tpl-muted-foreground);
    line-height: 1.55;
}

.tpl-steps {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 64px auto 0;
    max-width: 900px;
}

.tpl-step {
    position: relative;
    text-align: center;
}

.tpl-step-icon {
    align-items: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    color: var(--tpl-primary);
    display: inline-flex;
    height: 96px;
    justify-content: center;
    margin-bottom: 16px;
    padding: 28px;
    width: 96px;
}

.tpl-step b {
    color: var(--tpl-primary);
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.tpl-testimonial {
    padding: 32px;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.tpl-stars {
    color: #f59e0b;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.tpl-testimonial blockquote {
    color: var(--tpl-muted-foreground);
    line-height: 1.65;
    margin: 0;
}

.tpl-author {
    align-items: center;
    border-top: 1px solid var(--tpl-border);
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
}

.tpl-author > span {
    align-items: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 999px;
    color: var(--tpl-primary);
    display: inline-flex;
    font-size: 14px;
    font-weight: 750;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.tpl-author strong,
.tpl-author em {
    display: block;
}

.tpl-author strong {
    color: var(--tpl-foreground);
}

.tpl-author em {
    color: var(--tpl-muted-foreground);
    font-size: 14px;
    font-style: normal;
}

.tpl-price-card {
    padding: 32px;
    position: relative;
}

.tpl-price-card h3 {
    font-size: 18px;
}

.tpl-price {
    color: var(--tpl-foreground);
    font-size: 40px;
    font-weight: 850;
    line-height: 1;
    margin-top: 24px;
}

.tpl-price span {
    color: var(--tpl-muted-foreground);
    font-size: 14px;
    font-weight: 500;
}

.tpl-price-card ul {
    display: grid;
    gap: 12px;
    margin: 32px 0;
    padding: 0;
}

.tpl-price-card li {
    color: var(--tpl-muted-foreground);
    display: flex;
    font-size: 14px;
    gap: 10px;
    list-style: none;
}

.tpl-price-card li::before {
    color: var(--tpl-primary);
    content: "✓";
    font-weight: 900;
}

.tpl-price-highlight {
    background: var(--tpl-primary);
    border-color: var(--tpl-primary);
    box-shadow: var(--tpl-shadow-xl);
    color: var(--tpl-primary-foreground);
    transform: scale(1.05);
}

.tpl-price-highlight h3,
.tpl-price-highlight p,
.tpl-price-highlight .tpl-price,
.tpl-price-highlight .tpl-price span,
.tpl-price-highlight li,
.tpl-price-highlight li::before {
    color: var(--tpl-primary-foreground);
}

.tpl-popular {
    background: var(--tpl-primary-foreground);
    border-radius: 999px;
    color: var(--tpl-primary);
    font-size: 12px;
    font-weight: 750;
    left: 50%;
    padding: 4px 16px;
    position: absolute;
    top: -16px;
    transform: translateX(-50%);
}

.tpl-faq {
    margin: 64px auto 0;
    max-width: 780px;
    overflow: hidden;
}

.tpl-faq details {
    border: 0;
    border-bottom: 1px solid var(--tpl-border);
    border-radius: 0;
}

.tpl-faq details:last-child {
    border-bottom: 0;
}

.tpl-faq summary {
    color: var(--tpl-foreground);
    cursor: pointer;
    font-weight: 750;
    list-style: none;
    padding: 20px 24px;
}

.tpl-faq summary::-webkit-details-marker {
    display: none;
}

.tpl-faq p {
    padding: 0 24px 20px;
}

.tpl-cta {
    padding: 80px 0 128px;
}

.tpl-cta-panel {
    background: var(--tpl-primary);
    border-radius: 28px;
    box-shadow: var(--tpl-shadow-xl);
    color: var(--tpl-primary-foreground);
    overflow: hidden;
    padding: 72px 48px;
    position: relative;
    text-align: center;
}

.tpl-cta-panel::before {
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.32), transparent 52%);
    content: "";
    inset: 0;
    opacity: 0.35;
    position: absolute;
}

.tpl-cta-panel > * {
    position: relative;
    z-index: 1;
}

.tpl-cta-panel h2 {
    font-size: 40px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0 auto;
    max-width: 680px;
}

.tpl-cta-panel p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.65;
    margin: 24px auto 0;
    max-width: 600px;
}

.template-footer {
    background: rgba(241, 245, 249, 0.3);
    border-top: 1px solid var(--tpl-border);
    padding: 48px 0 32px;
}

.template-footer-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1.35fr repeat(3, 1fr);
}

.template-footer-brand {
    align-items: center;
    display: flex;
    gap: 8px;
}

.template-footer-brand span {
    align-items: center;
    background: var(--tpl-primary);
    border-radius: 10px;
    color: var(--tpl-primary-foreground);
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.template-footer-brand span::before {
    content: "◇";
    font-size: 18px;
    line-height: 1;
}

.template-footer-brand strong {
    color: var(--tpl-foreground);
    font-size: 18px;
}

.template-footer p {
    color: var(--tpl-muted-foreground);
    font-size: 14px;
    line-height: 1.6;
    margin: 16px 0 0;
}

.template-footer h3 {
    color: var(--tpl-foreground);
    font-size: 14px;
    font-weight: 750;
    margin-bottom: 16px;
}

.template-footer a {
    color: var(--tpl-muted-foreground);
    display: block;
    font-size: 14px;
    margin-top: 12px;
    transition: color 160ms ease;
}

.template-footer a:hover {
    color: var(--tpl-foreground);
}

.template-footer-bottom {
    align-items: center;
    border-top: 1px solid var(--tpl-border);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 32px;
}

.template-footer-bottom p {
    margin: 0;
}

.template-footer-bottom div {
    display: flex;
    gap: 24px;
}

.template-footer-bottom a {
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .template-navbar .navbar-collapse {
        background: rgba(248, 250, 252, 0.98);
        border: 1px solid var(--tpl-border);
        border-radius: 16px;
        box-shadow: var(--tpl-shadow-md);
        margin-top: 12px;
        padding: 14px;
    }

    .template-navbar .ms-auto {
        align-items: stretch;
        flex-direction: column;
        margin-left: 0 !important;
    }

    .tpl-hero h1 {
        font-size: 48px;
    }

    .tpl-dashboard-grid,
    .tpl-product-panels,
    .tpl-stats-grid,
    .tpl-feature-grid,
    .tpl-calculator-grid,
    .tpl-steps,
    .tpl-testimonial-grid,
    .tpl-pricing-grid,
    .template-footer-grid {
        grid-template-columns: 1fr;
    }

    .tpl-price-highlight {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .tpl-hero {
        padding-bottom: 56px;
        padding-top: 112px;
    }

    .tpl-section-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tpl-hero h1 {
        font-size: 38px;
    }

    .tpl-hero p,
    .tpl-section-head > span,
    .tpl-cta-panel p {
        font-size: 16px;
    }

    .tpl-section-head p,
    .tpl-cta-panel h2 {
        font-size: 30px;
    }

    .tpl-dashboard-inner,
    .tpl-cta-panel {
        padding: 24px;
    }

    .tpl-hero-actions,
    .tpl-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tpl-btn {
        width: 100%;
    }

    .tpl-section {
        padding: 72px 0;
    }

    .tpl-product-row,
    .tpl-result-stack div {
        align-items: flex-start;
        flex-direction: column;
    }

    .template-footer-bottom,
    .template-footer-bottom div {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Shared light template for public content pages and product shell */
body.content-template {
    background: var(--tpl-bg);
    color: var(--tpl-foreground);
}

.content-main {
    padding: 52px 0 72px;
}

.content-container {
    max-width: 1180px;
}

.content-template .seo-hero,
.content-template .landing-card,
.content-template .pricing-card,
.content-template .demo-cta,
.content-template .content-panel,
.content-template .report-sidebar,
.content-template .report-main,
.content-template .demo-product-card,
.content-template .accordion-item {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--tpl-border);
    border-radius: var(--tpl-radius-lg);
    box-shadow: var(--tpl-shadow-md);
}

.content-template .seo-hero {
    overflow: hidden;
    padding: 42px;
    position: relative;
}

.content-template .seo-hero::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(5, 150, 105, 0.08));
    content: "";
    height: 8px;
    inset: 0 0 auto;
    position: absolute;
}

.content-template .seo-hero .badge,
.content-template .hero-eyebrow,
.app-kicker {
    background: rgba(37, 99, 235, 0.1) !important;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 999px;
    color: var(--tpl-primary) !important;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    padding: 8px 12px;
}

.content-template .seo-hero h1 {
    color: var(--tpl-foreground);
    font-size: 48px;
    font-weight: 850;
    line-height: 1.05;
}

.content-template .seo-hero p {
    color: var(--tpl-muted-foreground);
}

.content-template .landing-card,
.content-template .pricing-card,
.content-template .content-panel {
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.content-template .landing-card:hover,
.content-template .pricing-card:hover,
.content-template .content-panel:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: var(--tpl-shadow-xl);
    transform: translateY(-2px);
}

.content-template .landing-card h3,
.content-template .pricing-card h3,
.content-template .demo-cta h2,
.content-template .content-panel h2,
.content-template .content-panel h1 {
    color: var(--tpl-foreground);
    font-weight: 850;
}

.content-template .landing-card p,
.content-template .pricing-card p,
.content-template .demo-cta p,
.content-template .content-panel p,
.content-template .legal-content p,
.content-template .legal-content li {
    color: var(--tpl-muted-foreground);
    line-height: 1.7;
}

.content-template .pricing-card.featured {
    border-color: rgba(37, 99, 235, 0.38);
    box-shadow: 0 20px 48px rgba(37, 99, 235, 0.16);
}

.content-template .pricing-card strong {
    color: var(--tpl-primary);
}

.content-template .demo-cta {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(5, 150, 105, 0.08)),
        #ffffff;
}

.content-template .demo-report-hero {
    background: #ffffff;
    border: 1px solid var(--tpl-border);
    border-radius: var(--tpl-radius-2xl);
    box-shadow: var(--tpl-shadow-xl);
    color: var(--tpl-foreground);
}

.content-template .demo-report-hero::before {
    background:
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
}

.content-template .demo-report-copy h1 {
    color: var(--tpl-foreground);
}

.content-template .demo-report-copy p,
.content-template .hero-note {
    color: var(--tpl-muted-foreground);
}

.content-template .demo-report-stats div {
    background: var(--tpl-muted);
    border: 1px solid var(--tpl-border);
    color: var(--tpl-foreground);
}

.content-template .demo-report-stats span,
.content-template .demo-report-stats small {
    color: var(--tpl-muted-foreground);
}

.content-template .demo-report-stats strong {
    color: var(--tpl-primary);
}

.content-template .demo-report-stats .danger strong {
    color: var(--tpl-destructive);
}

.content-template .demo-report-stats .warning strong {
    color: var(--tpl-amber);
}

.content-template .report-sidebar,
.content-template .report-main {
    box-shadow: var(--tpl-shadow-md);
}

.content-template .report-main-toolbar {
    background: #ffffff;
    border-bottom-color: var(--tpl-border);
}

.content-template .report-filters a,
.content-template .report-insight,
.content-template .mobile-facts div,
.content-template .result-grid div,
.content-template .csv-flow,
.content-template .lead-calculator,
.content-template .csv-sample {
    background: var(--tpl-muted);
    border-color: var(--tpl-border);
}

.content-template .report-filters a.active {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.28);
    color: var(--tpl-primary);
}

.content-template .accordion-item {
    margin-bottom: 12px;
    overflow: hidden;
}

.content-template .accordion-button {
    background: #ffffff;
    color: var(--tpl-foreground);
    font-weight: 800;
    padding: 20px 22px;
}

.content-template .accordion-button:not(.collapsed) {
    background: rgba(37, 99, 235, 0.08);
    color: var(--tpl-primary);
}

.content-template .accordion-button:focus {
    box-shadow: none;
}

.content-template .accordion-body {
    color: var(--tpl-muted-foreground);
    line-height: 1.7;
    padding: 0 22px 22px;
}

.content-template .btn-success,
.app-shell .btn-success,
.auth-template .btn-success {
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.app-hero {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(5, 150, 105, 0.08)),
        #ffffff;
    border: 1px solid var(--tpl-border);
    border-radius: var(--tpl-radius-2xl);
    box-shadow: var(--tpl-shadow-xl);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    overflow: hidden;
    padding: 30px;
}

.app-hero h1 {
    color: var(--tpl-foreground);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    margin: 14px 0 10px;
}

.app-hero p {
    color: var(--tpl-muted-foreground);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
    max-width: 720px;
}

.app-hero-side {
    display: grid;
    gap: 12px;
}

.app-health {
    background: #ffffff;
    border: 1px solid var(--tpl-border);
    border-radius: var(--tpl-radius-lg);
    box-shadow: var(--tpl-shadow-sm);
    padding: 18px;
}

.app-health span,
.app-health small {
    color: var(--tpl-muted-foreground);
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.app-health strong {
    color: var(--tpl-primary);
    display: block;
    font-size: 42px;
    line-height: 1;
    margin: 8px 0;
}

.app-health.success {
    border-top: 4px solid var(--tpl-emerald);
}

.app-health.success strong {
    color: var(--tpl-emerald);
}

.app-health.warning {
    border-top: 4px solid var(--tpl-amber);
}

.app-health.warning strong {
    color: var(--tpl-amber);
}

.app-health.danger {
    border-top: 4px solid var(--tpl-destructive);
}

.app-health.danger strong {
    color: var(--tpl-destructive);
}

.app-shell .actions-cell {
    white-space: nowrap;
}

.app-shell .product-name {
    min-width: 220px;
}

.app-shell .table-responsive {
    border-radius: var(--tpl-radius-lg);
}

@media (max-width: 991.98px) {
    .content-main {
        padding-top: 34px;
    }

    .content-template .seo-hero {
        padding: 32px;
    }

    .content-template .seo-hero h1,
    .content-template .demo-report-copy h1 {
        font-size: 38px;
    }

    .app-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .content-main {
        padding: 24px 0 48px;
    }

    .content-template .seo-hero,
    .app-hero {
        border-radius: var(--tpl-radius-lg);
        padding: 24px;
    }

    .content-template .seo-hero h1,
    .content-template .demo-report-copy h1,
    .app-hero h1 {
        font-size: 32px;
    }

    .content-template .demo-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .content-template .demo-cta .btn,
    .app-hero .btn {
        width: 100%;
    }
}

/* Brand override layer: no Bootstrap green for interface elements */
:root {
    --tpl-emerald: var(--tpl-primary);
}

.btn-success,
.btn-success:focus,
.btn-success:active,
.btn-success.show,
.content-template .btn-success,
.app-shell .btn-success,
.auth-template .btn-success,
.template-navbar .btn-success,
.product-navbar .btn-success {
    background: var(--tpl-primary) !important;
    border-color: var(--tpl-primary) !important;
    color: var(--tpl-primary-foreground) !important;
}

.btn-success:hover,
.content-template .btn-success:hover,
.app-shell .btn-success:hover,
.auth-template .btn-success:hover,
.template-navbar .btn-success:hover,
.product-navbar .btn-success:hover {
    background: var(--tpl-primary-hover) !important;
    border-color: var(--tpl-primary-hover) !important;
    color: var(--tpl-primary-foreground) !important;
}

.btn-outline-success,
.content-template .btn-outline-success,
.app-shell .btn-outline-success,
.auth-template .btn-outline-success,
.template-navbar .btn-outline-success,
.product-navbar .btn-outline-success {
    background: transparent !important;
    border-color: rgba(37, 99, 235, 0.28) !important;
    color: var(--tpl-primary) !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active,
.btn-outline-success.show,
.content-template .btn-outline-success:hover,
.app-shell .btn-outline-success:hover,
.auth-template .btn-outline-success:hover,
.template-navbar .btn-outline-success:hover,
.product-navbar .btn-outline-success:hover {
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.36) !important;
    color: var(--tpl-primary) !important;
}

.badge.text-bg-success,
.text-bg-success,
.content-template .badge.text-bg-success,
.app-shell .badge.text-bg-success,
.auth-template .badge.text-bg-success {
    background: rgba(37, 99, 235, 0.1) !important;
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: var(--tpl-primary) !important;
}

.alert-success,
.content-template .alert-success,
.app-shell .alert-success,
.auth-template .alert-success {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1e40af !important;
}

.text-success,
.content-template .text-success,
.app-shell .text-success,
.auth-template .text-success {
    color: var(--tpl-primary) !important;
}

.footer-link:hover,
.nav-link.active {
    color: var(--tpl-primary) !important;
}

.pricing-card.featured,
.content-template .pricing-card.featured {
    border-color: rgba(37, 99, 235, 0.38) !important;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.16) !important;
}

.app-health.success,
.metric-card.success {
    border-top-color: var(--tpl-primary) !important;
}

.app-health.success strong,
.metric-card.success strong {
    color: var(--tpl-primary) !important;
}

.hero-eyebrow,
.live-pill,
.step-card span,
.onboarding-step span,
.csv-flow-steps span,
.onboarding-mini strong {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: rgba(37, 99, 235, 0.16) !important;
    color: var(--tpl-primary) !important;
}

.command-filter.active,
.report-filters a.active {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: rgba(37, 99, 235, 0.28) !important;
    color: var(--tpl-primary) !important;
}

.insight-item,
.report-insight,
.demo-product-card.success,
.metric-card.success {
    border-left-color: var(--tpl-primary) !important;
}

.bar-chart span:not(.loss-bar) {
    background: var(--tpl-primary) !important;
}

.mini-export,
.tpl-positive {
    color: var(--tpl-primary) !important;
}

.report-table tbody tr.status-row.success td {
    background: #f8fbff !important;
}

/* Seller dashboard shell based on the provided mockup */
body.app-shell {
    background: #f3f5f8;
    color: #15171a;
    display: block;
    min-height: 100vh;
}

.mq-app-frame {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    min-height: 100vh;
}

.mq-sidebar {
    background: #ffffff;
    border-right: 1px solid #e7eaf0;
    height: 100vh;
    overflow-y: auto;
    padding: 22px 18px;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.mq-brand,
.mq-mobile-brand {
    align-items: center;
    color: #15171a;
    display: flex;
    gap: 12px;
    text-decoration: none;
}

.mq-brand {
    padding: 8px 8px 24px;
}

.mq-brand:hover,
.mq-mobile-brand:hover {
    color: #15171a;
}

.mq-brand-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--tpl-primary), #60a5fa);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
    color: #ffffff;
    display: inline-flex;
    font-weight: 900;
    height: 46px;
    justify-content: center;
    letter-spacing: 0;
    width: 46px;
}

.mq-brand strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.mq-brand small {
    color: #777f8c;
    display: block;
    font-size: 12px;
    margin-top: 3px;
}

.mq-side-label {
    color: #a0a7b1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 12px 12px 8px;
    text-transform: uppercase;
}

.mq-side-nav {
    display: grid;
    gap: 4px;
}

.mq-side-link {
    align-items: center;
    border-radius: 15px;
    color: #555d69;
    display: flex;
    font-size: 14px;
    font-weight: 800;
    gap: 10px;
    justify-content: space-between;
    padding: 12px;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}

.mq-side-link:hover,
.mq-side-link.active {
    background: #eaf3ff;
    color: var(--tpl-primary);
}

.mq-side-link span {
    align-items: center;
    display: inline-flex;
    gap: 11px;
}

.mq-side-link b {
    align-items: center;
    background: #f1f3f6;
    border-radius: 10px;
    color: #6b7280;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    min-width: 28px;
    padding: 0 6px;
}

.mq-side-link:hover b,
.mq-side-link.active b {
    background: #ffffff;
    color: var(--tpl-primary);
}

.mq-side-link em {
    background: #f1f3f6;
    border-radius: 999px;
    color: #777f8c;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    min-width: 22px;
    padding: 3px 8px;
    text-align: center;
}

.mq-side-card {
    background: linear-gradient(145deg, #17191f, #252a34);
    border-radius: 24px;
    color: #ffffff;
    margin-top: 22px;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.mq-side-card::after {
    background: rgba(37, 99, 235, 0.32);
    border-radius: 50%;
    content: "";
    height: 150px;
    position: absolute;
    right: -60px;
    top: -60px;
    width: 150px;
}

.mq-side-card h3,
.mq-side-card p,
.mq-side-card a {
    position: relative;
    z-index: 1;
}

.mq-side-card h3 {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 9px;
}

.mq-side-card p {
    color: #c8ced8;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 14px;
}

.mq-side-card a {
    align-items: center;
    background: #ffffff;
    border-radius: 14px;
    color: #15171a;
    display: flex;
    font-weight: 900;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
}

.mq-main {
    min-width: 0;
    padding: 18px 20px 32px;
}

.mq-mobile-top {
    display: none;
}

.mq-topbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(231, 234, 240, 0.95);
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(18, 24, 40, 0.08);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 460px) auto;
    padding: 16px 18px;
    position: sticky;
    top: 14px;
    z-index: 1020;
}

.mq-page-kicker {
    align-items: center;
    color: #777f8c;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 7px;
    margin-bottom: 5px;
}

.mq-page-kicker i {
    background: var(--tpl-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
    height: 8px;
    width: 8px;
}

.mq-topbar h1 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0;
}

.mq-search {
    display: block;
    position: relative;
}

.mq-search input {
    background: #f8fafc;
    border: 1px solid #e7eaf0;
    border-radius: 16px;
    font-size: 14px;
    height: 48px;
    outline: none;
    padding: 0 44px;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
    width: 100%;
}

.mq-search input:focus {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.mq-search span,
.mq-search kbd {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.mq-search span {
    color: #9aa2ad;
    left: 16px;
}

.mq-search kbd {
    background: #eef1f5;
    border: 0;
    border-radius: 8px;
    color: #838b96;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 7px;
    right: 12px;
}

.mq-top-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.mq-btn,
.mq-icon-btn {
    align-items: center;
    border: 0;
    border-radius: 16px;
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    text-decoration: none;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    white-space: nowrap;
}

.mq-btn-primary {
    background: var(--tpl-primary);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.24);
    color: #ffffff;
}

.mq-btn-primary:hover {
    background: var(--tpl-primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.mq-btn-soft,
.mq-icon-btn {
    background: #f4f6f9;
    border: 1px solid #e7eaf0;
    color: #22262c;
}

.mq-icon-btn {
    width: 48px;
}

.mq-avatar {
    align-items: center;
    background: #15171a;
    border-radius: 16px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    text-decoration: none;
    width: 48px;
}

.mq-avatar:hover {
    color: #ffffff;
}

.mq-content {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.mq-hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid #e7eaf0;
    border-radius: 28px;
    box-shadow: 0 14px 40px rgba(18, 24, 40, 0.08);
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 360px;
    overflow: hidden;
    padding: 24px;
    position: relative;
}

.mq-hero-card::after {
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50%;
    content: "";
    height: 420px;
    position: absolute;
    right: -170px;
    top: -220px;
    width: 420px;
}

.mq-hero-info,
.mq-hero-right {
    position: relative;
    z-index: 1;
}

.mq-pill {
    background: #eaf3ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: var(--tpl-primary);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
    padding: 8px 12px;
}

.mq-hero-info h2 {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    margin-bottom: 12px;
    max-width: 650px;
}

.mq-hero-info p {
    color: #777f8c;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    max-width: 650px;
}

.mq-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.mq-quick-chip {
    align-items: center;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid #e7eaf0;
    border-radius: 999px;
    color: #424954;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    padding: 10px 13px;
    text-decoration: none;
}

.mq-quick-chip.danger {
    background: #fff0f0;
    color: #dc2626;
}

.mq-quick-chip.warning {
    background: #fff7df;
    color: #d97706;
}

.mq-quick-chip.info {
    background: #eaf3ff;
    color: var(--tpl-primary);
}

.mq-hero-right {
    display: grid;
    gap: 12px;
}

.mq-wallet-card {
    background: #15171a;
    border-radius: 24px;
    color: #ffffff;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.mq-wallet-card::after {
    background: rgba(37, 99, 235, 0.28);
    border-radius: 50%;
    bottom: -80px;
    content: "";
    height: 170px;
    position: absolute;
    right: -70px;
    width: 170px;
}

.mq-wallet-card span,
.mq-wallet-card strong,
.mq-wallet-card small {
    position: relative;
    z-index: 1;
}

.mq-wallet-card span {
    color: #b9c0ca;
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.mq-wallet-card strong {
    display: block;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0;
    margin-top: 8px;
}

.mq-wallet-card small {
    color: #bfdbfe;
    display: inline-flex;
    font-weight: 900;
    margin-top: 10px;
}

.mq-mini-alerts {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mq-mini-alerts div,
.mq-stat-card,
.mq-panel,
.mq-empty-state {
    background: #ffffff;
    border: 1px solid #e7eaf0;
    box-shadow: 0 10px 25px rgba(18, 24, 40, 0.05);
}

.mq-mini-alerts div {
    border-radius: 18px;
    padding: 14px;
}

.mq-mini-alerts span,
.mq-stat-card span {
    color: #777f8c;
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.mq-mini-alerts strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
    margin-top: 7px;
}

.mq-stats-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mq-stat-card {
    border-radius: 24px;
    padding: 18px;
}

.mq-stat-card > div {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.mq-stat-card i {
    align-items: center;
    background: #eaf3ff;
    border-radius: 14px;
    color: var(--tpl-primary);
    display: inline-flex;
    font-style: normal;
    font-weight: 900;
    height: 40px;
    justify-content: center;
    min-width: 40px;
    padding: 0 8px;
}

.mq-stat-card.danger i {
    background: #fff0f0;
    color: #dc2626;
}

.mq-stat-card.warning i {
    background: #fff7df;
    color: #d97706;
}

.mq-stat-card strong {
    display: block;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.mq-stat-card small {
    color: #777f8c;
    font-size: 12px;
    line-height: 1.45;
}

.mq-workspace {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 370px;
}

.mq-panel,
.mq-empty-state {
    border-radius: 28px;
    overflow: hidden;
}

.mq-panel-head {
    align-items: center;
    border-bottom: 1px solid #e7eaf0;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 20px 22px;
}

.mq-panel-head h3,
.mq-panel-title h3,
.mq-chart-head h3 {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 4px;
}

.mq-panel-head p,
.mq-panel-title p,
.mq-chart-head p {
    color: #777f8c;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

.mq-segmented {
    background: #f2f4f7;
    border-radius: 16px;
    display: flex;
    gap: 5px;
    padding: 5px;
}

.mq-segmented a {
    border-radius: 12px;
    color: #68707c;
    font-size: 13px;
    font-weight: 900;
    padding: 9px 12px;
    text-decoration: none;
}

.mq-segmented a:hover {
    background: #ffffff;
    color: var(--tpl-primary);
}

.mq-table-wrap {
    overflow-x: auto;
}

.mq-table {
    border-collapse: collapse;
    margin: 0;
    min-width: 900px;
    width: 100%;
}

.mq-table th,
.mq-table td {
    border-bottom: 1px solid #edf0f5;
    padding: 15px 18px;
    vertical-align: middle;
}

.mq-table th {
    color: #8b93a0;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.mq-table tbody tr:hover td {
    background: #f8fbff;
}

.mq-product-cell {
    align-items: center;
    display: flex;
    gap: 12px;
}

.mq-product-cell > span {
    align-items: center;
    background: #eaf3ff;
    border-radius: 15px;
    color: var(--tpl-primary);
    display: inline-flex;
    flex: 0 0 42px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.mq-product-cell strong {
    display: block;
    font-weight: 900;
}

.mq-product-cell small {
    color: #777f8c;
    display: block;
    font-size: 12px;
    margin-top: 3px;
}

.mq-money-plus {
    color: var(--tpl-primary) !important;
    font-weight: 900;
}

.mq-money-minus {
    color: #dc2626 !important;
    font-weight: 900;
}

.mq-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 10px;
}

.mq-badge.ok {
    background: #eaf3ff;
    color: var(--tpl-primary);
}

.mq-badge.warn {
    background: #fff7df;
    color: #d97706;
}

.mq-badge.danger {
    background: #fff0f0;
    color: #dc2626;
}

.mq-badge.info {
    background: #edf4ff;
    color: var(--tpl-primary);
}

.mq-action-link {
    color: var(--tpl-primary);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.mq-mobile-product-list {
    display: none;
    padding: 16px;
}

.mq-product-card {
    background: #ffffff;
    border: 1px solid #e7eaf0;
    border-radius: 22px;
    padding: 16px;
}

.mq-product-card + .mq-product-card {
    margin-top: 12px;
}

.mq-product-card-top,
.mq-product-card-footer {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.mq-product-metrics {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 14px 0;
}

.mq-product-metrics div {
    background: #f8fafc;
    border-radius: 14px;
    padding: 11px;
}

.mq-product-metrics span {
    color: #777f8c;
    display: block;
    font-size: 11px;
    font-weight: 800;
}

.mq-product-metrics strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    margin-top: 4px;
}

.mq-right-column {
    display: grid;
    gap: 18px;
}

.mq-upload-panel {
    padding: 20px;
}

.mq-upload-zone {
    align-items: center;
    background: #f8fbff;
    border: 1px dashed rgba(37, 99, 235, 0.42);
    border-radius: 22px;
    color: #15171a;
    display: grid;
    justify-items: center;
    margin: 18px 0;
    min-height: 162px;
    padding: 22px;
    text-align: center;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.mq-upload-zone:hover {
    background: #eef6ff;
    border-color: var(--tpl-primary);
    color: #15171a;
    transform: translateY(-1px);
}

.mq-upload-zone span {
    align-items: center;
    background: var(--tpl-primary);
    border-radius: 18px;
    color: #ffffff;
    display: inline-flex;
    font-size: 26px;
    font-weight: 900;
    height: 58px;
    justify-content: center;
    margin-bottom: 14px;
    width: 58px;
}

.mq-upload-zone strong,
.mq-upload-zone small {
    display: block;
}

.mq-upload-zone small {
    color: #777f8c;
    line-height: 1.45;
    margin-top: 6px;
}

.mq-check-list,
.mq-mini-list {
    display: grid;
    gap: 10px;
}

.mq-check-list div {
    background: #f8fafc;
    border-radius: 14px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 800;
    padding: 12px 13px;
}

.mq-mini-list {
    padding: 14px;
}

.mq-mini-row {
    align-items: center;
    background: #f8fafc;
    border-radius: 18px;
    color: #15171a;
    display: grid;
    gap: 12px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    padding: 12px;
    text-decoration: none;
}

.mq-mini-row > span {
    align-items: center;
    background: #eaf3ff;
    border-radius: 14px;
    color: var(--tpl-primary);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.mq-mini-row strong,
.mq-mini-row small {
    display: block;
}

.mq-mini-row small {
    color: #777f8c;
    font-size: 12px;
    margin-top: 3px;
}

.mq-mini-row em {
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    padding: 7px 9px;
}

.mq-mini-row em.danger {
    background: #fff0f0;
    color: #dc2626;
}

.mq-mini-row em.warn {
    background: #fff7df;
    color: #d97706;
}

.mq-mini-row em.info {
    background: #eaf3ff;
    color: var(--tpl-primary);
}

.mq-chart-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.mq-chart-panel {
    padding: 20px 22px;
}

.mq-chart-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mq-donut-area {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: 220px minmax(0, 1fr);
}

.mq-donut {
    align-items: center;
    background: conic-gradient(var(--tpl-primary) calc(var(--score) * 1%), #eef2f7 0);
    border-radius: 50%;
    display: flex;
    height: 180px;
    justify-content: center;
    margin: 0 auto;
    width: 180px;
}

.mq-donut > div {
    align-items: center;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    height: 116px;
    justify-content: center;
    width: 116px;
}

.mq-donut strong {
    font-size: 32px;
    font-weight: 900;
}

.mq-donut span {
    color: #777f8c;
    font-size: 12px;
    font-weight: 800;
}

.mq-legend {
    display: grid;
    gap: 12px;
}

.mq-legend div {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.mq-legend span {
    align-items: center;
    color: #555d69;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 9px;
}

.mq-legend i {
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.mq-legend i.ok,
.mq-legend i.info {
    background: var(--tpl-primary);
}

.mq-legend i.warn {
    background: #d97706;
}

.mq-legend i.danger {
    background: #dc2626;
}

.mq-empty-state {
    padding: 38px;
    text-align: center;
}

.mq-app-overlay {
    background: rgba(15, 23, 42, 0.42);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 160ms ease;
    z-index: 1030;
}

.mq-app-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.mq-mobile-bottom {
    display: none;
}

@media (max-width: 1180px) {
    .mq-topbar {
        grid-template-columns: minmax(200px, 1fr) auto;
    }

    .mq-search {
        display: none;
    }

    .mq-hero-card,
    .mq-workspace {
        grid-template-columns: 1fr;
    }

    .mq-hero-right {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .mq-app-frame {
        display: block;
    }

    .mq-sidebar {
        bottom: 0;
        height: auto;
        left: 0;
        max-width: 320px;
        position: fixed;
        top: 0;
        transform: translateX(-104%);
        transition: transform 180ms ease;
        width: 86vw;
    }

    .mq-sidebar.open {
        transform: translateX(0);
    }

    .mq-main {
        padding: 14px 14px 92px;
    }

    .mq-mobile-top {
        align-items: center;
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .mq-mobile-brand .mq-brand-mark {
        height: 40px;
        width: 40px;
    }

    .mq-topbar {
        position: static;
    }

    .mq-top-actions .mq-btn-soft {
        display: none;
    }

    .mq-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mq-donut-area {
        grid-template-columns: 1fr;
    }

    .mq-mobile-bottom {
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid #e7eaf0;
        border-radius: 22px;
        bottom: 12px;
        box-shadow: 0 14px 40px rgba(18, 24, 40, 0.14);
        display: grid;
        gap: 6px;
        grid-template-columns: repeat(4, 1fr);
        left: 12px;
        padding: 8px;
        position: fixed;
        right: 12px;
        z-index: 1020;
    }

    .mq-mobile-bottom a {
        align-items: center;
        border-radius: 16px;
        color: #777f8c;
        display: grid;
        font-size: 11px;
        font-weight: 900;
        justify-items: center;
        padding: 8px 4px;
        text-decoration: none;
    }

    .mq-mobile-bottom a.active {
        background: #eaf3ff;
        color: var(--tpl-primary);
    }
}

@media (max-width: 767.98px) {
    .mq-topbar {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .mq-top-actions {
        justify-content: space-between;
    }

    .mq-top-actions .mq-btn-primary {
        flex: 1;
    }

    .mq-hero-card,
    .mq-panel,
    .mq-empty-state {
        border-radius: 22px;
    }

    .mq-hero-info h2 {
        font-size: 28px;
    }

    .mq-mini-alerts,
    .mq-stats-grid {
        grid-template-columns: 1fr;
    }

    .mq-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .mq-segmented {
        overflow-x: auto;
    }

    .mq-table-wrap {
        display: none;
    }

    .mq-mobile-product-list {
        display: block;
    }
}
