:root {
  --bg: #05070a;
  --bg-2: #0a0e14;
  --panel: #10151d;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --txt: #f3f6f4;
  --muted: #9aa7a1;
  --muted-2: #6d7a74;
  --green: #12e08a;
  --green-2: #00c46a;
  --green-dim: rgba(18,224,138,.12);
  --cyan: #4df0c8;
  --grad: linear-gradient(120deg, #12e08a 0%, #4df0c8 100%);
  --radius: 22px;
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: "Outfit", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5,7,10,.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.03em; font-size: 20px; }
.brand img, .brand .mark {
  width: 38px; height: 38px; border-radius: 11px;
  object-fit: cover; object-position: center;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--txt); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; transition: .3s var(--ease);
}
.btn-primary { background: var(--grad); color: #052012; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -16px var(--green); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* HERO */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-color: #05070a;
  background-image: url("products/hero.jpg");
  background-image: image-set(
    url("products/webp/hero.webp") type("image/webp"),
    url("products/hero.jpg") type("image/jpeg")
  );
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,7,10,.95) 0%, rgba(5,7,10,.78) 40%, rgba(5,7,10,.28) 68%, rgba(5,7,10,.12) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 90px 0 80px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--green);
  background: var(--green-dim);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: .98; letter-spacing: -.04em; font-weight: 800;
  max-width: 14ch; margin: 22px 0 18px;
}
.grad {
  color: var(--green);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead { max-width: 46ch; color: var(--muted); font-size: 18px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.stats {
  display: flex; gap: 36px; margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--line); max-width: 560px;
}
.stats b { display: block; font-family: "Syne"; font-size: 28px; letter-spacing: -.03em; }
.stats span { color: var(--muted-2); font-size: 13px; }

/* FILTER */
.toolbar {
  display: flex; justify-content: space-between; align-items: end; gap: 20px;
  padding: 64px 0 28px; flex-wrap: wrap;
}
.toolbar h2 { font-family: "Syne"; font-size: 34px; letter-spacing: -.03em; }
.toolbar p { color: var(--muted); margin-top: 6px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
}
.chip.active, .chip:hover { color: #052012; background: var(--grad); border-color: transparent; }

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 80px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: .4s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: rgba(18,224,138,.35); box-shadow: 0 24px 60px -30px rgba(18,224,138,.5); }
.card.wide { grid-column: span 2; }
.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #07090c;
  overflow: hidden;
}
.card.wide .card-media { aspect-ratio: 16 / 9; }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(5,7,10,.7); border: 1px solid var(--line-2); color: var(--green);
  backdrop-filter: blur(8px);
}
.card-body { padding: 18px 18px 20px; }
.card-body h3 { font-family: "Syne"; font-size: 18px; letter-spacing: -.02em; margin-bottom: 4px; }
.card-body p { color: var(--muted); font-size: 13.5px; }
.meta { display: flex; gap: 10px; margin-top: 12px; color: var(--muted-2); font-size: 12.5px; }
.meta span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: middle; }

/* LIGHTBOX */
.lb {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(2,4,6,.82); backdrop-filter: blur(16px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lb.open { display: flex; }
.lb-card {
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 28px;
  display: grid; grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
}
.lb-media { background: #07090c; display: grid; place-items: center; min-height: 420px; }
.lb-media img { max-height: 80vh; width: 100%; height: 100%; object-fit: contain; }
.lb-info { padding: 36px 32px; overflow: auto; }
.lb-info h3 { font-family: "Syne"; font-size: 30px; letter-spacing: -.03em; margin: 10px 0 8px; }
.lb-info .desc { color: var(--muted); margin-bottom: 22px; }
.spec { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec th { text-align: left; color: var(--muted-2); font-weight: 500; padding: 9px 0; width: 38%; border-bottom: 1px solid var(--line); }
.spec td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.close {
  position: absolute; top: 18px; right: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-2); color: #fff; font-size: 22px;
}

/* CTA + FOOTER */
.cta {
  margin: 20px 0 80px;
  background: radial-gradient(1200px 280px at 20% 0%, rgba(18,224,138,.18), transparent 50%), var(--panel);
  border: 1px solid var(--line); border-radius: 28px; padding: 56px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cta h2 { font-family: "Syne"; font-size: 36px; letter-spacing: -.03em; }
.cta p { color: var(--muted); margin-top: 8px; max-width: 46ch; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted-2); font-size: 13px; display: flex; justify-content: space-between; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card.wide { grid-column: span 2; }
  .lb-card { grid-template-columns: 1fr; max-height: calc(100vh - 32px); overflow: auto; }
  .lb-media { min-height: 280px; }
  .hero-bg { background-position: 70% center; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .card.wide { grid-column: span 1; }
  .nav-links { display: none; }
  .stats { gap: 18px; }
  .cta { padding: 32px 22px; }
  h1 { font-size: 40px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 72px 0 56px; }
  .hero-bg { background-position: 62% center; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(5,7,10,.88) 0%, rgba(5,7,10,.72) 55%, rgba(5,7,10,.92) 100%);
  }
}
