/* SolarWinds partner page */

:root {
  --sw-orange: #FF6200;
  --sw-orange-dark: #d65200;
  --sw-ink: #1a1a2e;
  --sw-muted: #5b5b6b;
}

body {
  overflow-x: hidden;
}

.vendor-color {
  color: var(--sw-orange);
}

/* ── buttons ── */
.btn-solarwinds,
.btn-solarwinds:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--sw-orange);
  border-radius: 6px;
  background: var(--sw-orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-solarwinds:hover,
.btn-solarwinds:focus-visible {
  border-color: var(--sw-orange-dark);
  background: var(--sw-orange-dark);
  color: #fff;
  box-shadow: none;
}

.btn-solarwinds:focus-visible {
  outline: 2px solid #ffd0b0;
  outline-offset: 2px;
}

.btn-solarwinds-light,
.btn-solarwinds-light:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border: 1px solid #fff;
  border-radius: 6px;
  background: #fff;
  color: var(--sw-orange-dark);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-solarwinds-light:hover,
.btn-solarwinds-light:focus-visible {
  background: #fff1e8;
  color: var(--sw-orange-dark);
}

.btn-solarwinds-light:focus-visible {
  outline: 3px solid #ffd0b0;
  outline-offset: 3px;
}

/* ── hero ── */
.sw-hero {
  padding: 4rem 0;
  background:
    radial-gradient(50% 90% at 90% 20%, rgba(255, 98, 0, 0.16) 0%, transparent 70%),
    radial-gradient(40% 70% at 0% 100%, rgba(255, 98, 0, 0.08) 0%, transparent 70%),
    #fff8f3;
}

.sw-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.sw-hero p {
  max-width: 30rem;
  margin: 0.75rem 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--sw-muted);
}

.sw-hero .sw-hero-logo {
  display: block;
  width: auto;
  height: 52px;
  max-height: none;
  margin: 0 0 1.25rem;
  border-radius: 0;
  filter: none;
}

.sw-hero img {
  max-height: 340px;
  width: auto;
}

.sw-hero .sw-hero-shot {
  border: 1px solid rgba(26, 26, 46, 0.12);
  border-radius: 14px;
  filter: none;
}

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

.container-lp .sw-lead {
  max-width: 48rem;
  margin: 0.9rem auto 2rem;
  color: var(--sw-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.sw-section h2 {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--sw-ink);
}

.sw-section h2 .vendor-color {
  color: var(--sw-orange);
}

.ratio-rounded {
  overflow: hidden;
  border: 1px solid #e6e6ec;
  border-radius: 16px;
}

/* ── tabs ── */
.sw-tabs-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 500;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0.5rem;
  border: 1px solid #ececf0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: none;
  transition: border-color 0.2s;
}

.sw-tabs-sticky-wrapper.is-stuck {
  border-color: #d9d9e2;
}

.sw-tabs {
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  border: 0;
  scrollbar-width: none;
}

.sw-tabs::-webkit-scrollbar {
  display: none;
}

.sw-tabs .nav-item {
  flex: 1 0 auto;
}

.sw-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.6rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #444;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.sw-tab-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff1e8;
  color: var(--sw-orange);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.sw-tab-btn:hover {
  background: #fff6f0;
  color: var(--sw-orange-dark);
}

.sw-tab-btn.active {
  background: var(--sw-orange);
  color: #fff;
  box-shadow: none;
}

.sw-tab-btn.active i {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.sw-tab-btn:focus-visible {
  outline: 3px solid #ffd0b0;
  outline-offset: 2px;
}

.sw-tab-content {
  margin-top: 1.75rem;
  padding: 2rem 0 0;
}

.sw-tab-content > .tab-pane > .row > .col-md-6 > p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--sw-muted);
}

/* ── capability cards ── */
.sw-cap-title {
  margin: 1rem 0 0;
  text-align: center;
}

.sw-cap-title h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.sw-tab-content .tab-pane > .sw-cap-title:first-child {
  margin-top: 1.5rem !important;
}

.container-lp .sw-cap-desc {
  max-width: 52rem;
  margin: 0.9rem auto 1.25rem;
  color: var(--sw-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.sw-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.4rem 1.4rem;
  border: 1px solid #e6e6ec;
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.25s;
}

.sw-product:hover {
  border-color: var(--sw-orange);
}

.sw-product-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.sw-product-icon {
  flex-shrink: 0;
  box-sizing: content-box;
  width: 40px;
  height: 40px;
  padding: 0.65rem;
  border-radius: 14px;
  background: #fff1e8;
  object-fit: contain;
}

.sw-product-header h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--sw-ink);
}

.sw-product h5 {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--sw-ink);
}

.dot-vendor-color {
  flex: 1;
  margin-bottom: 1.25rem;
  padding-left: 1.2rem;
}

.dot-vendor-color li {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--sw-muted);
}

.dot-vendor-color li::marker {
  color: var(--sw-orange);
}

.sw-product .btn-solarwinds {
  align-self: flex-start;
  margin-top: auto;
}

/* ── CTA ── */
.sw-cta {
  overflow: hidden;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  background: var(--sw-orange);
}

.sw-cta h2 {
  margin-bottom: 1.25rem;
  color: #fff;
}

@media (max-width: 767px) {
  .sw-hero {
    padding: 2.5rem 0;
  }

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

  .sw-tab-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.875rem;
  }

  .sw-tab-content {
    padding: 1rem 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-solarwinds,
  .btn-solarwinds-light,
  .sw-product {
    transition: none;
  }

  .btn-solarwinds:hover,
  .btn-solarwinds-light:hover,
  .sw-product:hover {
    transform: none;
  }
}
