/* Tek Tıkla AI Copilot, Mobil iPhone Simülatörü ve Akıllı Uyarı Radarı */

/* --- Topbar Ek Butonları --- */
.demo-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-alerts-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff1f0;
  border: 1px solid #ffccc7;
  color: #cf1322;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s ease;
}

.demo-alerts-btn:hover {
  background: #ffccc7;
  transform: translateY(-1px);
}

.alert-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #f5222d;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245, 34, 45, 0.7);
  animation: pulse-red 1.6s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 34, 45, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 34, 45, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 34, 45, 0); }
}

.demo-device-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0f5ff;
  border: 1px solid #adc6ff;
  color: #1d39c4;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s ease;
}

.demo-device-btn:hover {
  background: #d6e4ff;
  transform: translateY(-1px);
}

/* --- ERP Seçici & Bildirim Menüsü --- */
.demo-context-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.erp-connection-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  background: #e6f7ff;
  border: 1px solid #91d5ff;
  color: #0050b3;
  padding: 3px 8px;
  border-radius: 12px;
}

.erp-connection-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52c41a;
}

/* --- AI Copilot Panel --- */
.ai-copilot-container {
  background: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
  border: 1px solid #d4e2ff;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(50, 104, 230, 0.05);
}

.ai-copilot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.ai-copilot-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #1a365d;
  letter-spacing: -0.2px;
}

.ai-copilot-badge {
  font-size: 9px;
  background: #3268e6;
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ai-copilot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.ai-chip {
  background: #ffffff;
  border: 1px solid #c7d8f5;
  color: #2b436b;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .15s ease;
}

.ai-chip:hover {
  background: #3268e6;
  color: #ffffff;
  border-color: #3268e6;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(50, 104, 230, 0.2);
}

.ai-chip.active {
  background: #1e4bb8;
  color: #ffffff;
  border-color: #1e4bb8;
}

/* Custom Prompt Bar */
.ai-prompt-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.ai-prompt-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid #b8d0f7;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 11px;
  color: #1f2d3d;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}

.ai-prompt-input:focus {
  border-color: #3268e6;
  box-shadow: 0 0 0 2px rgba(50, 104, 230, 0.15);
}

.ai-prompt-submit {
  background: #3268e6;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background .2s;
}

.ai-prompt-submit:hover {
  background: #2452be;
}

/* AI Response Box */
.ai-response-box {
  background: #ffffff;
  border: 1px solid #bed6fa;
  border-left: 4px solid #3268e6;
  border-radius: 6px;
  padding: 12px 14px;
  margin-top: 10px;
  animation: fadeIn .3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-response-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.ai-response-tag {
  font-size: 10px;
  font-weight: 700;
  color: #3268e6;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-response-text {
  font-size: 12px;
  line-height: 1.6;
  color: #24334a;
  margin: 0 0 8px;
}

.ai-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 13px;
  background: #3268e6;
  margin-left: 2px;
  vertical-align: middle;
  animation: blink .7s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.ai-action-btn {
  background: #eff5ff;
  border: 1px solid #bed6fa;
  color: #2452be;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s;
}

.ai-action-btn:hover {
  background: #3268e6;
  color: #ffffff;
}

/* Satır Vurgulama Animasyonu (Tabloda ilgili kayıt yanıp söner) */
tr.ai-highlight-row {
  animation: highlightPulse 2s ease infinite alternate;
}

@keyframes highlightPulse {
  0% { background-color: #fffbe6; }
  100% { background-color: #ffe58f; }
}

/* --- Akıllı Uyarı Radarı Modalı (Toast/Dropdown) --- */
.demo-alerts-dropdown {
  position: absolute;
  top: 48px;
  right: 14px;
  width: 330px;
  background: #ffffff;
  border: 1px solid #e1e7f0;
  border-radius: 10px;
  box-shadow: 0 14px 35px -8px rgba(15, 34, 64, 0.25);
  z-index: 100;
  padding: 14px;
  animation: fadeIn .2s ease;
}

.demo-alerts-dropdown h4 {
  font-size: 12px;
  color: #1a283e;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alerts-close-btn {
  background: none;
  border: none;
  color: #8c9ba5;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}

.alert-item {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 6px;
  padding: 9px 11px;
  margin-bottom: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s;
}

.alert-item:last-child {
  margin-bottom: 0;
}

.alert-item.danger {
  background: #fff1f0;
  border-color: #ffa39e;
}
.alert-item.danger:hover { background: #ffccc7; }

.alert-item.warning {
  background: #fffbe6;
  border-color: #ffe58f;
}
.alert-item.warning:hover { background: #fff1b8; }

.alert-item.info {
  background: #e6f7ff;
  border-color: #91d5ff;
}
.alert-item.info:hover { background: #bae7ff; }

.alert-item-header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 3px;
}

.alert-item.danger .alert-item-header { color: #cf1322; }
.alert-item.warning .alert-item-header { color: #d46b08; }
.alert-item.info .alert-item-header { color: #096dd9; }

.alert-item-text {
  font-size: 11px;
  color: #262626;
  line-height: 1.4;
  margin: 0;
}

/* --- ERP Bağlantı Simülasyonu Toast --- */
.erp-connecting-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #0f1d33;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 280px;
  border: 1px solid #23395d;
  animation: toastSlideIn .3s ease;
}

@keyframes toastSlideIn {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}

.toast-bar {
  height: 3px;
  width: 100%;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.toast-bar-fill {
  height: 100%;
  width: 0%;
  background: #52c41a;
  animation: progressFill 1s ease forwards;
}

@keyframes progressFill {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* --- iPhone 16 Pro Mobil Çerçeve Modu --- */
.demo-app.device-iphone {
  max-width: 400px !important;
  margin: 20px auto !important;
  border-radius: 50px !important;
  border: 12px solid #22252c !important;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.45), inset 0 0 3px rgba(255,255,255,0.4) !important;
  position: relative;
  overflow: hidden !important;
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

/* iPhone Dynamic Island */
.demo-app.device-iphone::before {
  content: "";
  display: block;
  width: 110px;
  height: 25px;
  background: #000000;
  border-radius: 20px;
  margin: 8px auto 6px;
  position: relative;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* iPhone Home Bar */
.demo-app.device-iphone::after {
  content: "";
  display: block;
  width: 130px;
  height: 4px;
  background: #6e7687;
  border-radius: 3px;
  margin: 8px auto;
  position: relative;
  z-index: 100;
}

.demo-app.device-iphone .demo-topbar {
  padding: 4px 14px 8px;
  border-bottom: 1px solid #edf2f7;
}

.demo-app.device-iphone .demo-context {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px 14px;
}

.demo-app.device-iphone .demo-sidebar {
  display: none !important;
}

.demo-app.device-iphone .demo-layout {
  height: 520px !important;
  display: block;
  overflow-y: auto !important;
}

.demo-app.device-iphone .demo-workspace {
  padding: 12px !important;
  height: auto !important;
}

.demo-app.device-iphone .demo-kpis {
  grid-template-columns: 1fr !important;
  gap: 6px;
}

.demo-app.device-iphone .demo-chart-panel {
  padding: 10px !important;
}

.demo-app.device-iphone .ai-copilot-container {
  padding: 10px 12px;
}

.demo-app.device-iphone .ai-chip {
  font-size: 10px;
  padding: 4px 8px;
}

/* --- ROI & Zaman Tasarrufu Hesaplayıcı Bölümü --- */
.roi-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fe 100%);
  border-top: 1px solid #e1eaf5;
  border-bottom: 1px solid #e1eaf5;
}

.roi-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: #ffffff;
  border: 1px solid #d9e5f5;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 16px 40px -15px rgba(20, 45, 85, 0.08);
  margin-top: 24px;
}

.roi-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roi-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roi-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #2b3b52;
  font-weight: 600;
}

.roi-slider-val {
  color: #3268e6;
  font-size: 15px;
  font-weight: 750;
}

.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #e4edf8;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3268e6;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(50, 104, 230, 0.4);
  transition: transform .15s;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-results {
  background: linear-gradient(145deg, #162b4d 0%, #1c3660 100%);
  border-radius: 12px;
  padding: 28px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.roi-results-heading {
  font-size: 11px;
  letter-spacing: 1px;
  color: #9cb8e6;
  font-weight: 700;
}

.roi-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.roi-metric-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 12px;
}

.roi-metric-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.roi-metric-item span {
  display: block;
  font-size: 11px;
  color: #c4d7f5;
  margin-bottom: 4px;
}

.roi-metric-item strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--heading);
  letter-spacing: -0.5px;
}

.roi-metric-item small {
  font-size: 9px;
  color: #8daedc;
}

@media (max-width: 900px) {
  .roi-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 28px;
  }
}


.roi-field { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #2b3b52; font-size: 14px; font-weight: 700; }
.roi-field > span { display: block; }
.roi-field small { display: block; margin-top: 4px; color: #687b94; font-size: 12px; font-weight: 400; }
.roi-field > div { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.roi-field input { width: 100px; padding: 10px; border: 1px solid #c9d8ec; border-radius: 8px; color: #162b4d; font: inherit; background: #fff; }
.roi-field input:focus-visible { outline: 2px solid #3268e6; outline-offset: 2px; }
.roi-field b { min-width: 72px; color: #687b94; font-size: 12px; font-weight: 500; }
.roi-error { color: #a52727; font-size: 13px; margin: 0; }
.roi-note { color: #c4d7f5; font-size: 12px; line-height: 1.5; margin: 0; }
@media (max-width: 480px) { .roi-field { align-items: flex-start; flex-direction: column; gap: 8px; } .roi-field input { width: 120px; } }

.roi-slider-group > small { color: #687b94; font-size: 12px; }
.roi-slider:focus-visible { outline: 2px solid #3268e6; outline-offset: 5px; }
.roi-slider::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #3268e6; cursor: pointer; }

/* Kompakt zaman hesaplayıcı */
.roi-section { padding-top: 60px; padding-bottom: 60px; }
.roi-card { padding: 24px 28px; gap: 28px; margin-top: 18px; align-items: center; }
.roi-controls { gap: 16px; }
.roi-results { padding: 20px 24px; gap: 14px; }
.roi-metrics-grid { gap: 12px; }
.roi-metric-item { padding-bottom: 10px; }
.roi-metric-item strong { font-size: 23px; }
@media (max-width: 900px) {
  .roi-section { padding-top: 48px; padding-bottom: 48px; }
  .roi-card { padding: 20px; gap: 20px; }
}
.roi-section { padding-top: 36px; padding-bottom: 36px; }
.roi-section .story-heading { margin-bottom: 0; }
.roi-card { grid-template-columns: 1fr 1fr; padding: 18px 20px; gap: 20px; margin-top: 12px; }
.roi-results { padding: 14px 18px; gap: 8px; }
.roi-metrics-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
.roi-metric-item { border-bottom: 0; padding: 0; }
.roi-metric-item strong { font-size: 21px; }
@media (max-width: 900px) {
  .roi-section { padding-top: 32px; padding-bottom: 32px; }
  .roi-card { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
}
@media (max-width: 480px) {
  .roi-metrics-grid { gap: 10px; }
  .roi-metric-item strong { font-size: 19px; }
}
.roi-section .story-heading > p { color: #263b57; font-size: 17px; line-height: 1.65; font-weight: 500; }
.roi-slider-header { font-size: 15px; color: #1e3049; }
.roi-slider-group > small { color: #475d77; font-size: 13px; line-height: 1.5; }
.roi-metric-item span { font-size: 13px; color: #e0eafd; }
.roi-metric-item small { font-size: 12px; color: #c8d9f2; line-height: 1.45; }
.roi-section .story-heading > p, .roi-controls, .roi-results { font-family: var(--font); letter-spacing: 0; }
.roi-slider-header label { font-family: var(--heading); font-weight: 700; line-height: 1.4; }
.roi-slider-val, .roi-metric-item strong { font-family: var(--heading); font-variant-numeric: tabular-nums; }
.roi-metric-item strong { font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }

/* Kazanımı karşılaştırmadan ayıran olumlu sonuç vurgusu. */
.roi-results {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(75, 202, 146, .42);
  background: linear-gradient(135deg, #102b45 0%, #16445a 100%);
  box-shadow: 0 16px 34px -20px rgba(18, 105, 76, .7);
}
.roi-results::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  right: -72px;
  top: -112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(81, 224, 160, .28) 0%, rgba(81, 224, 160, 0) 68%);
}
.roi-results-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c2f4d8;
}
.roi-success-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #0d3a2b;
  background: #70e7ad;
  box-shadow: 0 0 0 4px rgba(112, 231, 173, .13);
  font-size: 12px;
  font-weight: 900;
}
.roi-metric-item:first-child { opacity: .82; }
.roi-saved-metric {
  position: relative;
  margin: -7px -8px;
  padding: 10px 12px !important;
  border: 1px solid rgba(113, 235, 174, .42) !important;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(62, 175, 122, .28), rgba(44, 139, 111, .12));
  box-shadow: inset 0 1px 0 rgba(213, 255, 232, .12), 0 8px 18px rgba(4, 35, 30, .16);
  opacity: 1 !important;
}
.roi-metric-item .roi-win-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d0fae3;
  font-weight: 700;
}
.roi-win-label i {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #2ba874;
  color: #f1fff7;
  font-style: normal;
  font-size: 13px;
  line-height: 1;
}
.roi-saved-metric strong {
  color: #7df0b9;
  text-shadow: 0 2px 14px rgba(58, 224, 148, .28);
}
.roi-saved-metric small { color: #d0f7e0; }
.roi-saved-metric small b {
  color: #8af3c0;
  font-weight: 700;
}
@media (max-width: 480px) {
  .roi-saved-metric { margin: -5px -6px; padding: 9px 10px !important; }
}

/* Karşılaştırmalı zaman tasarrufu hesaplayıcısı. */
.roi-card {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: stretch;
}
.roi-controls {
  justify-content: center;
  gap: 18px;
}
.roi-controls-heading > span {
  display: block;
  color: #536a8a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
}
.roi-controls-heading p {
  margin: 5px 0 0;
  color: #536a72;
  font-size: 13px;
  line-height: 1.45;
}
.roi-assumption {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid #dce8f5;
  border-radius: 9px;
  background: #f7faff;
}
.roi-assumption > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #dce9fa;
  color: #3964a7;
  font-size: 11px;
  font-style: italic;
  font-weight: 800;
}
.roi-assumption p { margin: 0; color: #596d85; font-size: 11px; line-height: 1.45; }
.roi-slider-group { gap: 7px; }
.roi-slider-header { gap: 12px; font-size: 13px; }
.roi-slider-val {
  flex: 0 0 auto;
  min-width: 66px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #e8effc;
  color: #285fcf;
  font-size: 12px;
  text-align: center;
}
.roi-slider-val-green { background: #ddf7e9; color: #137851; }
.roi-slider {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4378e5 0 var(--roi-fill, 35%), #dfe7f4 var(--roi-fill, 35%) 100%);
}
.roi-slider-green { background: linear-gradient(90deg, #27a977 0 var(--roi-fill, 17%), #dceee6 var(--roi-fill, 17%) 100%); }
.roi-slider::-webkit-slider-thumb { background: #376fdd; }
.roi-slider-green::-webkit-slider-thumb { background: #20976a; box-shadow: 0 2px 7px rgba(32, 151, 106, .34); }
.roi-slider-group > small { color: #60718a; font-size: 11px; line-height: 1.42; }
.roi-days-group { padding-top: 13px; border-top: 1px solid #e3eaf3; }
.roi-results { display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; gap: 14px; }
.roi-results-heading { flex: 0 0 auto; }
.roi-savings-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid rgba(122, 240, 184, .4);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(33, 166, 112, .32), rgba(29, 108, 92, .12));
}
.roi-savings-hero span { display: block; color: #d5f9e7; font-size: 12px; font-weight: 650; }
.roi-savings-hero strong { display: block; margin-top: 3px; color: #83f0bb; font-family: var(--heading); font-size: clamp(28px, 3vw, 38px); line-height: 1.05; letter-spacing: -.04em; }
.roi-savings-hero > b { flex: 0 0 auto; padding: 8px 9px; border-radius: 8px; background: #8cf1bd; color: #0b3b2a; font-size: 14px; font-weight: 850; }
.roi-compare { display: grid; gap: 10px; }
.roi-compare-row > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 5px; color: #d5e4ef; font-size: 11px; }
.roi-compare-row b { color: #f4fbff; font-size: 12px; font-variant-numeric: tabular-nums; }
.roi-compare-row > i { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(218, 234, 246, .18); }
.roi-compare-row > i > b { display: block; height: 100%; min-width: 2px; border-radius: inherit; transition: width .2s ease; }
.roi-before > i > b { background: #8ba8d4; }
.roi-after > i > b { background: #5bd9a0; box-shadow: 0 0 12px rgba(91, 217, 160, .45); }
.roi-after > div > span { color: #b9f0d4; }
.roi-after > div > b { color: #8cf1bd; }
.roi-formula { margin: 0; color: #b7e8d1; font-size: 11px; line-height: 1.45; }
.roi-disclaimer { margin: 0; color: #b9cddf; font-size: 10px; line-height: 1.45; }
@media (max-width: 900px) {
  .roi-card { grid-template-columns: 1fr; }
  .roi-controls { padding: 2px 2px 0; }
  .roi-results { padding: 21px; }
}
@media (max-width: 480px) {
  .roi-controls-heading p { font-size: 12px; }
  .roi-slider-header { font-size: 12px; }
  .roi-slider-group > small { font-size: 10px; }
  .roi-savings-hero { padding: 13px; }
  .roi-savings-hero strong { font-size: 28px; }
}
