/* NXTBYTE public premium UI – SaaS-style, reseller-honest */
:root {
  --nxt-accent: #4361ee;
  --nxt-accent-hover: #5577ff;
  --nxt-accent-soft: rgba(67, 97, 238, 0.12);
  --nxt-surface: #ffffff;
  --nxt-surface-2: #f8fafc;
  --nxt-deep: #0b0f19;
  --nxt-card: #161c2d;
  --nxt-text: #0f172a;
  --nxt-muted: #64748b;
  --nxt-border: rgba(15, 23, 42, 0.08);
  --nxt-radius: 14px;
  --nxt-radius-lg: 20px;
  --nxt-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --nxt-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --nxt-font: "Inter", system-ui, -apple-system, sans-serif;
  --nxt-success: #22c55e;
}

.nxt-ui-dark {
  --nxt-surface: #1e293b;
  --nxt-surface-2: #0f172a;
  --nxt-text: #f1f5f9;
  --nxt-muted: #94a3b8;
  --nxt-border: rgba(148, 163, 184, 0.14);
  --nxt-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nxt-public { font-family: var(--nxt-font); color: var(--nxt-text); }

/* Status pill (header) */
.nxt-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none !important;
  color: var(--nxt-muted) !important;
  border: 1px solid var(--nxt-border);
  background: var(--nxt-surface-2);
  transition: border-color 0.15s, color 0.15s;
}
.nxt-status-pill:hover { color: var(--nxt-text) !important; border-color: var(--nxt-accent); }
.nxt-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nxt-success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}
.nxt-status-dot--ok      { background: var(--nxt-success); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); }
.nxt-status-dot--warn    { background: #f59e0b;            box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }
.nxt-status-dot--down    { background: #ef4444;            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25); }
.nxt-status-dot--maint   { background: #3b82f6;            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); }
.nxt-status-dot--unknown { background: #9ca3af;            box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.25); }

/* Homepage: volle Breite, aber unter fixem Header + Topbar (nicht margin-top: 0) */
body #content.main-content.homepage-hero-wrap {
  padding: 0 !important;
  max-width: none !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
@media (min-width: 992px) {
  body #content.main-content.homepage-hero-wrap {
    margin-top: 128px !important;
  }
}
@media (max-width: 991px) {
  body #content.main-content.homepage-hero-wrap {
    margin-top: 0 !important;
    padding-top: 65px !important;
  }
}

/* Hero */
.nxt-hero-premium {
  position: relative;
  min-height: clamp(480px, calc(72vh - 80px), 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.nxt-hero-premium__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.nxt-hero-premium__bg .carousel,
.nxt-hero-premium__bg .carousel-inner,
.nxt-hero-premium__bg .carousel-item {
  height: 100%;
  min-height: inherit;
}
.nxt-hero-premium__bg .carousel-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.nxt-hero-premium__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(11, 15, 25, 0.92) 0%, rgba(11, 15, 25, 0.72) 45%, rgba(11, 15, 25, 0.35) 100%);
}
.nxt-hero-premium__content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 4rem;
  max-width: 720px;
}
@media (min-width: 992px) {
  .nxt-hero-premium__content {
    padding-top: 2rem;
    padding-bottom: 4.5rem;
  }
}
.nxt-hero-premium__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c7d2fe;
  background: rgba(67, 97, 238, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.35);
  margin-bottom: 1.25rem;
}
.nxt-hero-premium__title {
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1rem;
}
.nxt-hero-premium__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 1.75rem;
  max-width: 560px;
}
.nxt-hero-premium__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.nxt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: none;
  cursor: pointer;
}
.nxt-btn--primary {
  background: var(--nxt-accent);
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(67, 97, 238, 0.4);
}
.nxt-btn--primary:hover { background: var(--nxt-accent-hover); transform: translateY(-1px); color: #fff !important; }
.nxt-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.nxt-btn--ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff !important; }
.nxt-btn--outline {
  background: transparent;
  color: var(--nxt-accent) !important;
  border: 1.5px solid var(--nxt-accent);
}
.nxt-hero-premium__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.8125rem;
  color: #94a3b8;
}
.nxt-hero-premium__trust span { display: inline-flex; align-items: center; gap: 0.35rem; }

/* Sections */
.nxt-section { padding: 4.5rem 0; }
.nxt-section--alt { background: var(--nxt-surface-2); }
.nxt-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}
.nxt-section__head h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}
.nxt-section__head p { color: var(--nxt-muted); font-size: 1.05rem; margin: 0; }

/* Product cards homepage */
.nxt-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.nxt-product-card {
  background: var(--nxt-surface);
  border: 1px solid var(--nxt-border);
  border-radius: var(--nxt-radius);
  padding: 1.5rem;
  box-shadow: var(--nxt-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.nxt-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nxt-shadow-lg);
}
.nxt-product-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--nxt-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--nxt-accent);
  margin-bottom: 1rem;
}
.nxt-product-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.nxt-product-card p { color: var(--nxt-muted); font-size: 0.9375rem; flex: 1; margin-bottom: 1.25rem; }
.nxt-ui-dark .nxt-product-card { background: var(--nxt-card); }

/* Why grid */
.nxt-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.nxt-why-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--nxt-radius);
  border: 1px solid var(--nxt-border);
  background: var(--nxt-surface);
}
.nxt-ui-dark .nxt-why-card { background: var(--nxt-card); }
.nxt-why-card i {
  font-size: 1.25rem;
  color: var(--nxt-accent);
  margin-bottom: 0.75rem;
}
.nxt-why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.nxt-why-card p { font-size: 0.9rem; color: var(--nxt-muted); margin: 0; line-height: 1.55; }

/* Tech transparency */
.nxt-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.nxt-tech-item {
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  border-left: 3px solid var(--nxt-accent);
  background: var(--nxt-surface);
  border: 1px solid var(--nxt-border);
  border-left-width: 3px;
}
.nxt-ui-dark .nxt-tech-item { background: var(--nxt-card); }
.nxt-tech-item strong { display: block; margin-bottom: 0.35rem; }
.nxt-tech-item span { font-size: 0.9rem; color: var(--nxt-muted); }
.nxt-reseller-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: var(--nxt-accent-soft);
  border: 1px solid rgba(67, 97, 238, 0.2);
  font-size: 0.9rem;
  color: var(--nxt-muted);
}

/* Spec table (product pages) */
.nxt-spec-table-wrap { overflow-x: auto; margin: 2rem 0; }
.nxt-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.nxt-spec-table th,
.nxt-spec-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--nxt-border);
  text-align: left;
}
.nxt-spec-table th { font-weight: 700; color: var(--nxt-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.nxt-usecase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 2rem;
}
.nxt-usecase-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--nxt-accent-soft);
  color: var(--nxt-accent);
  border: 1px solid rgba(67, 97, 238, 0.2);
}

/* Status page */
.nxt-status-page {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1rem 4rem;
}
.nxt-status-page .nxt-status-pill { font-size: 0.9375rem; padding: 0.5rem 1rem; margin-bottom: 1.5rem; }

@media (max-width: 991px) {
  #carouselExampleCaptions.nxt-hero-carousel-desktop { display: none !important; }
  #carouselMobileSlider.nxt-hero-carousel-mobile { display: block !important; }
}
@media (min-width: 992px) {
  #carouselMobileSlider.nxt-hero-carousel-mobile { display: none !important; }
}
