:root {
  color-scheme: dark;
  --bg: #05060b;
  --panel: #10121d;
  --panel-soft: #161827;
  --text: #f6f7fb;
  --muted: #b7bdcf;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #1d5fe8;
  --violet: #0a4de8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(11, 100, 246, 0.20), transparent 32%),
    radial-gradient(circle at 84% 6%, rgba(6, 63, 209, 0.16), transparent 28%),
    linear-gradient(180deg, #05060b 0%, #080917 50%, #05060b 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 11, 0.78);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-co {
  color: #39a9ff;
  text-shadow: 0 0 16px rgba(57, 169, 255, 0.46);
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #063fd1 0%, #0b64f6 62%, #d9f4ff 100%);
  box-shadow: 0 0 26px rgba(11, 100, 246, 0.38);
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 12px 28px rgba(10, 77, 232, 0.34);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.product-hero {
  padding: 64px 0 46px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

.gradient-text {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #5ab7ff 48%, #0a4de8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-media img,
.hero-media video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section {
  padding: 48px 0;
}

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

.section-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.section-head p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel-soft);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

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

.detail-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(11, 100, 246, 0.28);
}

.detail-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-tech-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(7, 9, 20, 0.82);
}

.product-tech-section.has-tech-board .section-head {
  display: none;
}

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

.tech-board-grid {
  display: block;
}

.tech-board {
  margin: 0;
  overflow-x: auto;
  border: 1px solid rgba(90, 183, 255, 0.22);
  border-radius: 18px;
  background: #020817;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.tech-board img {
  width: 100%;
  min-width: 900px;
  border-radius: 18px;
}

.tech-card {
  min-height: 126px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(90, 183, 255, 0.25);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(12, 55, 130, 0.28), rgba(255, 255, 255, 0.045));
}

.tech-visual-icon {
  width: 118px;
  height: 82px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.tech-card span {
  display: block;
  margin-bottom: 10px;
  color: #8fcfff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tech-card strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.42;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.78);
}

.media-lightbox.is-open {
  display: flex;
}

.media-lightbox-card {
  width: min(920px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #070914;
}

.media-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.media-lightbox-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.media-lightbox-body img,
.media-lightbox-body video {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .product-hero-grid,
  .section-head,
  .detail-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .tech-visual-icon {
    width: 104px;
    height: 72px;
  }

  .product-hero {
    padding-top: 42px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}
