:root {
  --gold: #c9a24a;
  --gold-grad: linear-gradient(135deg, #c9a24a 0%, #ecd48a 100%);
  --dark-bg: #080808;
  --card-bg: #121212;
  --text-muted: #a0a0a0;
  --glass: rgba(255, 255, 255, 0.03);
}

body {
  background-color: var(--dark-bg);
  color: #fff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* --- Hero & Typography --- */
.hero-cinematic {
  padding: 180px 0 140px;
  position: relative;
  background: radial-gradient(circle at 50% -20%, rgba(201, 162, 74, 0.15), transparent 70%);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
}

.text-gradient {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Calculator Wrapper --- */
.calculator-wrapper {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 74, 0.2);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.bg-glass-dark {
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(10px);
}

/* (kept for other uses if you still need it somewhere) */
.bg-gold-grad {
  background: var(--gold-grad);
}

.custom-slider {
  height: 6px;
  background: #333;
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #000;
}

/* --- Strategic Roadmap --- */
.roadmap-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.05);
  height: 100%;
  transition: 0.3s;
}

.roadmap-card.active {
  border-color: var(--gold);
  background: linear-gradient(145deg, #121212, #1a1a1a);
}

.roadmap-card .year {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 15px;
  display: block;
  letter-spacing: 2px;
}

/* --- Comparison Box Enhancements --- */
.comparison-modern {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.comp-box { padding: 60px; }
.traditional { background: #0f0f0f; }
.coffyx { background: #151515; border-left: 1px solid rgba(201, 162, 74, 0.2); }

.comp-list { list-style: none; padding: 0; }
.comp-list li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.1rem;
}

/* --- Buttons & Interactions --- */
.btn-gold-glow {
  background: var(--gold-grad);
  color: #000 !important;
  padding: 20px 45px;
  border-radius: 16px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 10px 40px rgba(201, 162, 74, 0.2);
  transition: 0.4s;
}

.btn-gold-glow:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(201, 162, 74, 0.4);
}

/* --- KPI Section --- */
.kpi-section { margin-top: -100px; position: relative; z-index: 100; }

.kpi-card-modern {
  background: #111;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 45px 20px;
  border-radius: 28px;
  text-align: center;
}

/* --- Outline Button --- */
.btn-outline-white {
  color: #fff !important;
  text-decoration: none !important;
  padding: 18px 35px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-3px);
  color: var(--gold) !important;
}

/* ===== Calculator Result Panel (FINAL - cleaned) ===== */
.calc-result{
  background: linear-gradient(135deg, #b8892f 0%, #e2c06a 45%, #a97722 100%);
  position: relative;
  color: #fff;
}

/* subtle dark overlay to improve contrast */
.calc-result::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 30% 20%, rgba(0,0,0,0.10), rgba(0,0,0,0.35) 70%);
  pointer-events:none;
}

/* keep content above overlay */
.calc-result > *{
  position: relative;
  z-index: 1;
}

/* labels */
.calc-result p{
  color: rgba(255,255,255,0.85) !important;
  letter-spacing: 1px;
}

/* numbers */
.calc-result h2,
.calc-result .display-3,
.calc-result #monthlyResult{
  color: #fff !important;
  text-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* ROI emphasis */
.calc-result strong,
.calc-result #roiResult{
  color: #fff !important;
}

/* divider */
.calc-result hr{
  border: 0 !important;
  height: 1px !important;
  background: rgba(255,255,255,0.25) !important;
  opacity: 1 !important;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .hero-cinematic { padding: 120px 0 80px; }

  .hero-title {
    font-size: 2.4rem;
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 1rem;
    padding: 0 15px;
  }

  .hero-content .d-flex {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 20px;
  }

  .btn-gold-glow,
  .btn-outline-white {
    width: 100%;
    padding: 16px 20px;
    font-size: 0.85rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .calculator-wrapper .p-5 { padding: 30px 20px !important; }
  .display-3 { font-size: 2.5rem; }

  .comp-box { padding: 40px 20px; }
  .comp-header { font-size: 1.4rem; }
}
