:root {
  --blue: #007bff;
  --blue-2: #00a3ff;
  --black: #050505;
  --ink: #0a0a0a;
  --panel: #111318;
  --panel-2: #171b22;
  --line: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #c8d0dc;
  --silver: #c0c0c0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background: var(--black);
  line-height: 1.6;
}
body.light {
  --black: #f7f9fc;
  --ink: #ffffff;
  --panel: #ffffff;
  --panel-2: #edf2f8;
  --line: rgba(3, 11, 22, 0.14);
  --text: #101722;
  --muted: #4b5b70;
  --shadow: 0 18px 50px rgba(20, 40, 70, 0.12);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section.compact { padding: 56px 0; }
.section-kicker { color: var(--blue-2); font-family: Montserrat, sans-serif; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3, h4 { font-family: Poppins, Inter, sans-serif; line-height: 1.08; margin: 0 0 16px; letter-spacing: 0; }
h1 { font-size: clamp(2.45rem, 6vw, 5.6rem); max-width: 780px; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: clamp(1rem, 2vw, 1.25rem); max-width: 660px; }
.accent { color: var(--blue-2); }
.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(0, 163, 255, 0.65); }
.btn.primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: transparent; color: #fff; }
.btn.ghost { background: transparent; }
.btn.small { min-height: 38px; padding: 0 13px; font-size: 0.88rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(18px);
}
body.light .site-header { background: rgba(255, 255, 255, 0.85); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: Poppins, sans-serif; font-weight: 800; }
.brand img { width: 154px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 0.92rem; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}
.hamburger { display: none; }

.drawer {
  position: fixed;
  inset: 74px 0 auto auto;
  width: min(360px, 92vw);
  min-height: calc(100vh - 74px);
  padding: 22px;
  background: var(--panel);
  border-left: 1px solid var(--line);
  transform: translateX(110%);
  transition: transform 220ms ease;
  z-index: 60;
}
.drawer.open { transform: translateX(0); }
.drawer a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #000;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.7) 38%, rgba(0, 0, 0, 0.22) 100%), url("../images/BANNER-NX.png") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, var(--black));
}
.hero-content { position: relative; z-index: 1; padding: 76px 0 116px; }
.hero-logo { width: min(360px, 78vw); margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(780px, 100%);
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hero-stat { padding: 16px; background: rgba(8, 10, 14, 0.76); }
.hero-stat strong { display: block; color: #fff; font-family: Poppins, sans-serif; font-size: 1.25rem; }
.hero-stat span { color: var(--muted); font-size: 0.82rem; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  box-shadow: var(--shadow);
  padding: 22px;
}
.feature-card { min-height: 180px; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 123, 255, 0.2);
  border: 1px solid rgba(0, 163, 255, 0.45);
  margin-bottom: 16px;
}
.collection-card { padding: 0; overflow: hidden; }
.collection-media {
  min-height: 210px;
  background: linear-gradient(180deg, rgba(0,123,255,.15), rgba(0,0,0,.72)), url("../images/BANNER-NX.png") center/cover no-repeat;
}
.collection-body { padding: 22px; }

.product-card { padding: 0; overflow: hidden; }
.product-art {
  min-height: 230px;
  display: grid;
  place-items: end center;
  padding: 24px;
  background: radial-gradient(circle at 50% 18%, rgba(0, 123, 255, 0.35), transparent 38%), #0b0d11;
}
.bag-shape {
  width: 152px;
  height: 132px;
  border-radius: 18px 18px 8px 8px;
  border: 2px solid rgba(255,255,255,.24);
  background: linear-gradient(145deg, #1e232b, #050608);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 22px 42px rgba(0,0,0,.55);
  position: relative;
}
.bag-shape::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 34px;
  border: 8px solid rgba(255,255,255,.22);
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  left: 50%;
  top: -28px;
  transform: translateX(-50%);
}
.bag-shape::after {
  content: "NexaCase";
  position: absolute;
  right: 12px;
  top: 18px;
  font-size: 10px;
  color: var(--silver);
}
.product-body { padding: 20px; }
.price { color: #fff; font-weight: 900; font-family: Montserrat, sans-serif; }
body.light .price { color: var(--text); }
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.stats-band {
  background: linear-gradient(90deg, rgba(0,123,255,.18), rgba(255,255,255,.04));
  border-block: 1px solid var(--line);
}
.stat-num { font-family: Poppins, sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--blue-2); margin: 0; }
.masonry { columns: 4 220px; column-gap: 18px; }
.masonry div {
  break-inside: avoid;
  min-height: 170px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: end;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.72)), url("../images/BANNER-NX.png") center/cover no-repeat;
}
.masonry div:nth-child(2), .masonry div:nth-child(5) { min-height: 260px; }

.testimonial { display: none; }
.testimonial.active { display: block; }
.stars { color: #62b6ff; letter-spacing: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  text-align: left;
  font-weight: 800;
}
.faq-answer { display: none; padding: 0 0 18px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }

.form { display: grid; gap: 14px; }
.field {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  color: var(--text);
  min-height: 46px;
  padding: 0 14px;
}
textarea.field { min-height: 130px; padding-top: 12px; resize: vertical; }
.error { color: #ff9f9f; font-size: 0.85rem; }

.filters { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 12px; margin: 26px 0; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.page-btn.active { background: var(--blue); color: #fff; }
.product-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: start; }
.gallery-main { min-height: 450px; display: grid; place-items: center; }
.spec-list { display: grid; gap: 10px; padding: 0; margin: 18px 0; list-style: none; }
.spec-list li { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }

.site-footer { border-top: 1px solid var(--line); padding: 54px 0 28px; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer-links a { display: block; color: var(--muted); padding: 5px 0; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

.floating { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 10px; z-index: 70; }
.float-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); color: var(--text); box-shadow: var(--shadow); }
.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.cookie.show { display: flex; }

.page-hero { padding: 82px 0 52px; background: linear-gradient(135deg, rgba(0,123,255,.16), transparent 55%); border-bottom: 1px solid var(--line); }
.article-card time { color: var(--blue-2); font-size: .88rem; }
.map { min-height: 300px; border: 0; width: 100%; filter: grayscale(1) invert(.85); border-radius: var(--radius); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
