/*===============================
   World servers section (homepage)
===============================*/
.world-servers {
  margin: 92px 0;
  font-family: "Figtree-Regular";
}
.world-servers button,
.world-servers p,
.world-servers span,
.world-servers em,
.world-servers b,
.world-servers strong {
  font-family: inherit;
}
.world-servers h2,
.world-servers h3,
.world-servers strong,
.world-servers b,
.world-servers em,
.world-servers .ws-tab {
  font-family: "Figtree-Bold";
}
.world-servers .ws-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.world-servers .ws-head h2 {
  color: var(--theme-black2-color);
}
.world-servers .ws-head p {
  font-size: 18px;
  line-height: 28px;
  color: var(--theme-black2-color75);
  text-wrap: balance;
}

/* stats */
.world-servers .ws-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.world-servers .ws-stat {
  background: var(--theme-light-bg);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.world-servers .ws-stat strong {
  display: block;
  font-family: "Figtree-Bold";
  font-size: 32px;
  line-height: 40px;
  color: var(--theme-primary-color);
}
.world-servers .ws-stat span {
  font-size: 15px;
  line-height: 22px;
  color: var(--theme-black2-color75);
}

/* tabs */
.world-servers .ws-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.world-servers .ws-tab {
  font-family: "Figtree-Bold";
  font-size: 16px;
  line-height: 24px;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--border-color);
  background: var(--theme-white-color);
  color: var(--theme-black2-color);
  cursor: pointer;
  transition: 0.3s;
}
.world-servers .ws-tab:hover {
  border-color: var(--theme-primary-color);
  color: var(--theme-primary-color);
}
.world-servers .ws-tab.is-active {
  background: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
  color: var(--theme-white-color);
}

/* tiles */
.world-servers .ws-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.world-servers.js .ws-grid {
  display: none;
}
.world-servers.js .ws-grid.is-active {
  display: grid;
}
.world-servers .ws-grid + .ws-grid {
  margin-top: 16px;
}
.world-servers .ws-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--theme-white-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: 0.3s;
}
.world-servers .ws-tile:hover {
  border-color: var(--theme-primary-color);
  box-shadow: 0 6px 18px rgba(67, 56, 202, 0.12);
  transform: translateY(-2px);
}
.world-servers .ws-chip {
  align-self: flex-start;
  font-family: "Figtree-Bold";
  font-size: 12px;
  line-height: 18px;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--theme-primary-light);
  color: var(--theme-primary-color);
}
.world-servers .ws-name {
  font-family: "Figtree-Bold";
  font-size: 20px;
  line-height: 28px;
  color: var(--theme-black2-color);
}
.world-servers .ws-spec {
  flex: 1;
  font-size: 15px;
  line-height: 24px;
  color: var(--theme-black2-color75);
}
.world-servers .ws-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
  line-height: 22px;
  color: var(--theme-black2-color75);
}
.world-servers .ws-price b {
  font-family: "Figtree-Bold";
  font-size: 22px;
  color: var(--theme-black2-color);
}
.world-servers .ws-price em {
  font-style: normal;
  font-family: "Figtree-Bold";
  color: var(--theme-primary-color);
  white-space: nowrap;
}

/* CTA */
.world-servers .ws-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.world-servers .ws-more .theme-btn-fill {
  display: inline-block;
  width: auto;
}
.world-servers .ws-more [data-all] {
  display: none;
}
.world-servers .ws-more [data-all].is-active {
  display: inline-block;
}
.world-servers:not(.js) .ws-more [data-all] {
  display: inline-block;
  margin: 0 6px;
}

/* features */
.world-servers .ws-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}
.world-servers .ws-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.world-servers .ws-feature svg {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  fill: var(--theme-primary-color);
}
.world-servers .ws-feature h3 {
  font-family: "Figtree-Bold";
  font-size: 18px;
  line-height: 26px;
  color: var(--theme-black2-color);
}
.world-servers .ws-feature p {
  font-size: 15px;
  line-height: 24px;
  color: var(--theme-black2-color75);
}
.world-servers .ws-head a {
  display: inline;
  color: var(--theme-primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1199px) {
  .world-servers .ws-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .world-servers {
    margin: 60px 0;
  }
  .world-servers .ws-head h2 {
    font-size: 32px;
    line-height: 42px;
  }
  .world-servers .ws-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .world-servers .ws-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .world-servers .ws-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .world-servers .ws-head h2 {
    font-size: 26px;
    line-height: 34px;
  }
  .world-servers .ws-head p {
    font-size: 16px;
    line-height: 26px;
  }
  .world-servers .ws-stat strong {
    font-size: 26px;
    line-height: 34px;
  }
  .world-servers .ws-tab {
    font-size: 14px;
    padding: 8px 16px;
  }
  .world-servers .ws-grid {
    gap: 10px;
  }
  .world-servers .ws-tile {
    padding: 14px;
  }
  .world-servers .ws-name {
    font-size: 17px;
    line-height: 24px;
  }
  .world-servers .ws-spec {
    font-size: 13px;
    line-height: 20px;
  }
  .world-servers .ws-price {
    flex-direction: column;
    gap: 2px;
  }
  .world-servers .ws-price b {
    font-size: 19px;
  }
  .world-servers .ws-features {
    grid-template-columns: 1fr;
  }
}
