/* NGKsSystems design system — shared across site & promo sheets */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ngks-bg: #050505;
  --ngks-surface: #0c0c0c;
  --ngks-border: rgba(255, 255, 255, 0.08);
  --ngks-border-hover: rgba(255, 255, 255, 0.18);
  --ngks-text: #fafafa;
  --ngks-muted: #a3a3a3;
  --ngks-subtle: #737373;
  --ngks-max: 72rem;
  --ngks-narrow: 48rem;
  --ngks-accent: #22d3ee;
  --ngks-accent-2: #818cf8;
  --ngks-accent-3: #c084fc;
  --ngks-glow: rgba(34, 211, 238, 0.12);
  --ngks-glow-2: rgba(129, 140, 248, 0.1);
}

body.ngks-theme {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  background: var(--ngks-bg) !important;
  color: var(--ngks-text);
}

.ngks-theme [data-bg-layer] { display: none !important; }

.ngks-theme header[data-kit] {
  background: rgba(5, 5, 5, 0.92) !important;
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.ngks-theme header[data-kit]::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.35) 50%, transparent);
  opacity: 0.6;
}
.ngks-theme header[data-kit] {
  position: sticky;
  top: 0;
  z-index: 50;
}

.ngks-site-header-inner {
  max-width: var(--ngks-max);
  margin: 0 auto;
  padding: 0 1rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ngks-site-header-inner { padding: 0 1.5rem; }
}

.ngks-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.ngks-brand:hover { opacity: 0.92; }

.ngks-brand-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.ngks-brand-mark img {
  height: 1.1rem;
  width: auto;
  opacity: 0.95;
}

.ngks-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.ngks-brand-name { font-size: 0.95rem; }
.ngks-brand-tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ngks-accent);
  opacity: 0.9;
}

.ngks-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.ngks-nav-link {
  position: relative;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ngks-muted);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.ngks-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.ngks-nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.ngks-nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  transform: translateX(-50%);
  width: 1rem;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--ngks-accent), var(--ngks-accent-2));
}

.ngks-nav-cta {
  padding: 0.45rem 0.9rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  box-shadow: none;
  border: none;
}
.ngks-nav-cta:hover {
  box-shadow: none;
}

/* Homepage hero — compact, content-height */
.ngks-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ngks-hero-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 20% 50%, rgba(34, 211, 238, 0.1), transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(129, 140, 248, 0.06), transparent 55%),
    linear-gradient(180deg, #080c12 0%, #050505 100%);
}
.ngks-hero-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

.ngks-hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--ngks-max);
  margin: 0 auto;
  padding: 1.35rem 1rem 1.6rem;
}
@media (min-width: 640px) {
  .ngks-hero-inner { padding: 1.6rem 1.5rem 1.85rem; }
}
@media (min-width: 1024px) {
  .ngks-hero-inner { padding: 1.85rem 1.5rem 2.1rem; }
}

.ngks-hero-brand-block {
  text-align: center;
  margin-bottom: 1.25rem;
}
@media (min-width: 1024px) {
  .ngks-hero-brand-block { margin-bottom: 1.5rem; }
}

.ngks-hero-brand {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.ngks-hero-badge {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ngks-accent);
}

.ngks-hero-columns {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ngks-hero-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .ngks-hero-row {
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
    align-items: start;
  }
}

.ngks-hero-cell {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
@media (min-width: 1024px) {
  .ngks-hero-cell:first-child {
    padding-right: 1.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .ngks-hero-cell:last-child {
    padding-left: 1.25rem;
  }
}

.ngks-hero-title {
  margin: 0;
  width: 100%;
  max-width: 22rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
}
@media (min-width: 1024px) {
  .ngks-hero-title {
    max-width: none;
    font-size: clamp(1.55rem, 1.85vw, 1.95rem);
  }
}

.ngks-gradient-text {
  background: linear-gradient(120deg, #ffffff 0%, #67e8f9 45%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ngks-hero-lead {
  width: 100%;
  max-width: 22rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #94a3b8;
  text-wrap: pretty;
}
@media (min-width: 1024px) {
  .ngks-hero-lead {
    max-width: none;
    font-size: 0.9375rem;
  }
}

.ngks-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
}

.ngks-hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  max-width: 22rem;
}
@media (min-width: 1024px) {
  .ngks-hero-points { max-width: none; }
}
.ngks-hero-points li {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.4;
}
.ngks-hero-points li::before {
  content: '— ';
  color: var(--ngks-accent);
}
.ngks-btn-hero-primary {
  padding: 0.6rem 1.25rem;
  font-weight: 600;
}

/* Stats strip */
.ngks-stats-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.ngks-stats-inner {
  max-width: var(--ngks-max);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}
@media (min-width: 640px) {
  .ngks-stats-inner {
    padding: 0.85rem 1.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ngks-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.ngks-stat strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fafafa;
  letter-spacing: -0.01em;
}
.ngks-stat span {
  font-size: 0.6875rem;
  color: #737373;
  line-height: 1.35;
}

/* Why section */
.ngks-why {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}
.ngks-why-inner {
  max-width: var(--ngks-max);
  margin: 0 auto;
  padding: 1.5rem 1rem;
}
@media (min-width: 640px) {
  .ngks-why-inner { padding: 1.75rem 1.5rem; }
}
.ngks-why-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fafafa;
}
.ngks-why-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .ngks-why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
.ngks-why-card {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--ngks-border);
  background: rgba(255, 255, 255, 0.02);
}
.ngks-why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e5e7eb;
}
.ngks-why-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #737373;
}

.ngks-badge-legend {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.ngks-badge-legend .ngks-badge {
  font-size: 0.5625rem;
  padding: 0.1rem 0.4rem;
  vertical-align: middle;
}

/* Homepage catalog sections */
.ngks-home-section-first {
  padding-top: 1.5rem;
}
.ngks-home-section {
  max-width: var(--ngks-max);
  margin: 0 auto;
  padding: 0 1rem 1.75rem;
}
@media (min-width: 640px) {
  .ngks-home-section { padding: 0 1.5rem 1.75rem; }
}
.ngks-home-section-last {
  padding-bottom: 2.5rem;
}

.ngks-section-head {
  margin-bottom: 0.85rem;
}
.ngks-section-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fafafa;
}
.ngks-section-title-muted {
  color: #a3a3a3;
}
.ngks-section-desc {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #737373;
}

.ngks-product-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .ngks-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ngks-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ngks-product-grid-free {
  max-width: 52rem;
}

.ngks-theme footer[data-kit] {
  background: transparent !important;
  border-top: 1px solid var(--ngks-border);
  color: var(--ngks-subtle);
}

.ngks-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ngks-subtle);
}

.ngks-hairline { border-color: var(--ngks-border); }

.ngks-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  background: #fff;
  color: #000;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.ngks-btn-primary:hover { background: #e5e5e5; }

.ngks-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #d4d4d4;
  text-decoration: none;
  border: 1px solid var(--ngks-border);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ngks-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ngks-border-hover);
}

.ngks-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fafafa;
  border: 1px solid var(--ngks-border-hover);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}
.ngks-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.ngks-btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #525252;
  background: rgba(255, 255, 255, 0.04);
  cursor: not-allowed;
}

.ngks-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--ngks-border);
  background: rgba(255, 255, 255, 0.05);
  color: #d4d4d4;
}
.ngks-badge-live { border-color: rgba(52, 211, 153, 0.35); color: #6ee7b7; }
.ngks-badge-alpha { border-color: rgba(192, 132, 252, 0.35); color: #d8b4fe; }
.ngks-badge-beta { border-color: rgba(251, 191, 36, 0.35); color: #fcd34d; }
.ngks-badge-soon { border-color: rgba(115, 115, 115, 0.5); color: #a3a3a3; }

/* Product tiles */
.ngks-tile {
  border: 1px solid var(--ngks-border);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ngks-tile:hover {
  border-color: var(--ngks-border-hover);
  background: rgba(255, 255, 255, 0.04);
}
.ngks-tile-featured {
  border-color: rgba(255, 255, 255, 0.1);
}
.ngks-tile-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.1rem;
}
.ngks-tile-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fafafa;
}
.ngks-tile-blurb {
  margin: 0.45rem 0 0;
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #a3a3a3;
}
.ngks-tile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: 1rem;
}
.ngks-tile-media {
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}
.ngks-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ngks-tile-media img.ngks-thumb-contain {
  object-fit: contain;
  object-position: center top;
}
.ngks-tile-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 600;
  color: #404040;
  letter-spacing: 0.08em;
}

/* Benefit tiles (promo) */
.ngks-benefit-tile {
  text-align: left;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--ngks-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem 1.5rem;
  transition: all 0.2s ease;
}
.ngks-benefit-tile:hover {
  border-color: var(--ngks-border-hover);
  background: rgba(255, 255, 255, 0.05);
}
.ngks-benefit-tile[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

/* Detail panel */
#benefitBackdrop { opacity: 0; transition: opacity 0.22s ease; }
#benefitBackdrop.is-open { opacity: 1; }
#benefitPanel {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#benefitPanel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ngks-chip {
  border: 1px solid var(--ngks-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: #d4d4d4;
}

/* Shared content panels */
.ngks-panel {
  border: 1px solid var(--ngks-border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ngks-panel:hover {
  border-color: var(--ngks-border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.ngks-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ngks-border);
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
  color: #e5e5e5;
  width: 100%;
  font-size: 0.875rem;
}
.ngks-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.25);
}

@media print {
  .no-print { display: none !important; }
}
