/* Force header scroll styles on database page */
.page-database .header {
    opacity: 1;
    background-color: #eef5ff;
}

.page-database .nav__btn--login {
    color: #365383;
}

.page-database .nav__btn--login:hover {
    color: #336cfb;
}

@media (max-width: 992px) {
    .page-database .header {
        height: 70px;
    }

    .page-database .burger {
        background: #365383;
    }

    .page-database .burger:after,
    .page-database .burger:before {
        background: #365383;
    }

    .page-database .burger-text {
        color: #365383;
    }
}

/* Features Section */
.dump-features {
    padding: 60px 0;
    background: #fff;
}

.dump-features__title {
    font-size: 28px;
    font-weight: 700;
    color: #365383;
    text-align: center;
    margin-bottom: 40px;
}

.dump-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.dump-feature {
    text-align: center;
    padding: 30px 20px;
    background: #f9fbfe;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dump-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(51, 108, 251, 0.1);
}

.dump-feature__icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.dump-feature__name {
    font-size: 18px;
    font-weight: 600;
    color: #365383;
    margin-bottom: 10px;
}

.dump-feature__desc {
    font-size: 14px;
    color: #6c89b8;
    line-height: 1.5;
}

/* Use Cases Section */
.dump-use-cases {
    padding: 60px 0;
    background: #f9fbfe;
}

.dump-use-cases__title {
    font-size: 28px;
    font-weight: 700;
    color: #365383;
    text-align: center;
    margin-bottom: 40px;
}

.dump-use-cases__list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.dump-use-cases__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #365383;
    transition: transform 0.2s ease;
}

.dump-use-cases__item:hover {
    transform: translateX(4px);
}

.dump-use-cases__icon {
    font-size: 24px;
    flex-shrink: 0;
}

/* Stats Section */
.dump-stats {
    padding: 60px 0;
    background: #fff;
}

.dump-stats__title {
    font-size: 28px;
    font-weight: 700;
    color: #365383;
    text-align: center;
    margin-bottom: 40px;
}

.dump-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.dump-stat {
    text-align: center;
    padding: 24px 16px;
    background: #eef5ff;
    border-radius: 12px;
}

.dump-stat__value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #336cfb;
    margin-bottom: 8px;
}

.dump-stat__label {
    font-size: 13px;
    color: #6c89b8;
}

/* Calculator Section */
.dump-section {
    padding: 180px 0 60px;
    background: linear-gradient(180deg, #eef5ff 0%, #fff 300px);
}

.dump-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.dump-header__title {
    font-size: 26px;
    font-weight: 700;
    color: #365383;
    margin-bottom: 12px;
    line-height: 1.3;
}

.dump-header__lead {
    font-size: 16px;
    color: #6c89b8;
    line-height: 1.6;
    margin-bottom: 40px;
}

.dump-client-type {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.dump-radio {
    cursor: pointer;
}

.dump-radio input {
    display: none;
}

.dump-radio__inner {
    display: block;
    padding: 10px 24px;
    background: #eef5ff;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #365383;
    transition: all 0.2s ease;
}

.dump-radio:hover .dump-radio__inner {
    border-color: #336cfb;
}

.dump-radio input:checked + .dump-radio__inner {
    background: #336cfb;
    color: #fff;
}

.dump-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.dump-card {
    cursor: pointer;
}

.dump-card input {
    display: none;
}

.dump-card__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f9fbfe;
    border: 1px solid #eef5ff;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dump-card:hover .dump-card__inner {
    border-color: #336cfb;
    box-shadow: 0 4px 12px rgba(51, 108, 251, 0.15);
}

.dump-card input:checked + .dump-card__inner {
    background: #336cfb;
    border-color: #336cfb;
    box-shadow: 0 6px 20px rgba(51, 108, 251, 0.3);
}

.dump-card input:checked + .dump-card__inner .dump-card__name,
.dump-card input:checked + .dump-card__inner .dump-card__count {
    color: #fff;
}

.dump-card__check {
    width: 20px;
    height: 20px;
    border: 2px solid #bbd7ff;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
}

.dump-card input:checked + .dump-card__inner .dump-card__check {
    background: #fff;
    border-color: #fff;
}

.dump-card input:checked + .dump-card__inner .dump-card__check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #336cfb;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.dump-card__text {
    flex: 1;
    min-width: 0;
}

.dump-card__name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #365383;
    margin-bottom: 2px;
}

.dump-card__count {
    display: block;
    font-size: 12px;
    color: #6c89b8;
}

.dump-contacts {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.dump-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #bbd7ff;
    border-radius: 8px;
    background: #fff;
    color: #365383;
    outline: none;
    transition: border-color 0.2s ease;
}

.dump-input:focus {
    border-color: #336cfb;
}

.dump-input::placeholder {
    color: #9bb5d8;
}

.dump-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.dump-footer__price {
    font-size: 32px;
    font-weight: 700;
    color: #38c779;
}

.dump-btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    background: #336cfb;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dump-btn:hover {
    background: #2965fb;
}

/* Format Section */
.dump-format {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.dump-format__title {
    font-size: 24px;
    font-weight: 700;
    color: #365383;
    margin-bottom: 16px;
}

.dump-format__text {
    font-size: 16px;
    color: #6c89b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .dump-features__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

    .dump-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
}

@media (max-width: 500px) {
    .dump-section {
        padding: 120px 0 40px;
    }

    .dump-header__title {
        font-size: 22px;
    }

    .dump-header__lead {
        font-size: 15px;
    }

    .dump-features,
    .dump-use-cases,
    .dump-stats,
    .dump-format {
        padding: 40px 0;
    }

    .dump-features__title,
    .dump-use-cases__title,
    .dump-stats__title {
        font-size: 24px;
    }

    .dump-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dump-stat__value {
        font-size: 20px;
    }

    .dump-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .dump-client-type {
        flex-direction: column;
        align-items: center;
    }

    .dump-contacts {
        flex-direction: column;
    }

    .dump-footer__price {
        font-size: 28px;
    }
}
