:root {
  color-scheme: dark;
  --bg-0: #0b0d11;
  --bg-1: #10141b;
  --bg-2: #151b24;
  --panel: rgba(19, 24, 31, 0.84);
  --panel-strong: rgba(26, 33, 44, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 68, 68, 0.22);
  --text: #f3f5f7;
  --muted: #b3bac4;
  --accent: #ff4444;
  --accent-soft: rgba(255, 68, 68, 0.12);
  --accent-hot: #ff8a8a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 68, 68, 0.12), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(100, 181, 246, 0.08), transparent 22%),
    linear-gradient(180deg, #0a0d12 0%, #101623 52%, #0b1017 100%);
  font-family: "Space Grotesk", "Trebuchet MS", system-ui, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  opacity: 0.6;
}

a {
  color: inherit;
}

a:hover {
  color: var(--accent-hot);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 1000;
  padding: 8px 12px;
  border-radius: 10px;
  background: #111721;
  border: 1px solid var(--line-strong);
  color: var(--text);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 50px;
  padding: 0 18px;
  background: rgba(80, 88, 100, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.topbar .brand {
  flex-shrink: 0;
}

.topbar .logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.topbar .brand-title {
  font-size: 16px;
  font-weight: 800;
  color: #ff4444;
}

.topbar .nav {
  display: flex;
  flex: 1;
  gap: 1px;
  margin-left: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.topbar .nav::-webkit-scrollbar {
  display: none;
}

.topbar .nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .nav a:hover {
  color: var(--text);
  background: rgba(255, 68, 68, 0.1);
  border-color: rgba(255, 68, 68, 0.16);
}

.topbar .nav a.active,
.topbar .nav a[aria-current="page"] {
  color: #ff4444;
  font-weight: 700;
  background: rgba(255, 68, 68, 0.12);
  border-color: rgba(255, 68, 68, 0.32);
}

@media (max-width: 760px) {
  .topbar {
    padding: 8px 12px;
    min-height: auto;
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
  }

  .topbar .nav {
    width: 100%;
    margin-left: 0;
    padding-bottom: 2px;
  }

  .topbar .nav a {
    font-size: 13px;
    padding: 6px 9px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(14, 18, 24, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand span {
  color: var(--accent);
  font-size: 18px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 68, 68, 0.08);
  border-color: rgba(255, 68, 68, 0.12);
  transform: translateY(-1px);
}

.nav-links a[aria-current="page"] {
  color: #ffd7d7;
  background: linear-gradient(180deg, rgba(255, 68, 68, 0.22), rgba(255, 68, 68, 0.12));
  border-color: rgba(255, 68, 68, 0.34);
}

.container {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  padding: 28px 0 42px;
  position: relative;
  z-index: 1;
}

.hero {
  background: linear-gradient(180deg, rgba(22, 28, 38, 0.92), rgba(14, 18, 24, 0.92));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
}

.hero > :first-child {
  margin-top: 0;
}

.hero > :last-child {
  margin-bottom: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 68, 68, 0.12);
  border: 1px solid rgba(255, 68, 68, 0.18);
  color: #ff9d9d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  margin-top: 0;
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 16px;
  color: #dfe3ea;
}

.hero p {
  max-width: 68ch;
  font-size: 1.02rem;
}

.hero .lede,
.lead {
  color: #ebeff5;
  font-size: 1.05rem;
}

.page-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  border-color: rgba(255, 68, 68, 0.36);
  background: linear-gradient(180deg, rgba(255, 68, 68, 0.28), rgba(255, 68, 68, 0.16));
  color: #ffe6e6;
}

.btn:hover {
  transform: translateY(-1px);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.panel-card {
  grid-column: span 6;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.panel-card.full {
  grid-column: 1 / -1;
}

.panel-card.compact {
  grid-column: span 4;
}

}

.panel-card li + li,
.hero li + li {
  margin-top: 8px;
}

.panel-card a,
.hero a {
  color: #ffb6b6;
  text-underline-offset: 2px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.note,
.disclaimer {
  color: #aab1bb;
  font-size: 0.92rem;
}

/* ── Product section ─────────────────────────────── */
.products-section {
  padding: 3.25rem 1.5rem 2.25rem;
  max-width: 1180px;
  margin: 0 auto;
}
.products-section .section-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}
.products-section .section-sub {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 62ch;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.product-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  min-height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.product-card:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.30);
  background: rgba(255,255,255,0.05);
}
.product-card .product-img-wrap {
  background: linear-gradient(180deg, #111722, #0c1016);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  aspect-ratio: 1 / 0.92;
}
.product-card .product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-card .product-info {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.42rem;
}
.product-card .product-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.22;
}
.product-card .product-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
}
.product-card .product-cta {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-hot);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .products-section {
    padding: 2.5rem 1rem 1.5rem;
  }

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

  .product-card .product-img-wrap {
    aspect-ratio: 1 / 0.85;
  }
}

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

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 12, 17, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-inner {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  padding: 20px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footer-links a,
.footer-note {
  color: var(--muted);
  font-size: 0.95rem;
}

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

@media (max-width: 900px) {
  .panel-card,
  .panel-card.compact {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 10px 0;
    min-height: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    margin: 0;
    padding-top: 4px;
    flex-wrap: wrap;
  }

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

  .nav-links a {
    padding: 9px 10px;
  }

  .panel-card,
  .panel-card.compact {
    grid-column: 1 / -1;
  }

  .hero {
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 16px));
    padding: 18px 0 30px;
  }

  .hero,
  .panel-card {
    padding: 18px;
  }

  .brand span {
    font-size: 16px;
  }

  .footer-inner {
    width: min(100%, calc(100% - 16px));
  }
}
