/* ===== ROI CALCULATOR STYLES ===== */

.roi-calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
  padding: 0;
}

/* ===== INPUTS SECTION ===== */
.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.roi-inputs h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--iit-text-primary);
}

.roi-inputs__subtitle {
  font-size: 16px;
  color: var(--iit-text-body);
  margin-bottom: 24px;
}

.roi-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roi-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--iit-text-primary);
  display: block;
}

.roi-slider-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.roi-slider {
  flex: 1;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--iit-teal-400), var(--iit-teal-500));
  outline: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--iit-teal-400);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(5, 210, 171, 0.3);
  transition: all 0.2s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  background: var(--iit-teal-500);
  box-shadow: 0 4px 12px rgba(5, 210, 171, 0.5);
  transform: scale(1.1);
}

.roi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--iit-teal-400);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(5, 210, 171, 0.3);
  transition: all 0.2s ease;
}

.roi-slider::-moz-range-thumb:hover {
  background: var(--iit-teal-500);
  box-shadow: 0 4px 12px rgba(5, 210, 171, 0.5);
  transform: scale(1.1);
}

.roi-slider-display {
  min-width: 80px;
  text-align: right;
}

.roi-slider-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--iit-teal-400);
  display: block;
}

.roi-number-input {
  padding: 10px 12px;
  font-size: 15px;
  background: rgba(5, 210, 171, 0.05);
  border: 1px solid rgba(5, 210, 171, 0.2);
  border-radius: 8px;
  color: var(--iit-text-primary);
  font-family: inherit;
  transition: all 0.2s ease;
}

.roi-number-input:focus {
  outline: none;
  background: rgba(5, 210, 171, 0.1);
  border-color: var(--iit-teal-400);
  box-shadow: 0 0 0 3px rgba(5, 210, 171, 0.15);
}

/* ===== RESULTS SECTION ===== */
.roi-results {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: linear-gradient(135deg, rgba(5, 210, 171, 0.06) 0%, rgba(27, 90, 206, 0.06) 100%);
  border: 1px solid rgba(5, 210, 171, 0.15);
  border-radius: 20px;
  padding: 40px;
}

.roi-results h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--iit-text-primary);
}

.roi-results__subtitle {
  font-size: 16px;
  color: var(--iit-text-body);
  margin: 0;
}

.roi-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.roi-result-card {
  background: linear-gradient(135deg, rgba(5, 210, 171, 0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(5, 210, 171, 0.15);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.roi-result-card:hover {
  background: linear-gradient(135deg, rgba(5, 210, 171, 0.12) 0%, rgba(27, 90, 206, 0.08) 100%);
  border-color: rgba(5, 210, 171, 0.25);
  transform: translateY(-2px);
}

.roi-result-card--primary {
  background: linear-gradient(135deg, rgba(5, 210, 171, 0.15) 0%, rgba(27, 90, 206, 0.1) 100%);
  border: 1.5px solid rgba(5, 210, 171, 0.25);
  padding: 24px;
}

.roi-result__label {
  font-size: 13px;
  color: var(--iit-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.roi-result__value {
  font-size: 32px;
  font-weight: 700;
  color: var(--iit-teal-400);
  margin-bottom: 4px;
  display: block;
}

.roi-result__note {
  font-size: 13px;
  color: var(--iit-text-body);
  display: block;
}

/* ===== BREAKDOWN SECTION ===== */
.roi-breakdown {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(5, 210, 171, 0.2);
}

.roi-breakdown h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--iit-text-primary);
}

.roi-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(5, 210, 171, 0.1);
  font-size: 15px;
}

.roi-breakdown-item--total {
  margin-top: 8px;
  padding: 12px 0;
  border-bottom: none;
  border-top: 1px solid rgba(5, 210, 171, 0.2);
  font-weight: 600;
  font-size: 16px;
}

.roi-breakdown-label {
  color: var(--iit-text-body);
}

.roi-breakdown-value {
  color: var(--iit-teal-400);
  font-weight: 600;
}

.roi-breakdown-cost {
  color: #ff6b6b;
}

/* ===== CTA SECTION ===== */
.roi-cta-section {
  background: linear-gradient(135deg, rgba(27, 90, 206, 0.15) 0%, rgba(0, 177, 155, 0.15) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 60px;
}

.roi-cta-section h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--iit-text-primary);
}

.roi-cta-section p {
  font-size: 18px;
  color: var(--iit-text-body);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.roi-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.roi-cta-buttons .btn {
  min-width: 240px;
}

/* ===== ASSUMPTIONS ===== */
.roi-assumptions {
  background: rgba(5, 210, 171, 0.03);
  border: 1px solid rgba(5, 210, 171, 0.1);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
}

.roi-assumptions h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--iit-text-primary);
}

.roi-assumptions .page-list {
  margin-bottom: 0;
}

.roi-assumptions .page-list li {
  font-size: 15px;
  line-height: 1.6;
}

.roi-assumptions .page-list li strong {
  color: var(--iit-teal-400);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .roi-calculator {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .roi-results {
    padding: 32px;
  }

  .roi-cta-section {
    padding: 40px 32px;
  }

  .roi-cta-section h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .roi-calculator {
    gap: 32px;
  }

  .roi-inputs h2,
  .roi-results h2,
  .roi-cta-section h2 {
    font-size: 26px;
  }

  .roi-inputs__subtitle,
  .roi-results__subtitle {
    font-size: 15px;
  }

  .roi-result-card {
    padding: 16px;
  }

  .roi-result-card--primary {
    padding: 20px;
  }

  .roi-result__value {
    font-size: 28px;
  }

  .roi-results {
    padding: 28px;
  }

  .roi-cta-section {
    padding: 32px 24px;
    margin-bottom: 40px;
  }

  .roi-cta-section p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .roi-cta-buttons {
    gap: 12px;
  }

  .roi-cta-buttons .btn {
    min-width: 200px;
    font-size: 15px;
  }

  .roi-assumptions {
    padding: 24px;
  }

  .roi-assumptions h3 {
    font-size: 18px;
  }

  .roi-assumptions .page-list li {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .roi-calculator {
    gap: 24px;
  }

  .roi-input-group {
    gap: 10px;
  }

  .roi-slider-container {
    gap: 12px;
  }

  .roi-label {
    font-size: 14px;
  }

  .roi-slider-value {
    font-size: 14px;
  }

  .roi-number-input {
    font-size: 14px;
    padding: 8px 10px;
  }

  .roi-inputs h2,
  .roi-results h2,
  .roi-cta-section h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .roi-inputs__subtitle,
  .roi-results__subtitle {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .roi-results {
    padding: 20px;
    gap: 24px;
  }

  .roi-results-grid {
    gap: 12px;
  }

  .roi-result-card {
    padding: 14px;
  }

  .roi-result-card--primary {
    padding: 16px;
  }

  .roi-result__label {
    font-size: 12px;
  }

  .roi-result__value {
    font-size: 24px;
  }

  .roi-result__note {
    font-size: 12px;
  }

  .roi-breakdown h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .roi-breakdown-item {
    padding: 10px 0;
    font-size: 14px;
  }

  .roi-breakdown-item--total {
    padding: 10px 0;
    font-size: 15px;
  }

  .roi-cta-section {
    padding: 28px 16px;
  }

  .roi-cta-section p {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .roi-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .roi-cta-buttons .btn {
    width: 100%;
    min-width: auto;
    font-size: 14px;
  }

  .roi-assumptions {
    padding: 20px;
    margin-top: 32px;
  }

  .roi-assumptions h3 {
    font-size: 16px;
  }

  .roi-assumptions .page-list li {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .roi-inputs h2,
  .roi-results h2 {
    font-size: 20px;
  }

  .roi-cta-section h2 {
    font-size: 20px;
  }

  .roi-result-card {
    padding: 12px;
  }

  .roi-result__value {
    font-size: 22px;
  }

  .roi-slider-display {
    min-width: 70px;
  }

  .roi-slider-value {
    font-size: 13px;
  }
}
