/*
  Hero premium — institutional frequency dial & live traffic panel
  Load after sr-scroll-fluid.css
*/

@keyframes sr-hero-ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes sr-hero-ring-pulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.03); }
}

@keyframes sr-hero-freq-glow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.35)); }
  50% { filter: drop-shadow(0 0 32px rgba(56, 189, 248, 0.55)); }
}

@keyframes sr-hero-bar-dance {
  0%, 100% { transform: scaleY(0.55); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

body.sr-site .hero-premium-shell {
  width: 100%;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

body.sr-site .hero-premium-intro {
  width: 100%;
  text-align: center;
  margin-bottom: 1.35rem;
}

body.sr-site .hero-premium-kicker-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  max-width: 100%;
}

body.sr-site .hero-premium-kicker-wrap .hero-kicker-line {
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.45), transparent);
}

body.sr-site .hero-premium-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.88);
}

body.sr-site .hero-visual-h1.hero-premium-title {
  font-family: var(--sr-font-display, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: clamp(1.05rem, 3.2vw, 1.45rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  color: rgba(226, 232, 240, 0.92) !important;
  max-width: 28ch;
  margin: 0 auto;
  padding-inline: 0.25rem;
}

/* ── Frequency dial ── */
body.sr-site .hero-premium-dial {
  position: relative;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto 1.25rem;
  padding: 0.35rem;
}

body.sr-site .hero-dial-aura {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14) 0%, transparent 68%);
  pointer-events: none;
  animation: sr-hero-ring-pulse 5s ease-in-out infinite;
}

body.sr-site .hero-dial-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(56, 189, 248, 0.12);
}

body.sr-site .hero-dial-ring--outer {
  width: 108%;
  height: 108%;
  animation: sr-hero-ring-spin 48s linear infinite;
  border-style: dashed;
  opacity: 0.35;
}

body.sr-site .hero-dial-ring--inner {
  width: 92%;
  height: 92%;
  border-color: rgba(251, 191, 36, 0.15);
  animation: sr-hero-ring-spin 32s linear infinite reverse;
}

body.sr-site .hero-premium-dial .hero-readout-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

body.sr-site .hero-premium-dial .hero-readout-shell {
  position: relative;
  padding: 1.65rem 1.35rem 1.35rem !important;
  border-radius: 1.65rem !important;
  background:
    linear-gradient(165deg, rgba(12, 20, 38, 0.92) 0%, rgba(6, 11, 24, 0.88) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(14, 165, 233, 0.08) !important;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  overflow: hidden;
}

body.sr-site .hero-premium-dial .hero-readout-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.45), transparent 40%, rgba(251, 191, 36, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

body.sr-site .hero-dial-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

body.sr-site .hero-dial-live-dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
}

body.sr-site .hero-freq-stack {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1;
}

body.sr-site .hero-freq-value,
body.sr-site #hero-freq {
  font-family: var(--sr-font-mono, 'IBM Plex Mono', ui-monospace, monospace) !important;
  font-size: clamp(3.25rem, 14vw, 5.25rem) !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em !important;
  line-height: 0.92 !important;
  background: linear-gradient(180deg, #f0f9ff 0%, #7dd3fc 42%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  text-shadow: none !important;
  animation: sr-hero-freq-glow 3.5s ease-in-out infinite;
}

body.sr-site .hero-freq-unit {
  font-family: var(--sr-font-sans, 'Inter', -apple-system, sans-serif) !important;
  font-size: clamp(1.15rem, 4vw, 1.85rem) !important;
  font-weight: 500 !important;
  color: rgba(186, 230, 253, 0.55) !important;
  padding-bottom: 0.35rem;
  letter-spacing: 0.06em;
}

body.sr-site .hero-readout-meta {
  margin-top: 1rem;
  text-align: center;
}

body.sr-site .hero-readout-sub {
  font-size: clamp(0.92rem, 2.5vw, 1.05rem) !important;
  font-weight: 600 !important;
  color: rgba(226, 232, 240, 0.94) !important;
  line-height: 1.45;
  margin: 0 0 0.55rem;
  letter-spacing: -0.01em;
}

body.sr-site .hero-readout-status {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem !important;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.88) !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.sr-site .hero-readout-status strong {
  color: #bae6fd !important;
  font-weight: 700;
}

body.sr-site .hero-readout-status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.75);
  flex-shrink: 0;
}

/* ── Stat chips ── */
body.sr-site .hero-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem !important;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto 1.35rem !important;
}

body.sr-site .hero-stat-grid .hero-stat-chip {
  padding: 0.72rem 0.55rem !important;
  border-radius: 1rem !important;
  background: rgba(8, 14, 28, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

body.sr-site .hero-stat-grid .hero-stat-icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
}

body.sr-site .hero-stat-grid .hero-stat-value {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  line-height: 1.2;
  text-align: center;
  color: rgba(226, 232, 240, 0.92) !important;
}

body.sr-site .hero-stat-grid .hero-stat-value span {
  font-family: var(--sr-font-mono, 'IBM Plex Mono', monospace);
  font-variant-numeric: tabular-nums;
}

/* ── CTAs ── */
body.sr-site .hero-cta-premium {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto 1.15rem;
}

body.sr-site .hero-cta-premium .hero-cta-primary {
  width: 100%;
  justify-content: center;
  padding: 0.95rem 1.35rem !important;
  border-radius: 1rem !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%) !important;
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

body.sr-site .hero-cta-premium .hero-cta-secondary {
  width: 100%;
  justify-content: center;
  padding: 0.88rem 1.25rem !important;
  border-radius: 1rem !important;
  font-size: 0.84rem !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.sr-site .hero-cta-premium {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  body.sr-site .hero-cta-premium {
    flex-direction: row;
    max-width: 28rem;
  }

  body.sr-site .hero-cta-premium .hero-cta-primary,
  body.sr-site .hero-cta-premium .hero-cta-secondary {
    width: auto;
    flex: 1 1 0;
  }
}

/* ── Live traffic panel ── */
body.sr-site .hero-traffic-panel .hero-audience-card {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  padding: 1rem 1.1rem !important;
  border-radius: 1.25rem !important;
  background:
    linear-gradient(135deg, rgba(10, 18, 36, 0.94) 0%, rgba(6, 12, 26, 0.9) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
}

body.sr-site .hero-traffic-panel .hero-audience-radar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
  position: relative;
  flex-shrink: 0;
}

body.sr-site .hero-traffic-panel .hero-audience-core {
  position: absolute;
  inset: 32%;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.65);
}

body.sr-site .hero-traffic-panel .hero-audience-chip {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

body.sr-site .hero-traffic-panel .hero-audience-countline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

body.sr-site .hero-traffic-panel .hero-audience-count {
  font-family: var(--sr-font-mono, 'IBM Plex Mono', monospace) !important;
  font-size: clamp(1.85rem, 8vw, 2.35rem) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  background: linear-gradient(180deg, #f0f9ff, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

body.sr-site .hero-traffic-panel .hero-audience-title {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
  line-height: 1.25;
}

body.sr-site .hero-traffic-panel .hero-audience-desc {
  font-size: 0.68rem !important;
  color: rgba(148, 163, 184, 0.9) !important;
  line-height: 1.45;
  margin: 0.15rem 0 0;
}

body.sr-site .hero-traffic-panel .hero-audience-signal {
  display: flex;
  align-items: flex-end;
  gap: 0.18rem;
  height: 2rem;
}

body.sr-site .hero-traffic-panel .hero-audience-bar {
  width: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  transform-origin: bottom;
  animation: sr-hero-bar-dance 1.4s ease-in-out infinite;
}

body.sr-site .hero-traffic-panel .hero-audience-bar:nth-child(2) { animation-delay: 0.15s; }
body.sr-site .hero-traffic-panel .hero-audience-bar:nth-child(3) { animation-delay: 0.3s; }
body.sr-site .hero-traffic-panel .hero-audience-bar:nth-child(4) { animation-delay: 0.45s; }
body.sr-site .hero-traffic-panel .hero-audience-bar:nth-child(5) { animation-delay: 0.6s; }

/* ── Feature strip ── */
body.sr-site .hero-features-premium {
  margin-top: 1.35rem !important;
  max-width: 26rem;
}

body.sr-site .hero-features-premium .card {
  border-radius: 1rem !important;
  background: rgba(8, 14, 28, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

@media (max-width: 767px) {
  body.sr-site .hero-visual-h1.hero-premium-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  body.sr-site .hero-stat-grid {
    gap: 0.4rem !important;
  }

  body.sr-site .hero-stat-grid .hero-stat-chip {
    padding: 0.55rem 0.35rem !important;
  }

  body.sr-site .hero-stat-grid .hero-stat-value {
    font-size: 0.72rem !important;
  }

  body.sr-site .hero-traffic-panel .hero-audience-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  body.sr-site .hero-traffic-panel .hero-audience-signal {
    grid-column: 1 / -1;
    justify-content: center;
    height: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sr-site .hero-dial-ring--outer,
  body.sr-site .hero-dial-ring--inner,
  body.sr-site .hero-freq-value,
  body.sr-site .hero-traffic-panel .hero-audience-bar,
  body.sr-site .hero-dial-aura {
    animation: none !important;
  }
}
