:root {
    --blue: #0084DB;
    --navy: #033c6d;
    --ink: #071525;
    --white: #fff;
    --muted: #94a3b8;
    --font: 'Outfit', system-ui, sans-serif;
    --display: 'Sora', 'Outfit', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: #06111f;
    color: var(--white);
    line-height: 1.6;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.15; }
.crm-wrap { width: min(1120px, 92%); margin: 0 auto; }
.crm-kicker {
    display: inline-block;
    color: #7dd3fc;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 1.4rem; border-radius: 999px;
    font-weight: 650; text-decoration: none; border: none; cursor: pointer;
    font-family: inherit; font-size: 0.98rem;
}
.btn-primary {
    background: linear-gradient(135deg, #033c6d, #0084DB);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 132, 219, 0.32);
}
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.crm-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(6, 17, 31, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.crm-nav {
    width: min(1120px, 92%);
    margin: 0 auto;
    height: 76px;
    display: flex; align-items: center; justify-content: space-between;
}
.crm-brand {
    display: flex; align-items: center; gap: 0.65rem;
    color: #fff; text-decoration: none; font-weight: 700;
}
.crm-brand img { border-radius: 50%; }
.crm-brand strong { color: var(--blue); }
.crm-menu { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.crm-menu a { color: rgba(255,255,255,0.82); text-decoration: none; font-weight: 500; }
.crm-cta {
    background: linear-gradient(135deg, #033c6d, #0084DB) !important;
    color: #fff !important;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
}
.crm-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; }
.crm-toggle span { width: 22px; height: 2px; background: #fff; }

.crm-hero { padding: 4.5rem 0 4rem; }
.crm-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.crm-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.crm-lead { color: var(--muted); font-size: 1.08rem; max-width: 54ch; margin-bottom: 1.6rem; }
.crm-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.crm-points { list-style: none; display: grid; gap: 0.45rem; color: #dbeafe; }
.crm-points li::before { content: "▸ "; color: var(--blue); }

.crm-mock { position: relative; min-height: 340px; }
.mock-inbox, .mock-card {
    background: linear-gradient(180deg, #0b2744, #082033);
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.35);
}
.mock-inbox { padding: 1rem; width: 88%; }
.mock-inbox__top { font-size: 0.78rem; color: #7dd3fc; margin-bottom: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.mock-row { padding: 0.7rem 0.75rem; border-radius: 12px; margin-bottom: 0.45rem; background: rgba(255,255,255,0.04); }
.mock-row span { display: block; font-weight: 650; }
.mock-row small { color: var(--muted); }
.mock-row--active { background: rgba(0, 132, 219, 0.22); }
.mock-card {
    position: absolute; right: 0; bottom: -0.5rem;
    padding: 1.1rem 1.2rem; width: 62%;
}
.mock-card__label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #7dd3fc; }
.mock-pill {
    display: inline-block; margin-top: 0.6rem; font-size: 0.75rem;
    padding: 0.25rem 0.6rem; border-radius: 999px;
    background: rgba(0,132,219,0.2); color: #bae6fd;
}

.crm-strip { padding: 0 0 3.5rem; }
.crm-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.crm-strip article {
    padding: 1.4rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,132,219,0.2);
}
.crm-strip span { color: var(--blue); font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.12em; }
.crm-strip h2 { font-size: 1.15rem; margin: 0.4rem 0; }
.crm-strip p { color: var(--muted); font-size: 0.95rem; }

.crm-story { padding-bottom: 3rem; }
.crm-story__box {
    padding: 2rem 2.2rem;
    border-radius: 22px;
    background: linear-gradient(90deg, rgba(0,132,219,0.18), rgba(3,60,109,0.4));
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1.2rem;
    font-weight: 500;
}

.crm-section { padding: 4rem 0; }
.crm-section--alt { background: rgba(3, 60, 109, 0.22); }
.crm-head { max-width: 640px; margin-bottom: 2rem; }
.crm-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.6rem; }
.crm-head p, .crm-note { color: var(--muted); }
.crm-note { margin-top: 1rem; }

.crm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.crm-cards article {
    padding: 1.4rem;
    border-radius: 18px;
    background: rgba(7, 21, 37, 0.7);
    border: 1px solid rgba(255,255,255,0.08);
}
.crm-cards h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.crm-cards p { color: var(--muted); font-size: 0.95rem; }

.crm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.crm-split h2 { margin-bottom: 1rem; }
.crm-split ol { padding-left: 1.2rem; color: #cbd5e1; display: grid; gap: 0.55rem; }

.crm-phrases { padding: 1rem 0 3rem; }
.crm-phrases ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.crm-phrases li {
    padding: 0.9rem 1rem;
    border-left: 3px solid var(--blue);
    background: rgba(255,255,255,0.03);
}

.faq-list details {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0;
}
.faq-list summary { cursor: pointer; font-weight: 650; }
.faq-list p { color: var(--muted); margin-top: 0.5rem; }

.crm-close { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.crm-close h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.8rem; }
.crm-close p { color: var(--muted); }
.crm-close__note { margin-top: 1rem; color: #bae6fd !important; }
.crm-form {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
    background: #fff; color: #0f172a;
    padding: 1.4rem; border-radius: 20px;
}
.crm-form label { display: grid; gap: 0.3rem; font-size: 0.82rem; font-weight: 650; }
.crm-form input, .crm-form textarea {
    padding: 0.7rem 0.8rem; border-radius: 10px;
    border: 1px solid #e2e8f0; font-family: inherit; font-size: 1rem;
}
.crm-form__full { grid-column: 1 / -1; }
.crm-form .btn { grid-column: 1 / -1; }
.crm-form__status { grid-column: 1 / -1; font-size: 0.92rem; }
.crm-form__status.ok { color: #166534; }
.crm-form__status.err { color: #991b1b; }

.crm-footer { padding: 2rem 0 5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.crm-footer .crm-wrap { display: flex; justify-content: space-between; color: var(--muted); }
.crm-footer a { color: #7dd3fc; text-decoration: none; }

.wa-float {
    position: fixed; right: 1.2rem; bottom: 1.2rem;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}
.wa-float svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
    .crm-hero__grid, .crm-strip__grid, .crm-cards, .crm-split, .crm-phrases ul, .crm-close, .crm-form { grid-template-columns: 1fr; }
    .crm-toggle { display: flex; }
    .crm-menu {
        position: fixed; top: 76px; right: -100%;
        width: min(280px, 86vw); height: calc(100vh - 76px);
        background: #06111f; flex-direction: column; padding: 1.5rem;
        transition: right 0.25s; border-left: 1px solid rgba(0,132,219,0.2);
    }
    .crm-menu.open { right: 0; }
    .mock-card { position: relative; width: 100%; margin-top: 0.8rem; }
    .mock-inbox { width: 100%; }
}
