:root {
  --void: #000204;
  --ink: #03080d;
  --panel: #07141d;
  --panel-2: #0a1d2b;
  --ice: #ecfbff;
  --cyan: #b7efff;
  --blue: #69d5ff;
  --deep-blue: #145170;
  --muted: #94b8c6;
  --line: rgba(183, 239, 255, 0.22);
  --grid: rgba(183, 239, 255, 0.08);
  --shadow: 0 28px 86px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ice);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(105, 213, 255, 0.2), transparent 25rem),
    radial-gradient(circle at 82% 58%, rgba(183, 239, 255, 0.15), transparent 26rem),
    linear-gradient(145deg, #000000 0%, #02070b 48%, #061625 100%);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.topbar,
main,
footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 8, 13, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
  color: var(--cyan);
  font-weight: 950;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--void);
  object-fit: cover;
}

.nav {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.actions a,
.actions button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 14px;
  font-weight: 900;
}

.nav a {
  background: rgba(183, 239, 255, 0.08);
  color: var(--ice);
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(290px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: stretch;
}

.side-console,
.banner,
.description-panel,
.portrait,
.signals article {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.side-console {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(10, 29, 43, 0.96), rgba(0, 2, 4, 0.9)),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(183, 239, 255, 0.05) 19px 20px);
}

.side-console p {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  border: 1px solid rgba(183, 239, 255, 0.48);
  border-radius: 7px;
  padding: 8px 12px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 100%;
  margin: 34px 0;
  color: var(--ice);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: 0 0 32px rgba(105, 213, 255, 0.34);
}

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

.actions .primary {
  border-color: transparent;
  background: var(--cyan);
  color: var(--void);
}

.actions button {
  background: rgba(183, 239, 255, 0.08);
  color: var(--ice);
  cursor: pointer;
}

.banner {
  position: relative;
  min-height: 390px;
  background: var(--void);
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 52% 45%, transparent 0 46%, rgba(0, 2, 4, 0.36) 76%);
  pointer-events: none;
}

.banner img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.description-panel {
  margin-top: 18px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(183, 239, 255, 0.15), rgba(3, 8, 13, 0.86)),
    rgba(7, 20, 29, 0.9);
}

.description-panel span {
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  border-bottom: 3px solid var(--cyan);
  color: var(--cyan);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.description-panel h2 {
  max-width: 900px;
  margin: 0;
  color: var(--ice);
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.description-panel p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.scan-area {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.portrait {
  display: grid;
  min-height: 430px;
  place-items: center;
  background:
    radial-gradient(circle, rgba(183, 239, 255, 0.18), transparent 54%),
    linear-gradient(160deg, rgba(10, 29, 43, 0.94), rgba(0, 2, 4, 0.96));
  overflow: hidden;
}

.portrait img {
  width: min(92%, 420px);
  max-height: 395px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(183, 239, 255, 0.46));
}

.signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.signals article {
  min-height: 220px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(183, 239, 255, 0.1), rgba(0, 2, 4, 0.86)),
    linear-gradient(135deg, transparent 0 62%, rgba(105, 213, 255, 0.12) 62% 100%);
}

.signals b {
  display: block;
  color: var(--cyan);
  font-size: 14px;
  text-transform: uppercase;
}

.signals strong {
  display: block;
  margin-top: 44px;
  color: var(--ice);
  font-size: 1.22rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.signals p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

footer {
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(3, 8, 13, 0.78);
  color: var(--muted);
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero,
  .scan-area,
  .signals {
    grid-template-columns: 1fr;
  }

  .side-console {
    justify-content: flex-start;
  }

  .banner,
  .banner img {
    min-height: 300px;
  }

  .signals article {
    min-height: auto;
  }

  .signals strong {
    margin-top: 24px;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: stretch;
  }

  .nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .side-console,
  .description-panel {
    padding: 20px;
  }

  .actions a,
  .actions button {
    width: 100%;
    text-align: center;
  }

  .portrait {
    min-height: 320px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
