/* Анимация записи клиента на лендинге — безрамочный экран */
.booking-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.booking-demo-phone {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow:
        0 32px 80px rgba(31, 36, 41, 0.14),
        0 8px 24px rgba(31, 36, 41, 0.06);
}

.bdp-status {
    height: 44px;
    background: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 10px 22px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1f2429;
}

.bdp-status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #1f2429;
}

.bdp-status-icons svg.lucide {
    width: 12px;
    height: 12px;
}

.bdp-screen {
    background: #fff;
    min-height: 560px;
    position: relative;
    overflow: hidden;
}

.bdp-step {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.bdp-step.is-active {
    opacity: 1;
    transform: translateX(0);
}

.bdp-step:not(.bdp-step--success) {
    padding: 14px 16px 20px;
    background: #f5f5f5;
}

.bdp-step--success {
    background: #fff;
}

/* —— Экран салона (как в референсе) —— */
.bdp-hero {
    position: relative;
    height: 168px;
    overflow: hidden;
}

.bdp-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bdp-profile-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: #6e7378;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bdp-hero-logo {
    position: absolute;
    left: 16px;
    bottom: -22px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
    background-image: linear-gradient(135deg, #0069E5 0%, #0054B8 100%);
    background-size: cover;
}

.bdp-hero-logo::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: transparent;
    opacity: 0.6;
}

.bdp-intro-body {
    padding: 30px 16px 16px;
}

.bdp-business-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bdp-business-name i {
    font-size: 11px;
    color: #6e7378;
    font-weight: 400;
}

.bdp-business-addr {
    font-size: 12px;
    color: #6e7378;
    margin: 0 0 14px;
}

.bdp-promo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: #fff8e6;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #1f2429;
    margin-bottom: 16px;
}

.bdp-promo > i:first-child {
    color: #c9a020;
    font-size: 13px;
}

.bdp-promo span {
    flex: 1;
}

.bdp-promo > i:last-child {
    font-size: 10px;
    color: #6e7378;
}

.bdp-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bdp-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    text-decoration: none;
    color: #1f2429;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s;
}

.bdp-menu-item.is-selected {
    background: #fff8e6;
}

.bdp-menu-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f1f3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6e7378;
    flex-shrink: 0;
}

.bdp-menu-arrow {
    margin-left: auto;
    font-size: 11px;
    color: #c4c8cc;
}

/* —— Шаги записи —— */
.bdp-panel {
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.bdp-steps-row {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
}

.bdp-pill {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 2px;
    border-radius: 10px;
    background: #f1f1f3;
    color: #5a6067;
    transition: background 0.25s, color 0.25s;
}

.bdp-pill.is-on {
    background: #0069E5;
    color: #FFFFFF;
}

.bdp-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
}

.bdp-title em {
    font-style: normal;
    color: #0069E5;
}

.bdp-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 6px;
    border: 1.5px solid #e8eaed;
    margin-bottom: 8px;
    background: #fff;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.bdp-card.is-selected {
    border-color: #0069E5;
    background: #fffdf5;
    box-shadow: 0 2px 12px rgba(0, 105, 229, 0.18);
}

.bdp-avatar {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
    background: #e8eaed;
    flex-shrink: 0;
}

.bdp-avatar--placeholder {
    background: #e8eaed;
}

.bdp-card-body { flex: 1; min-width: 0; }

.bdp-card-body b {
    display: block;
    font-size: 13px;
}

.bdp-card-body span {
    font-size: 11px;
    color: #6e7378;
}

.bdp-stars {
    color: #0069E5;
    font-size: 10px;
    letter-spacing: 1px;
}

.bdp-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3b5bdb;
    flex-shrink: 0;
}

.bdp-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.bdp-slot {
    text-align: center;
    padding: 9px 4px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid #e8eaed;
    background: #fff;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.bdp-slot.is-selected {
    background: #3b5bdb;
    border-color: #3b5bdb;
    color: #fff;
}

.bdp-field {
    margin-bottom: 9px;
}

.bdp-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6e7378;
    margin-bottom: 5px;
}

.bdp-input {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #e8eaed;
    border-radius: 6px;
    font-size: 12px;
    background: #fff;
    color: #1f2429;
}

.bdp-btn {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #0069E5;
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
}

.booking-demo .bdp-pill.is-on,
.booking-demo .bdp-btn {
    color: #FFFFFF;
}

.bdp-success {
    text-align: center;
    padding: 48px 16px;
    background: #fff;
}

.bdp-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #e8f8ec;
    color: #2ecc71;
    font-size: 28px;
    line-height: 56px;
    font-weight: 700;
}

.bdp-success h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.bdp-success p {
    font-size: 12px;
    color: #6e7378;
    line-height: 1.5;
}

.bdp-finger {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(59, 91, 219, 0.22);
    border: 2px solid rgba(59, 91, 219, 0.45);
    pointer-events: none;
    opacity: 0;
    transform: scale(0.5);
    z-index: 10;
    transition: opacity 0.2s, transform 0.2s, top 0.45s ease, left 0.45s ease;
}

.bdp-finger.is-visible {
    opacity: 1;
    transform: scale(1);
}

.bdp-finger.is-tap {
    animation: bdpTap 0.35s ease;
}

@keyframes bdpTap {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.85); background: rgba(59, 91, 219, 0.38); }
}

.booking-demo-caption {
    text-align: center;
    min-height: 44px;
}

.bdp-caption-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: opacity 0.3s;
}

.bdp-caption-text.is-changing {
    opacity: 0;
}

@media (min-width: 1025px) {
    .booking-demo {
        max-width: 420px;
    }

    .booking-demo-phone {
        max-width: 400px;
    }

    .bdp-screen {
        min-height: 600px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bdp-step { transition: none; }
    .bdp-finger { display: none; }
}

@media (max-width: 1024px) {
    .hero-visual {
        margin-top: 32px;
    }
}

/* ---- Сводка / insight-карточки (демо на лендинге) ---- */
.landing-insights-demo {
    margin-top: 72px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border, #D8DADF);
}

.landing-insights-head {
    margin-bottom: 24px;
}

.landing-insights-head strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: #1f2429;
}

.landing-insights-head span {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    color: #5C6670;
    line-height: 1.45;
}

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

.landing-insight-card {
    display: grid;
    grid-template-columns: 1fr minmax(100px, 36%);
    gap: 12px;
    align-items: stretch;
    background: #fff;
    border: 1px solid #D8DADF;
    border-radius: 8px;
    padding: 20px 18px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    min-height: 148px;
    overflow: hidden;
}

.landing-insight-card--blue { color: #0069E5; }
.landing-insight-card--orange { color: #EA580C; }
.landing-insight-card--green { color: #16A34A; }
.landing-insight-card--violet { color: #0054B8; }

.landing-insight-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #1f2429;
}

.landing-insight-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5C6670;
    margin-bottom: 8px;
}

.landing-insight-value {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.landing-insight-value small {
    font-size: 18px;
    font-weight: 700;
    margin-left: 4px;
    color: #5C6670;
}

.landing-insight-lines {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.landing-insight-line {
    font-size: 13px;
    line-height: 1.35;
    color: #5C6670;
}

.landing-insight-line--up { color: #16A34A; font-weight: 600; }
.landing-insight-line--warn { color: #D97706; font-weight: 600; }

.landing-insight-chart {
    display: flex;
    align-items: flex-end;
    min-height: 72px;
    color: inherit;
}

.landing-insight-chart svg {
    width: 100%;
    height: 72px;
    display: block;
}

@media (max-width: 768px) {
    .landing-insights-demo {
        margin-top: 48px;
        padding-top: 32px;
    }

    .landing-insights-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Сводка на лендинге: светлая сетка карточек ---- */
.landing-summary-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px 48px;
    align-items: start;
    margin-bottom: 34px;
}

.landing-summary-head .text-h2 {
    margin: 0;
    max-width: 18ch;
}

.landing-summary-head p {
    margin: 0;
    justify-self: end;
    max-width: 44ch;
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
    color: var(--color-text-secondary);
}

/* Сетка карточек сводки */
.landing-summary-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.landing-summary-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 12px 12px 20px;
    background: #FFFFFF;
    border: 1px solid #E5E9EE;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
}

.landing-summary-card--kpi { grid-column: span 7; }
.landing-summary-card--revenue { grid-column: span 5; }

.landing-summary-visual {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 226px;
    padding: 20px;
    border-radius: 13px;
    overflow: hidden;
    isolation: isolate;
}

.landing-summary-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(120, 135, 150, 0.2) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
    pointer-events: none;
}

.landing-summary-visual::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 105, 229, 0.14), rgba(0, 105, 229, 0) 68%);
    pointer-events: none;
}

.landing-summary-visual--kpi {
    min-height: 268px;
    background: linear-gradient(135deg, #F8F6F2 0%, #EFF2F6 100%);
}

.landing-summary-visual--revenue {
    min-height: 268px;
    background: linear-gradient(135deg, #F2F7FE 0%, #EAF2FC 100%);
}

.landing-summary-visual--sources {
    background: linear-gradient(135deg, #F6F7F9 0%, #EDF1F5 100%);
}

.landing-summary-visual--statuses {
    background: linear-gradient(135deg, #F8F6F2 0%, #F0F2F5 100%);
}

.landing-summary-visual--services {
    background: linear-gradient(135deg, #F4F8F4 0%, #EDF4EE 100%);
}

.landing-summary-visual--services::after {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.14), rgba(34, 197, 94, 0) 68%);
}

.landing-summary-copy {
    padding: 16px 8px 0;
}

.landing-summary-copy h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #111418;
}

.landing-summary-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

/* Панели-макеты внутри карточек */
.ls-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 640px;
    padding: 12px 13px;
    background: #FFFFFF;
    border: 1px solid #E7EBF0;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(24, 49, 84, 0.08);
}

.ls-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5F6875;
}

.ls-panel-badge {
    padding: 3px 7px;
    border-radius: 999px;
    background: #F2F4F7;
    color: #5F6875;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
}

/* KPI */
.ls-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ls-kpi {
    min-width: 0;
    padding: 10px 11px 8px;
    background: #FCFDFE;
    border: 1px solid #EDF0F4;
    border-radius: 9px;
}

.ls-kpi-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5F6875;
}

.ls-kpi-value {
    display: block;
    margin-top: 4px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #111418;
}

.ls-kpi-value small {
    font-size: 11px;
    font-weight: 600;
    color: #5F6875;
}

.ls-kpi-delta {
    display: inline-block;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #15803D;
}

.ls-spark {
    display: block;
    width: 100%;
    height: 22px;
    margin-top: 5px;
    color: #0B7BF0;
}

.ls-kpi--orange .ls-spark { color: #F97316; }
.ls-kpi--green .ls-spark { color: #22C55E; }

.ls-spark-area {
    fill: currentColor;
    opacity: 0.12;
}

.ls-spark-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* График дохода */
.ls-chart-panel {
    padding: 14px 15px 12px;
}

.ls-chart-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.ls-chart-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5F6875;
}

.ls-tabs {
    display: flex;
    gap: 2px;
    padding: 2px;
    background: #F2F4F7;
    border-radius: 8px;
}

.ls-tabs span {
    padding: 4px 7px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #5F6875;
    white-space: nowrap;
}

.ls-tabs .is-active {
    background: #FFFFFF;
    color: #0B5FD1;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.12);
}

.ls-chart-summary {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.ls-chart-summary strong {
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #111418;
}

.ls-chart-delta {
    font-size: 11px;
    font-weight: 700;
    color: #15803D;
}

.ls-chart-legend {
    display: flex;
    gap: 12px;
    margin-top: 7px;
    font-size: 11px;
    color: #5F6875;
}

.ls-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ls-legend-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.ls-legend-dot--primary { background: #0B7BF0; }
.ls-legend-dot--muted { background: #F59E0B; }

.ls-line-chart {
    display: block;
    width: 100%;
    height: 108px;
    margin-top: 4px;
    overflow: visible;
}

.ls-chart-primary {
    fill: none;
    stroke: #0B7BF0;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ls-chart-secondary {
    fill: none;
    stroke: #F59E0B;
    stroke-width: 1.4;
    stroke-linecap: round;
    opacity: 0.7;
}

.ls-chart-guide {
    stroke: #B9C4D2;
    stroke-width: 1;
    stroke-dasharray: 3 4;
}

.ls-chart-point {
    fill: #FFFFFF;
    stroke: #0B7BF0;
    stroke-width: 2;
}

.ls-chart-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 11px;
    color: #667085;
}

/* Источники записей */
.ls-sources {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ls-donut {
    position: relative;
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
}

.ls-donut svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ls-donut-track,
.ls-donut-online,
.ls-donut-journal {
    fill: none;
    stroke-width: 14;
}

.ls-donut-track { stroke: #EEF1F5; }
.ls-donut-online { stroke: #0B7BF0; }
.ls-donut-journal { stroke: #0B4EA2; }

.ls-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.ls-donut-center strong {
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #111418;
}

.ls-donut-center span {
    margin-top: 2px;
    font-size: 11px;
    color: #5F6875;
}

.ls-legend {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ls-legend li {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 11px;
    color: #4B5563;
}

.ls-legend li span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ls-legend li b {
    font-size: 11px;
    font-weight: 700;
    color: #5F6875;
    white-space: nowrap;
}

.ls-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.ls-dot--primary { background: #0B7BF0; }
.ls-dot--navy { background: #0B4EA2; }

/* Статусы и услуги */
.ls-status-list,
.ls-service-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.ls-status-list { gap: 10px; }
.ls-service-list { gap: 11px; }

.ls-status-line,
.ls-service-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 11px;
    color: #4B5563;
}

.ls-status-line b,
.ls-service-line b {
    font-size: 11px;
    font-weight: 700;
    color: #5F6875;
    white-space: nowrap;
}

.ls-service-line span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ls-track {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: #EEF1F5;
    overflow: hidden;
}

.ls-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.ls-status--green .ls-track i { background: #22C55E; }
.ls-status--blue .ls-track i { background: #0EA5E9; }
.ls-status--orange .ls-track i { background: #F97316; }
.ls-status--red .ls-track i { background: #EF4444; }

@media (max-width: 1100px) {
    .landing-summary-card--kpi,
    .landing-summary-card--revenue {
        grid-column: span 6;
    }

    .landing-summary-visual--kpi,
    .landing-summary-visual--revenue {
        min-height: 250px;
    }
}

@media (max-width: 1024px) {
    .landing-summary-head {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .landing-summary-head .text-h2 {
        max-width: none;
    }

    .landing-summary-head p {
        justify-self: start;
        max-width: 52ch;
        text-align: left;
    }
}

@media (max-width: 820px) {
    .landing-summary-card {
        grid-column: span 12;
    }

    .landing-summary-visual,
    .landing-summary-visual--kpi,
    .landing-summary-visual--revenue {
        min-height: 220px;
    }
}

@media (max-width: 520px) {
    .landing-summary-visual {
        padding: 14px;
    }

    .ls-chart-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .ls-sources {
        flex-direction: column;
        align-items: flex-start;
    }

    .ls-legend {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-summary-card {
        transition: none;
    }
}

/* ---- Новая аналитика на лендинге (как в кабинете) ---- */
.landing-analytics-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.landing-analytics-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 28px 40px;
    align-items: end;
}

.landing-analytics-copy .text-h2 {
    margin: 0;
    max-width: 16ch;
}

.landing-analytics-lead {
    color: #9AA3AD;
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.55;
    max-width: 38ch;
}

.landing-analytics-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
}

.landing-analytics-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #C8CDD3;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-analytics-points li i,
.landing-analytics-points li svg.lucide {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 4px;
    background: transparent;
    color: var(--color-primary-bright, #2B8FF5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.landing-analytics-board {
    background: #141A22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    width: 100%;
}

@media (max-width: 900px) {
    .landing-analytics-intro {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: start;
    }

    .landing-analytics-copy .text-h2 {
        max-width: none;
    }

    .landing-analytics-lead {
        max-width: none;
    }

    .landing-analytics-points {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .landing-analytics-points {
        grid-template-columns: 1fr;
    }
}

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

.landing-analytics-card {
    display: grid;
    grid-template-columns: 1fr minmax(88px, 34%);
    gap: 10px;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 16px 14px 14px;
    min-height: 132px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.landing-analytics-card.is-active {
    transform: translateY(-2px);
    border-color: rgba(0, 105, 229, 0.35);
}

.landing-analytics-card--blue { color: #2B8FF5; }
.landing-analytics-card--orange { color: #FB923C; }
.landing-analytics-card--green { color: #4ADE80; }
.landing-analytics-card--violet { color: #2080EF; }

.landing-analytics-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #E8EDF2;
}

.landing-analytics-card-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #9AA3AD;
    margin-bottom: 8px;
}

.landing-analytics-card-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.landing-analytics-card-value small {
    font-size: 16px;
    font-weight: 700;
    margin-left: 3px;
    color: #9AA3AD;
}

.landing-analytics-card-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.landing-analytics-card-line {
    font-size: 12px;
    line-height: 1.35;
    color: #9AA3AD;
}

.landing-analytics-card-line--up { color: #4ADE80; font-weight: 600; }
.landing-analytics-card-line--down { color: #F87171; font-weight: 600; }

.landing-analytics-card-chart {
    display: flex;
    align-items: flex-end;
    min-height: 68px;
    color: inherit;
}

.landing-analytics-card-chart svg {
    width: 100%;
    height: 68px;
    display: block;
}

.landing-analytics-card-chart .insight-spark-line {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.landing-analytics-detail {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 16px;
}

.landing-analytics-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.landing-analytics-detail-copy strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #F3F6F9;
    margin-bottom: 4px;
}

.landing-analytics-detail-copy span {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: #9AA3AD;
}

.landing-analytics-ranges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.landing-analytics-ranges button {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #9AA3AD;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.landing-analytics-ranges button.active {
    background: #0069E5;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
}

.landing-analytics-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    min-height: 0;
}

.landing-analytics-chips:empty {
    display: none;
}

.landing-analytics-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.06);
    color: #C8CDD3;
}

.landing-analytics-chip--up {
    background: rgba(34, 197, 94, 0.14);
    color: #86EFAC;
}

.landing-analytics-chip--warn {
    background: rgba(234, 88, 12, 0.14);
    color: #FDBA74;
}

.landing-analytics-charts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 18px;
}

.landing-analytics-col {
    min-width: 0;
}

.landing-analytics-col--wide {
    grid-column: 1 / -1;
}

.landing-analytics-col-title {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9AA3AD;
}

.landing-analytics-donut {
    display: flex;
    align-items: center;
    gap: 14px;
}

.landing-analytics-donut-chart {
    position: relative;
    width: 112px;
    height: 112px;
    flex-shrink: 0;
}

.landing-analytics-donut-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.landing-analytics-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.landing-analytics-donut-center strong {
    font-size: 20px;
    font-weight: 800;
    color: #F3F6F9;
    line-height: 1;
}

.landing-analytics-donut-center span {
    margin-top: 2px;
    font-size: 10px;
    color: #9AA3AD;
}

.landing-analytics-source-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.landing-analytics-source-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.landing-analytics-source-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.landing-analytics-source-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    color: #E8EDF2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-analytics-source-meta {
    flex: 0 0 auto;
    font-size: 12px;
    color: #9AA3AD;
    white-space: nowrap;
}

.landing-analytics-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-analytics-bar-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.landing-analytics-bar-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.landing-analytics-bar-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    color: #E8EDF2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-analytics-bar-meta {
    flex: 0 0 auto;
    font-size: 11px;
    color: #9AA3AD;
    white-space: nowrap;
}

.landing-analytics-bar-track {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.landing-analytics-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    min-width: 4px;
    transition: width 0.45s ease;
}

@media (max-width: 1100px) {
    .landing-analytics-kpis {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .landing-analytics-charts {
        grid-template-columns: 1fr;
    }

    .landing-analytics-col--wide {
        grid-column: auto;
    }

    .landing-analytics-donut {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Наша иконка галочки на финальном экране демо */
.bdp-success-icon {
    background: #0069E5;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bdp-success-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* Плоский фон внутри карточек сводки — без градиентов и свечения */
.landing-summary-visual,
.landing-summary-visual--kpi,
.landing-summary-visual--revenue,
.landing-summary-visual--sources,
.landing-summary-visual--statuses,
.landing-summary-visual--services {
    background: #F5F6F8;
}

.landing-summary-visual::before,
.landing-summary-visual::after,
.landing-summary-visual--services::after {
    content: none;
    display: none;
}

/* ---- Benefits: bento-блоки ---- */
.landing-bento .section-header { margin-bottom: 34px; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(200px, auto);
    gap: 16px;
}

.bento-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #E5E9EE;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
}

.bento-card--retention { grid-column: 1 / span 3; grid-row: 1; justify-content: flex-end; }

.bento-retention-image {
    display: block;
    width: calc(100% + 48px);
    max-width: none;
    height: auto;
    margin: 0 -24px 14px;
    flex: 0 0 auto;
}
.bento-card--notify { grid-column: 4 / span 5; grid-row: 1 / span 2; }
.bento-card--channels { grid-column: 9 / span 4; grid-row: 1; justify-content: space-between; background: #EAF7E8; border-color: #D8EED4; }
.bento-card--calls { grid-column: 1 / span 3; grid-row: 2; justify-content: flex-end; background: #1D2430; border-color: #1D2430; color: #FFFFFF; }
.bento-card--routine {
    grid-column: 9 / span 4;
    grid-row: 2;
    justify-content: flex-end;
    background: #F2F6FC;
    border-color: #E1E8F3;
}

.bento-routine-left {
    display: flex;
    flex-direction: column;
    flex: 0 0 150px;
    min-width: 0;
}

.bento-routine-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
}

.bento-routine-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bento-routine-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
}

.bento-routine-divider {
    height: 2px;
    margin: 16px -10px 0;
    border-radius: 999px;
    background: #E5E9EE;
}

.bento-number {
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #111418;
}

.bento-number sup {
    font-size: 0.45em;
    font-weight: 700;
    line-height: 0;
}

.bento-number small {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #6E7378;
}

.bento-card--calls .bento-number { color: #FFFFFF; }
.bento-card--calls .bento-number small { color: #AAB4C1; }

.bento-text {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #5C6670;
}

.bento-card--calls .bento-text { color: #AAB4C1; }

.bento-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #111418;
}

.bento-card h3.bento-card-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.bento-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #5C6670;
}

.bento-card--notify { justify-content: space-between; }

.bento-booking {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    padding: 18px;
    margin-bottom: 18px;
    background: #F7F8FA;
    border: 1px solid #E8ECF1;
    border-radius: 14px;
}

.bento-booking-head {
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6E7378;
}

.bento-booking-pills { display: flex; gap: 6px; margin-bottom: 12px; }

.bento-booking-pills span {
    flex: 1;
    padding: 8px 4px;
    border-radius: 8px;
    border: 1px solid #E5E9EE;
    background: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    color: #6E7378;
}

.bento-booking-pills .is-on { background: #0069E5; border-color: #0069E5; color: #FFFFFF; }

.bento-booking-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #FFFFFF;
    border: 1px solid #E5E9EE;
    border-radius: 10px;
}

.bento-booking-service b { font-size: 14px; color: #111418; }
.bento-booking-service span { font-size: 12px; color: #6E7378; white-space: nowrap; }

.bento-booking-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }

.bento-booking-slots span {
    padding: 9px 4px;
    border-radius: 8px;
    border: 1px solid #E5E9EE;
    background: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #111418;
}

.bento-booking-slots .is-on { background: #0069E5; border-color: #0069E5; color: #FFFFFF; }

.bento-booking-btn {
    padding: 12px;
    border-radius: 10px;
    background: #0069E5;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.bento-card-copy h3 { margin-bottom: 6px; }

.bento-integrations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
    padding-top: 0;
}

.bento-integration {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #FFFFFF;
    border: 1px solid #D8EED4;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.bento-integration svg {
    display: block;
    width: 22px;
    height: 22px;
}

.bento-integration img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.bento-card--channels .bento-card-title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #111418;
}

.bento-card--channels .bento-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #5C6670;
}

.bento-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
    padding: 30px 24px;
    background: #FFFFFF;
    border: 1px solid #E5E9EE;
    border-radius: 18px;
}

.bento-stat {
    padding: 0 24px;
    text-align: center;
    border-right: 1px dashed #D9DEE5;
}

.bento-stat:last-child { border-right: none; }

.bento-stat strong {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    font-size: 68px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #111418;
}

.bento-stat sup {
    margin-top: 6px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.bento-card--notify {
    justify-content: flex-start;
}

.bento-notify-visual {
    display: block;
    flex: 0 0 auto;
    padding: 0;
}

.bento-notify-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.bento-stat span {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #6E7378;
}

@media (max-width: 1100px) {
    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .bento-card,
    .bento-card--retention,
    .bento-card--notify,
    .bento-card--channels,
    .bento-card--calls,
    .bento-card--routine {
        grid-column: auto;
        grid-row: auto;
    }

    .bento-card--notify { grid-row: span 2; }
}

@media (max-width: 700px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card--notify { grid-row: auto; }
    .bento-stats { grid-template-columns: 1fr; gap: 24px; }
    .bento-stat { border-right: none; border-bottom: 1px dashed #D9DEE5; padding: 0 0 22px; }
    .bento-stat:last-child { border-bottom: none; padding-bottom: 0; }
    .bento-stat strong { font-size: 44px; }
    .bento-stat sup { margin-top: 4px; font-size: 18px; }
}

.bento-notify-divider {
    height: 2px;
    margin: 0 -10px 16px;
    border-radius: 999px;
    background: #E5E9EE;
}

.bento-card-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #111418;
}
