/* ==================================================
   Proteus Why / Features — elegant equal cards
================================================== */

.proteus-why {
  --pw-ink: #0a1c2a;
  --pw-muted: #5d7588;
  --pw-line: rgba(10, 28, 42, 0.08);
  --pw-accent: #1a9b6c;
  --pw-accent-soft: rgba(26, 155, 108, 0.12);
  --pw-cream: #fff4d7;
  position: relative;
  font-family: "Manrope", system-ui, sans-serif;
  padding-bottom: 90px !important;
  background:
    radial-gradient(ellipse 50% 55% at 50% 0%, rgba(255, 244, 215, 0.4), transparent 55%),
    radial-gradient(ellipse 40% 45% at 100% 100%, rgba(26, 155, 108, 0.08), transparent 50%),
    #f4f8f6 !important;
  overflow: hidden;
}

.proteus-why .container {
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.proteus-why .section-title {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  text-align: center;
}

.proteus-why .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--pw-line);
  color: var(--pw-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proteus-why .section-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pw-accent);
  box-shadow: 0 0 0 4px rgba(26, 155, 108, 0.16);
}

.proteus-why .section-title h2 {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--pw-ink);
  margin-bottom: 12px;
}

.proteus-why .section-title .bar {
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pw-accent), #3ecf8e);
  margin: 0 auto 16px;
}

.proteus-why .section-title p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--pw-muted);
  margin: 0;
}

.proteus-why .row > [class*="col-"] {
  display: flex;
}

.proteus-why .single-features {
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  padding: 28px 24px;
  border-radius: 20px;
  border: 1px solid var(--pw-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 36px rgba(10, 28, 42, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.proteus-why .single-features::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at top right, rgba(255, 244, 215, 0.35), transparent 45%),
    linear-gradient(145deg, #0a1c2a 0%, #143447 55%, #1a9b6c 140%);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.proteus-why .single-features > * {
  position: relative;
  z-index: 1;
}

.proteus-why .single-features .icon {
  position: static;
  width: 52px;
  height: 52px;
  line-height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--pw-accent-soft);
  color: var(--pw-accent);
  margin-bottom: 18px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.proteus-why .single-features .icon svg,
.proteus-why .single-features .icon i {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.proteus-why .single-features h3 {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pw-ink);
  margin: 0 0 10px;
  transition: color 0.35s ease;
}

.proteus-why .single-features p {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--pw-muted);
  margin: 0;
  transition: color 0.35s ease;
}

.proteus-why .single-features:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 22px 48px rgba(10, 28, 42, 0.14);
}

.proteus-why .single-features:hover::before {
  opacity: 1;
}

.proteus-why .single-features:hover .icon {
  background: var(--pw-cream);
  color: var(--pw-ink);
  transform: scale(1.06);
}

.proteus-why .single-features:hover h3 {
  color: #fff;
}

.proteus-why .single-features:hover p {
  color: rgba(255, 255, 255, 0.78);
}

/* Soft icon accent rotation */
.proteus-why .col-lg-4:nth-child(3n + 2) .single-features .icon {
  background: rgba(58, 109, 181, 0.12);
  color: #3a6db5;
}

.proteus-why .col-lg-4:nth-child(3n + 3) .single-features .icon {
  background: rgba(201, 137, 26, 0.14);
  color: #c9891a;
}

.proteus-why .col-lg-4:nth-child(3n + 2) .single-features:hover .icon,
.proteus-why .col-lg-4:nth-child(3n + 3) .single-features:hover .icon {
  background: var(--pw-cream);
  color: var(--pw-ink);
}

@media (max-width: 991px) {
  .proteus-why {
    padding-bottom: 70px !important;
  }

  .proteus-why .section-title {
    margin-bottom: 36px;
  }
}

@media (max-width: 575px) {
  .proteus-why .single-features {
    padding: 24px 20px;
  }
}
