/* IBM Storage partner page */

:root {
  --ibm-blue: #0F62FE;
  --ibm-blue-dark: #0043ce;
  --ibm-ink: #161616;
  --ibm-muted: #525252;
}

body {
  overflow-x: hidden;
}

.vendor-color {
  color: var(--ibm-blue);
}

.ibm-gradient-text {
  display: inline-block;
  background: linear-gradient(90deg, #1962FA 0%, #A158E8 50%, #FB9BBF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── buttons ── */
.btn-ibm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border: 1px solid var(--ibm-blue);
  border-radius: 4px;
  background: var(--ibm-blue);
  color: #fff;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s, border-color 0.2s;
}

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

.btn-ibm:focus-visible {
  outline: 2px solid #a6c8ff;
  outline-offset: 2px;
}

/* ── hero ── */
.ibm-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
  background:
    radial-gradient(45% 80% at 12% 10%, rgba(161, 88, 232, 0.16) 0%, transparent 70%),
    radial-gradient(45% 80% at 90% 90%, rgba(15, 98, 254, 0.16) 0%, transparent 70%),
    #f7f9ff;
}

.ibm-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  padding-bottom: 5px;
}

.ibm-hero .ibm-tagline {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.ibm-hero .lead {
  max-width: 44rem;
  margin: 0 auto;
}

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

.ibm-section p {
  line-height: 1.65;
}

/* ── solution cards ── */
.ibm-solution-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow: hidden;
  padding: 0 0 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 6px 18px rgba(22, 22, 22, 0.07);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.ibm-solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--ibm-blue);
  box-shadow: 0 16px 32px rgba(15, 98, 254, 0.18);
}

.ibm-solution-card h4 {
  width: 100%;
  margin: 0;
  padding: 1.25rem 1.25rem 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ibm-ink);
}

.ibm-solution-card img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.ibm-solution-card p {
  margin: 0 0 1rem;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  color: var(--ibm-muted);
}

.ibm-solution-card .btn {
  margin-top: auto;
}

/* ── flash storage image ── */
.ibm-flash img {
  filter: drop-shadow(0 18px 24px rgba(22, 22, 22, 0.25));
}

/* ── video ── */
.ratio-rounded {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.2);
}

/* ── stat cards ── */
.ibm-stat-card {
  height: 100%;
  padding: 2rem 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 6px 18px rgba(22, 22, 22, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

.ibm-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 98, 254, 0.15);
}

.ibm-stat-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ibm-blue);
}

.ibm-stat-number i {
  font-size: 2rem;
  vertical-align: 0.1em;
}

.ibm-stat-card p {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--ibm-muted);
}

/* ── feature cards ── */
.ibm-feature-card {
  height: 100%;
  padding: 1.75rem 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(22, 22, 22, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.ibm-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--ibm-blue);
  box-shadow: 0 16px 32px rgba(15, 98, 254, 0.15);
}

.ibm-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #1962FA 0%, #A158E8 100%);
  color: #fff;
  font-size: 2rem;
}

.ibm-feature-card h5 {
  font-size: 1.1rem;
  color: var(--ibm-ink);
}

.ibm-feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ibm-muted);
}

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

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

@media (prefers-reduced-motion: reduce) {
  .ibm-solution-card,
  .ibm-stat-card,
  .ibm-feature-card,
  .btn-ibm {
    transition: none;
  }

  .ibm-solution-card:hover,
  .ibm-stat-card:hover,
  .ibm-feature-card:hover,
  .btn-ibm:hover {
    transform: none;
  }
}
