:root {
  --blue: #0087ff;
  --blue-bright: #00a8ff;
  --text: #f7fbff;
  --muted: #b8c6d8;
  --panel: rgba(1, 9, 23, 0.68);
  --line: rgba(0, 135, 255, 0.42);
  font-family: "Aptos", "Segoe UI", sans-serif;
  color: var(--text);
  background: #020711;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 135, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 12% 12%, rgba(0, 168, 255, 0.1), transparent 24rem),
    linear-gradient(180deg, #020711 0%, #020916 46%, #00050d 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(0, 135, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 135, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

main {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 0 58px;
}

a {
  color: inherit;
}

.page-hero,
.controller-section,
.panel,
.model-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.92) 0%, rgba(2, 7, 17, 0.68) 48%, rgba(2, 7, 17, 0.34) 100%),
    url("/images/slides/antennapilot-hero-clean.png") center top / cover no-repeat;
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(2, 7, 17, 0.92));
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-bottom: 34px;
  padding: 0 22px;
  border: 1px solid rgba(0, 135, 255, 0.64);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  background: rgba(1, 9, 23, 0.72);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.back-link:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 184, 255, 0.95);
  background: rgba(0, 61, 128, 0.76);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.94;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.62);
}

h1 span {
  color: var(--blue);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  line-height: 1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.58);
}

h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  line-height: 1.05;
}

.controller-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  margin-top: 22px;
  padding: clamp(24px, 4vw, 48px);
}

.lead,
.controller-details p,
.controller-details li {
  color: #f7fbff;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.58;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.56);
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  font-weight: 750;
}

.controller-details {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.controller-details p,
.controller-details ol {
  margin: 0;
}

.controller-details ol {
  display: grid;
  gap: 10px;
  padding-left: 24px;
}

.controller-visual {
  display: grid;
  place-items: center;
  margin: 0;
}

.controller-visual img {
  display: block;
  width: min(100%, 460px);
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 34px 58px rgba(0, 0, 0, 0.54));
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-top: 22px;
}

.panel {
  padding: clamp(24px, 4vw, 40px);
}

.panel--dark {
  background: rgba(1, 9, 23, 0.82);
}

.clean-list,
.step-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li,
.step-list li {
  padding: 14px 16px;
  border: 1px solid rgba(0, 135, 255, 0.18);
  border-radius: 8px;
  color: #f7fbff;
  font-size: clamp(0.96rem, 1.14vw, 1.08rem);
  line-height: 1.45;
  background: rgba(4, 16, 31, 0.72);
}

.kit-note {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(0, 168, 255, 0.36);
  border-radius: 8px;
  color: #f7fbff;
  background: rgba(0, 61, 128, 0.34);
}

.kit-note strong {
  color: var(--blue-bright);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kit-note span {
  font-weight: 900;
}

.models-section {
  margin-top: 22px;
}

.models-section > h2 {
  margin-bottom: 22px;
  text-align: center;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.model-card {
  padding: clamp(20px, 3vw, 34px);
}

.model-card__image {
  display: grid;
  place-items: center;
  min-height: 320px;
  margin: 0 0 24px;
  border: 1px solid rgba(0, 135, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.model-card__image img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.model-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-bright);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.3;
}

.model-card dl {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
}

.model-card dl div {
  display: grid;
  gap: 5px;
}

.model-card dt {
  color: var(--blue-bright);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.model-card dd {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(0.98rem, 1.18vw, 1.1rem);
  line-height: 1.45;
}

@media (max-width: 920px) {
  main {
    width: min(100% - 32px, 1280px);
  }

  .controller-section,
  .details-grid,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .controller-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 1280px);
    padding: 14px 0 34px;
  }

  .page-hero {
    min-height: 260px;
    padding: 24px 20px;
  }

  .back-link {
    width: 100%;
    margin-bottom: 28px;
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  .controller-section,
  .panel,
  .model-card {
    padding: 20px;
  }

  .model-card__image {
    min-height: 220px;
  }
}
