.hero-apply-btn {
  text-decoration: none;
  white-space: nowrap;
}
.hero-secondary-btn {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.52);
  background: rgba(15, 23, 42, 0.48);
  color: var(--home-ink-soft);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.hero-secondary-btn:hover {
  border-color: rgba(147, 197, 253, 0.72);
  background: rgba(30, 41, 59, 0.66);
  color: var(--home-ink-bright);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.38);
}
.hero-secondary-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.3), 0 12px 24px rgba(2, 6, 23, 0.34);
}

.home-hero {
  position: relative;
  background: var(--home-bg-deep);
  overflow: hidden;
  padding: 190px 0 170px;
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 38%, rgba(59, 130, 246, 0.26), transparent 48%);
  pointer-events: none;
}
.home-hero__container {
  position: relative;
}
.home-hero__row {
  transform: translateY(-70px);
}
.home-hero__copy {
  padding-left: 6px;
  margin-top: -48px;
  margin-bottom: 12px;
}
.home-hero__title {
  line-height: 1.15;
  max-width: 560px;
  font-size: 3.4rem;
}
.home-hero__lead {
  max-width: 520px;
  color: #f1f5f9;
  line-height: 1.6;
  font-size: 1.35rem;
}
.home-hero__list {
  max-width: 520px;
  color: #e2e8f0;
  font-weight: 400;
  font-size: 1.05rem;
  list-style: none;
  padding-left: 0;
}
.home-hero__kicker {
  color: #e2e8f0;
}
.home-hero__actions {
  max-width: 520px;
}
.hero-kpi-panel {
  margin-left: -15%;
  width: 640px;
  max-width: 640px;
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.97) 0%, rgba(17, 24, 39, 0.98) 56%, rgba(8, 15, 29, 0.99) 100%);
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.45);
  padding: 16px;
  color: var(--home-ink-soft);
  transition: box-shadow 260ms ease, border-color 260ms ease;
  will-change: transform, opacity;
}
.hero-kpi-panel::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(125, 211, 252, 0.26);
  opacity: 0;
  pointer-events: none;
}
.hero-kpi-panel.is-entering {
  animation: hero-kpi-enter 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes hero-kpi-enter {
  from {
    opacity: 0;
    transform: translate3d(42px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes hero-kpi-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 11px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes hero-kpi-live-pulse {
  0%, 100% {
    opacity: 0.14;
    box-shadow: 0 0 0 0 rgba(125, 211, 252, 0);
  }
  50% {
    opacity: 0.36;
    box-shadow: 0 0 0 7px rgba(125, 211, 252, 0.14);
  }
}
.hero-kpi-panel.is-live {
  border-color: rgba(96, 165, 250, 0.62);
  box-shadow: 0 30px 66px rgba(2, 6, 23, 0.5);
}
.hero-kpi-panel.is-live::after {
  animation: hero-kpi-live-pulse 1.65s ease-in-out infinite;
}
.hero-kpi-panel.is-entering .hero-kpi-head {
  animation: hero-kpi-fade-up 340ms cubic-bezier(0.22, 1, 0.36, 1) 70ms both;
}
.hero-kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.hero-kpi-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
}
.hero-kpi-period {
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.55);
  background: rgba(30, 64, 175, 0.44);
  color: var(--home-ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.hero-kpi-period--assembling {
  border-color: rgba(245, 158, 11, 0.72);
  background: rgba(124, 45, 18, 0.6);
  color: var(--home-accent-amber);
}
.hero-kpi-period--replacing {
  border-color: rgba(245, 158, 11, 0.72);
  background: rgba(124, 45, 18, 0.6);
  color: var(--home-accent-amber);
}
.hero-kpi-period--pending {
  border-color: rgba(251, 191, 36, 0.6);
  background: rgba(120, 53, 15, 0.5);
  color: var(--home-accent-gold);
}
.hero-kpi-period--coming {
  border-color: rgba(167, 139, 250, 0.62);
  background: rgba(76, 29, 149, 0.4);
  color: var(--home-accent-violet);
}
.hero-kpi-period--live {
  border-color: rgba(34, 197, 94, 0.58);
  background: rgba(20, 83, 45, 0.55);
  color: var(--home-accent-green);
}
.hero-kpi-period--mixed {
  border-color: rgba(148, 163, 184, 0.46);
  background: rgba(30, 41, 59, 0.62);
  color: var(--home-ink-soft);
}
.hero-presence-map-wrap {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    radial-gradient(circle at 12% 16%, rgba(59, 130, 246, 0.2), transparent 48%),
    rgba(15, 23, 42, 0.58);
  box-shadow: none;
  padding: 12px;
  margin-bottom: 12px;
}
.hero-presence-map {
  width: 100%;
  height: auto;
  display: block;
  text-rendering: geometricPrecision;
  shape-rendering: geometricPrecision;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero-presence-shape {
  fill: rgba(30, 64, 175, 0.24);
  stroke: rgba(147, 197, 253, 0.86);
  stroke-width: 2.3;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: none;
}
.hero-presence-node {
  display: none;
  --pin-core: #38bdf8;
  --pin-core-shadow: rgba(56, 189, 248, 0.55);
  --pin-ring: rgba(125, 211, 252, 0.7);
  --pin-stroke: var(--home-ink-soft);
  --pulse-core-duration: 1.96s;
  --pulse-ring-duration: 2.08s;
  --pulse-delay: 0s;
}
.hero-presence-node.is-visible {
  display: block;
}
.hero-presence-node--pending {
  --pin-core: var(--home-accent-gold);
  --pin-core-shadow: rgba(251, 191, 36, 0.58);
  --pin-ring: rgba(251, 191, 36, 0.68);
  --pin-stroke: #fef3c7;
  --pulse-core-duration: 1.96s;
  --pulse-ring-duration: 2.08s;
}
.hero-presence-node--assembling {
  --pin-core: var(--home-accent-amber);
  --pin-core-shadow: rgba(245, 158, 11, 0.58);
  --pin-ring: rgba(245, 158, 11, 0.7);
  --pin-stroke: #ffedd5;
  --pulse-core-duration: 1.96s;
  --pulse-ring-duration: 2.08s;
}
.hero-presence-node--replacing {
  --pin-core: var(--home-accent-amber);
  --pin-core-shadow: rgba(245, 158, 11, 0.58);
  --pin-ring: rgba(245, 158, 11, 0.7);
  --pin-stroke: #ffedd5;
  --pulse-core-duration: 1.96s;
  --pulse-ring-duration: 2.08s;
}
.hero-presence-node--coming {
  --pin-core: var(--home-accent-violet);
  --pin-core-shadow: rgba(167, 139, 250, 0.58);
  --pin-ring: rgba(167, 139, 250, 0.72);
  --pin-stroke: #ede9fe;
  --pulse-core-duration: 1.96s;
  --pulse-ring-duration: 2.08s;
}
.hero-presence-node--coming .hero-presence-node__halo,
.hero-presence-node--coming .hero-presence-node__ring {
  display: none;
}
.hero-presence-node--live {
  --pin-core: var(--home-accent-green);
  --pin-core-shadow: rgba(34, 197, 94, 0.58);
  --pin-ring: rgba(34, 197, 94, 0.7);
  --pin-stroke: #dcfce7;
  --pulse-core-duration: 1.96s;
  --pulse-ring-duration: 2.08s;
}
.hero-presence-node__halo {
  fill: var(--pin-core);
  opacity: 0.14;
  transform-box: fill-box;
  transform-origin: center;
}
.hero-presence-node__core {
  fill: var(--pin-core);
  stroke: var(--pin-stroke);
  stroke-width: 1.1;
  filter: drop-shadow(0 0 3px var(--pin-core-shadow));
  transform-box: fill-box;
  transform-origin: center;
}
.hero-presence-node__ring {
  fill: none;
  stroke: var(--pin-ring);
  stroke-width: 1.3;
  opacity: 0.2;
  transform-box: fill-box;
  transform-origin: center;
}
.hero-presence-node__city,
.hero-presence-node__status {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  paint-order: stroke;
  stroke: rgba(15, 23, 42, 0.96);
  stroke-width: 1.05;
  stroke-linejoin: round;
  dominant-baseline: central;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}
.hero-presence-node__city {
  font-size: 4.2px;
  font-weight: 600;
  fill: var(--home-ink-soft);
}
.hero-presence-node__status {
  font-size: 3.6px;
  font-weight: 700;
  fill: var(--pin-core);
  opacity: 0;
  transform: translateY(-0.8px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.hero-presence-node.is-pulsing .hero-presence-node__core {
  animation: hero-presence-core-pulse var(--pulse-core-duration) ease-in-out infinite;
  animation-delay: var(--pulse-delay);
}
.hero-presence-node.is-pulsing .hero-presence-node__ring {
  animation: hero-presence-ring-pulse var(--pulse-ring-duration) ease-out infinite;
  animation-delay: var(--pulse-delay);
}
@media (hover: hover) and (pointer: fine) {
  .hero-presence-node:hover .hero-presence-node__status,
  .hero-presence-node:focus-within .hero-presence-node__status {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-presence-core-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@keyframes hero-presence-ring-pulse {
  0% {
    opacity: 0.68;
    transform: scale(0.32);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}
.hero-presence-caption {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.46);
  color: var(--home-ink-mid);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 8px 10px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-presence-legend {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.hero-presence-legend__chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(15, 23, 42, 0.58);
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.25;
}
.hero-presence-legend__chip--live {
  color: var(--home-accent-green);
  border-color: rgba(34, 197, 94, 0.58);
}
.hero-presence-legend__chip--replacing {
  color: var(--home-accent-amber);
  border-color: rgba(245, 158, 11, 0.72);
}
.hero-presence-legend__chip--assembling {
  color: var(--home-accent-amber);
  border-color: rgba(245, 158, 11, 0.72);
}
.hero-presence-legend__chip--coming {
  color: var(--home-accent-violet);
  border-color: rgba(167, 139, 250, 0.62);
}
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
  .hero-presence-legend {
    display: flex;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-kpi-panel,
  .hero-kpi-panel::after,
  .hero-kpi-panel *,
  .hero-presence-node,
  .hero-presence-node__halo,
  .hero-presence-node__core,
  .hero-presence-node__ring {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 1500px) {
  .hero-kpi-panel {
    margin-left: -10%;
    width: 600px;
    max-width: 600px;
  }
}
@media (max-width: 1366px) {
  .hero-kpi-panel {
    margin-left: -6%;
    width: 560px;
    max-width: 560px;
  }
}
@media (max-width: 1280px) {
  .hero-kpi-panel {
    margin-left: -4%;
    width: 520px;
    max-width: 520px;
  }
}
@media (max-width: 992px) {
  .home-hero {
    padding: 152px 0 108px;
  }
  .home-hero__row {
    transform: none;
  }
  .home-hero__copy {
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .home-hero__title {
    max-width: none;
    font-size: clamp(2.2rem, 7vw, 2.8rem);
  }
  .home-hero__lead {
    max-width: none;
    font-size: 1.1rem;
  }
  .home-hero__list,
  .home-hero__actions {
    max-width: none;
  }
  .home-hero__list {
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  .home-hero {
    padding: 128px 0 78px;
  }
  .home-hero__title {
    font-size: clamp(1.75rem, 10vw, 2.15rem);
  }
  .home-hero__lead {
    font-size: 1rem;
    line-height: 1.5;
  }
  .home-hero__list {
    font-size: 0.95rem;
  }
  .home-hero__kicker {
    font-size: 12px;
  }
  .home-hero__actions .btn {
    width: 100%;
  }
}

