/* ===== Comparison Tables ===== */
.comparison-table {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  border: 1px solid rgba(212, 168, 75, 0.2);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.comparison-table th {
  background: var(--gold);
  color: var(--charcoal-900, #141414);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
}
.comparison-table th:first-child {
  border-radius: 12px 0 0 0;
}
.comparison-table th:last-child {
  border-radius: 0 12px 0 0;
}
.comparison-table td {
  padding: 0.875rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.comparison-table tr:nth-child(odd) td {
  background: var(--charcoal-700, #2d2d2d);
}
.comparison-table tr:nth-child(even) td {
  background: var(--charcoal-800, #1f1f1f);
}
.comparison-table tr:last-child td:first-child {
  border-radius: 0 0 0 12px;
}
.comparison-table tr:last-child td:last-child {
  border-radius: 0 0 12px 0;
}
.comparison-table td:first-child {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Outfit", sans-serif;
}
.comparison-table .check {
  color: var(--gold);
  font-weight: 700;
}
.comparison-table .x-mark {
  color: rgba(255, 255, 255, 0.45);
}
.comparison-table .highlight-col {
  background: rgba(212, 168, 75, 0.08);
}
.comparison-table tr:nth-child(odd) td.highlight-col {
  background: rgba(212, 168, 75, 0.12);
}
.comparison-table tr:nth-child(even) td.highlight-col {
  background: rgba(212, 168, 75, 0.06);
}
.comparison-table th.highlight-col {
  background: #c99a3a;
}

/* ===== DB Links ===== */
.db-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}
.db-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.db-links a:hover {
  color: var(--gold-400, #e5c57a);
}
.db-links a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===== Cost Breakdown Cards ===== */
.cost-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 767px) {
  .cost-breakdown {
    grid-template-columns: 1fr;
  }
}
.cost-card {
  background: var(--charcoal-700, #2d2d2d);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.cost-card--helio {
  border-color: var(--gold);
  background: linear-gradient(
    135deg,
    var(--charcoal-700, #2d2d2d),
    rgba(212, 168, 75, 0.08)
  );
}
.cost-card__header {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cost-card--helio .cost-card__header {
  color: var(--gold);
  border-bottom-color: rgba(212, 168, 75, 0.3);
}
.cost-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}
.cost-line__label {
  color: rgba(255, 255, 255, 0.7);
}
.cost-line__amount {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.cost-line--total {
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  margin-top: 0.75rem;
  padding-top: 1rem;
  font-weight: 700;
}
.cost-line--total .cost-line__label {
  color: rgba(255, 255, 255, 0.9);
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}
.cost-line--total .cost-line__amount {
  font-size: 1.15rem;
}
.cost-card--helio .cost-line--total {
  border-top-color: rgba(212, 168, 75, 0.4);
}
.cost-card--helio .cost-line--total .cost-line__amount {
  color: var(--gold);
  font-size: 1.25rem;
}
.cost-savings {
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(212, 168, 75, 0.1);
  border: 1px solid rgba(212, 168, 75, 0.25);
  border-radius: 8px;
}
.cost-savings__amount {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}
.cost-savings__label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* ===== Timeline Bars ===== */
.timeline-comparison {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.timeline-bar {
  position: relative;
}
.timeline-bar__label {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.timeline-bar__duration {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  font-weight: 500;
}
.timeline-bar__track {
  height: 48px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.timeline-bar__track--traditional {
  background: var(--charcoal-600, #404040);
  width: 100%;
}
.timeline-bar__track--helio {
  background: linear-gradient(135deg, var(--gold), var(--gold-600, #b8923f));
  width: 33.3%;
}
.timeline-bar__segments {
  display: flex;
  height: 100%;
  width: 100%;
}
.timeline-bar__segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-bar__segment--design {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  flex: 4;
}
.timeline-bar__segment--bid {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  flex: 2;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.timeline-bar__segment--build {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  flex: 6;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.timeline-bar__segment--delays {
  background: rgba(220, 38, 38, 0.2);
  color: rgba(255, 255, 255, 0.5);
  flex: 3;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.timeline-bar__segment--helio-all {
  color: var(--charcoal-900, #141414);
  font-weight: 600;
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
}
.timeline-bar__months {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: "JetBrains Mono", monospace;
}

/* ===== FAQ on Dark Background ===== */
.db-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.db-faq__item:last-child {
  border-bottom: none;
}
.db-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.db-faq__question-text {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white, #fff);
  padding-right: 1rem;
}
.db-faq__icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.db-faq__question[aria-expanded="true"] .db-faq__icon {
  transform: rotate(180deg);
}
.db-faq__answer {
  padding-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  font-size: 0.95rem;
}
.db-faq__answer[hidden] {
  display: none;
}
.db-faq__answer a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.db-faq__answer a:hover {
  color: var(--gold-400, #e5c57a);
}

/* ===== Inline Link Accents ===== */
.section--dark .inline-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.section--dark .inline-link:hover {
  color: var(--gold-400, #e5c57a);
}
