/* Лендинг «Монитор MAX.БИТ» */

.max-page {
    --max-indigo: #26264f;
    --max-lavender: #e8e4f7;
    --max-lavender-soft: #f3f0fc;
    --max-purple: #5856D6;
    --max-radius-lg: 20px;
    --max-radius-md: 14px;
}

.max-page .max-hero-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b7cf7, #6c5ce7);
    flex-shrink: 0;
    margin-top: 0.35rem;
    margin-right: 0.75rem;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.max-hero-row {
    margin-bottom: 0;
}

.max-hero-illustration-col {
    position: relative;
    z-index: 2;
}

.max-hero-illustration {
    display: inline-block;
    vertical-align: bottom;
}

.max-intro-card {
    background: #fff;
    border-radius: var(--max-radius-lg);
    box-shadow: 0 8px 32px rgba(38, 38, 79, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.12);
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .max-hero-illustration-col {
        margin-bottom: -1rem;
    }

    .max-page .max-intro-card {
        padding-top: 2.75rem;
    }
}

@media (min-width: 992px) {
    .max-hero-illustration-col {
        margin-bottom: -5.5rem;
    }

    .max-page .max-intro-card {
        padding-top: 5.75rem;
    }
}

.max-soft-panel {
    border-radius: var(--max-radius-lg);
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.max-benefit-card {
    background: var(--max-lavender);
    border-radius: var(--max-radius-md);
    padding: 1.25rem 1rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(108, 92, 231, 0.08);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.max-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(38, 38, 79, 0.1);
}

.max-benefit-card__icon {
    height: 52px;
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.max-benefit-card__icon img,
.max-benefit-card__icon svg {
    max-height: 52px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.max-benefit-wide {
    background: var(--max-lavender);
    border-radius: var(--max-radius-md);
    padding: 1.5rem 1.25rem;
    height: 100%;
    border: 1px solid rgba(108, 92, 231, 0.08);
}

.max-feature-img {
    border-radius: var(--max-radius-md);
    max-width: 100%;
    height: auto;
    box-shadow: 0 12px 40px rgba(38, 38, 79, 0.12);
}

.max-img-stack {
    position: relative;
    min-height: 280px;
    padding-bottom: 1rem;
}

.max-img-stack img:first-child {
    position: relative;
    z-index: 1;
    max-width: 88%;
    margin-left: auto;
    display: block;
}

.max-img-stack img:last-child {
    position: absolute;
    left: auto;
    right: 56%;
    bottom: -1rem;
    max-width: 60%;
    z-index: 2;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.max-mid-cta {
    background: #fff;
    border-radius: var(--max-radius-lg);
    box-shadow: 0 8px 32px rgba(38, 38, 79, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.1);
    overflow: hidden;
}

.max-mid-cta .max-mid-cta__art {
    max-height: 220px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.max-why-card {
    background: #fff;
    border-radius: var(--max-radius-md);
    padding: 1.5rem;
    height: 100%;
    border: 1px solid rgba(108, 92, 231, 0.08);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.max-footer-cta {
    background: #fff;
    border-radius: var(--max-radius-lg);
    box-shadow: 0 8px 32px rgba(38, 38, 79, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.max-footer-cta__img {
    max-height: 260px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.max-section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .max-section-title {
        font-size: 2rem;
    }
}

.max-page .btn-max-yellow {
    background: #ffd43b;
    border-color: #ffd43b;
    color: var(--max-indigo);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.65rem 1.75rem;
}

.max-page .btn-max-yellow:hover {
    background: #fcc419;
    border-color: #fcc419;
    color: var(--max-indigo);
}

.max-page .btn-max-purple {
    background: var(--max-purple);
    border-color: var(--max-purple);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.65rem 1.75rem;
}

.max-page .btn-max-purple:hover {
    background: #5b4cdb;
    border-color: #5b4cdb;
    color: #fff;
}

.max-feature-block + .max-feature-block {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(108, 92, 231, 0.12);
}

ul.max-check-list {
	list-style-image: url(/assets/images/solutions/gilfond/check.svg);
	list-style-position: outside;
	margin: 0 0 0 30px;
	padding: 0;

}

ul.max-check-list li {
	margin-top: 0.5em;
}

@media (max-width: 991px) {
    .max-img-stack {
        min-height: 220px;
        margin-top: 1.5rem;
    }
}

/* Тёмная тема: те же правила, что и в bootstrap.dark / других страницах (переключатель + системная схема) */
html.dark-mode .max-page {
    --max-indigo: #e8e6f4;
    --max-lavender: #34324d;
    --max-lavender-soft: #252438;
    color: #f2f2f7;
}

html.dark-mode .max-intro-card,
html.dark-mode .max-mid-cta,
html.dark-mode .max-why-card,
html.dark-mode .max-footer-cta {
    background: #2c2c2e;
    border-color: rgba(94, 92, 230, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

html.dark-mode .max-benefit-card:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

html.dark-mode .max-feature-block + .max-feature-block {
    border-top-color: rgba(255, 255, 255, 0.08);
}

html.dark-mode .max-feature-img {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

html.dark-mode .max-img-stack img:last-child {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

html.dark-mode .max-page .btn-max-yellow {
    color: #26264f;
}

html.dark-mode .max-page .btn-max-yellow:hover {
    color: #26264f;
}

@media (prefers-color-scheme: dark) {
    html:not(.light-mode) .max-page {
        --max-indigo: #e8e6f4;
        --max-lavender: #34324d;
        --max-lavender-soft: #252438;
        color: #f2f2f7;
    }

    html:not(.light-mode) .max-intro-card,
    html:not(.light-mode) .max-mid-cta,
    html:not(.light-mode) .max-why-card,
    html:not(.light-mode) .max-footer-cta {
        background: #2c2c2e;
        border-color: rgba(94, 92, 230, 0.35);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    }

    html:not(.light-mode) .max-benefit-card:hover {
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    }

    html:not(.light-mode) .max-feature-block + .max-feature-block {
        border-top-color: rgba(255, 255, 255, 0.08);
    }

    html:not(.light-mode) .max-feature-img {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    }

    html:not(.light-mode) .max-img-stack img:last-child {
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    }

    html:not(.light-mode) .max-page .btn-max-yellow {
        color: #26264f;
    }

    html:not(.light-mode) .max-page .btn-max-yellow:hover {
        color: #26264f;
    }
}
