:root {
  --bg: #031012;
  --bg-2: #06191b;
  --panel: rgba(8, 22, 24, 0.84);
  --panel-2: rgba(16, 34, 36, 0.78);
  --line: rgba(71, 255, 170, 0.28);
  --line-red: rgba(255, 65, 65, 0.35);
  --text: #f3fff9;
  --muted: #a9c6be;
  --green: #39ff9b;
  --red: #ff3d3d;
  --gold: #ffc45a;
  --cyan: #66e8ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 36, 36, 0.18), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(28, 255, 141, 0.15), transparent 32%),
    linear-gradient(180deg, #02090b 0%, #031012 45%, #020607 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("../images/deep-panel-background.png");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(102, 232, 255, 0.16);
  background: rgba(2, 9, 11, 0.9);
  backdrop-filter: blur(18px);
}

.nav-wrap,
.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(57, 255, 155, 0.22);
}

.brand-title {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a,
.menu-toggle {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 14px;
  color: #d9eee7;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.menu-toggle:hover {
  background: rgba(57, 255, 155, 0.1);
  border-color: rgba(57, 255, 155, 0.28);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
}

.hero {
  position: relative;
  padding: 48px 0 34px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  min-height: 500px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(3, 20, 22, 0.88), rgba(2, 8, 10, 0.74)),
    radial-gradient(circle at 10% 12%, rgba(255, 61, 61, 0.16), transparent 34%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -20% -34% -20%;
  height: 260px;
  background: radial-gradient(ellipse, rgba(57, 255, 155, 0.2), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-top: 20px;
  font-size: clamp(2.35rem, 4.3vw, 3.75rem);
}

.hero-copy p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  color: #d6ece6;
  font-size: 1.04rem;
  margin: 22px 0 0;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 900;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-primary {
  color: #06100d;
  background: linear-gradient(135deg, var(--green), #a6ff5a);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 61, 61, 0.13);
  border-color: rgba(255, 61, 61, 0.38);
}

.hero-counters {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.counter-card {
  min-height: 108px;
  padding: 16px;
  border: 1px solid rgba(102, 232, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.counter-card strong {
  display: block;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.counter-card span {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 9px;
}

.hero-art {
  position: relative;
  min-height: 500px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 61, 61, 0.34);
  box-shadow: var(--shadow);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 7, 8, 0.16), transparent 42%, rgba(57, 255, 155, 0.08));
  pointer-events: none;
}

.scan-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.scan-card,
.card,
.faq-item,
.policy-panel {
  border: 1px solid rgba(102, 232, 255, 0.16);
  border-radius: 8px;
  background: rgba(5, 18, 20, 0.72);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.scan-card {
  min-height: 124px;
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.scan-card:hover,
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 255, 155, 0.45);
  background: rgba(8, 28, 28, 0.82);
}

.scan-card b {
  display: block;
  color: var(--gold);
  font-size: 1.45rem;
}

.scan-card span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 62px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-header h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4.2vw, 3.65rem);
}

.section-header p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.signal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.media-card {
  position: relative;
  min-height: 460px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-red);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-stack {
  display: grid;
  gap: 14px;
}

.card {
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card h3 {
  color: #ffffff;
  font-size: 1.35rem;
}

.card p,
.policy-panel p,
.policy-panel li {
  color: var(--muted);
  margin: 12px 0 0;
}

.number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 14px;
  color: #07100d;
  background: var(--green);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-tile {
  min-height: 210px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(57, 255, 155, 0.22);
  background: linear-gradient(180deg, rgba(57, 255, 155, 0.09), rgba(255, 61, 61, 0.06));
}

.feature-tile h3 {
  font-size: 1.18rem;
  color: #fff;
}

.feature-tile p {
  color: var(--muted);
  margin-bottom: 0;
}

.image-band {
  position: relative;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 155, 0.24);
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band .band-label {
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: 520px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(2, 10, 12, 0.78);
}

.band-label strong {
  display: block;
  font-size: 1.35rem;
  color: var(--gold);
}

.band-label span {
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: start;
}

.faq-image {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 61, 61, 0.28);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item button {
  width: 100%;
  border: 0;
  color: #fff;
  background: transparent;
  padding: 18px 20px;
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.faq-item button::after {
  content: "+";
  color: var(--green);
  font-size: 1.3rem;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-answer {
  display: none;
  color: var(--muted);
  padding: 0 20px 20px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.page-hero {
  padding: 48px 0 28px;
}

.page-hero-inner {
  min-height: 360px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.page-copy {
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(4, 18, 20, 0.8);
}

.page-copy h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.page-copy p {
  color: var(--muted);
  margin-bottom: 0;
}

.page-image {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 61, 61, 0.28);
  max-height: 390px;
}

.page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.policy-panel {
  padding: 28px;
}

.policy-panel h2 {
  font-size: 1.8rem;
  margin-top: 26px;
}

.policy-panel h2:first-child {
  margin-top: 0;
}

.policy-panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.notice {
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 196, 90, 0.1);
  color: #ffe4a6;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(102, 232, 255, 0.14);
  padding: 48px 0 32px;
  background: #020709;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.6fr;
  gap: 38px;
}

.footer-logo {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
}

.site-footer h3 {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--green);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7f9d95;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(57, 255, 155, 0.2);
    border-radius: 8px;
    background: rgba(2, 9, 11, 0.96);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero-grid,
  .signal-layout,
  .split,
  .faq-grid,
  .page-hero-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-art {
    min-height: auto;
  }

  .hero-art {
    aspect-ratio: 16 / 10;
  }

  .scan-strip,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header {
    display: block;
  }

  .section-header p {
    margin-top: 12px;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-title {
    font-size: 0.96rem;
  }

  .brand-subtitle {
    font-size: 0.76rem;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-copy {
    padding: 24px;
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 3rem);
  }

  .scan-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-counters {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .counter-card {
    min-height: 92px;
    padding: 12px 9px;
  }

  .counter-card strong {
    font-size: 1.5rem;
  }

  .counter-card span {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .image-band,
  .media-card {
    min-height: 300px;
  }

  .image-band .band-label {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
