/* HERO SECTION ROI CALCULATOR STYLES */
.roi-hero-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
    background: rgba(60, 60, 60, 0.35);
    border-radius: 48px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.roi-hero-form input[type="text"] {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    border-radius: 32px;
    padding: 18px 28px;
    font-size: 18px;
    min-width: 180px;
    font-weight: 500;
    outline: none;
    margin: 0;
    transition: border 0.2s, background 0.2s, color 0.2s;
    text-align: center;
}

.roi-hero-form input[type="range"] {
    width: 160px;
    margin: 0 8px;
    accent-color: #008f89;
    background: transparent;
}

.roi-hero-form .roi-hero-btn {
    background: #ffc49b;
    color: #222;
    border: none;
    border-radius: 32px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.roi-hero-form .roi-hero-btn:hover {
    background: #ffb47b;
    color: #111;
}

.roi-hero-form .roi-hero-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 24px;
    background: rgba(0,143,137,0.95);
    border-radius: 24px;
    padding: 18px 32px;
    color: #fff;
    min-width: 220px;
    font-size: 18px;
    font-weight: 500;
}

.roi-hero-form .roi-label {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}

.roi-hero-form .roi-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.roi-hero-form .roi-gain-label {
    font-weight: 600;
    font-size: 15px;
    margin-top: 8px;
}

.roi-hero-form .roi-gain-value {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}

@media (max-width: 900px) {
    .roi-hero-form {
        padding: 16px 6vw;
    }
    .roi-hero-form .roi-hero-result {
        margin-left: 0;
        margin-top: 12px;
        width: 100%;
        align-items: center;
    }
    .roi-slider-group {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        margin: 0 0 16px 0;
    }
    .roi-slider-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .roi-slider-label, .roi-slider-value {
        font-size: 1.08rem !important;
    }
    .roi-slider-value {
        margin-left: 0;
        margin-top: 2px;
    }
    .roi-slider-minmax {
        font-size: 1rem;
        gap: 12px;
    }
    .roi-hero-btn {
        width: 100%;
        font-size: 1.12rem;
        padding: 13px 0;
    }
    .roi-modal-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 60vw !important;
        height: 60vh;
        padding: 28px 12px 18px 12px;
        border-radius: 18px;
    }
}

/* Remove old styles for .roi-calculator-widget and .form-container, .results-container, etc. */
.roi-calculator-widget, .form-container, .results-container {
    display: none !important;
}

/* ROI MODAL POPUP STYLES */
.roi-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.roi-modal.show {
    display: flex;
}

.roi-modal-content {
    background: #fff;
    color: #222;
    padding: 36px 32px 28px 32px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    width: 60%;
    max-width: 90vw;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.roi-modal-close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}
.roi-modal-close:hover {
    color: #222;
}

.roi-modal-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 8px;
}

.roi-modal-value {
    font-size: 2.5em;
    font-weight: 800;
    color: #008f89;
    margin-bottom: 10px;
}

.roi-modal-desc {
    font-size: 1em;
    color: #444;
    margin-bottom: 18px;
}

.roi-modal-gain-label {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 2px;
}

.roi-modal-gain-value {
    font-size: 1.4em;
    font-weight: 700;
    color: #008f89;
    margin-bottom: 0;
}

.roi-modal-btn {
    display: inline-block;
    background: #ffc49b;
    color: #222;
    border: none;
    border-radius: 32px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-top: 18px;
    transition: background 0.2s, color 0.2s;
}
.roi-modal-btn:hover {
    background: #ffb47b;
    color: #111;
    text-decoration: none;
}

/* ROI SLIDER GROUP STYLES */
.roi-slider-group {
    display: flex;
    flex-direction: column;
    border-radius: 32px;
    padding: 20px;
    width: 100%;
    flex: 1 1 320px;
    box-sizing: border-box;
}

.roi-slider-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.roi-slider-label {
    font-weight: 700;
    font-size: 1.08em;
    color: #222;
}

.roi-slider-value {
    font-weight: 600;
    font-size: 1.08em;
    color: #222;
    background: #f7f7f7;
    border-radius: 16px;
    padding: 4px 16px;
    min-width: 90px;
    text-align: right;
    transition: color 0.2s;
}

.roi-slider-group input[type="range"] {
    width: 100%;
    margin: 0 0 2px 0;
    accent-color: #008f89;
    background: transparent;
}

.roi-slider-minmax {
    display: flex;
    justify-content: space-between;
    font-size: 0.98em;
    color: #888;
    margin-bottom: 2px;
}

.roi-slider-helper {
    font-size: 0.97em;
    color: #666;
    margin-top: 2px;
    margin-bottom: 0;
}

.roi-live-result {
    width: 100%;
    background: #f8fafcdb;
    padding: 24px 20px;
    border-radius: 12px;
    margin-top: 24px;
    text-align: center;
}

.roi-live-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a202c;
}

.roi-live-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.roi-live-desc {
    font-size: 1rem;
    color: #303030;
    margin-bottom: 18px;
}

.roi-live-gain-label {
    font-size: 1.05rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 2px;
}

.roi-live-gain-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0;
}

/* Responsive styles for ROI Calculator Widget */
@media (max-width: 600px) {
  .roi-hero-form {
    padding: 20;
  }
  .roi-slider-group {
    padding: 0;
    margin: 0;
}
  }
  .roi-slider-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .roi-slider-label, .roi-slider-value {
    font-size: 1rem !important;
  }
  .roi-slider-value {
    margin-left: 0;
    margin-top: 2px;
  }
  .roi-slider-minmax {
    font-size: 0.95rem;
    gap: 10px;
  }
  .roi-hero-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 12px 0;
  }
  .roi-modal-content {
    width: 96vw !important;
    max-width: 98vw;
    padding: 24px 8px 18px 8px;
    border-radius: 16px;
  }

