/* =========================
   HERO
========================= */

.hero {
  max-width: 960px;
  margin: 2.5rem auto 3rem auto; /* mai sus */
  text-align: center;
}


.subtitle {
  font-size: 1.15rem;
  color: #6b7280;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
/* emphasize median column */
.comparison td:nth-child(2),
.comparison th:nth-child(2) {
  background: #f8fafc;
}

/* FI probability – more visual */
.comparison td:nth-child(5) {
  font-weight: 600;
}



/* =========================
   SECTIONS & LAYOUT
========================= */

.snapshot,
.summary,
.comparison,
.charts,
.interpretation {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.25rem;
}

.section-hint {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.content-block {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}


/* =========================
   METRICS GRID
========================= */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}


/* =========================
   TABLE – SCENARIO COMPARISON
========================= */

.comparison table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.comparison thead th {
  background: #f5f7fa;
  color: #222;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 2px solid #d0d7de;
}

.comparison tbody td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.comparison tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.comparison tbody tr:hover {
  background-color: #f0f6ff;
}

/* numeric alignment */
.comparison th:not(:first-child),
.comparison td:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* scenario column */
.comparison th:first-child,
.comparison td:first-child {
  font-weight: 600;
}

/* emphasize strongest scenario (last row) */
.comparison tbody tr:last-child td {
  font-weight: 600;
}


/* =========================
   CHARTS
========================= */

.charts .chart {
  margin-bottom: 3rem;
  text-align: center;
}


/* =========================
   INTERPRETATION
========================= */

.interpretation .placeholder {
  color: #6b7280;
  font-style: italic;
}


/* =========================
   FINAL CTA
========================= */

.final-cta {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: #f1f5f9;
  border-radius: 16px;
}

.final-cta h2 {
  margin-bottom: 1rem;
}


/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
}

.btn.primary {
  background: #2563eb;
  color: #fff;
}

.btn.secondary {
  border: 1px solid #cbd5f5;
  color: #1e3a8a;
}


/* =========================
   RESPONSIVE (SAFE DEFAULT)
========================= */

@media (max-width: 768px) {
  .hero {
    margin: 2rem auto;
  }

  .comparison table {
    font-size: 0.85rem;
  }

  .comparison th,
  .comparison td {
    padding: 0.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }
}
/* =========================
   ASSUMPTIONS (DYNAMIC)
========================= */

/* =========================
   ASSUMPTIONS (DYNAMIC)
========================= */

.assumptions {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.25rem;

  /* accent subtil, nu separator */
  border-left: 2px solid rgba(37, 99, 235, 0.45);
  padding-left: 1.5rem;
}

.assumptions h2::before {
  content: "⚙️";
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.assumptions-list {
  list-style: none;
  background: #f8fafc;
  border-radius: 14px;
  padding: 1.75rem 2rem;
  border: 1px solid #e5e7eb;
  margin-top: 1.25rem;
}

.assumptions-list li {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.9rem;
  padding-left: 1.4rem;
  position: relative;
  color: #111827;
}

/* marker discret, consistent cu restul site-ului */
.assumptions-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: #2563eb;
  font-weight: 600;
}

/* =========================
   HEADER
========================= */

.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.site-nav a {
  margin-left: 1.25rem;
  font-size: 0.95rem;
  text-decoration: none;
  color: #374151;
}

.site-nav a:hover {
  color: #2563eb;
}

/* =========================
   BREADCRUMB
========================= */

.breadcrumb {
  max-width: 1200px;
  margin: 1rem auto 0 auto;
  padding: 0 1.5rem;

  font-size: 0.85rem;
  color: #6b7280;
}

.breadcrumb a {
  text-decoration: none;
  color: #2563eb;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 0.4rem;
}

.breadcrumb .current {
  color: #111827;
  font-weight: 500;
}
/* =========================
   VARIED PARAMETER – HIGHLIGHT
========================= */

.varied-parameter-highlight {
  max-width: 1100px;
  margin: 0.75rem auto 2rem auto;
  padding: 1rem 1.25rem;

  display: flex;
  align-items: center;
  gap: 1rem;

  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.08),
    rgba(37, 99, 235, 0.02)
  );

  border-left: 4px solid #2563eb;
  border-radius: 10px;
}


/* Icon */
.varied-parameter-highlight .icon {
  font-size: 1.4rem;
  line-height: 1;
}


/* Context label – secondary */
.varied-parameter-highlight .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 0.2rem;
}


/* MAIN VALUE – primary focus */
.varied-parameter-highlight .value {
  font-size: 1.05rem;      /* ⬆ ușor mai mare */
  font-weight: 700;        /* ⬆ clar mai bold */
  color: #1e3a8a;
}


/* RANGE – la fel de important ca valoarea */
.varied-parameter-highlight .range {
  margin-left: 0.5rem;
  padding-left: 0.5rem;

  border-left: 1px solid rgba(0, 0, 0, 0.15);

  font-size: 1.05rem;      /* ⬆ egal cu valoarea */
  font-weight: 700;        /* ⬆ bold real */
  color: #0f172a;
}

.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.site-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: #111827;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #374151;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #2563eb;
}
.calculator-step {
  max-width: 720px;
  margin: 2rem auto;
}

.calculator-step.hidden {
  display: none;
}

.step-actions {
  margin-top: 1.5rem;
}

.hint {
  color: #666;
  font-size: 0.95rem;
}
.parameter {
  margin: 1.5rem 0;
}

.parameter label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.parameter .description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.parameter .value {
  font-weight: 600;
  margin-left: 0.5rem;
}

.parameter input[type="range"] {
  width: 100%;
}

.email-block {
  margin: 1.5rem 0;
}

.email-block input {
  padding: 0.5rem;
  width: 240px;
}

.email-block button {
  margin-left: 0.5rem;
}

#simulation-status {
  margin-top: 1rem;
  font-weight: 600;
}

#simulation-results {
  margin-top: 2rem;
}
.hidden {
  display: none !important;
}
.scenario-axes {
  max-width: 700px;
  margin: 3rem auto;
}

.axis-list {
  list-style: none;
  padding: 0;
}

.axis-list li {
  margin: 0.6rem 0;
}

.axis-list a {
  font-weight: 500;
  text-decoration: none;
}

.axis-list a:hover {
  text-decoration: underline;
}

.page-scenario .hero {
  max-width: 820px;
  margin: 4rem auto 3rem auto;
  text-align: center;
}

.page-scenario .hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.page-scenario .hero .subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.page-scenario .scenario-context,
.page-scenario .scenario-assumptions,
.page-scenario .scenario-sensitivity {
  max-width: 780px;
  margin: 3rem auto;
}

.page-scenario .scenario-context {
  border-left: 4px solid #2563eb;
  padding: 1rem 1.5rem;
}

.page-scenario .scenario-context p {
  margin: 0;
}

.page-scenario .scenario-assumptions ul,
.page-scenario .scenario-sensitivity ul {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
}

.page-scenario .assumptions-list li::marker {
  color: #2563eb;
}

.page-scenario .sensitivity-list li::marker {
  color: #dc2626;
}
.page-scenario .scenario-axes {
  max-width: 720px;
  margin: 4rem auto;
}

.page-scenario .axis-list {
  list-style: none;
  padding: 0;
}

.page-scenario .axis-list li {
  margin: 0.7rem 0;
}

.page-scenario .axis-list a {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.page-scenario .axis-list a:hover {
  background: #eef2ff;
}

.page-home .hero {
  max-width: 900px;
  margin: 4.5rem auto 3rem auto;
  text-align: center;
}

.page-home .hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.page-home .hero .subtitle {
  font-size: 1.15rem;
  color: #555;
  max-width: 760px;
  margin: 0 auto;
}

.page-home .home-intro,
.page-home .home-scenarios,
.page-home .home-cta {
  max-width: 760px;
  margin: 3.5rem auto;
}

.page-home .scenario-list {
  list-style: none;
  padding: 0;
}

.page-home .scenario-list li {
  margin: 0.6rem 0;
}

.page-home .scenario-list a {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.page-home .scenario-list a:hover {
  background: #eef2ff;
}

.page-home .home-cta {
  text-align: center;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2.5rem 2rem;
}

.page-home .cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.page-home .cta-button:hover {
  background: #1e4ed8;
}
.page-scenarios .hero {
  max-width: 900px;
  margin: 4rem auto 3rem auto;
  text-align: center;
}

.page-scenarios .hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.6rem;
}

.page-scenarios .hero .subtitle {
  font-size: 1.1rem;
  color: #555;
}

.page-scenarios .scenarios-intro,
.page-scenarios .scenarios-list {
  max-width: 900px;
  margin: 3rem auto;
}

.page-scenarios .scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.page-scenarios .scenario-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.4rem;
  background: #fff;
}

.page-scenarios .scenario-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.page-scenarios .scenario-card a {
  font-weight: 500;
  text-decoration: none;
}

.page-scenarios .scenario-card a:hover {
  text-decoration: underline;
}
