/* neon-grid — 2025 Cyberpunk/Neon Grid · self-contained */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #e8e8e8;
  background: #0d0d0d;
  min-height: 100vh;
  padding-bottom: 72px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: #00f0ff;
  text-decoration: none;
  transition: color 0.2s, box-shadow 0.2s;
}

a:hover {
  color: #ff0066;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ── design tokens ── */
:root {
  --nn-bg: #0d0d0d;
  --nn-card: #1a1a1a;
  --nn-text: #e8e8e8;
  --nn-cyan: #00f0ff;
  --nn-pink: #ff0066;
  --nn-glow-cyan: 0 0 20px rgba(0, 240, 255, 0.45);
  --nn-glow-pink: 0 0 20px rgba(255, 0, 102, 0.45);
}

/* ── buttons ── */
.nn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}

.nn-btn--cyan {
  background: transparent;
  color: var(--nn-cyan);
  border-color: var(--nn-cyan);
}

.nn-btn--cyan:hover {
  background: rgba(0, 240, 255, 0.12);
  box-shadow: var(--nn-glow-cyan);
  color: var(--nn-cyan);
}

.nn-btn--pink {
  background: var(--nn-pink);
  color: #fff;
  border-color: var(--nn-pink);
}

.nn-btn--pink:hover {
  box-shadow: var(--nn-glow-pink);
  color: #fff;
}

.nn-btn--ghost {
  background: transparent;
  color: var(--nn-text);
  border-color: rgba(232, 232, 232, 0.3);
}

.nn-btn--ghost:hover {
  border-color: var(--nn-pink);
  color: var(--nn-pink);
}

.nn-btn--wide {
  width: 100%;
}

/* ── navigation ── */
.nn-nav {
  z-index: 200;
}

.nn-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  height: 64px;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.nn-nav__logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--nn-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nn-nav__logo:hover {
  color: var(--nn-cyan);
  text-shadow: var(--nn-glow-cyan);
}

.nn-nav__desktop {
  flex: 1;
  display: none;
  justify-content: center;
}

.nn-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.nn-nav__list li a,
.nn-nav__moblist li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(232, 232, 232, 0.75);
  position: relative;
  transition: color 0.2s;
}

.nn-nav__list li a::after,
.nn-nav__moblist li a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--nn-cyan);
  box-shadow: var(--nn-glow-cyan);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nn-nav__list li a:hover,
.nn-nav__moblist li a:hover,
.nn-nav__list li a.nn-nav__link--active,
.nn-nav__moblist li a.nn-nav__link--active {
  color: var(--nn-cyan);
}

.nn-nav__list li a:hover::after,
.nn-nav__moblist li a:hover::after,
.nn-nav__list li a.nn-nav__link--active::after,
.nn-nav__moblist li a.nn-nav__link--active::after {
  transform: scaleX(1);
}

.nn-nav__cta {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 0.75rem;
}

.nn-nav__mobile {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 -4px 24px rgba(0, 240, 255, 0.08);
  z-index: 200;
}

.nn-nav__moblist {
  display: flex;
  justify-content: space-around;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 8px;
  gap: 2px;
}

.nn-nav__moblist li a {
  padding: 10px 10px;
  font-size: 0.6875rem;
  white-space: nowrap;
  text-align: center;
}

.nn-nav__moblist li a::after {
  left: 8px;
  right: 8px;
  bottom: 4px;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
    padding-top: 64px;
  }

  .nn-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .nn-nav__desktop {
    display: flex;
  }

  .nn-nav__mobile {
    display: none;
  }

  .nn-nav__cta {
    display: inline-flex;
  }
}

@media (max-width: 899px) {
  .nn-nav__cta {
    display: none;
  }

  .nn-nav__bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 199;
  }

  body {
    padding-top: 64px;
  }
}

/* ── hero ── */
.nn-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
}

.nn-hero__vid {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #0d0d0d 0%,
    #1a0033 20%,
    #0d0d0d 40%,
    #001a1a 60%,
    #0d0d0d 80%,
    #1a0010 100%
  );
  background-size: 400% 400%;
  animation: nn-vidshift 12s ease infinite;
}

@keyframes nn-vidshift {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 100% 0%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}

.nn-hero__vid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(255, 0, 102, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 240, 255, 0.08) 0%, transparent 45%);
  animation: nn-pulse 8s ease-in-out infinite alternate;
}

@keyframes nn-pulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.nn-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.nn-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.nn-hero__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow:
    0 0 30px rgba(0, 240, 255, 0.6),
    0 0 60px rgba(255, 0, 102, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}

.nn-hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(232, 232, 232, 0.75);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.nn-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ── sections ── */
.nn-sect {
  padding: 56px 24px;
  width: 100%;
}

.nn-sect__head {
  margin-bottom: 32px;
}

.nn-sect__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--nn-text);
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.nn-sect__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--nn-cyan), var(--nn-pink));
  box-shadow: var(--nn-glow-cyan);
}

.nn-sect__desc {
  margin-top: 8px;
  color: rgba(232, 232, 232, 0.55);
  font-size: 0.9375rem;
}

.nn-sect--seo {
  padding-bottom: 80px;
}

/* ── grid layouts ── */
.nn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
}

.nn-grid--feat {
  gap: 16px;
}

/* worker col wrappers → grid items */
.nn-grid--cards > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
  flex: none;
}

/* ── product cards (worker-generated) ── */
.product-card {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--nn-card);
  border: 1px solid rgba(0, 240, 255, 0.12);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.product-card:hover {
  border-color: var(--nn-cyan);
  box-shadow: var(--nn-glow-cyan), inset 0 0 30px rgba(0, 240, 255, 0.05);
  transform: translateY(-3px);
}

.product-card .card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .card-img {
  transform: scale(1.06);
}

.product-card .card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.4) 50%, transparent 100%);
  z-index: 2;
}

.product-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.product-card .card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: rgba(232, 232, 232, 0.7);
  margin-bottom: 4px;
}

.product-card .card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-card .card-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nn-cyan);
  margin-bottom: 8px;
  text-shadow: var(--nn-glow-cyan);
}

.product-card .card-btn {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nn-pink);
  border: 1px solid var(--nn-pink);
  align-self: flex-start;
  transition: background 0.2s, box-shadow 0.2s;
}

.product-card .card-btn:hover {
  background: rgba(255, 0, 102, 0.15);
  box-shadow: var(--nn-glow-pink);
  color: var(--nn-pink);
}

/* ── nn-card (features / static cards) ── */
.nn-card {
  background: var(--nn-card);
  border: 1px solid rgba(0, 240, 255, 0.1);
  padding: 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nn-card:hover {
  border-color: var(--nn-pink);
  box-shadow: var(--nn-glow-pink);
}

.nn-grid--feat .nn-card,
.nn-grid--feat > div {
  background: var(--nn-card);
  border: 1px solid rgba(0, 240, 255, 0.1);
  padding: 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nn-grid--feat .nn-card:hover,
.nn-grid--feat > div:hover {
  border-color: var(--nn-cyan);
  box-shadow: var(--nn-glow-cyan);
}

/* ── tags / filters ── */
.nn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nn-tags a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(232, 232, 232, 0.7);
  background: var(--nn-card);
  border: 1px solid rgba(0, 240, 255, 0.15);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.nn-tags a:hover {
  border-color: var(--nn-cyan);
  color: var(--nn-cyan);
  box-shadow: var(--nn-glow-cyan);
}

.nn-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.nn-filter a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(232, 232, 232, 0.7);
  background: var(--nn-card);
  border: 1px solid rgba(0, 240, 255, 0.15);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.nn-filter a:hover,
.nn-filter a.active {
  border-color: var(--nn-cyan);
  color: var(--nn-cyan);
  box-shadow: var(--nn-glow-cyan);
}

.nn-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--nn-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.06);
}

/* ── panels ── */
.nn-panel {
  background: var(--nn-card);
  border: 1px solid rgba(0, 240, 255, 0.1);
  padding: 28px;
  width: 100%;
}

.nn-panel--seo {
  line-height: 1.8;
  color: rgba(232, 232, 232, 0.8);
}

.nn-panel--seo p,
.nn-panel p {
  margin-bottom: 16px;
}

.nn-panel--seo h2,
.nn-panel--seo h3,
.nn-panel h2,
.nn-panel h3 {
  color: var(--nn-text);
  margin-bottom: 12px;
  font-weight: 600;
}

.nn-panel--seo a {
  color: var(--nn-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── page layout ── */
.nn-page {
  padding: 32px 24px 80px;
  width: 100%;
}

.nn-page__head {
  margin-bottom: 28px;
}

.nn-page__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.nn-page__desc {
  margin-top: 8px;
  color: rgba(232, 232, 232, 0.55);
}

/* ── breadcrumb ── */
.nn-crumb {
  margin-bottom: 24px;
}

.nn-crumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(232, 232, 232, 0.5);
}

.nn-crumb__item:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(0, 240, 255, 0.4);
}

.nn-crumb__item a {
  color: rgba(232, 232, 232, 0.6);
}

.nn-crumb__item a:hover {
  color: var(--nn-cyan);
}

.nn-crumb__item--cur {
  color: var(--nn-cyan);
}

/* ── pagination ── */
.nn-pager {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.nn-pager__list {
  display: flex;
  gap: 8px;
}

.nn-pager__list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(232, 232, 232, 0.7);
  background: var(--nn-card);
  border: 1px solid rgba(0, 240, 255, 0.15);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nn-pager__list li.active a,
.nn-pager__list li a:hover {
  border-color: var(--nn-cyan);
  color: var(--nn-cyan);
  box-shadow: var(--nn-glow-cyan);
}

/* ── product detail ── */
.nn-prod {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .nn-prod {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.nn-prod__main {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: var(--nn-card);
}

.nn-prod__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nn-prod__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}

.nn-prod__thumbs img,
.nn-prod__thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: border-color 0.2s, opacity 0.2s;
}

.nn-prod__thumb {
  flex-shrink: 0;
}

.nn-prod__thumb--on img,
.nn-prod__thumbs img:hover {
  border-color: var(--nn-cyan);
  opacity: 1;
  box-shadow: var(--nn-glow-cyan);
}

.nn-prod__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.nn-prod__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.nn-prod__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.nn-prod__price-label {
  font-size: 0.8125rem;
  color: rgba(232, 232, 232, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nn-prod__price-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nn-cyan);
  text-shadow: var(--nn-glow-cyan);
}

.nn-prod__specs {
  margin-bottom: 16px;
}

.nn-spec th,
.nn-spec td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  font-size: 0.875rem;
}

.nn-spec th {
  color: rgba(232, 232, 232, 0.5);
  font-weight: 500;
  width: 80px;
}

.nn-spec td {
  color: var(--nn-text);
}

.nn-prod__cta {
  margin-bottom: 16px;
}

.nn-prod__body-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--nn-text);
}

.nn-prod__content {
  color: rgba(232, 232, 232, 0.8);
  line-height: 1.8;
}

.nn-prod__content p {
  margin-bottom: 12px;
}

/* ── article ── */
.nn-article__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.nn-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(232, 232, 232, 0.5);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
}

.nn-article__body {
  color: rgba(232, 232, 232, 0.85);
  line-height: 1.85;
}

.nn-article__body p {
  margin-bottom: 16px;
}

.nn-article__body h2,
.nn-article__body h3 {
  color: var(--nn-text);
  margin: 24px 0 12px;
  font-weight: 600;
}

.nn-article__body img {
  border: 1px solid rgba(0, 240, 255, 0.15);
  margin: 16px 0;
}

.nn-related {
  margin-top: 32px;
}

.nn-related__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--nn-cyan);
}

.nn-related__list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
}

.nn-related__list li a {
  color: rgba(232, 232, 232, 0.75);
  font-size: 0.9375rem;
}

.nn-related__list li a:hover {
  color: var(--nn-cyan);
}

/* ── footer ── */
.nn-foot {
  background: #0a0a0a;
  position: relative;
}

.nn-foot__line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nn-cyan), var(--nn-pink), transparent);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}

.nn-foot__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 24px 32px;
  width: 100%;
}

@media (min-width: 640px) {
  .nn-foot__wrap {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.nn-foot__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.nn-foot__about {
  font-size: 0.875rem;
  color: rgba(232, 232, 232, 0.55);
  line-height: 1.7;
}

.nn-foot__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nn-cyan);
  margin-bottom: 14px;
}

.nn-foot__links li {
  margin-bottom: 8px;
}

.nn-foot__links li a {
  font-size: 0.875rem;
  color: rgba(232, 232, 232, 0.6);
}

.nn-foot__links li a:hover {
  color: var(--nn-cyan);
}

.nn-foot__contact {
  margin-top: 28px;
}

.nn-foot__cta {
  margin-top: 12px;
}

.nn-foot__ct {
  font-size: 0.875rem;
  color: rgba(232, 232, 232, 0.7);
  line-height: 1.7;
}

.nn-foot__copy {
  padding: 20px 24px;
  border-top: 1px solid rgba(0, 240, 255, 0.08);
  text-align: center;
}

.nn-foot__copy p {
  font-size: 0.75rem;
  color: rgba(232, 232, 232, 0.35);
}

/* ── fa icons fallback (worker injects fa classes) ── */
.fa {
  font-style: normal;
}

.text-warning {
  color: var(--nn-pink);
}

/* ── responsive tweaks ── */
@media (max-width: 480px) {
  .nn-hero {
    min-height: 60vh;
    padding: 60px 16px;
  }

  .nn-sect {
    padding: 40px 16px;
  }

  .nn-page {
    padding: 24px 16px 72px;
  }

  .nn-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .product-card .card-body {
    padding: 12px;
  }

  .product-card .card-title {
    font-size: 0.875rem;
  }

  .product-card .card-btn {
    padding: 4px 10px;
    font-size: 0.6875rem;
  }
}
