/* Cohesity partner page */

:root {
  --cohesity-green: #00ED88;
  --cohesity-green-dark: #00b86b;
  --cohesity-navy: #1B2855;
  --cohesity-dark: #0d1117;
  --cohesity-muted: #5b6784;
  --cohesity-border: #e4e8f0;
}

body {
  overflow-x: hidden;
}

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

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

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

.btn-cohesity:focus-visible,
.card-cdc .btn-outline:focus-visible {
  outline: 3px solid #9affd0;
  outline-offset: 3px;
}

/* ── hero ── */
.bg-cohesity-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 640px;
  padding: 5rem 0 5.5rem;
  background: #060b10 url('/images/cohesity/brand-homepage-hero-sept-2026.webp') center top / cover no-repeat;
}

.bg-cohesity-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 11, 16, 0.35) 0%, rgba(6, 11, 16, 0.15) 30%, rgba(6, 11, 16, 0.78) 68%, rgba(6, 11, 16, 0.94) 100%);
}

.bg-cohesity-hero .container {
  position: relative;
}

.bg-cohesity-hero .co-hero-logo {
  display: block;
  width: auto;
  height: 52px;
  margin: 0 auto 1.5rem;
}

.bg-cohesity-hero h1 {
  max-width: 44rem;
  margin: 0 auto;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bg-cohesity-hero .co-hero-rule {
  display: block;
  width: 56px;
  height: 4px;
  margin: 1.5rem auto 1.75rem;
  border-radius: 4px;
  background: #00ed88;
}

.co-hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
  transform: translateX(-50%);
  transition: background 0.2s, color 0.2s;
}

.co-hero-scroll:hover {
  background: #fff;
  color: #060b10;
}

html {
  scroll-behavior: smooth;
}

#co-intro {
  scroll-margin-top: 60px;
}

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

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

.co-section h2 {
  font-size: clamp(1.4rem, 2.3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cohesity-navy);
}

.co-section p {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--cohesity-muted);
}

.co-section img.w-75,
.co-section img.w-50 {
  max-height: 280px;
  object-fit: contain;
}

.cohesity-eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: #e9fff4;
  color: #008a4c !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── editions table ── */
.table.cohesity-table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--cohesity-border);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(13, 17, 23, 0.08);
}

.table.cohesity-table th {
  padding: 0.75rem 1rem;
  border: none;
  background: var(--cohesity-navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.table.cohesity-table th:first-child {
  text-align: left;
}

.table.cohesity-table td {
  padding: 0.6rem 1rem;
  border-color: var(--cohesity-border);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
}

.table.cohesity-table td:first-child {
  background: #fff;
  color: #181A18;
  font-weight: 700;
  text-align: left;
  border-left: 6px solid transparent;
}

.table.cohesity-table tr:nth-child(2) td:first-child { border-left-color: #FF5400; }
.table.cohesity-table tr:nth-child(3) td:first-child { border-left-color: #FFA410; }
.table.cohesity-table tr:nth-child(4) td:first-child { border-left-color: #FF61F0; }
.table.cohesity-table tr:nth-child(5) td:first-child { border-left-color: #00D42D; }

.table.cohesity-table tr:hover td {
  background: #f6fffa;
}

.table.cohesity-table .fa-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cohesity-green);
  color: #04130c;
  font-size: 0.8rem;
}

/* ── product cards ── */
.card-cdc {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--cohesity-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(13, 17, 23, 0.07);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card-cdc:hover {
  transform: translateY(-4px);
  border-color: var(--cohesity-green);
  box-shadow: 0 16px 32px rgba(0, 184, 107, 0.18);
}

.card-cdc h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cohesity-navy);
}

.card-cdc p {
  flex-grow: 1;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.card-cdc .btn-outline,
.card-cdc a.btn-outline {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--cohesity-green);
  border-radius: 10px;
  background: transparent;
  color: #181A18;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.card-cdc .btn-outline:hover,
.card-cdc a.btn-outline:hover,
.card-cdc .btn-outline:focus-visible {
  background: var(--cohesity-green);
  color: #04130c;
}

/* ── closing band ── */
.bg-cohesity-products {
  position: relative;
  background: #05080c url('/images/cohesity/global-cta-banner-2500x1124.webp') center / cover;
}

.bg-cohesity-products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.bg-cohesity-products .container {
  position: relative;
}

.bg-cohesity-products h2 {
  color: #fff;
}

.bg-cohesity-products img {
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

@media (max-width: 767px) {
  .bg-cohesity-hero {
    min-height: 480px;
    padding: 3.5rem 0 5rem;
  }

  .bg-cohesity-hero .co-hero-logo {
    height: 44px;
  }

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

  .table.cohesity-table th,
  .table.cohesity-table td {
    padding: 0.7rem 0.6rem;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-cohesity,
  .card-cdc {
    transition: none;
  }

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