/* NETGEAR partner page */

:root {
  --ng-black: #231F20;
  --ng-black-soft: #3a3537;
  --ng-purple: #7b3fe4;
  --ng-purple-dark: #5e27bd;
  --ng-muted: #5d5a5c;
  --ng-line: #e6e3e8;
}

body {
  overflow-x: hidden;
}

.vendor-color {
  color: var(--ng-black);
}

/* ── buttons ── */
.btn-theme,
.btn-theme:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--ng-black);
  border-radius: 8px;
  background: var(--ng-black);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-theme:hover,
.btn-theme:focus-visible,
.btn-theme:active {
  border-color: var(--ng-black-soft);
  background: var(--ng-black-soft);
  color: #fff !important;
  transform: none;
  box-shadow: none;
  text-decoration: none;
}

.btn-theme:focus-visible {
  outline: 2px solid #b9b4b7;
  outline-offset: 2px;
}

/* ── hero ── */
.netgear-hero {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: #f4f2f6;
}

.netgear-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.netgear-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.55) 38%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}

.netgear-hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.netgear-hero-content img {
  max-width: 180px;
}

.netgear-hero-content h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ng-black);
}

.netgear-hero-content p {
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ng-black-soft);
}

/* ── sections ── */
.ng-section {
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
}

.ng-section h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ng-black);
}

/* ── product items ── */
.ng-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
}

.ng-item img {
  display: block;
  width: 100%;
  height: 200px;
  margin-bottom: 1rem;
  border-radius: 14px;
  object-fit: cover;
}

.ng-item h4 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  color: var(--ng-black);
}

.ng-item p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ng-muted);
}

.ng-item .btn {
  margin-top: auto;
}

/* ── feature rows ── */
.ng-feature h2 {
  margin-bottom: 0.5rem;
}

.ng-feature .lead {
  font-size: 1.15rem;
  color: var(--ng-black-soft) !important;
}

.ng-feature p {
  line-height: 1.65;
  color: var(--ng-muted);
}

.ng-feature .btn {
  margin-top: 0.5rem;
}

.ng-feature-img {
  display: block;
  width: 100%;
  max-width: 480px;
  max-height: 340px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(35, 31, 32, 0.2));
}

/* ── closing ── */
.ng-why {
  background-image: url('/images/netgear/why-netgear.webp');
  background-size: cover;
  background-position: center;
}

.ng-why-box {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(20, 17, 18, 0.62);
  backdrop-filter: blur(6px);
}

.ng-why-box h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.3;
}

.ng-why-box p {
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .netgear-hero {
    height: 460px;
  }

  .netgear-hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 70%, rgba(255, 255, 255, 0.2) 100%);
  }

  .ng-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .ng-why-box {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-theme {
    transition: none;
  }

  .btn-theme:hover {
    transform: none;
  }
}
