.investment-results {
    font-family: system-ui;
    color: #111827;
}

.investment-section {
    padding: 96px 0;
    background: rgba(243, 244, 246, 0.3);
}

.investment-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.investment-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 62px 32px 32px 32px;
}

.slider-block {
    margin-bottom: 32px;
}

.slider-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    display: block;
}

.slider-value {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

.slider-container {
    position: relative;
    height: 8px;
}

.slider-bg {
    position: absolute;
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 8px;
}

.slider-progress {
    position: absolute;
    height: 8px;
    background: #6a1130;
    border-radius: 8px;
}

.slider {
    position: absolute;
    width: 100%;
    top: -6px;
    background: transparent;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #6a1130;
    box-shadow: 0 0 10px #6a1130;
    cursor: pointer;
}

.slider-range {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

.investment-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #bfbfbf;
}

.final-card {
    padding: 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6b102f, rgb(29 37 71));
    color: white;
}

.final-label {
    font-size: 14px;
    opacity: .8;
}

.final-value {
    font-size: 48px;
    font-weight: 700;
    margin: 10px 0;
}

.final-growth {
    font-size: 18px;
    opacity: .8;
}

.profit-card {
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, rgb(22 30 55), rgb(29 37 71), #1b374f);
}

.profit-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.profit-icon {
    width: 48px;
    height: 48px;
    position: relative;
    border-radius: 12px;
    background: rgb(28 56 80);
}

.profit-icon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.profit-label {
    font-size: 14px;
    color: #fff;
    display: block;
}

.profit-sub {
    font-size: 12px;
    color: #d7cdd4;
}

.profit-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    white-space: nowrap;
}

.profit-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profit-progress-container {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.profit-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #3e1c3d, #681130);
    transition: width .45s cubic-bezier(.22, .61, .36, 1);
}

.profit-percent {
    color: #bfbfbf;
    font-weight: 500;
    font-size: 14px;
}

.info-box {
    background: rgba(243, 244, 246, 0.5);
    border-radius: 12px;
    padding: 16px;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 1024px) {

    .investment-grid {
        grid-template-columns:1fr;
    }

}

@media (max-width: 768px) {

    .final-value {
        font-size: 36px;
    }

}

@media (max-width: 375px) {

    .profit-value {
        font-size: 23px;
    }

    .final-value {
        font-size: 25px;
    }

    .final-growth {
        font-size: 17px;
    }
}

.investment-section {
    background: linear-gradient(120deg, #171d36 20%, #111832 100%);
}