.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;
    box-shadow: 0 10px 20px rgba(20, 30, 44, 0.2);
    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: #19d9ff;
    border-radius: 8px;
}

.slider {
    position: absolute;
    width: 100%;
    top: -21px;
    border: 0px solid #b8c8df;
    padding: 0;
    background: transparent;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #19d9ff;
    box-shadow: 0 0 10px #19d9ff;
    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, #19d9ff, rgb(17 47 66));
    box-shadow: 0 10px 20px rgba(20, 30, 44, 0.8);
    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;
    background: linear-gradient(135deg, rgb(15 47 66), rgb(16 36 59), #19d9ff);
    box-shadow: 0 10px 20px rgba(20, 30, 44, 0.4);
}

.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, #19d9ff, #ff1919);
    transition: width .45s cubic-bezier(.22, .61, .36, 1);
}

.profit-percent {
    color: #0f2e42;
    font-weight: 700;
    font-size: 16px;
}

.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(180deg, #f5f8fd, #e9eff8);
    background-image: url(calc-bg.gif), linear-gradient(180deg, #f5f8fd, #e9eff8);
    background-repeat: repeat, no-repeat;
    background-position: 0 0, 0 0;
}

:root {
    --roi-calc-bg-main: #f3f6f8;
    --roi-calc-bg-secondary: #52606d;
    --roi-calc-bg-dark-primary: #12212f;
    --roi-calc-bg-dark-secondary: #102437;
    --roi-calc-text-primary: #12212f;
    --roi-calc-text-inverse: #52606d;
    --roi-calc-accent-gold: #148a83;
    --roi-calc-accent-gold-light: #0f6f69;
    --roi-calc-accent-teal: #1f5d63;
    --roi-calc-accent-teal-light: #2a7a83;
    --roi-calc-border-card: rgba(15, 32, 48, 0.12);
    --roi-calc-shadow-card: 0 16px 38px rgba(9, 20, 33, 0.16);
    --roi-calc-radius-card: 18px;
    --roi-calc-radius-pill: 999px;
}

.roi-calc {
    padding-block: 6rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f5f8fd, #e9eff8);
    background-image: url(calc-bg.gif), linear-gradient(180deg, #f5f8fd, #e9eff8);
    background-repeat: repeat, no-repeat;
    background-position: 0 0, 0 0;
}

.roi-calc::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: 18px 18px;
    pointer-events: none;
}


.roi-calc__container {
    width: min(1160px, 92vw);
    margin-inline: auto;
    padding-inline: 1.5rem;
    position: relative;
    z-index: 10;
}


.roi-calc__grid {
    display: grid;
    gap: 2rem;
    align-items: start;
    max-width: 64rem;
    margin-inline: auto;
}


@media (min-width: 1024px) {
    .roi-calc__grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }
}


.roi-calc__form {
    background: var(--light-2);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(20, 30, 44, 0.2);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}


@media (min-width: 768px) {
    .roi-calc__form {
        padding: 2.4rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: 70px;
        padding-bottom: 70px;
        background: #ffffff;
        box-shadow: 0 10px 20px rgba(20, 30, 44, 0.2);
        border: 1px solid #e5e7eb;
        border-radius: 16px;
    }
}

.roi-calc__field {
    margin-bottom: 2rem;
}

.roi-calc__field:last-child {
    margin-bottom: 0;
}

.roi-calc__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 1rem;
}

.roi-calc__value {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.roi-calc__input-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.roi-calc__slider {
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
}

.roi-calc__slider-bg {
    position: absolute;
    width: 100%;
    height: 8px;
    background: rgba(15, 32, 48, 0.1);
    border-radius: 10px;
    z-index: 1;
}

.roi-calc__slider-progress {
    position: absolute;
    height: 8px;
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
    box-shadow: 0 0 12px rgba(202, 163, 79, 0.45);
    border-radius: 10px;
    z-index: 2;
    background: #19d9ff;
    border-radius: 8px;
}

.roi-calc__slider-input {
    position: absolute;
    width: 100%;
    height: 12px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: none;
    z-index: 3;
    cursor: pointer;
}

.roi-calc__slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--light-2);
    cursor: pointer;
    border: 2px solid var(--gold);
    box-shadow: 0 0 10px rgba(202, 163, 79, 0.6);
}

.roi-calc__slider-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--light-2);
    cursor: pointer;
    border: 2px solid var(--gold);
    box-shadow: 0 0 10px rgba(202, 163, 79, 0.6);
}


.roi-calc__slider-details {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--gold);
    font-weight: 600;
}


.roi-calc__results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.roi-calc__final {
    padding: 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #19d9ff, rgb(17 47 66));
    box-shadow: 0 10px 20px rgba(20, 30, 44, 0.8);
    color: white;
}


@media (min-width: 768px) {
    .roi-calc__final {
        padding: 2rem;
    }
}


.roi-calc__final-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}


.roi-calc__final-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--gold);
}


.roi-calc__final-label {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.8;
}


.roi-calc__final-amount {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}


@media (min-width: 768px) {
    .roi-calc__final-amount {
        font-size: 3rem;
    }
}


.roi-calc__final-subtitle {
    font-size: 1rem;
    opacity: 0.75;
}


.roi-calc__profit {
    background: var(--light-2);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgb(15 47 66), rgb(16 36 59), #19d9ff);
    box-shadow: 0 10px 20px rgba(20, 30, 44, 0.4);
}


@media (min-width: 768px) {
    .roi-calc__profit {
        padding: 2rem;
    }
}


.roi-calc__profit-inner {
    position: relative;
    z-index: 10;
}


.roi-calc__profit-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}


.roi-calc__profit-icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(202, 163, 79, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgb(28 56 80);
}


.roi-calc__profit-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #bfbfbf;
}


.roi-calc__profit-meta {
    display: flex;
    flex-direction: column;
}


.roi-calc__profit-title {
    font-size: 0.875rem;
    color: #bfbfbf;
    font-weight: 600;
}


.roi-calc__profit-subtitle {
    font-size: 0.75rem;
    color: #bfbfbf;
    font-weight: 700;
}


.roi-calc__profit-amount {
    font-size: 1.875rem;
    font-weight: 800;
    color: #bfbfbf;
}


@media (min-width: 768px) {
    .roi-calc__profit-amount {
        font-size: 2.25rem;
    }
}


.roi-calc__profit-bar {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.roi-calc__profit-bar-track {
    height: 0.375rem;
    flex: 1;
    background: #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}


.roi-calc__profit-bar-fill {
    height: 100%;
    box-shadow: 0 0 12px rgba(202, 163, 79, 0.4);
    border-radius: var(--pill);
    width: 0;
    background: linear-gradient(90deg, #19d9ff, #ff1919);
    transition: width .45s cubic-bezier(.22, .61, .36, 1);
}


.roi-calc__profit-percent {
    font-size: 0.875rem;
    color: var(--teal-2);
    font-weight: 700;
}


.roi-calc__disclaimer {
    background: rgb(211 211 211);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


.roi-calc__disclaimer-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 0.125rem;
    opacity: 0.7;
}


.roi-calc__disclaimer-text {
    font-size: 0.75rem;
    color: var(--teal);
    line-height: 1.68;
}


@media screen and (max-width: 768px) {
    .roi-calc {
        padding-block: 2rem;
    }
}


@media (max-width: 360px) {
    .roi-calc__container {
        padding-inline: 0.5rem;
    }
}


@media (max-width: 320px) {
    .roi-calc__value,
    .roi-calc__profit-amount {
        font-size: 1.5rem;
    }
}

.roi-calc__slider-input {
    accent-color: #bfbfbf;
}

.roi-calc__slider-input::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border: 3px solid #19d9ff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(25, 217, 255, 0.25),
    0 4px 12px rgba(25, 217, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.roi-calc__slider-input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #ffffff;
    border: 3px solid #19d9ff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(25, 217, 255, 0.25),
    0 4px 12px rgba(25, 217, 255, 0.4);
    cursor: pointer;
}

.roi-calc__slider-input::-webkit-slider-thumb:hover {
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(25, 217, 255, 0.35),
    0 6px 16px rgba(25, 217, 255, 0.5);
}

.roi-calc__slider-input::-moz-range-thumb:hover {
    background: #a8a8a8;
}

.roi-calc__slider-input {
    padding: 0;
}