/* ============================================================
   /kalkulator-roi — ROI Calculator (Nebula brand, 2-col layout) v7
   ============================================================ */

:root {
  --accent-gradient: linear-gradient(135deg, #22d3ee, #8b5cf6, #ec4899);
  --border-color: #2a2a4a;
  --bg-card: rgba(255,255,255,0.03);
  --text-primary: #e8e8f0;
  --text-secondary: #9898b8;
  --text-muted: #6868a0;
}

/* ── Page wrapper ── */
.roi-section {
  width: 100%;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 2rem;
  box-sizing: border-box;
  align-self: stretch;
}

/* ── 2-column card ── */
.roi-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  align-items: start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  overflow: hidden;
}

.roi-left {
  padding: 2rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.roi-right {
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Panel eyebrow labels ── */
.roi-panel-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.6rem;
}

/* ── Sliders ── */
.roi-slider-group {
  margin-bottom: 1.6rem;
}
.roi-slider-group:last-child {
  margin-bottom: 0;
}

.roi-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.55rem;
  white-space: nowrap;
  flex-wrap: nowrap;
}
.roi-slider-label > span:first-child {
  white-space: nowrap;
  flex-shrink: 0;
}
.roi-val {
  color: #a78bfa;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.roi-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  outline: none;
  cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8b5cf6;
  cursor: pointer;
  border: 2px solid #0d0a1f;
  box-shadow: 0 0 8px rgba(139,92,246,0.5);
  transition: transform 0.15s, box-shadow 0.15s;
}
.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(139,92,246,0.7);
}
.roi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8b5cf6;
  cursor: pointer;
  border: 2px solid #0d0a1f;
}

.roi-exp-hint {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.38);
  margin-top: 0.4rem;
}
.roi-scope-desc {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.42);
  margin-top: 0.45rem;
  line-height: 1.5;
}

.roi-adrian-badge {
  display: none;
  margin-top: 0.65rem;
  padding: 0.5rem 0.8rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(236,72,153,0.10));
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 8px;
  font-size: 0.74rem;
  color: #c4b5fd;
  animation: adrianFadeIn 0.3s ease;
}
.roi-adrian-badge.visible { display: block; }
.roi-adrian-badge strong { color: rgba(255,255,255,0.92); font-weight: 600; }
@keyframes adrianFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Result blocks ── */
.roi-result-block {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

.roi-result-block--featured {
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(236,72,153,0.08));
  border: 1.5px solid rgba(139,92,246,0.4);
}
.roi-result-block--featured .roi-result-amount {
  color: #c4b5fd !important;
}
.roi-result-block--featured .roi-result-label {
  color: rgba(255,255,255,0.7);
}

.roi-result-label {
  font-size: 10px !important;
  color: rgba(255,255,255,0.48);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700 !important;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.roi-badge {
  font-size: 9px;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.roi-badge-uop { background: rgba(239,68,68,0.15); color: #f87171; }
.roi-badge-b2b { background: rgba(139,92,246,0.15); color: #a78bfa; }

.roi-result-amount {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: rgba(255,255,255,0.92) !important;
  letter-spacing: -0.02em;
  line-height: 1.25 !important;
}
.roi-result-detail {
  font-size: 11px !important;
  color: rgba(255,255,255,0.38) !important;
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* ── Savings block ── */
.roi-savings-block {
  padding: 0.9rem 1rem;
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: 12px;
  text-align: center;
}
.roi-savings-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #86efac;
  margin-bottom: 0.3rem;
}
.roi-savings-amount {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #22c55e !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.roi-savings-detail {
  font-size: 11px !important;
  color: #86efac !important;
  margin-top: 0.2rem;
  opacity: 0.85;
}

/* ── Fractional CMO gradient amount ── */
.roi-fractional-amount {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CTA footer ── */
.cta-footer {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto 3rem;
  padding: 0 2rem;
  box-sizing: border-box;
  align-self: stretch;
}
.cta-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
.cta-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.92);
}
.cta-block p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.2rem;
  line-height: 1.55;
}
.cta-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent-gradient);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}
.cta-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* ── Responsive: single column on narrow screens ── */
@media (max-width: 700px) {
  .roi-card {
    grid-template-columns: 1fr;
  }
  .roi-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 1.5rem 1.25rem;
  }
  .roi-right {
    padding: 1.5rem 1.25rem;
  }
  .roi-section, .cta-footer {
    padding: 0 1rem;
  }
}
