/* Homepage hero only — white canvas, green-to-blue gradients, CRM device mockups. */

.mcw-home-hero {
    --mcw-hero-blue: #2563eb;
    --mcw-hero-sky: #0ea5e9;
    --mcw-hero-teal: #14b8a6;
    --mcw-hero-green: #22c55e;
    --mcw-hero-green-deep: #16a34a;
    --mcw-hero-violet: #8b5cf6;
    --mcw-hero-ink: #0f1f3d;
    --mcw-hero-text: #475569;
    --mcw-hero-muted: #94a3b8;
    --mcw-hero-line: #e8edf4;
    --mcw-hero-grad: linear-gradient(90deg, #22c55e 0%, #14b8a6 45%, #0ea5e9 75%, #2563eb 100%);

    position: relative;
    overflow: hidden;
    padding: 168px 0 40px;
    background:
        radial-gradient(ellipse 620px 420px at 82% 30%, rgba(14, 165, 233, 0.08), transparent 70%),
        radial-gradient(ellipse 520px 380px at 12% 20%, rgba(34, 197, 94, 0.07), transparent 70%),
        #f9fbfd;
    color: var(--mcw-hero-ink);
    font-family: "Plus Jakarta Sans", Manrope, sans-serif;
}

.mcw-home-hero__shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    padding-left: clamp(20px, 3vw, 56px);
    padding-right: clamp(20px, 3vw, 56px);
}

.mcw-home-hero__waves {
    position: absolute;
    left: 0;
    right: 0;
    top: 300px;
    width: 100%;
    height: 520px;
    pointer-events: none;
}

.mcw-home-hero ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mcw-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(560px, 1fr) minmax(0, 1.18fr);
    gap: 28px 20px;
    align-items: center;
}

.mcw-home-hero__copy {
    min-width: 0;
}

/* ---------- Copy ---------- */

.mcw-home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--mcw-hero-green-deep);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.mcw-home-hero__badge-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.mcw-home-hero__title {
    margin: 0 0 22px;
    color: var(--mcw-hero-ink);
    font-size: clamp(36px, 3.1vw, 56px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.mcw-home-hero__line {
    display: block;
    white-space: nowrap;
}

.mcw-home-hero__line--grad {
    background: var(--mcw-hero-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.06em;
}

.mcw-home-hero__lead {
    max-width: 560px;
    margin: 0 0 30px;
    color: var(--mcw-hero-text);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
}

.mcw-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.mcw-home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    min-height: 54px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.mcw-home-hero__btn i {
    font-size: 14px;
}

.mcw-home-hero__btn--primary {
    background: linear-gradient(90deg, #22c55e, #0ea5e9 70%, #2563eb);
    color: #fff;
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.28);
}

.mcw-home-hero__btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(14, 165, 233, 0.34);
}

.mcw-home-hero__btn--ghost {
    background: #fff;
    color: var(--mcw-hero-blue);
    border: 1.5px solid #bfd7f5;
}

.mcw-home-hero__btn--ghost:hover {
    border-color: var(--mcw-hero-blue);
    color: var(--mcw-hero-blue);
    transform: translateY(-2px);
}

.mcw-home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.mcw-home-hero__clients {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mcw-home-hero__clients p,
.mcw-home-hero__reviews p {
    margin: 0 0 4px;
    color: var(--mcw-hero-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.mcw-home-hero__clients small {
    color: var(--mcw-hero-text);
    font-size: 12px;
    font-weight: 500;
}

.mcw-home-hero__avatars {
    display: flex;
    align-items: center;
}

.mcw-home-hero__avatars li + li {
    margin-left: -11px;
}

.mcw-home-hero__avatars img,
.mcw-home-hero__avatar-more {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(15, 31, 61, 0.1);
}

.mcw-home-hero__avatar-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f8ee;
    color: var(--mcw-hero-green-deep);
    font-size: 14px;
}

.mcw-home-hero__reviews {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 31, 61, 0.07);
}

.mcw-home-hero__reviews-icon {
    color: #f5b400;
    font-size: 20px;
}

.mcw-home-hero__stars {
    color: #f5b400;
    font-size: 13px;
    letter-spacing: 1px;
}

.mcw-home-hero__reviews strong {
    margin-left: 4px;
    color: var(--mcw-hero-ink);
    font-size: 19px;
    font-weight: 800;
    align-self: flex-end;
}

.mcw-home-hero__reviews strong small {
    color: var(--mcw-hero-blue);
    font-size: 16px;
    font-weight: 700;
}

/* ---------- Device stage ---------- */

.mcw-home-hero__stage {
    position: relative;
    width: 100%;
    max-width: none;
    height: 600px;
    justify-self: stretch;
    line-height: 1.25;
}

.mcw-home-hero__spark {
    position: absolute;
    top: 52px;
    left: -10px;
    width: 40px;
    height: 54px;
}

.mcw-home-hero__spark i {
    position: absolute;
    width: 4px;
    height: 18px;
    border-radius: 4px;
    background: var(--mcw-hero-teal);
}

.mcw-home-hero__spark i:nth-child(1) { left: 22px; top: 0; transform: rotate(-30deg); }
.mcw-home-hero__spark i:nth-child(2) { left: 6px; top: 16px; transform: rotate(-62deg); background: var(--mcw-hero-green); }
.mcw-home-hero__spark i:nth-child(3) { left: 4px; top: 38px; transform: rotate(-88deg); background: var(--mcw-hero-sky); }

.mcw-home-hero__laptop {
    position: absolute;
    top: 30px;
    left: 8px;
    right: 70px;
}

.mcw-home-hero__screen {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    height: 452px;
    overflow: hidden;
    border: 10px solid #1e2533;
    border-radius: 18px 18px 6px 6px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(15, 31, 61, 0.16);
    font-size: 9px;
    color: var(--mcw-hero-ink);
}

.mcw-home-hero__base {
    position: relative;
    height: 14px;
    margin: 0 -34px;
    border-radius: 0 0 22px 22px;
    background: linear-gradient(180deg, #e2e8f0, #a8b3c4);
    box-shadow: 0 18px 30px rgba(15, 31, 61, 0.18);
}

.mcw-home-hero__base::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 110px;
    height: 6px;
    transform: translateX(-50%);
    border-radius: 0 0 8px 8px;
    background: #94a3b8;
}

.mcw-home-hero__side {
    padding: 12px 8px;
    border-right: 1px solid var(--mcw-hero-line);
}

.mcw-home-hero__side-brand,
.mcw-home-hero__phone-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--mcw-hero-blue);
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mcw-home-hero__side-brand {
    margin-bottom: 14px;
}

.mcw-home-hero__side-brand img,
.mcw-home-hero__phone-brand img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.mcw-home-hero__side li {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 3px;
    padding: 6px 7px;
    border-radius: 7px;
    color: #334155;
    font-weight: 600;
}

.mcw-home-hero__side li i {
    width: 10px;
    color: var(--mcw-hero-blue);
    font-size: 9px;
    text-align: center;
}

.mcw-home-hero__side li.is-active {
    background: #e8f1fe;
    color: var(--mcw-hero-blue);
}

.mcw-home-hero__main {
    min-width: 0;
    padding: 10px 12px;
    background: #fbfcfe;
}

.mcw-home-hero__topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--mcw-hero-muted);
}

.mcw-home-hero__search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 8px;
}

.mcw-home-hero__user {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mcw-home-hero__user b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mcw-hero-green), var(--mcw-hero-blue));
    color: #fff;
    font-size: 7px;
}

.mcw-home-hero__user span {
    color: var(--mcw-hero-ink);
    font-size: 8px;
    font-weight: 700;
}

.mcw-home-hero__user small {
    display: block;
    color: var(--mcw-hero-muted);
    font-size: 7px;
    font-weight: 500;
}

.mcw-home-hero__dash-head,
.mcw-home-hero__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.mcw-home-hero__dash-head {
    margin-bottom: 10px;
}

.mcw-home-hero__dash-head strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mcw-home-hero__dash-head small {
    color: var(--mcw-hero-muted);
    font-size: 8px;
}

.mcw-home-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    border: 1px solid var(--mcw-hero-line);
    border-radius: 6px;
    background: #fff;
    color: var(--mcw-hero-text);
    font-size: 7px;
    font-weight: 600;
    white-space: nowrap;
}

.mcw-home-hero__kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.mcw-home-hero__kpis div {
    padding: 9px 10px;
    border-radius: 10px;
}

.mcw-home-hero__kpis .is-green { background: #ecfbf2; }
.mcw-home-hero__kpis .is-blue { background: #edf4ff; }
.mcw-home-hero__kpis .is-teal { background: #eafaf8; }
.mcw-home-hero__kpis .is-violet { background: #f3f0ff; }

.mcw-home-hero__kpis span {
    display: block;
    color: var(--mcw-hero-blue);
    font-size: 7.5px;
    font-weight: 600;
}

.mcw-home-hero__kpis strong {
    display: block;
    margin: 4px 0 5px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mcw-home-hero__kpis em,
.mcw-home-hero__clients-list em,
.mcw-home-hero__phone-stats em {
    color: var(--mcw-hero-green-deep);
    font-size: 7px;
    font-style: normal;
    font-weight: 700;
}

.mcw-home-hero__row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.mcw-home-hero__panel {
    padding: 9px 10px;
    border: 1px solid var(--mcw-hero-line);
    border-radius: 10px;
    background: #fff;
}

.mcw-home-hero__panel-head b {
    font-size: 9px;
    font-weight: 700;
}

.mcw-home-hero__panel svg {
    display: block;
    width: 100%;
    height: 92px;
    margin-top: 6px;
}

.mcw-home-hero__months {
    display: flex;
    justify-content: space-between;
    color: var(--mcw-hero-muted);
    font-size: 7px;
}

.mcw-home-hero__clients-list {
    margin-top: 6px !important;
}

.mcw-home-hero__clients-list li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto 26px;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    font-size: 8px;
    font-weight: 600;
}

.mcw-home-hero__clients-list li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff;
    font-size: 6.5px;
    font-style: normal;
    font-weight: 700;
}

.mcw-home-hero .is-teal { --dot: var(--mcw-hero-teal); }
.mcw-home-hero .is-blue { --dot: var(--mcw-hero-blue); }
.mcw-home-hero .is-green { --dot: var(--mcw-hero-green); }
.mcw-home-hero .is-violet { --dot: var(--mcw-hero-violet); }

.mcw-home-hero__clients-list li i {
    background: var(--dot);
}

.mcw-home-hero__clients-list span {
    color: var(--mcw-hero-text);
}

.mcw-home-hero__clients-list em {
    text-align: right;
}

.mcw-home-hero__deals table {
    width: 100%;
    margin-top: 4px;
    border-collapse: collapse;
    font-size: 7.5px;
}

.mcw-home-hero__deals th {
    padding: 4px 0;
    color: var(--mcw-hero-muted);
    font-weight: 600;
    text-align: left;
}

.mcw-home-hero__deals td {
    padding: 4px 0;
    border-top: 1px solid #f1f5f9;
    color: var(--mcw-hero-text);
    font-weight: 500;
}

.mcw-home-hero__deals td span {
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 6.5px;
    font-weight: 700;
}

.mcw-home-hero__deals .is-progress { background: #e8f1fe; color: var(--mcw-hero-blue); }
.mcw-home-hero__deals .is-done { background: #e6f8ee; color: var(--mcw-hero-green-deep); }

/* Phone */

.mcw-home-hero__phone {
    position: absolute;
    right: 0;
    bottom: 34px;
    z-index: 3;
    width: 200px;
    padding: 7px;
    border-radius: 34px;
    background: #1e2533;
    box-shadow: 0 30px 60px rgba(15, 31, 61, 0.25);
}

.mcw-home-hero__phone-screen {
    overflow: hidden;
    height: 410px;
    padding: 0 12px;
    border-radius: 28px;
    background: #fff;
    font-size: 9px;
    color: var(--mcw-hero-ink);
}

.mcw-home-hero__status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 4px 8px;
    font-size: 8px;
    font-weight: 700;
}

.mcw-home-hero__status i {
    margin-left: 3px;
    font-size: 7px;
}

.mcw-home-hero__notch {
    width: 54px;
    height: 14px;
    border-radius: 999px;
    background: #1e2533;
}

.mcw-home-hero__phone-brand {
    margin-bottom: 10px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--mcw-hero-ink);
    font-size: 9px;
}

.mcw-home-hero__phone-brand i {
    margin-left: auto;
    color: var(--mcw-hero-muted);
}

.mcw-home-hero__greet strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.mcw-home-hero__greet small {
    color: var(--mcw-hero-muted);
    font-size: 7.5px;
}

.mcw-home-hero__phone-hero {
    margin: 10px 0 8px;
    padding: 11px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #22c55e, #0ea5e9 65%, #2563eb);
    color: #fff;
}

.mcw-home-hero__phone-hero span {
    font-size: 7.5px;
    opacity: 0.9;
}

.mcw-home-hero__phone-hero strong {
    display: block;
    margin: 2px 0;
    font-size: 18px;
    font-weight: 700;
}

.mcw-home-hero__phone-hero em {
    font-size: 7.5px;
    font-style: normal;
    font-weight: 700;
}

.mcw-home-hero__phone-hero small {
    display: block;
    font-weight: 500;
    opacity: 0.85;
}

.mcw-home-hero__phone-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.mcw-home-hero__phone-stats div {
    padding: 8px;
    border: 1px solid var(--mcw-hero-line);
    border-radius: 10px;
}

.mcw-home-hero__phone-stats span {
    display: block;
    color: var(--mcw-hero-muted);
    font-size: 7px;
}

.mcw-home-hero__phone-stats strong {
    display: block;
    margin: 3px 0 2px;
    font-size: 13px;
    font-weight: 700;
}

.mcw-home-hero__activity-label {
    margin: 10px 0 6px;
    color: var(--mcw-hero-ink);
    font-size: 9.5px;
    font-weight: 800;
}

.mcw-home-hero__activity li {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    font-size: 8px;
    font-weight: 600;
}

.mcw-home-hero__activity li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--dot) 14%, #fff);
    color: var(--dot);
    font-size: 8px;
}

.mcw-home-hero__activity li small {
    margin-left: auto;
    color: var(--mcw-hero-muted);
    font-size: 7px;
}

.mcw-home-hero__tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 8px -12px 0;
    padding: 8px 4px;
    border-top: 1px solid #eef2f7;
    text-align: center;
}

.mcw-home-hero__tabs span {
    color: var(--mcw-hero-muted);
    font-size: 7px;
    font-weight: 600;
}

.mcw-home-hero__tabs i {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
}

.mcw-home-hero__tabs .is-active {
    color: var(--mcw-hero-blue);
}

/* ---------- Client logos ---------- */

.mcw-home-hero__logos {
    position: relative;
    margin-top: 48px;
    padding-top: 8px;
}

.mcw-home-hero__logos > p {
    max-width: 820px;
    margin: 0 auto 28px;
    color: var(--mcw-hero-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
}

.mcw-home-hero__logos .client-logos-row {
    align-items: center;
    justify-content: space-between;
}

.mcw-home-hero .client-logo-img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 46px;
    margin: 0 auto;
    object-fit: contain;
}

.mcw-home-hero .client-logo-img--on-light {
    filter: invert(1) hue-rotate(180deg);
}

.mcw-home-hero .client-logo-img.bg-light {
    padding: 6px 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1399.98px) {
    .mcw-home-hero__grid {
        grid-template-columns: minmax(500px, 1fr) minmax(0, 1.08fr);
    }

    .mcw-home-hero__stage {
        height: 520px;
    }

    .mcw-home-hero__screen {
        height: 420px;
    }

    .mcw-home-hero__deals {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .mcw-home-hero {
        padding-top: 130px;
    }

    .mcw-home-hero__grid {
        grid-template-columns: 1fr;
    }

    .mcw-home-hero__copy {
        max-width: 680px;
    }

    .mcw-home-hero__stage {
        justify-self: center;
    }

    .mcw-home-hero__deals {
        display: block;
    }

    .mcw-home-hero__waves {
        top: auto;
        bottom: 120px;
    }
}

@media (max-width: 767.98px) {
    .mcw-home-hero {
        padding: 110px 0 16px;
    }

    .mcw-home-hero__badge {
        font-size: 12px;
    }

    .mcw-home-hero__title {
        font-size: 36px;
    }

    .mcw-home-hero__line {
        white-space: normal;
    }

    .mcw-home-hero__lead {
        font-size: 15px;
    }

    .mcw-home-hero__btn {
        width: 100%;
    }

    .mcw-home-hero__reviews {
        width: 100%;
    }

    .mcw-home-hero__stage {
        width: 220px;
        height: 440px;
    }

    .mcw-home-hero__laptop,
    .mcw-home-hero__spark {
        display: none;
    }

    .mcw-home-hero__phone {
        right: 50%;
        bottom: 0;
        transform: translateX(50%);
    }

    .mcw-home-hero__logos {
        margin-top: 28px;
    }

    .mcw-home-hero__logos > p {
        font-size: 14px;
        margin-bottom: 18px;
    }
}
