/* ==========================================
   WHY CLOUDMATE
   ========================================== */

.why-cloudmate {
  --why-navy: #0c1835;
  --why-blue: #0877d5;
  --why-border: #dce2e9;

  width: 100%;
  padding: 80px 0 90px;
  color: var(--why-navy);
  font-family: "Poppins", "Inter", sans-serif;

  background-color: #f8f9fb;
  background-image:
    linear-gradient(rgba(75, 112, 158, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 112, 158, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
}

.why-cloudmate *,
.why-cloudmate *::before,
.why-cloudmate *::after {
  box-sizing: border-box;
}

.why-container {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
}

/* ==========================================
   HEADER
   ========================================== */

.why-header {
  text-align: center;
  max-width: 950px;
  margin: 0 auto 46px;
}

.why-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 7px 15px;
  margin-bottom: 17px;

  background: #e1efff;
  color: #23577d;
  border-radius: 50px;

  font-size: 12px;
  font-weight: 500;
}

.why-tag i {
  color: #0877d5;
  font-size: 15px;
}

.why-header h2 {
  margin: 0;
  color: #0b1532;

  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.22;
  letter-spacing: -1.5px;
  font-weight: 700;
}

.why-header h2 span {
  color: #2878b5;
}

.why-header p {
  max-width: 680px;
  margin: 15px auto 0;

  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  color: #40516b;
}

/* 
   MAIN GRID
    */

.why-main-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr 1.05fr;
  gap: 12px;
  align-items: stretch;
}

.why-side-column {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}

/* ==========================================
   SHARED CARDS
   ========================================== */

.why-feature-card,
.why-support-card {
  position: relative;
  min-width: 0;
  overflow: hidden;

  border: 1px solid var(--why-border);
  border-radius: 13px;

  box-shadow: 0 4px 13px rgba(19, 38, 67, 0.045);
}

.why-feature-card {
  padding: 22px;
  min-height: 205px;
  display: flex;
  flex-direction: column;
}

.why-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.why-card-heading h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.45px;
  font-weight: 600;
}

.why-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  font-size: 20px;
}

.why-feature-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: #35445b;
}

/* ==========================================
   CHECK LISTS
   ========================================== */

.why-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 8px;

  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.why-check-list li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 1px;

  border-radius: 50%;
  background: #d7f0dc;
  color: #269847;
  font-size: 9px;
}

/* ==========================================
   MAXIMUM RELIABILITY
   ========================================== */

.why-feature-card.reliability {
  background: #ffffff;
}

.reliability .why-icon {
  background: #fae6dc;
  color: #c77746;
}

.reliability .why-check-list {
  margin-top: 4px;
}

.why-reliability-footer {
  margin-top: auto;
  padding-top: 10px;
  color: #66778d;
  font-size: 11px;
}

/* ==========================================
   POWERFUL HARDWARE
   ========================================== */

.why-feature-card.hardware {
  background: #fffdfa;
}

.hardware .why-icon {
  background: #fff0d7;
  color: #dc921e;
}

.hardware p {
  max-width: 270px;
}

/* ==========================================
   PRICE BUTTONS
   ========================================== */

.why-price-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  width: 100%;
  margin-top: auto;
  padding: 11px 14px;

  border-radius: 8px;
  text-decoration: none;

  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.why-price-btn i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.why-price-btn:hover i {
  transform: translateX(3px);
}

.hardware-price {
  background: #f8e7ce;
  color: #8c5316;
}

.hardware-price:hover {
  background: #f3d9b4;
  color: #8c5316;
}

.scale-price {
  background: #e0dcfc;
  color: #33228a;
}

.scale-price:hover {
  background: #d1caf8;
  color: #33228a;
}

/* ==========================================
   HUMAN SUPPORT - CENTER CARD
   ========================================== */

.why-support-card {
  min-height: 422px;
  background: linear-gradient(115deg, #edf6ff 0%, #e3f0fd 58%, #d9eafb 100%);
  border-color: #c8dff4;
}

.why-support-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;
  height: 100%;
  padding: 24px 20px 23px;
}

.support-icon {
  width: 51px;
  height: 51px;
  flex-basis: 51px;

  margin-bottom: 22px;
  background: #d3e7f9;
  color: #1767a3;
  font-size: 23px;
}

.why-support-content h3 {
  margin: 0 0 9px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.7px;
}

.why-support-content > p {
  max-width: 260px;
  margin: 0 0 24px;

  color: #26384c;
  font-size: 13px;
  line-height: 1.65;
}

.why-support-content .why-check-list {
  position: relative;
  z-index: 3;
  margin-bottom: 20px;
}

.why-support-content .why-check-list li {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}

.why-support-btn {
  position: relative;
  z-index: 4;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  margin-top: auto;
  padding: 12px 16px;

  border-radius: 8px;
  background: #0877d5;
  color: #ffffff;
  text-decoration: none;

  font-size: 12px;
  font-weight: 600;

  transition: background 0.2s ease;
}

.why-support-btn:hover {
  background: #075fac;
  color: #ffffff;
}

.why-support-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 53%;
  height: 78%;

  pointer-events: none;
}

.why-support-circle {
  position: absolute;
  width: 125%;
  aspect-ratio: 1;
  right: -30%;
  bottom: -28%;

  background: #c5e0f7;
  border-radius: 50%;
}

.why-support-visual img {
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: -2%;

  width: 118%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

/* ==========================================
   NETWORK SECURITY
   ========================================== */

.why-feature-card.network {
  background: #293f50;
  border-color: #293f50;
  color: #ffffff;
}

.network .why-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #d6e8f2;
}

.network h3 {
  color: #ffffff;
}

.network p {
  max-width: 235px;
  margin-bottom: 13px;
  color: #e5edf3;
}

.network .why-check-list {
  position: relative;
  z-index: 2;
}

.network .why-check-list li {
  color: #ffffff;
  font-size: 11px;
}

.network .why-check-list li i {
  background: #5abf72;
  color: #ffffff;
}

.why-security-art {
  position: absolute;
  right: 18px;
  top: 64px;

  font-size: 65px;
  color: rgba(183, 211, 235, 0.3);
  pointer-events: none;
}

/* ==========================================
   BUILT TO SCALE
   ========================================== */

.why-feature-card.scalability {
  background: #f7f5ff;
  border-color: #ded9f5;
}

.scalability .why-icon {
  background: #e8e1fb;
  color: #8263c5;
}

.scalability p {
  max-width: 255px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1100px) {
  .why-main-grid {
    grid-template-columns: 1fr 1.4fr;
  }

  .why-main-grid > .why-side-column:last-child {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .why-support-card {
    min-height: 430px;
  }

  .why-feature-card {
    min-height: 205px;
  }
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 700px) {
  .why-cloudmate {
    padding: 65px 0;
    background-size: 34px 34px;
  }

  .why-container {
    width: calc(100% - 30px);
  }

  .why-header {
    margin-bottom: 30px;
  }

  .why-header h2 {
    font-size: clamp(27px, 7vw, 36px);
    letter-spacing: -0.9px;
  }

  .why-header p {
    font-size: 13px;
  }

  .why-main-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-side-column,
  .why-main-grid > .why-side-column:last-child {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .why-support-card {
    grid-row: 1;
    min-height: 430px;
  }

  .why-support-content {
    padding: 22px;
  }

  .why-support-content h3 {
    font-size: 22px;
  }

  .why-support-content > p {
    max-width: 57%;
    font-size: 12px;
  }

  .why-support-visual {
    width: 55%;
    height: 67%;
  }

  .why-support-content .why-check-list li {
    max-width: 210px;
    font-size: 11px;
  }

  .why-feature-card {
    min-height: 190px;
    padding: 20px;
  }







}

@media (max-width: 390px) {
  .why-support-content > p {
    max-width: 62%;
  }

  .why-support-visual {
    width: 50%;
    height: 59%;
  }

  .why-support-btn {
    font-size: 11px;
    padding: 11px 12px;
  }
}
