section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 14px;
}
.section-header p { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 640px; margin: 0 auto; }


/* Page secondary button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  cursor: pointer;
  transition: .22s ease;
}
.btn-secondary:hover { border-color: rgba(10,14,26,.18); transform: translateY(-1px); }

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  background:
    radial-gradient(circle at 14% 18%, rgba(204,85,0,0.26), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(0,95,106,0.26), transparent 28%),
    radial-gradient(circle at 76% 82%, rgba(255,122,31,0.18), transparent 34%),
    linear-gradient(135deg, #08111f 0%, #0b1220 48%, #111827 100%);
  color: #fff;
  isolation: isolate;
  padding: 0;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8,17,31,0.96) 0%, rgba(8,17,31,0.78) 50%, rgba(8,17,31,0.88) 100%);
}
.page-hero-bg::before {
  content: "";
  position: absolute;
  right: -34px;
  top: 14px;
  width: clamp(220px, 26vw, 390px);
  height: clamp(220px, 26vw, 390px);
  border-radius: 50%;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  transform: rotate(-8deg);
}
.hero-bg-logo {
  position: absolute;
  right: clamp(28px, 8vw, 126px);
  top: 50%;
  width: clamp(142px, 18vw, 260px);
  height: clamp(142px, 18vw, 260px);
  color: rgba(204,85,0,0.42);
  transform: translateY(-50%) rotate(-10deg);
  opacity: .52;
  filter: drop-shadow(0 28px 80px rgba(204,85,0,0.16));
}
.hero-bg-logo svg { width: 100%; height: 100%; display: block; }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(204,85,0,0.10), transparent 34%),
    linear-gradient(245deg, rgba(0,95,106,0.12), transparent 38%);
}
.page-hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 68% 42%, #000 0%, transparent 62%);
  opacity: .52;
}
.page-hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.11) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.10;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  min-height: 190px;
  margin: 0 auto;
  padding: 30px 48px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(230,115,26,0.14);
  border: 1px solid rgba(230,115,26,0.26);
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffbd82;
  backdrop-filter: blur(12px);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #39A48A;
  box-shadow: 0 0 0 5px rgba(57,164,138,0.12), 0 0 18px rgba(57,164,138,0.65);
}
.page-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
  max-width: 13.5ch;
  margin-bottom: 0;
}
.page-hero-copy h1 span { color: var(--brand-light); }
.page-hero-copy p {
  max-width: 640px;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.82;
  margin-bottom: 24px;
}
.hero-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-bottom:0;
  width:100%;
  max-width:420px;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary{
  display:flex;
  align-items:center;
  justify-content:center;

  min-width:160px;
  height:46px;

  border-radius:999px;
  padding:0 20px;

  font-size:13px;
  font-weight:800;

  text-align:center;
}
.hero-actions .btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); box-shadow: 0 16px 36px rgba(204,85,0,0.34); }
.hero-actions .btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.07); backdrop-filter: blur(12px); }
.hero-actions .btn-secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.trust-pill i { color: #39A48A; font-size: 12px; }
.hero-calculator-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 28px;
  background: rgba(255,255,255,0.085);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px rgba(0,0,0,.30);
  overflow: hidden;
}
.hero-calculator-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(204,85,0,.28),transparent 72%);
}
.hero-card-title { position: relative; font-size: 18px; font-weight: 900; margin-bottom: 18px; }
.hero-mini-grid { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.hero-mini {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 18px;
  padding: 18px;
  color: var(--ink);
}
.hero-mini strong { display: block; font-size: 24px; font-weight: 900; color: var(--brand); margin-bottom: 6px; }
.hero-mini span { display: block; font-size: 13px; line-height: 1.55; color: #667085; font-weight: 700; }
/* Decorative calculator hero background */
.page-hero-copy { max-width: 720px; }
.page-hero-actions { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 10px; }
.hero-formula {
  display: flex;
  justify-content: flex-end;
  text-align: right;
  max-width: 100%;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── CALCULATOR WORKSPACE ─── */
.calculator-section {
  margin-top: 0;
  position: relative;
  z-index: 3;
  padding-top: 38px;
  border-top: 1px solid rgba(10,14,26,0.08);
  border-radius: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(204,85,0,0.055), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}
.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 24px;
  align-items: stretch;
}
.calculator-card,
.side-card,
.trend-card,
.tips-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
  border-radius: 28px;
  border: 1px solid rgba(10,14,26,0.07);
  box-shadow: 0 14px 38px rgba(10,14,26,0.065);
}
.calculator-card {
  padding: 30px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.calculator-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 90% 0%, rgba(204,85,0,0.08), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.34), transparent 45%);
  z-index: -1;
}
.calculator-card::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}
.dashboard-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.dashboard-kicker {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
  color: #94a3b8;
  margin-bottom: 6px;
}
.dashboard-bar h3 {
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(10,14,26,0.06);
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(57,164,138,0.12);
}
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 900;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.field input,
.field select {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: 1px solid #d7e0eb;
  background: #f8fafc;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 650;
  color: #0f172a;
  transition: 0.22s ease;
  outline: none;
}
.field input:hover,
.field select:hover { border-color: #c8d4e3; background: #fff; }
.field input:focus,
.field select:focus { border-color: rgba(204,85,0,0.62); background: #fff; box-shadow: 0 0 0 4px rgba(204,85,0,0.10); }
.fuel-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  background: #f8fafc;
  padding: 6px;
  border-radius: 18px;
  border: 1px solid rgba(10,14,26,0.06);
}
.fuel-btn {
  min-height: 48px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: #475569;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
  padding: 0 12px;
}
.fuel-btn:hover { background: rgba(255,255,255,0.75); color: var(--ink); }
.fuel-btn.active { background: #ffffff; color: var(--brand-dark); box-shadow: 0 8px 20px rgba(10,14,26,0.08); }
.price-banner {
  margin-top: 24px;
  background:
    linear-gradient(135deg, rgba(255,247,241,0.98) 0%, #fff 55%, #fffaf5 100%);
  border: 1px solid rgba(204,85,0,0.16);
  border-radius: 24px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}
.price-banner small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin-bottom: 8px;
  font-weight: 900;
}
.price-value {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 1;
}
.price-meta { color: #64748b; font-size: 13px; line-height: 1.6; text-align: right; font-weight: 700; }
.calc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.calc-actions .btn-primary,
.calc-actions .btn-secondary { min-height: 46px; border-radius: 14px; padding: 12px 20px; }
.helper-note { font-size: 13px; color: #64748b; line-height: 1.7; margin-top: 14px; }
.side-column { display: flex; flex-direction: column; height: 100%; }
.side-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background:
    linear-gradient(180deg,#fff,#fbfcff),
    radial-gradient(circle at 90% 10%, rgba(0,95,106,.08), transparent 35%);
}
.side-card h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 8px; color: var(--ink); letter-spacing: -0.025em; }
.side-card > p { color: var(--muted); line-height: 1.7; font-size: 14px; }
.summary-metric { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; flex: 1; }
.metric-box {
  flex: 1;
  border: 1px solid rgba(10,14,26,0.06);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.metric-box small {
  display: block;
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-weight: 900;
}
.metric-box strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--ink); letter-spacing: -0.035em; }
.metric-box span { display: block; margin-top: 6px; color: #64748b; font-size: 14px; line-height: 1.6; }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.result-card {
  border-radius: 22px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(10,14,26,0.06);
  box-shadow: 0 10px 24px rgba(10,14,26,0.05);
}
.result-card small {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 10px;
}
.result-card strong { font-family: var(--font-display); font-size: 30px; color: var(--ink); letter-spacing: -0.045em; display: block; margin-bottom: 8px; }
.result-card span { font-size: 14px; color: #64748b; line-height: 1.65; }
.hidden { display: none; }

/* ─── TREND ─── */
.trend-section { background: var(--cream); }
.trend-layout { display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: stretch; }
.trend-card,
.tips-card { display: flex; flex-direction: column; }
.trend-card { padding: 26px; }
.chart-wrap { position: relative; min-height: 370px; flex: 1; }
.tips-card { padding: 26px; background: linear-gradient(180deg, #fff, #fff8f3); }
.tips-card h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 12px; color: var(--ink); letter-spacing: -0.02em; }
.tips-card p { color: var(--muted); line-height: 1.75; font-size: 15px; }
.tips-list { display: grid; gap: 12px; margin-top: 18px; }
.tips-list div {
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(10,14,26,0.06);
  padding: 14px 15px;
  color: #334155;
  line-height: 1.6;
  font-size: 14px;
  font-weight: 650;
}
.mini-note { margin-top: 16px; font-size: 13px; color: #64748b; line-height: 1.7; }

/* ─── CTA ─── */
.cta-section { background: var(--cream); }
.cta-box {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-box::before { content:""; position:absolute; top:-100px; right:-100px; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle,rgba(204,85,0,0.2),transparent 70%); }
.cta-box::after { content:""; position:absolute; bottom:-80px; left:60px; width:300px; height:300px; border-radius:50%; background:radial-gradient(circle,rgba(57,164,138,0.07),transparent 70%); }
.cta-text { position: relative; z-index: 2; }
.cta-text h2 { font-family: var(--font-display); font-size: 38px; font-weight: 900; color: #fff; letter-spacing: -0.02em; line-height: 1.1; margin: 8px 0 12px; }
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.5); max-width: 560px; line-height: 1.7; }
.cta-actions { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; flex-shrink: 0; }
.btn-cta-primary { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 900; color: #fff; background: var(--brand); padding: 14px 28px; border-radius: var(--radius-md); transition: 0.2s; white-space: nowrap; }
.btn-cta-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-cta-secondary { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 12px 24px; border-radius: var(--radius-md); transition: 0.2s; white-space: nowrap; }
.btn-cta-secondary:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* ─── ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0.05s; }
.reveal-2 { transition-delay: 0.1s; }
.reveal-3 { transition-delay: 0.15s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .calculator-shell,
  .trend-layout { grid-template-columns: 1fr; }
  .price-meta { text-align: left; }
}
@media (max-width: 900px) {
  .page-hero-inner { min-height: 210px; padding: 34px 28px 32px; text-align: center; grid-template-columns: 1fr; gap: 18px; }
  .page-hero-copy h1 { max-width: 100%; }
  .page-hero-actions, .hero-actions { justify-content: center; align-items: center; }
  .hero-formula { text-align: center; white-space: normal; justify-content: center; }
  .hero-bg-logo { right: 50%; transform: translate(50%, -50%) rotate(-10deg); opacity: .18; }
  .results-grid, .calc-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; padding: 40px 28px; }
  .cta-actions { align-items: stretch; width: 100%; }
  .cta-actions a { text-align: center; justify-content: center; }
}
@media (max-width: 640px) {
  .page-hero { min-height: 210px; }
  .page-hero-inner { min-height: 210px; padding: 30px 20px 28px; }
  .page-hero-copy h1 { font-size: 2.15rem; }
  .hero-bg-logo { width: 170px; height: 170px; opacity: .14; }
  .page-hero-copy p, .section-header p, .cta-text p { font-size: 15px; }
  .section-header h2 { font-size: 32px; }
  .fuel-choice { grid-template-columns: 1fr; }
  .calculator-card, .side-card, .trend-card, .tips-card { padding: 22px; }
  .price-value { font-size: 28px; }
  .result-card strong, .metric-box strong { font-size: 24px; }
  .cta-box { padding: 32px 20px; }
  .cta-text h2 { font-size: 28px; }
}
