/* shared tokens, buttons, nav, footer, and CTA band live in hera-shared.css */

/* ============================================================
   HERO
   ============================================================ */
.hera-hero{
  padding:88px 0 80px;
  background:
    radial-gradient(1100px 500px at 82% -10%, var(--hera-blue-pale) 0%, transparent 60%),
    var(--hera-surface);
  overflow:hidden;
}
.hera-hero .container{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
.hera-hero h1{
  font-size:clamp(34px, 4.2vw, 54px);
  font-weight:900;
}
.hera-hero h1 .accent{ color: var(--hera-blue-core); }
.hera-hero .lede{
  font-size:18px;
  color: var(--hera-ink-soft);
  max-width:52ch;
  margin-bottom:32px;
}
.hera-hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; }

/* --- Signature element: the Inbox -> Quote -> Booked morph card --- */
.hera-morph-stage{
  position:relative;
  aspect-ratio: 4/3.1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--hera-ink) 0%, #16264A 100%);
  padding:22px;
  box-shadow: var(--shadow-card);
}
.morph-chrome{
  display:flex; align-items:center; gap:7px; margin-bottom:16px;
}
.morph-chrome span{ width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,0.25); }
.morph-card{
  position:absolute; inset:22px; top:56px;
  background:#fff; border-radius: var(--radius-md);
  padding:22px;
  opacity:0;
  animation: morphCycle 9s infinite;
}
.morph-card.c2{ animation-delay:3s; }
.morph-card.c3{ animation-delay:6s; }
@keyframes morphCycle{
  0%{ opacity:0; transform: translateY(8px); }
  4%{ opacity:1; transform: translateY(0); }
  29%{ opacity:1; transform: translateY(0); }
  34%{ opacity:0; transform: translateY(-8px); }
  100%{ opacity:0; }
}
.morph-label{
  font-family: var(--font-data); font-weight:700; font-size:11px;
  text-transform:uppercase; letter-spacing:0.1em; color: var(--hera-ink-faint);
  margin-bottom:10px;
}
.morph-line{ height:10px; border-radius:5px; background:var(--hera-border); margin-bottom:8px; }
.morph-line.w60{ width:60%; }
.morph-line.w80{ width:80%; }
.morph-line.w40{ width:40%; }
.morph-quote-row{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 14px; border:1px solid var(--hera-border); border-radius:8px; margin-top:12px;
}
.morph-quote-row b{ color:var(--hera-blue-core); font-size:15px; }
.morph-confirm{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  height:100%; text-align:center; gap:10px;
}
.morph-check{
  width:52px; height:52px; border-radius:50%;
  background: var(--hera-blue-pale); color:var(--hera-blue-core);
  display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:900;
}
@media (prefers-reduced-motion: reduce){
  .morph-card{ animation:none; opacity:1; position:static; margin-bottom:12px; }
  .morph-card.c2, .morph-card.c3{ display:none; }
}
@media (max-width: 980px){
  .hera-hero .container{ grid-template-columns:1fr; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.hera-trust{
  padding:52px 0;
  border-bottom:1px solid var(--hera-border);
}
.hera-trust p.trust-label{
  text-align:center; font-size:14px; color:var(--hera-ink-faint);
  margin-bottom:30px;
}
.trust-grid{
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:20px 44px;
}
.trust-logo{
  font-family:var(--font-display); font-weight:700; font-size:19px;
  color:#B7C0D4; letter-spacing:0.01em;
  filter:grayscale(1); opacity:0.85;
  transition:opacity .2s ease, color .2s ease;
}
.trust-logo:hover{ color:var(--hera-ink); opacity:1; }

/* ============================================================
   MARKET REALITY (dynamic regional stat block)
   ============================================================ */
.hera-market{ background: var(--hera-surface-alt); }
.market-head{ max-width:64ch; margin-bottom:48px; }
.market-head h2{ font-size:clamp(26px,3vw,38px); }
.region-toggle{
  display:inline-flex; background:#fff; border:1px solid var(--hera-border);
  border-radius:999px; padding:4px; margin-bottom:28px; gap:4px;
}
.region-toggle button{
  font-family:var(--font-data); font-weight:700; font-size:13px;
  letter-spacing:0.04em; text-transform:uppercase;
  border:none; background:transparent; color:var(--hera-ink-faint);
  padding:9px 18px; border-radius:999px; cursor:pointer;
  transition: background .15s ease, color .15s ease;
}
.region-toggle button.active{ background:var(--hera-blue-core); color:#fff; }

.market-grid{
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap:44px; align-items:start;
}
.market-copy p{ font-size:16px; }
.speed-lead{
  margin-top:22px; padding:18px 20px;
  background:#fff; border-left:4px solid var(--hera-leak);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  font-size:15px; color:var(--hera-ink);
}
.speed-lead b{ color:var(--hera-leak); }

.stat-card{
  background:#fff; border:1px solid var(--hera-border); border-radius:var(--radius-lg);
  padding:38px; box-shadow: var(--shadow-card);
}
.stat-big{
  font-family:var(--font-display); font-weight:900;
  font-size:clamp(52px,7vw,72px); color:var(--hera-blue-core); line-height:1;
}
.stat-sub{ font-size:15px; margin-top:14px; color:var(--hera-ink-soft); }
.stat-region-name{
  font-family:var(--font-data); font-weight:700; font-size:12px;
  letter-spacing:0.1em; text-transform:uppercase; color:var(--hera-ink-faint);
  margin-bottom:8px;
}
.stat-note{
  margin-top:22px; padding-top:18px; border-top:1px solid var(--hera-border);
  font-size:12.5px; color:var(--hera-ink-faint);
}
[data-region-panel]{ display:none; }
[data-region-panel].active{ display:block; }

@media (max-width:900px){
  .market-grid{ grid-template-columns:1fr; }
}

/* ============================================================
   FRICTIONLESS LOOP — 4 step process
   ============================================================ */
.hera-loop-head{ max-width:70ch; margin-bottom:56px; }
.loop-track{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
  position:relative;
}
.loop-track::before{
  content:""; position:absolute; top:26px; left:6%; right:6%; height:2px;
  background: var(--hera-blue-pale); z-index:0;
}
.loop-step{ position:relative; z-index:1; }
.loop-num{
  width:52px; height:52px; border-radius:50%;
  background:#fff; border:2px solid var(--hera-blue-core); color:var(--hera-blue-core);
  font-family:var(--font-data); font-weight:700; font-size:18px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.loop-step h3{ font-size:17px; margin-bottom:8px; }
.loop-step p{ font-size:14.5px; }
@media (max-width:900px){
  .loop-track{ grid-template-columns:1fr; }
  .loop-track::before{ display:none; }
}
