/* Velocity Node.js landing — layout & surface styles only.
   Typography: a-generic/text.css (h1, .p1-regular, .p2-medium, .withDarkTheme).
   Buttons: a-generic/generic_style.css (.global_btn, .whiteBtn, .whiteBtn_outline, .large). */

.velocity_nodejs {
  background-color: #060216;
}

.velocity_nodejs .velocity_nodejs_hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  padding: 240px 0 200px;
  overflow: hidden;
  background-color: #060216;
  background-image: url("https://www.cloudways.com/wp-content/uploads/2026/07/velocity-hero-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  position: relative;
}

/* Curve layer — independently sized so it stays Figma-shallow under the CTAs */
.velocity_nodejs .velocity_nodejs_hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -120px;
  width: 100%;
  max-width: 1945px;
  height: 100%;
  transform: translateX(-50%);
  background-image: url("https://www.cloudways.com/wp-content/uploads/2026/07/velocity-hero-curve.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  pointer-events: none;
  z-index: 0;
}

.velocity_nodejs .velocity_nodejs_hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  max-width: 866px;
  margin: 0 auto;
  text-align: center;
}

.velocity_nodejs .velocity_nodejs_hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.velocity_nodejs .velocity_nodejs_hero__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 37px;
  padding: 0 12px;
  border: 0.6px solid rgba(255, 255, 255, 0.6);
  border-radius: 64.54px;
  background: rgba(252, 252, 252, 0.07);
}

.velocity_nodejs .velocity_nodejs_hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.velocity_nodejs .velocity_nodejs_hero__logo {
  display: block;
  height: 22px;
  width: auto;
}

.velocity_nodejs .velocity_nodejs_hero__brand-text {
  margin: 0;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.velocity_nodejs .velocity_nodejs_hero__preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 23px;
  padding: 0 12px;
  border: 0.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 40px;
  font-family: "poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.36px;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.23) 0%,
    rgba(153, 153, 153, 0.23) 100%
  );
}

.velocity_nodejs .velocity_nodejs_hero__title {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(
    138.38deg,
    #fff 45.25%,
    rgba(255, 255, 255, 0.5) 96.39%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.velocity_nodejs .velocity_nodejs_hero__desc {
  max-width: 598px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

.velocity_nodejs .velocity_nodejs_hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 23px;
}

.velocity_nodejs .velocity_nodejs_hero__ctas .global_btn {
  text-decoration: none;
  min-width: auto;
  padding: 13px 24px;
  height: auto;
}

.velocity_nodejs .velocity_nodejs_hero__ctas .whiteBtn {
  color: #0e0538;
}

.velocity_nodejs .velocity_nodejs_hero__ctas .whiteBtn:hover,
.velocity_nodejs .velocity_nodejs_hero__ctas .whiteBtn:focus {
  color: #0e0538;
  text-decoration: none;
}

.velocity_nodejs .velocity_nodejs_hero__ctas .whiteBtn_outline {
  border-width: 1.17px;
}

.velocity_nodejs .velocity_nodejs_hero__ctas .whiteBtn_outline:hover {
  text-decoration: none;
}

/* ===== Platform fold ===== */
.velocity_nodejs .velocity_nodejs_platform {
  background-color: #fff;
  padding: 78px 0 120px;
}

.velocity_nodejs .velocity_nodejs_platform__header {
  max-width: 875px;
  margin: 0 auto 64px;
  text-align: center;
}

.velocity_nodejs .velocity_nodejs_platform__header h2 {
  margin: 0 0 16px;
}

.velocity_nodejs .velocity_nodejs_platform__desc {
  margin: 0 auto;
}

.velocity_nodejs .velocity_nodejs_platform__rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1298px;
  margin: 0 auto;
}

.velocity_nodejs .velocity_nodejs_platform__row {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 123px;
  padding: 24px 32px;
  border: 1px solid rgba(218, 217, 255, 0.2);
  border-radius: 12px;
  background: #fcfcfc;
  box-sizing: border-box;
}

.velocity_nodejs .velocity_nodejs_platform__info {
  flex: 0 0 320px;
  max-width: 320px;
  padding-right: 32px;
  border-right: 1px solid #dfe1e6;
}

.velocity_nodejs .velocity_nodejs_platform__info h4 {
  margin: 0 0 6px;
}

.velocity_nodejs .velocity_nodejs_platform__info .p2-regular {
  margin: 0;
}

.velocity_nodejs .velocity_nodejs_platform__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.velocity_nodejs .velocity_nodejs_platform__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 56px;
  padding: 0 16px;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.velocity_nodejs .velocity_nodejs_platform__logo img {
  display: block;
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ===== Features fold ===== */
.velocity_nodejs .velocity_nodejs_features {
  background-color: #fcfcfc;
  padding: 90px 0 100px;
}

.velocity_nodejs .velocity_nodejs_features__header {
  max-width: 692px;
  margin: 0 auto 64px;
  text-align: center;
}

.velocity_nodejs .velocity_nodejs_features__header h2 {
  margin: 0 0 16px;
}

.velocity_nodejs .velocity_nodejs_features__desc {
  margin: 0 auto;
}

.velocity_nodejs .velocity_nodejs_features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1296px;
  margin: 0 auto;
}

.velocity_nodejs .velocity_nodejs_features__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 244px;
  padding: 24px;
  border: 1px solid #dfe1e6;
  border-radius: 18px;
  background: #fff;
  box-sizing: border-box;
}

.velocity_nodejs .velocity_nodejs_features__icon {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.velocity_nodejs .velocity_nodejs_features__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.velocity_nodejs .velocity_nodejs_features__text .p1-semibold,
.velocity_nodejs .velocity_nodejs_features__text .p2-regular {
  margin: 0;
}

@media (max-width: 992px) {
  .velocity_nodejs .velocity_nodejs_hero {
    min-height: auto;
    padding: 140px 0 160px;
  }

  .velocity_nodejs .velocity_nodejs_hero::after {
    height: 180px;
  }

  .velocity_nodejs .velocity_nodejs_hero__inner {
    gap: 28px;
  }

  .velocity_nodejs .velocity_nodejs_hero__content {
    gap: 16px;
  }

  .velocity_nodejs .velocity_nodejs_hero__pill {
    height: auto;
    min-height: 37px;
    padding: 6px 12px;
    flex-wrap: wrap;
  }

  .velocity_nodejs .velocity_nodejs_hero__logo {
    height: 18px;
  }

  .velocity_nodejs .velocity_nodejs_hero__brand-text {
    font-size: 14px;
  }

  .velocity_nodejs .velocity_nodejs_hero__title {
    max-width: 100%;
  }

  .velocity_nodejs .velocity_nodejs_hero__ctas {
    gap: 16px;
    width: 100%;
  }

  .velocity_nodejs .velocity_nodejs_hero__ctas .global_btn {
    width: 100%;
    max-width: 320px;
  }

  .velocity_nodejs .velocity_nodejs_platform {
    padding: 48px 0 64px;
  }

  .velocity_nodejs .velocity_nodejs_platform__header {
    margin-bottom: 40px;
  }

  .velocity_nodejs .velocity_nodejs_platform__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    min-height: auto;
  }

  .velocity_nodejs .velocity_nodejs_platform__info {
    flex: none;
    max-width: 100%;
    width: 100%;
    padding-right: 0;
    padding-bottom: 16px;
    border-right: 0;
    border-bottom: 1px solid #dfe1e6;
  }

  .velocity_nodejs .velocity_nodejs_platform__logos {
    width: 100%;
  }

  .velocity_nodejs .velocity_nodejs_platform__logo {
    width: calc(50% - 8px);
    min-width: 140px;
  }

  .velocity_nodejs .velocity_nodejs_features {
    padding: 48px 0 64px;
  }

  .velocity_nodejs .velocity_nodejs_features__header {
    margin-bottom: 40px;
  }

  .velocity_nodejs .velocity_nodejs_features__grid {
    grid-template-columns: 1fr;
  }

  .velocity_nodejs .velocity_nodejs_features__card {
    min-height: auto;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .velocity_nodejs .velocity_nodejs_features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Compare fold ===== */
.velocity_nodejs .velocity_nodejs_compare {
  background-color: #fcfcfc;
  padding: 100px 0;
}

.velocity_nodejs .velocity_nodejs_compare__header {
  max-width: 774px;
  margin: 0 auto 80px;
  text-align: center;
}

.velocity_nodejs .velocity_nodejs_compare__header h2 {
  max-width: 700px;
  margin: 0 auto 16px;
}

.velocity_nodejs .velocity_nodejs_compare__desc {
  margin: 0 auto;
}

.velocity_nodejs .velocity_nodejs_compare__cols {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1296px;
  margin: 0 auto;
}

.velocity_nodejs .velocity_nodejs_compare__col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
  max-width: 375px;
  padding: 0 42px;
  box-sizing: border-box;
}

.velocity_nodejs .velocity_nodejs_compare__col:first-child {
  padding-left: 0;
}

.velocity_nodejs .velocity_nodejs_compare__col:last-child {
  padding-right: 0;
}

.velocity_nodejs .velocity_nodejs_compare__col:not(:last-child) {
  border-right: 1px solid #dfe1e6;
}

.velocity_nodejs .velocity_nodejs_compare__avatars {
  display: flex;
  align-items: center;
  height: 55px;
}

.velocity_nodejs .velocity_nodejs_compare__avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-left: -10px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}

.velocity_nodejs .velocity_nodejs_compare__avatar:first-child {
  margin-left: 0;
  z-index: 1;
}

.velocity_nodejs .velocity_nodejs_compare__avatar:nth-child(2) {
  z-index: 2;
}

.velocity_nodejs .velocity_nodejs_compare__avatar:nth-child(3) {
  z-index: 3;
}

.velocity_nodejs .velocity_nodejs_compare__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.velocity_nodejs .velocity_nodejs_compare__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.velocity_nodejs .velocity_nodejs_compare__text .p1-semibold,
.velocity_nodejs .velocity_nodejs_compare__text .p2-regular {
  margin: 0;
}

@media (max-width: 992px) {
  .velocity_nodejs .velocity_nodejs_compare {
    padding: 48px 0 64px;
  }

  .velocity_nodejs .velocity_nodejs_compare__header {
    margin-bottom: 40px;
  }

  .velocity_nodejs .velocity_nodejs_compare__cols {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .velocity_nodejs .velocity_nodejs_compare__col {
    max-width: 100%;
    padding: 0 0 32px;
  }

  .velocity_nodejs .velocity_nodejs_compare__col:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #dfe1e6;
  }

  .velocity_nodejs .velocity_nodejs_compare__col:last-child {
    padding-bottom: 0;
  }
}

/* ===== G2 fold ===== */
.velocity_nodejs .velocity_nodejs_g2 {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background-color: #172a68;
  background-image: url("https://www.cloudways.com/wp-content/uploads/2026/07/g2-background-splash.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.velocity_nodejs .velocity_nodejs_g2 .container {
  position: relative;
  z-index: 1;
}

.velocity_nodejs .velocity_nodejs_g2__header {
  max-width: 650px;
  margin: 0 auto 56px;
  text-align: center;
}

.velocity_nodejs .velocity_nodejs_g2__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.velocity_nodejs .velocity_nodejs_g2__stars {
  display: block;
  height: 26px;
  width: auto;
}

.velocity_nodejs .velocity_nodejs_g2__rating .p2-regular {
  margin: 0;
  color: #fff;
}

.velocity_nodejs .velocity_nodejs_g2__header h2 {
  max-width: 584px;
  margin: 0 auto 16px;
  color: #fff;
}

.velocity_nodejs .velocity_nodejs_g2__desc {
  margin: 0 auto;
  color: #fff;
}

.velocity_nodejs .velocity_nodejs_g2__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.velocity_nodejs .velocity_nodejs_g2__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 158px;
  height: 158px;
  padding: 28px;
  border-radius: 23.777px;
  border: 1.321px solid rgba(223, 225, 230, 0.17);
  background: linear-gradient(179deg, #515C9D -120.61%, rgba(1, 1, 32, 0.20) 99.44%);
  box-sizing: border-box;
}

.velocity_nodejs .velocity_nodejs_g2__badge img {
  display: block;
  width: 88px;
  height: auto;
  max-height: 102px;
  object-fit: contain;
}

/* ===== CTA fold ===== */
.velocity_nodejs .velocity_nodejs_cta {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  background-color: #172a68;
  background-image: url("https://www.cloudways.com/wp-content/uploads/2026/07/g2-background-splash.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.velocity_nodejs .velocity_nodejs_cta .container {
  position: relative;
  z-index: 1;
}

.velocity_nodejs .velocity_nodejs_cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.velocity_nodejs .velocity_nodejs_cta__inner h2 {
  max-width: 648px;
  margin: 0;
  color: #fff;
}

.velocity_nodejs .velocity_nodejs_cta__btns {
  display: flex;
  align-items: center;
  gap: 23px;
  flex-shrink: 0;
}

.velocity_nodejs .velocity_nodejs_cta__btns .global_btn {
  text-decoration: none;
  min-width: auto;
  padding: 13px 24px;
  height: auto;
}

.velocity_nodejs .velocity_nodejs_cta__btns .whiteBtn {
  color: #0e0538;
}

.velocity_nodejs .velocity_nodejs_cta__btns .whiteBtn:hover,
.velocity_nodejs .velocity_nodejs_cta__btns .whiteBtn:focus {
  color: #0e0538;
  text-decoration: none;
}

.velocity_nodejs .velocity_nodejs_cta__btns .whiteBtn_outline {
  border-width: 1.17px;
}

.velocity_nodejs .velocity_nodejs_cta__btns .whiteBtn_outline:hover {
  text-decoration: none;
}

@media (max-width: 992px) {
  .velocity_nodejs .velocity_nodejs_g2 {
    padding: 48px 0 64px;
  }

  .velocity_nodejs .velocity_nodejs_g2__header {
    margin-bottom: 40px;
  }

  .velocity_nodejs .velocity_nodejs_g2__badge {
    width: 120px;
    height: 120px;
    padding: 16px;
    border-radius: 18px;
  }

  .velocity_nodejs .velocity_nodejs_g2__badge img {
    width: 68px;
  }

  .velocity_nodejs .velocity_nodejs_cta {
    padding: 48px 0;
  }

  .velocity_nodejs .velocity_nodejs_cta__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .velocity_nodejs .velocity_nodejs_cta__inner h2 {
    max-width: 100%;
    text-align: center;
  }

  .velocity_nodejs .velocity_nodejs_cta__btns {
    flex-wrap: wrap;
    width: 100%;
  }

  .velocity_nodejs .velocity_nodejs_cta__btns .global_btn {
    width: 100%;
    max-width: 320px;
  }
}
