:root {
  color-scheme: dark;
  --bg: #070b12;
  --surface: #101722;
  --surface-2: #151f2e;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f7fb;
  --muted: #aeb8c7;
  --cyan: #45d9ff;
  --violet: #8b73ff;
  --green: #79e6ad;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 9%, rgba(69, 217, 255, 0.12), transparent 25rem),
    radial-gradient(circle at 18% 30%, rgba(139, 115, 255, 0.11), transparent 26rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(69, 217, 255, 0.55);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(69, 217, 255, 0.24), rgba(139, 115, 255, 0.24));
  color: var(--cyan);
}

nav { display: flex; gap: 1.6rem; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
nav a:hover, nav a:focus-visible { color: var(--text); }

main, footer { width: min(1180px, 90vw); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  min-height: 78vh;
  padding: 6rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { max-width: 760px; margin-bottom: 1.5rem; font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -0.055em; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -0.04em; }
h3 { margin-bottom: 0.8rem; font-size: 1.6rem; letter-spacing: -0.02em; }

.hero-text, .section-heading > p:last-child, .support p { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
}
.button.primary { border-color: transparent; background: var(--cyan); color: #041016; }
.button.secondary { background: rgba(255, 255, 255, 0.04); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }

.hero-panel {
  position: relative;
  display: grid;
  min-height: 360px;
  place-content: center;
  gap: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(69, 217, 255, 0.12), rgba(139, 115, 255, 0.08));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
}
.hero-panel p { z-index: 1; margin: 0; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: 0.18em; }
.signal { position: absolute; border: 1px solid rgba(69, 217, 255, 0.32); border-radius: 50%; }
.signal-one { inset: 15% -28%; }
.signal-two { inset: -25% 15%; border-color: rgba(139, 115, 255, 0.35); }

.section { padding: 7rem 0; }
.section-heading { margin-bottom: 3rem; }
.section-heading h2 { max-width: 800px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(16, 23, 34, 0.86);
  transition: border-color 160ms ease, transform 160ms ease;
}
.product-card:hover { transform: translateY(-3px); border-color: rgba(69, 217, 255, 0.42); }
.product-card picture { display: block; }
.product-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--line); }
.card-body { padding: 1.6rem; }
.card-body p, .card-body li { color: var(--muted); }
.card-body ul { margin: 1.2rem 0 0; padding-left: 1.2rem; }
.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.35rem 0 0;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-line span { color: var(--muted); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.price-line strong { color: var(--text); font-size: 1.18rem; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.65rem 1rem; margin-bottom: 0.9rem; }
.tag { display: inline-block; color: var(--green); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.13em; }
.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(69, 217, 255, 0.28);
  border-radius: 999px;
  background: rgba(69, 217, 255, 0.08);
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.status.processing { border-color: rgba(139, 115, 255, 0.38); background: rgba(139, 115, 255, 0.1); color: #bcaeff; }
.status.live { border-color: rgba(90, 231, 170, 0.42); background: rgba(90, 231, 170, 0.1); color: var(--green); }
.catalog-note { margin: 1.4rem 0 0; color: var(--muted); font-size: 0.88rem; }

.capabilities {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.capability-grid div { padding: 1.8rem; background: var(--surface); }
.capability-grid strong { font-size: 1.1rem; }
.capability-grid p { margin-bottom: 0; color: var(--muted); }

.support {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 7rem 0;
}
.support > div { max-width: 760px; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-main { padding: 4.5rem 0 7rem; }
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: 3rem 0 5rem;
}
.detail-hero h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); }
.detail-hero img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}
.detail-price { margin: 1.5rem 0; color: var(--green); font-size: 1.35rem; font-weight: 850; }
.detail-section { padding: 4rem 0; border-top: 1px solid var(--line); scroll-margin-top: 5.5rem; }
.detail-section h2 { max-width: 780px; font-size: clamp(1.9rem, 4vw, 3rem); }
.detail-section > p { max-width: 800px; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.detail-panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 23, 34, 0.86);
}
.detail-panel h3 { font-size: 1.15rem; }
.detail-panel p, .detail-panel li { color: var(--muted); }
.detail-panel ul { margin: 0; padding-left: 1.2rem; }
.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.product-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(16, 23, 34, 0.86);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}
.product-gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
.product-gallery picture { display: block; }
.product-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.product-gallery.gallery-3by2 img { aspect-ratio: 3 / 2; }
.product-gallery figcaption {
  min-height: 3.2rem;
  padding: 1rem 1.1rem 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}
.detail-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid rgba(69, 217, 255, 0.34);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(69, 217, 255, 0.1), rgba(139, 115, 255, 0.08));
}
.detail-callout p { margin: 0; color: var(--muted); }
.detail-callout .button { flex: 0 0 auto; }
.back-link { color: var(--cyan); text-decoration: none; }

@media (max-width: 820px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 5rem; }
  .hero-panel { min-height: 280px; }
  .product-grid, .capability-grid { grid-template-columns: 1fr; }
  .support { align-items: flex-start; flex-direction: column; }
  .detail-hero, .detail-grid, .product-gallery { grid-template-columns: 1fr; }
  .product-gallery figure:last-child:nth-child(odd) { grid-column: auto; }
  .detail-callout { align-items: flex-start; flex-direction: column; }
}

@media (min-width: 821px) and (max-width: 1040px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
