.hero {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 10% 0%, rgba(125, 211, 252, 0.14), transparent 40%), var(--panel);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(125, 211, 252, 0.08) 50%, transparent 58%),
    repeating-linear-gradient(
      -28deg,
      transparent 0 22px,
      rgba(125, 211, 252, 0.06) 22px 24px,
      transparent 24px 48px
    );
  background-size: 260% 100%, 180% 180%;
  background-position: 120% 0, 0 0;
  animation: heroSheen 8s linear infinite, routeDrift 14s linear infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -45%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.16), rgba(163, 230, 53, 0));
  animation: pulseHalo 3.6s ease-in-out infinite;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 22px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 48px);
  font-family: Rajdhani, Inter, sans-serif;
  line-height: 1;
}

.hero p {
  margin: 0 0 16px;
  max-width: 64ch;
}

.page-title {
  margin: 0 0 10px;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.02;
}

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

.hero-actions .btn {
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.hero-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.dispatch-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  padding: 14px;
}

.dispatch-panel h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.dispatch-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.dispatch-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  transition: border-color 220ms ease, background 220ms ease;
}

.dispatch-list li:hover {
  border-color: rgba(125, 211, 252, 0.56);
  background: rgba(125, 211, 252, 0.06);
}

.media-wall img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 320ms ease, border-color 320ms ease, filter 320ms ease;
  filter: saturate(0.9) brightness(0.9);
}

.media-wall img.is-focus {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--primary);
  filter: saturate(1.06) brightness(1.02);
}

.play-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #09121b;
  padding: 12px;
}

.iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #02070b;
}

.iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  padding: 20px;
}

.article h1 {
  margin-top: 0;
  font-size: 38px;
  line-height: 1.05;
  font-family: Rajdhani, Inter, sans-serif;
}

.article h2 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 24px;
  font-family: Rajdhani, Inter, sans-serif;
}

.article ul {
  padding-left: 18px;
}

.scenario-lab {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  overflow: hidden;
}

.scenario-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(125, 211, 252, 0.04);
}

.scenario-output {
  padding: 16px;
}

.scenario-output h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-family: Rajdhani, Inter, sans-serif;
}

.scenario-metrics {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scenario-metrics li {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-alt);
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 450ms ease, transform 450ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

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

  .scenario-controls .btn {
    width: 100%;
  }

  .scenario-metrics {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after {
    animation: none;
  }

  .hero-actions .btn,
  .media-wall img,
  [data-reveal] {
    transition: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@keyframes routeDrift {
  from {
    background-position: 120% 0, 0 0;
  }
  to {
    background-position: -80% 0, 180% 180%;
  }
}

@keyframes heroSheen {
  from {
    background-position: 120% 0, 0 0;
  }
  to {
    background-position: -160% 0, 0 0;
  }
}

@keyframes pulseHalo {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.46;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.82;
  }
}
