/* NetApp partner page */

:root {
  --na-purple: #7C26FF;
  --na-purple-dark: #5e10e0;
  --na-deep: #25006D;
  --na-cyan: #47DCF2;
  --na-cyan-dark: #28c8e0;
  --na-ink: #14102a;
  --na-muted: #5c5870;
}

body {
  overflow-x: hidden;
}

.vendor-color {
  color: var(--na-purple);
}

/* ── buttons ── */
.btn-theme,
.btn-theme:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 1rem;
  background: linear-gradient(135deg, #9a55ff 0%, var(--na-purple) 100%) !important;
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

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

.btn-theme-cyan,
.btn-theme-cyan:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 1rem;
  background: linear-gradient(135deg, #7ae8f8 0%, var(--na-cyan) 100%) !important;
  color: #07202a;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-theme-cyan:hover,
.btn-theme-cyan:focus-visible {
  background: linear-gradient(135deg, var(--na-cyan) 0%, var(--na-cyan-dark) 100%) !important;
  color: #07202a;
  transform: translateY(-2px);
}

.btn-theme:focus-visible,
.btn-theme-cyan:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* no glow: the site-wide .btn-theme rules add a box-shadow */
.btn-theme,
.btn-theme:hover,
.btn-theme:focus,
.btn-theme:focus-visible,
.btn-theme:active,
.btn-theme-cyan,
.btn-theme-cyan:hover,
.btn-theme-cyan:focus,
.btn-theme-cyan:focus-visible,
.btn-theme-cyan:active {
  box-shadow: none !important;
}

/* ── hero ── */
.netapp-hero {
  display: flex;
  align-items: center;
  min-height: 300px;
  padding: 3rem 0;
  background: #000 url('/images/netapp/platform-hero2x.webp') right center / cover no-repeat;
}

.na-hl {
  background: linear-gradient(90deg, #7ae8f8 0%, #b794ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.netapp-hero .lead strong {
  color: var(--na-cyan);
}

.netapp-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.netapp-hero .lead {
  max-width: 32rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

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

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

.na-section .text-muted {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  color: var(--na-muted) !important;
}

/* ── pillar cards ── */
.netapp-feature-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  height: 340px;
  overflow: hidden;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(20, 16, 42, 0.22);
  transition: transform 0.3s, box-shadow 0.3s;
}

.netapp-feature-card--modernize {
  background-image: url('/images/netapp/unified-data-storage_tcm19-108068.webp');
}

.netapp-feature-card--cloud {
  background-image: url('/images/netapp/intelligent-services_tcm19-113832.webp');
}

.netapp-feature-card--ai {
  background-image: url('/images/netapp/hp-pillar-ai-readiness_tcm19-134301.webp');
}

.netapp-feature-card--cyber {
  background-image: url('/images/netapp/hp-pillar-cyber-resilience_tcm19-134300.webp');
}

.netapp-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 6, 30, 0.72) 0%, rgba(10, 6, 30, 0.3) 100%);
  transition: background 0.3s;
}

.netapp-feature-card:hover,
.netapp-feature-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(124, 38, 255, 0.35);
  color: #fff;
  text-decoration: none;
}

.netapp-feature-card:focus-visible {
  outline: 3px solid var(--na-cyan);
  outline-offset: 3px;
}

.netapp-feature-card:hover::before {
  background: linear-gradient(180deg, rgba(60, 10, 140, 0.6) 0%, rgba(10, 6, 30, 0.2) 100%);
}

.netapp-feature-card-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}

.netapp-feature-card-body h4 {
  font-size: 1.2rem;
}

.netapp-feature-card-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* ── solutions banner ── */
.netapp-solutions-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 260px;
  padding: 3rem 0;
  overflow: hidden;
  background: #05030f;
}

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

.netapp-solutions-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 3, 15, 0.82) 0%, rgba(5, 3, 15, 0.4) 100%);
}

.netapp-solutions-banner .container {
  position: relative;
  z-index: 2;
}

.netapp-solutions-banner h2 {
  color: #fff;
}

/* ── product cards ── */
.netapp-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
  padding: 1.5rem 1.25rem 5rem;
  border: 1px solid #e4e0ee;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 22px rgba(20, 16, 42, 0.08);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.netapp-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--na-purple);
  box-shadow: 0 16px 32px rgba(124, 38, 255, 0.18);
}

.netapp-product-card h4 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--na-ink);
}

.na-card-img {
  display: block;
  width: calc(100% + 2.5rem);
  max-width: none;
  height: 170px;
  margin: -1.5rem -1.25rem 1rem;
  border-radius: 18px 18px 0 0;
  object-fit: cover;
}

.netapp-product-card p {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.netapp-product-card .btn {
  position: absolute;
  right: 0;
  bottom: 1.4rem;
  left: 0;
  width: fit-content;
  margin: 0 auto !important;
}

/* ── platform ── */
.netapp-platform {
  padding: 2.5rem 0;
  background: #000;
  color: #fff;
}

.netapp-platform h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: #fff;
}

.netapp-platform .lead {
  max-width: 28rem;
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.netapp-platform .btn {
  margin-top: 1rem !important;
}

.na-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.na-tiles {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.na-tile {
  height: 100%;
  text-align: center;
}

.na-tile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(37, 0, 109, 0.28);
  transition: transform 0.25s, box-shadow 0.25s;
}

.na-tile:hover img {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(124, 38, 255, 0.32);
}

.na-tile p {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--na-ink);
}

.na-platform-grid {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
}

.na-platform-grid h2 {
  max-width: 44rem;
  margin: 0 auto;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.35;
}

/* ── new platform section ── */
.na-plat-head h4 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--na-ink);
}

.na-plat-head p {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--na-muted);
}

.card-plat {
  position: relative;
  height: 100%;
  padding: 1.4rem 1.25rem 4.75rem;
  border: 1px solid #e4e0ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 16, 42, 0.08);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card-plat:hover {
  transform: translateY(-4px);
  border-color: var(--na-purple);
  box-shadow: 0 16px 32px rgba(124, 38, 255, 0.18);
}

.na-plat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #9a55ff 0%, var(--na-purple-dark) 100%);
  color: #fff;
  font-size: 1.25rem;
}

.card-plat .btn {
  position: absolute;
  bottom: 1.4rem;
  left: 1.25rem;
}

.card-plat h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--na-ink);
}

.card-plat p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--na-muted);
}

/* ── logos ── */
.netapp-logo-strip img {
  height: 45px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

.netapp-logo-strip img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* ── closing ── */
.netapp-cta {
  background:
    radial-gradient(50% 120% at 100% 100%, rgba(255, 255, 255, 0.35) 0%, transparent 70%),
    linear-gradient(135deg, #7ae8f8 0%, var(--na-cyan) 100%);
}

.netapp-cta h2 {
  color: #07202a;
}

.netapp-cta .lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #0b2a35;
}

.netapp-cta video {
  border-radius: 16px !important;
  box-shadow: 0 18px 36px rgba(7, 32, 42, 0.3);
}

@media (max-width: 767px) {
  .netapp-hero {
    min-height: 0;
    padding: 2rem 0;
    background-position: 70% center;
  }

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

  .netapp-feature-card {
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-theme,
  .btn-theme-cyan,
  .netapp-feature-card,
  .netapp-product-card,
  .card-plat,
  .na-tile img {
    transition: none;
  }

  .btn-theme:hover,
  .btn-theme-cyan:hover,
  .netapp-feature-card:hover,
  .netapp-product-card:hover,
  .card-plat:hover,
  .na-tile:hover img {
    transform: none;
  }
}

/* Hero logo */
.na-hero-logo {
  display: block;
  width: auto;
  height: 40px;
  margin: 0 0 1.5rem;
}
