/* Seagate partner page */

:root {
  --sg-green: #6ebe49;
  --sg-green-dark: #4f9a2f;
  --sg-dark: #334141;
  --sg-dark-deep: #1f2a2a;
  --sg-ink: #172020;
  --sg-muted: #556262;
  --sg-line: #e3e8e3;
}

body {
  overflow-x: hidden;
}

.vendor-color {
  color: var(--sg-green-dark);
}

/* ── buttons ── */
.btn-seagate,
.btn-seagate:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.7rem;
  border: none;
  border-radius: 10px;
  background: var(--sg-green);
  color: #0f1a0a;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-seagate:hover,
.btn-seagate:focus-visible {
  background: var(--sg-green-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-seagate:focus-visible {
  outline: 3px solid #cbeab8;
  outline-offset: 3px;
}

/* ── hero ── */
.bg-seagate-hero {
  position: relative;
  min-height: 480px;
  background: #0c0c0c url('/images/seagate/seagate-hero-2026.webp') right center / cover no-repeat;
}

.bg-seagate-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
}

.bg-seagate-hero .container {
  position: relative;
  z-index: 1;
}

.bg-seagate-hero .sg-hero-logo {
  display: block;
  width: auto;
  max-width: 220px;
  height: auto;
  margin-bottom: 1.5rem;
}

.sg-hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--sg-green);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bg-seagate-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.bg-seagate-hero .sg-hero-text {
  max-width: 28rem;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.65;
}

/* ── range navigation ── */
html {
  scroll-behavior: smooth;
}

.sg-nav {
  position: sticky;
  top: 0;
  z-index: 400;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sg-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

.sg-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-nav-list a {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--sg-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sg-ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.sg-nav-list a:hover,
.sg-nav-list a:focus-visible {
  border-color: var(--sg-green);
  background: var(--sg-green);
  color: #0f1a0a;
}

.sg-nav-list a:focus-visible {
  outline: 3px solid #cbeab8;
  outline-offset: 2px;
}

#nytro,
#exos-e,
#exos-x {
  scroll-margin-top: 5rem;
}

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

.sg-section h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sg-section h4 {
  font-size: 1.2rem;
  color: var(--sg-ink);
}

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

/* heading-only bands sit tight against the dark band below */
.sg-heading {
  padding-top: 2rem !important;
  padding-bottom: 1.25rem !important;
}

/* ── dark intro bands ── */
.bg-seagate-dark {
  background:
    radial-gradient(50% 120% at 100% 50%, rgba(110, 190, 73, 0.22) 0%, transparent 70%),
    linear-gradient(135deg, var(--sg-dark-deep) 0%, var(--sg-dark) 100%);
  color: #fff;
}

.bg-seagate-dark h4 {
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.bg-seagate-dark p {
  max-width: 44rem;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.85);
}

.bg-seagate-dark img {
  max-height: 90px;
  width: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

/* ── product cards ── */
.seagate-card {
  position: relative;
  padding: 1.5rem 1.4rem 1.4rem !important;
  border: 1px solid var(--sg-line) !important;
  border-radius: 18px !important;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 32, 32, 0.07);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.seagate-card:hover {
  transform: translateY(-4px);
  border-color: var(--sg-green) !important;
  box-shadow: 0 16px 32px rgba(79, 154, 47, 0.18);
}

.seagate-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--sg-ink);
}

.seagate-card img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}

.seagate-card p {
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sg-green-dark);
}

.seagate-card .table {
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  --bs-table-bg: transparent;
}

.seagate-card .table td {
  padding: 0.45rem 0.4rem;
  border-color: var(--sg-line);
  vertical-align: top;
}

.seagate-card .table td:first-child {
  width: 42%;
  font-weight: 700;
  text-align: left;
  color: var(--sg-ink);
}

.seagate-card .table td:last-child {
  text-align: right;
  color: var(--sg-muted);
}

.seagate-card .table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 767px) {
  .bg-seagate-hero {
    min-height: 0;
    background-position: 70% center;
  }

  .bg-seagate-hero::before {
    background: rgba(0, 0, 0, 0.55);
  }

  .sg-section {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }
}

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

  .btn-seagate,
  .seagate-card {
    transition: none;
  }

  .btn-seagate:hover,
  .seagate-card:hover {
    transform: none;
  }
}

/* ── storage for every need ── */
#solutions,
#products {
  scroll-margin-top: 20px;
}

.sg-use {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: 18px;
  background: #fff;
  transition: border-color 0.25s;
}

.sg-use:hover {
  border-color: var(--sg-green);
}

.sg-use-img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
}

.sg-use-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sg-use:hover .sg-use-img img {
  transform: scale(1.06);
}

.sg-use-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.3rem 1.4rem 1.4rem;
}

.sg-section .sg-use-body p {
  flex: 1;
  margin: 0.5rem 0 1.1rem;
  color: var(--sg-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.sg-use-title {
  margin: 0;
  color: var(--sg-ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.sg-link {
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sg-green-dark);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.sg-link::after {
  content: '\f061';
  margin-left: 0.4rem;
  font-family: 'Font Awesome 6 Free';
  font-size: 0.7rem;
  font-weight: 900;
}

.sg-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── product tabs ── */
.sg-tabs {
  gap: 0.6rem;
  margin-bottom: 2rem;
  border: 0;
}

.sg-tabs .nav-link {
  padding: 0.65rem 1.4rem;
  border: 2px solid var(--sg-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sg-dark);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.sg-tabs .nav-link:hover {
  border-color: var(--sg-green);
}

.sg-tabs .nav-link.active {
  border-color: var(--sg-dark);
  background: var(--sg-dark);
  color: #fff;
}

.sg-intro {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem 2.25rem;
  border-radius: 18px;
  background:
    radial-gradient(50% 120% at 100% 50%, rgba(110, 190, 73, 0.22) 0%, transparent 70%),
    linear-gradient(135deg, var(--sg-dark-deep) 0%, var(--sg-dark) 100%);
  color: #fff;
}

.sg-intro-text {
  flex: 1;
}

.sg-section .sg-intro h4 {
  margin-bottom: 0.6rem;
  color: #fff;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
}

.sg-section .sg-intro p {
  max-width: 44rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.sg-intro-logo {
  flex: 0 0 auto;
  width: auto;
  max-width: 200px;
  max-height: 80px;
}

@media (max-width: 767px) {
  .sg-intro {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sg-use-img img {
    transition: none;
  }

  .sg-use:hover .sg-use-img img {
    transform: none;
  }
}
