/* Shared hub hero — used by /calculators and /prompts */

.calc-hero-section {
  padding: 120px 5vw 88px;
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
}

.calc-hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  background: var(--hero-fade-bottom);
  pointer-events: none;
}

.calc-hero-grid {
  width: min(92%, 960px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.calc-hero-panel {
  display: grid;
  gap: 28px;
}

.calc-hero-panel .subtitle.light {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.calc-hero-panel h1,
.calc-hero-panel .heading-large {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}

.calc-hero-panel h1 em,
.calc-hero-panel .heading-large em {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.calc-hero-panel .hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  max-width: 660px;
  margin: 0;
}

.calc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.calc-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease);
}

.calc-hero-btn-primary {
  background: var(--hero-btn-primary-bg, #fff);
  color: var(--hero-btn-primary-color, #111729);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(7, 11, 23, 0.18);
}

.calc-hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(7, 11, 23, 0.24);
}

.calc-hero-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.calc-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.calc-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
}

.calc-stat-card {
  min-height: 132px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(10px);
}

.calc-stat-number {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.calc-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

@media (max-width: 991px) {
  .calc-stats-grid {
    grid-template-columns: 1fr;
  }

  .calc-hero-section {
    padding-top: 100px;
  }
}

@media (max-width: 767px) {
  .calc-hero-section {
    padding-top: 96px;
    padding-bottom: 56px;
  }

  .calc-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .calc-hero-btn {
    width: 100%;
  }
}
