/* NetApp SolidFire partner page */

:root {
  --color-netapp: #f05d31;
  --color-netapp-dark: #cf4a22;
  --ns-ink: #15151c;
  --ns-muted: #55555f;
  --ns-line: #e8e4e2;
}

body {
  overflow-x: hidden;
}

/* ── buttons ── */
.btn-netapp,
.btn-netapp:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff7a4d 0%, var(--color-netapp) 100%);
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-netapp:hover,
.btn-netapp:focus-visible {
  background: linear-gradient(135deg, #f5663a 0%, var(--color-netapp-dark) 100%);
  color: #fff;
  transform: translateY(-2px);
}

.btn-netapp:focus-visible {
  outline: 3px solid #ffd0bf;
  outline-offset: 3px;
}

.btn-netapp.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

/* ── hero ── */
.netapp-hero {
  padding: 3.5rem 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 6, 12, 0.88) 0%, rgba(8, 6, 12, 0.6) 55%, rgba(8, 6, 12, 0.25) 100%),
    url('/images/netapp/web-hero-full-solidfire.webp') center / cover;
}

.netapp-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.netapp-hero p {
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.netapp-banner {
  min-height: 110px;
  background: #1b1b22 url('/images/netapp/netapp-new-banner.webp') center / cover;
}

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

.netapp-section-h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ns-ink);
}

.netapp-section-h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

.ns-section p {
  line-height: 1.65;
  color: var(--ns-muted);
}

.ns-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(21, 21, 28, 0.2);
}

.ns-img--small {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 220px;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 12px 18px rgba(21, 21, 28, 0.2));
}

/* ── cta bar ── */
.netapp-cta-bar {
  padding: 2.25rem 0;
  background:
    radial-gradient(60% 140% at 50% 0%, rgba(255, 255, 255, 0.22) 0%, transparent 70%),
    linear-gradient(135deg, #ff7a4d 0%, var(--color-netapp) 100%);
  color: #fff;
}

.netapp-cta-bar h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
}

/* ── feature rows ── */
.ns-feature {
  padding: 1.75rem 0;
}

.ns-feature + .ns-feature {
  border-top: 1px solid var(--ns-line);
}

.netapp-feature-icon {
  display: block;
  box-sizing: content-box;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  padding: 0.9rem;
  border-radius: 18px;
  background: #fff1ec;
  object-fit: contain;
}

.netapp-feature-h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ns-ink);
}

.ns-feature ul {
  margin: 0;
  padding-left: 1.2rem;
}

.ns-feature li {
  margin-bottom: 0.4rem;
  line-height: 1.55;
  color: var(--ns-muted);
}

.ns-feature li::marker {
  color: var(--color-netapp);
}

/* ── spec table ── */
.ns-table-wrap {
  overflow: hidden;
  border: 1px solid var(--ns-line);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(21, 21, 28, 0.08);
}

.ns-table-wrap .table {
  margin: 0;
  font-size: 0.92rem;
}

.table thead th {
  background-color: var(--color-netapp);
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-color: rgba(255, 255, 255, 0.25);
}

.ns-table-wrap .table > :not(caption) > * > * {
  padding: 0.7rem 0.9rem;
  border-color: var(--ns-line);
}

.ns-table-wrap tbody th[scope="row"] {
  background: #faf6f4;
  color: var(--ns-ink);
  font-weight: 700;
}

.ns-table-wrap tbody td {
  color: var(--ns-muted);
}

.ns-table-wrap tbody tr:hover td {
  background: #fff6f2;
}

.ns-table-wrap .ns-fips {
  border-left: 1px solid #dcdcdc;
}

/* ── extra polish ── */
html {
  scroll-behavior: smooth;
}

.netapp-hero .btn-netapp {
  padding: 0.75rem 2rem;
  font-size: 1.05rem;
}

.ns-feature {
  margin: 0 -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 16px;
  transition: background 0.25s;
}

.ns-feature:hover {
  background: rgba(255, 255, 255, 0.85);
}

.ns-feature + .ns-feature {
  border-top-color: transparent;
  box-shadow: 0 -1px 0 var(--ns-line);
}

.netapp-feature-icon {
  transition: transform 0.25s;
}

.ns-feature:hover .netapp-feature-icon {
  transform: scale(1.06);
}

.ns-table-wrap {
  position: relative;
}

.ns-table-wrap tbody tr:nth-child(even) td {
  background: #fcfaf9;
}

.ns-table-wrap tbody th[scope="row"] {
  min-width: 11rem;
}

.ns-table-wrap tbody td[colspan="4"] {
  background: #fff7f3 !important;
}

.ns-table-wrap .ns-fips {
  background: #fff7f3 !important;
  font-weight: 600;
  color: var(--color-netapp-dark);
}

.ns-table-wrap tbody tr:last-child td {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ns-muted);
}

.ns-table-wrap .btn-netapp.btn-sm {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .ns-table-wrap thead th,
  .ns-table-wrap tbody td {
    text-align: center;
  }

  .ns-table-wrap tbody tr:last-child td {
    text-align: left;
  }
}

@media (max-width: 991px) {
  .ns-table-wrap tbody th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 1px 0 0 var(--ns-line);
  }
}

/* fade-in on scroll where the browser supports scroll-driven animations */
@supports (animation-timeline: view()) {
  @keyframes ns-rise {
    from {
      opacity: 0;
      transform: translateY(24px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  .ns-feature,
  .ns-img,
  .ns-table-wrap,
  .netapp-cta-bar h2 {
    animation: ns-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

@media (max-width: 767px) {
  .netapp-hero {
    padding: 2.25rem 0;
    background:
      linear-gradient(180deg, rgba(8, 6, 12, 0.85) 0%, rgba(8, 6, 12, 0.7) 100%),
      url('/images/netapp/web-hero-full-solidfire.webp') center / cover;
  }

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

  .netapp-feature-icon {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ns-feature,
  .ns-img,
  .ns-table-wrap,
  .netapp-cta-bar h2 {
    animation: none !important;
  }

  .btn-netapp,
  .ns-feature,
  .netapp-feature-icon {
    transition: none;
  }

  .btn-netapp:hover,
  .ns-feature:hover .netapp-feature-icon {
    transform: none;
  }
}
