/* ══════════════════════════════
   THEME TOKENS
══════════════════════════════ */
:root {
    --brand: #0099CC;
    --brand-l: #33bbee;
    --brand-dim: rgba(0, 153, 204, 0.10);
    --brand-border: rgba(0, 153, 204, 0.22);
    --max-w: 1160px;
}

/* Dark (default + auto) */
[data-theme="dark"],
[data-theme="auto"] {
    --bg: #080b0f;
    --bg2: #0c1118;
    --card: #0f1720;
    --card2: #131f2a;
    --border: rgba(255, 255, 255, 0.07);
    --text: #d8e4ee;
    --muted: #5d7080;
    --muted2: #3a4f60;
    --head: #ffffff;
    --nav-bg: rgba(8, 11, 15, 0.88);
    --grid: rgba(0, 153, 204, 0.018);
    --shadow: rgba(0, 0, 0, 0.5);
    --mock-bg: rgba(0, 0, 0, 0.25);
    --mock-border: rgba(255, 255, 255, 0.06);
    --overlay: rgba(0, 0, 0, 0.70);
}

/* System light */
@media (prefers-color-scheme: light) {
    [data-theme="auto"] {
        --bg: #f4f7fb;
        --bg2: #eaeff6;
        --card: #ffffff;
        --card2: #f0f4fa;
        --border: rgba(0, 0, 0, 0.08);
        --text: #2d3a4a;
        --muted: #6b7f94;
        --muted2: #a0b0bf;
        --head: #0d1a26;
        --nav-bg: rgba(244, 247, 251, 0.92);
        --grid: rgba(0, 153, 204, 0.04);
        --shadow: rgba(0, 0, 0, 0.12);
        --mock-bg: rgba(0, 0, 0, 0.04);
        --mock-border: rgba(0, 0, 0, 0.08);
        --overlay: rgba(0, 0, 0, 0.55);
    }
}

/* Explicit light */
[data-theme="light"] {
    --bg: #f4f7fb;
    --bg2: #eaeff6;
    --card: #ffffff;
    --card2: #f0f4fa;
    --border: rgba(0, 0, 0, 0.08);
    --text: #2d3a4a;
    --muted: #6b7f94;
    --muted2: #a0b0bf;
    --head: #0d1a26;
    --nav-bg: rgba(244, 247, 251, 0.92);
    --grid: rgba(0, 153, 204, 0.04);
    --shadow: rgba(0, 0, 0, 0.12);
    --mock-bg: rgba(0, 0, 0, 0.04);
    --mock-border: rgba(0, 0, 0, 0.08);
    --overlay: rgba(0, 0, 0, 0.55);
}

/* ══════════════════════════════
   BASE
══════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background .3s, color .3s;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 56px 56px;
}

/* ══════════════════════════════
   NAV — full-width bg, constrained content
══════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 64px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    height: 100%;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--brand);
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    overflow: hidden;
}

.nav-logo-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.nav-logo-text {
    font-size: 19px;
    font-weight: 800;
    color: var(--head);
    letter-spacing: -0.4px;
}

.nav-logo-text .ai {
    color: var(--brand);
}

.nav-links {
    display: flex;
    gap: 2px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    padding: 7px 14px;
    border-radius: 7px;
    text-decoration: none;
    transition: all .18s;
}

.nav-link:hover {
    color: var(--brand);
    background: var(--brand-dim);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: 9px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--brand-border);
    color: var(--brand);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-l);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 153, 204, .28);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ── Theme toggle ── */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 4px;
    transition: border-color .2s;
}

.theme-toggle:hover {
    border-color: var(--brand-border);
}

.tt-btn {
    width: 28px;
    height: 28px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 13px;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all .2s;
}

.tt-btn.active {
    background: var(--brand);
    color: #fff;
}

.tt-btn:not(.active) {
    color: var(--muted);
}

.tt-btn:not(.active):hover {
    color: var(--brand);
}

/* ── Hamburger + Mobile menu ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: transparent;
    transition: border-color .2s;
}

.nav-hamburger:hover {
    border-color: var(--brand-border);
}

.nav-hamburger span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    display: block;
}

/* Animate to X when open */
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 190;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    flex-direction: column;
    gap: 2px;
    animation: slideDown .2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    padding: 11px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .18s;
}

.mobile-link:hover {
    color: var(--brand);
    background: var(--brand-dim);
}

.mobile-ctas {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.mobile-ctas .btn {
    flex: 1;
    justify-content: center;
    font-size: 13px;
    padding: 11px;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
    position: relative;
    z-index: 1;
    padding: 140px 48px 80px;
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: -120px;
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 153, 204, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
    padding: 6px 14px;
    border: 1px solid var(--brand-border);
    border-radius: 30px;
    background: var(--brand-dim);
}

.hero-eyebrow::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--brand);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(1.3);
    }
}

.hero h1 {
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.06;
    color: var(--head);
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    color: var(--brand);
}

.hero-sub {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 34px;
    max-width: 460px;
}

.hero-sub strong {
    color: var(--text);
    font-weight: 600;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--muted);
}

.trust-item i {
    font-size: 13px;
    color: var(--brand);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(0, 153, 204, 0.08) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 24px;
}

.dash-window {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px var(--shadow), 0 0 0 1px rgba(0, 153, 204, 0.08);
    position: relative;
    z-index: 1;
    transition: background .3s, border-color .3s;
}

.dash-titlebar {
    background: var(--mock-bg);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.dash-dots {
    display: flex;
    gap: 5px;
}

.dash-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dash-url {
    flex: 1;
    background: var(--mock-bg);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 10px;
    color: var(--muted);
    font-family: monospace;
}

.dash-body {
    padding: 16px 18px;
}

.dash-kpis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.dash-kpi {
    background: var(--mock-bg);
    border: 1px solid var(--mock-border);
    border-radius: 9px;
    padding: 10px 12px;
}

.dash-kpi-l {
    font-size: 9px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.dash-kpi-v {
    font-size: 17px;
    font-weight: 800;
    color: var(--head);
    letter-spacing: -0.5px;
    line-height: 1;
}

.dash-kpi-v.brand {
    color: var(--brand);
}

.dash-kpi-s {
    font-size: 9px;
    margin-top: 2px;
}

.dash-kpi-s.up {
    color: #f87171;
}

.dash-kpi-s.dn {
    color: #4ade80;
}

.dash-chart-wrap {
    background: var(--mock-bg);
    border: 1px solid var(--mock-border);
    border-radius: 9px;
    padding: 10px 12px;
}

.dash-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.dash-chart-title {
    font-size: 9px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dash-legend {
    display: flex;
    gap: 8px;
}

.dash-legend-item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 8.5px;
    color: var(--muted);
}

.dash-legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Floating badges */
.dash-alert {
    position: absolute;
    bottom: 24px;
    right: -18px;
    background: var(--card);
    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: 10px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px var(--shadow);
    font-size: 11px;
    z-index: 2;
    animation: floatA 3s ease-in-out infinite;
    max-width: 200px;
}

@keyframes floatA {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.dash-alert-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f87171;
    flex-shrink: 0;
    animation: pulse 1.5s infinite;
}

.dash-alert-title {
    font-weight: 700;
    color: var(--head);
    font-size: 11px;
}

.dash-alert-sub {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

.dash-roi {
    position: absolute;
    top: 40px;
    left: -22px;
    background: linear-gradient(135deg, rgba(0, 153, 204, 0.18), rgba(0, 153, 204, 0.06));
    border: 1px solid var(--brand-border);
    border-radius: 10px;
    padding: 9px 14px;
    box-shadow: 0 8px 24px var(--shadow);
    z-index: 2;
    animation: floatR 3.5s ease-in-out infinite;
}

@keyframes floatR {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.dash-roi-val {
    font-size: 18px;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: -0.5px;
    line-height: 1;
}

.dash-roi-label {
    font-size: 9px;
    color: var(--muted);
    margin-top: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ══════════════════════════════
   INTEGRATION STRIP
══════════════════════════════ */
.integration-strip {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 48px;
    background: var(--bg2);
    transition: background .3s;
}

.strip-label {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--muted2);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-align: center;
    margin-bottom: 20px;
}

.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    opacity: .4;
    transition: opacity .2s, transform .2s;
    cursor: default;
}

.logo-item:hover {
    opacity: .85;
    transform: translateY(-2px);
}

.logo-item i {
    font-size: 36px;
    color: var(--head);
}

.logo-item span {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ══════════════════════════════
   SECTIONS
══════════════════════════════ */
.section-wrap {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 88px 48px;
}

.section-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -1.2px;
    color: var(--head);
    line-height: 1.12;
    margin-bottom: 14px;
}

.section-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 52px;
}

.alt-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}

/* Pain Stats */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.pain-stat {
    background: var(--card);
    padding: 28px 22px;
    text-align: center;
    transition: background .2s;
}

.pain-stat:hover {
    background: var(--card2);
}

.pain-n {
    font-size: 34px;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
}

.pain-l {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

/* Problem Cards */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.problem-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: all .2s;
}

.problem-card:hover {
    border-color: rgba(248, 113, 113, 0.3);
    transform: translateY(-2px);
}

.problem-icon {
    font-size: 22px;
    margin-bottom: 14px;
}

.problem-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--head);
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

/* ══════════════════════════════
   PRODUCT SHOWCASE
══════════════════════════════ */
.product-showcase {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 88px 48px;
}

.product-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.ptab {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    padding: 10px 22px;
    border-radius: 9px;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--card);
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ptab i {
    font-size: 16px;
}

.ptab:hover {
    color: var(--brand);
    border-color: var(--brand-border);
}

.ptab.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.pscreen {
    display: none;
}

.pscreen.active {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 44px;
    align-items: start;
}

.pscreen-copy h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--head);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.pscreen-copy p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 22px;
}

.pscreen-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pscreen-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
}

.pscreen-bullets li i {
    color: var(--brand);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.pscreen-bullets li strong {
    color: var(--head);
}

.pscreen-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 4px 12px;
    border: 1px solid var(--brand-border);
    border-radius: 20px;
    background: var(--brand-dim);
}

/* Big Mockup */
.big-mock {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px var(--shadow);
    transition: background .3s;
}

.big-mock-bar {
    background: var(--mock-bg);
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.big-mock-dots {
    display: flex;
    gap: 5px;
}

.big-mock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.big-mock-url {
    flex: 1;
    background: var(--mock-bg);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 4px 12px;
    font-size: 10px;
    color: var(--muted);
    font-family: monospace;
}

.big-mock-body {
    padding: 20px 22px;
}

/* KPIs */
.mk-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.mk-kpi {
    background: var(--mock-bg);
    border: 1px solid var(--mock-border);
    border-radius: 10px;
    padding: 12px 14px;
}

.mk-kpi-l {
    font-size: 9px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.mk-kpi-v {
    font-size: 19px;
    font-weight: 800;
    color: var(--head);
    letter-spacing: -0.5px;
    line-height: 1;
}

.mk-kpi-v.brand {
    color: var(--brand);
}

.mk-kpi-s {
    font-size: 9px;
    margin-top: 3px;
}

.mk-kpi-s.up {
    color: #f87171;
}

.mk-kpi-s.dn {
    color: #4ade80;
}

/* Chart */
.mk-chart {
    background: var(--mock-bg);
    border: 1px solid var(--mock-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.mk-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mk-chart-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mk-legend {
    display: flex;
    gap: 10px;
}

.mk-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: var(--muted);
}

.mk-legend-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

/* Teams */
.mk-teams {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mk-team-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mk-team-name {
    font-size: 11px;
    color: var(--text);
    width: 84px;
    flex-shrink: 0;
}

.mk-team-bar-wrap {
    flex: 1;
    background: var(--mock-bg);
    border-radius: 5px;
    height: 18px;
    overflow: hidden;
    border: 1px solid var(--mock-border);
}

.mk-team-bar {
    height: 100%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding-left: 8px;
}

.mk-team-bar span {
    font-size: 9.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.mk-team-val {
    font-size: 11px;
    font-weight: 700;
    width: 42px;
    text-align: right;
    flex-shrink: 0;
}

/* Alerts */
.mk-alerts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mk-alert-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 9px;
    border: 1px solid;
}

.mk-alert-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.mk-alert-body h5 {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--head);
    margin-bottom: 2px;
}

.mk-alert-body p {
    font-size: 10.5px;
    color: var(--muted);
}

.mk-alert-time {
    font-size: 9.5px;
    color: var(--muted2);
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Report */
.mk-report {
    background: var(--mock-bg);
    border: 1px solid var(--mock-border);
    border-radius: 10px;
    padding: 18px;
}

.mk-report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.mk-report-btn {
    font-size: 11px;
    font-weight: 700;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 7px 14px;
    cursor: pointer;
    white-space: nowrap;
}

.mk-report-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.mk-rk {
    text-align: center;
    padding: 10px;
    background: var(--card);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.mk-rk-v {
    font-size: 17px;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: -0.5px;
}

.mk-rk-l {
    font-size: 9px;
    color: var(--muted);
    margin-top: 2px;
}

.mk-report-insight {
    padding: 8px 12px;
    background: rgba(74, 222, 128, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 7px;
    font-size: 10.5px;
    color: #4ade80;
    font-weight: 600;
}

/* ══════════════════════════════
   ACTION PILLARS (Understand → Optimize → Monetize)
══════════════════════════════ */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 0;
}

.pillar {
    background: var(--card);
    padding: 36px 32px;
    position: relative;
    transition: background .2s;
}

.pillar:hover {
    background: var(--card2);
}

.pillar-step {
    font-size: 10px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pillar-step::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--brand);
}

.pillar-num {
    font-size: 64px;
    font-weight: 900;
    color: rgba(0, 153, 204, 0.06);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 24px;
    letter-spacing: -4px;
}

.pillar h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--head);
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.pillar p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 18px;
}

.pillar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pillar-list li {
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.pillar-list li::before {
    content: '→';
    color: var(--brand);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 11px;
    margin-top: 1px;
}

.pillar-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    border-bottom: 1px solid var(--brand-border);
    padding-bottom: 2px;
    transition: gap .18s, border-color .18s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: 'Poppins', sans-serif;
}

.pillar-cta:hover {
    gap: 10px;
    border-bottom-color: var(--brand);
}

.pillar-connector {
    display: none;
}

@media (min-width: 961px) {
    .pillar-connector {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: -1px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        width: 28px;
        height: 28px;
        background: var(--brand);
        border-radius: 50%;
        font-size: 11px;
        color: #fff;
        font-weight: 700;
    }

    .pillar {
        position: relative;
    }

    .pillar:last-child .pillar-connector {
        display: none;
    }
}

/* ══════════════════════════════
   HOW IT WORKS
══════════════════════════════ */
.hiw-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.hiw-step {
    background: var(--card);
    padding: 32px 28px;
}

.hiw-step-num {
    font-size: 52px;
    font-weight: 900;
    color: rgba(0, 153, 204, 0.08);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -2px;
}

.hiw-step h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--head);
    margin-bottom: 8px;
}

.hiw-step p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

.hiw-badge {
    display: inline-flex;
    margin-top: 14px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.b-easy {
    background: rgba(74, 222, 128, 0.08);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.b-smart {
    background: var(--brand-dim);
    color: var(--brand);
    border: 1px solid var(--brand-border);
}

.b-edge {
    background: rgba(192, 132, 252, 0.08);
    color: #c084fc;
    border: 1px solid rgba(192, 132, 252, 0.2);
}

/* ══════════════════════════════
   COMPARISON TABLE
══════════════════════════════ */
.comp-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comp-table thead tr {
    background: var(--card);
}

.comp-table th {
    padding: 13px 16px;
    text-align: center;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.comp-table th:first-child {
    text-align: left;
    width: 190px;
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--card);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.12);
}

.comp-table th.col-q {
    color: var(--brand);
    background: linear-gradient(180deg, rgba(0, 153, 204, 0.08), var(--card));
    position: relative;
}

.comp-table th.col-q::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand);
}

.comp-table td {
    padding: 11px 16px;
    font-size: 12.5px;
    color: var(--muted);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.comp-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text);
    background: var(--card);
    border-right: 1px solid var(--border);
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.10);
}

.comp-table td.col-q {
    background: rgba(0, 153, 204, 0.04);
}

.comp-table tr:last-child td {
    border-bottom: none;
}

.comp-table tbody tr:hover td {
    background: var(--bg2);
}

.comp-table tbody tr:hover td:first-child {
    background: var(--card2);
}

.yes {
    color: #4ade80;
    font-size: 15px;
}

.no {
    color: var(--muted2);
    font-size: 15px;
}

.part {
    color: #facc15;
    font-size: 11px;
    font-weight: 600;
}

/* ══════════════════════════════
   PRICING
══════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 26px;
    position: relative;
    transition: all .2s;
}

.price-card:hover {
    border-color: var(--brand-border);
    transform: translateY(-2px);
}

.price-card.featured {
    border-color: var(--brand);
    background: linear-gradient(155deg, rgba(0, 153, 204, 0.07), var(--card));
}

.feat-pill {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}

.plan-tier {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 40px;
    font-weight: 900;
    color: var(--head);
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 3px;
}

.plan-price sub {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
}

.plan-for {
    font-size: 12px;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 20px;
}

.plan-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 18px 0;
}

.plan-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.plan-feats li {
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.plan-feats li .ck {
    color: var(--brand);
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-feats li .off {
    color: var(--muted2);
}

.plan-cta {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 12px;
    text-align: center;
    border-radius: 9px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.plan-cta-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.plan-cta-outline:hover {
    border-color: var(--brand-border);
    color: var(--brand);
}

.plan-cta-filled {
    background: var(--brand);
    color: #fff;
    border: none;
}

.plan-cta-filled:hover {
    background: var(--brand-l);
    box-shadow: 0 6px 20px rgba(0, 153, 204, .3);
}

.pricing-note {
    text-align: center;
    margin-top: 20px;
    font-size: 12.5px;
    color: var(--muted);
}

.pricing-note a {
    color: var(--brand);
    text-decoration: none;
}

/* ══════════════════════════════
   CTA SECTION
══════════════════════════════ */
.cta-section {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 100px 48px;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 153, 204, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 50px);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 17px;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.cta-section p strong {
    color: var(--text);
}

.cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-footnote {
    margin-top: 20px;
    font-size: 12px;
    color: var(--muted2);
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 36px 48px;
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: start;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 17px;
    font-weight: 800;
    color: var(--head);
    text-decoration: none;
}

.footer-logo-icon {
    width: 26px;
    height: 26px;
    background: var(--brand);
    border-radius: 6px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.footer-logo-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.footer-logo .ai {
    color: var(--brand);
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 6px;
    transition: color .15s;
}

.footer-col a:hover {
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-w);
    margin: 0 auto;
}

.footer-copy {
    font-size: 11.5px;
    color: var(--muted2);
}

.footer-copy a {
    color: var(--brand);
    text-decoration: none;
}

/* ══════════════════════════════
   MODAL
══════════════════════════════ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: var(--overlay);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px var(--shadow);
    animation: modalIn .25s cubic-bezier(.4, 0, .2, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.modal-header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.modal-header-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--head);
    letter-spacing: -0.4px;
    margin-bottom: 4px;
}

.modal-header-text p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 16px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all .18s;
}

.modal-close:hover {
    color: var(--head);
    border-color: var(--brand-border);
    background: var(--card2);
}

.modal-body {
    padding: 24px 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.form-group label span {
    color: var(--brand);
}

.form-input,
.form-select,
.form-textarea {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 11px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-dim);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted2);
}

.form-select {
    appearance: none;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-footer {
    padding: 16px 28px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-submit {
    padding: 14px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-submit:hover {
    background: var(--brand-l);
    box-shadow: 0 6px 20px rgba(0, 153, 204, .3);
}

.form-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-note {
    font-size: 11.5px;
    color: var(--muted);
    text-align: center;
}

/* Success / Error states */
.modal-success {
    display: none;
    padding: 40px 28px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.modal-success.show {
    display: flex;
}

.modal-success-icon {
    font-size: 48px;
}

.modal-success h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--head);
}

.modal-success p {
    font-size: 14px;
    color: var(--muted);
    max-width: 340px;
    line-height: 1.7;
}

.form-error {
    font-size: 12px;
    color: #f87171;
    margin-top: 4px;
    display: none;
}

.form-error.show {
    display: block;
}

/* ══════════════════════════════
   FADE
══════════════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: none;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 960px) {
    .nav-inner {
        padding: 0 16px;
    }

    /* Hide desktop nav items AND theme toggle — move to mobile menu */
    .nav-links,
    .nav-right .btn,
    .nav-right .theme-toggle {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 100px 16px 48px;
    }

    .hero-sub {
        max-width: 100%;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        margin: 0;
        overflow: hidden;
    }

    .dash-roi {
        left: 4px;
        top: 16px;
    }

    .dash-alert {
        right: 4px;
    }

    .section-wrap,
    .product-showcase,
    .cta-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .integration-strip {
        padding: 20px 16px;
    }

    .logos-row {
        gap: 24px;
    }

    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-grid,
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .hiw-steps {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pscreen.active {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mk-kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-report-kpis {
        grid-template-columns: 1fr;
    }

    footer {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 28px 16px;
    }

    .footer-bottom {
        padding: 16px 16px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .product-tabs {
        gap: 4px;
    }

    .ptab {
        font-size: 11px;
        padding: 8px 10px;
    }

    footer {
        grid-template-columns: 1fr;
    }

    .logos-row {
        gap: 18px;
    }

    .logo-item i {
        font-size: 26px;
    }

    .modal {
        border-radius: 14px;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}