* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "ClarityCity", sans-serif;
}

/* HERO */
.hero-product__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: center;
  padding: 15% 0 5% 0;
  height: fit-content;
}

.hero-product__container p:first-child {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  color: #2b2b2b;
  margin-bottom: 1%;
  width: 62%;
  line-height: 1.35;
}

.hero-product__container p:nth-child(2) {
  font-size: var(--text-md);
  color: #727272;
  width: 67%;
  line-height: 1.8;
  font-weight: var(--font-light);
}

.hero-product__container img {
  width: 55%;
  height: auto;
  margin-top: 3%;
}

/* Cloud AI */
.cloud-ai__contents {
  display: grid;
  grid-template-columns: 49% 1fr;
  margin-bottom: 9.15%;
}

.cloud-ai__title-headline--secondary {
  padding-right: 13%;
}

.cloud-ai__title-headline--secondary h2 {
  margin-bottom: 6% !important;
}

.cloud-ai__title-headline--secondary h3 {
  width: 100%;
  margin-bottom: 3% !important;
}

.cloud-ai__title-headline--secondary p {
  font-weight: var(--font-light);
  font-size: var(--text-base);
  line-height: 1.75;
  color: #2b2b2b;
  width: 95%;
}

.cloud-ai__container-sm img {
  width: 100%;
  height: auto !important;
  align-self: end;
  border-radius: 20px;
}

.cloud-ai__swiper {
  width: 100%;
}

.cloud-ai__wrapper {
    height: fit-content;
}

.cloud-ai__lists {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  /* gap: 1.5vw; */
}

.cloud-ai__box h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--blue);
  margin-bottom: 3%;
}

.cloud-ai__box p {
  font-size: var(--text-sm);
  line-height: 1.4; 
  color: #2b2b2b;
  height: calc(var(--text-base) * 1.2 * 3); 
  min-height: calc(var(--text-base) * 1.2 * 3);
  /* margin-bottom: 4%; */
  /* width: 85%;*/
  padding: 0; 
  box-sizing: border-box; 
}

/* Optional: Add placeholder content for empty <p> */
.cloud-ai__box p:empty::before {
  content: "\00a0"; 
  display: inline-block;
}

/* Cloud Platform */
.cloud-platform__section {
  background-image: var(--bg-gradient);
  margin-top: 7%;
}
.cloud-platform__container-sm {
  text-align: center;
}

.cloud-platform__headline {
  padding-top: 7%;
}

.cloud-platform__headline h3 {
  margin-bottom: 0 !important;
}

.cloud-platform__headline p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: #2b2b2b;
  margin: 1% 0 3%;
}

.cloud-platform__contents {
  display: grid;
  gap: 1vw;
  padding-bottom: 9%;
}

.cloud-platform__contents > p:first-child {
  background-color: #65f18b;
  padding: 4% 5% 4% 5%;
  border-radius: 10px;
  font-weight: var(--font-regular);
  font-size: var(--text-xl);
}

.cloud-platform__boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1vw;
}

.cloud-platform__box {
  background-color: #ced6fa;
  padding: 14% 0;
  border-radius: 10px;
  display: grid;
  gap: 0.5vw;
}

.cloud-platform__box > p:first-child {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
}

.cloud-platform__box > p:last-child {
  font-size: var(--text-base);
  color: #2b2b2b;
  font-weight: var(--font-light);
}

.cloud-platform__wrapper {
  background-color: #ced6fa;
  padding: 4% 0;
  border-radius: 10px;
  display: flex;
  gap: 0.5vw;
}

.cloud-platform__wrapper > p:first-child {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  justify-self: center;
  align-self: center;
  width: 100%;
  padding-left: 7%;
}

.cloud-platform__wrapper > p:first-child > span {
  font-weight: var(--font-regular);
}

.cloud-platform__wrapper > p:last-child {
  background-color: var(--white);
  color: #2b2b2b;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  justify-self: center;
  align-self: center;
  width: 7%;
  padding: 1% 0.5%;
  rotate: -90deg;
  border-radius: 5px;
}

.cloud-platform__contents > p:last-child {
  width: 100%;
  background-color: #e9e9e9;
  padding: 10%;
  border-radius: 10px;
  font-weight: var(--font-bold);
  font-size: var(--text-xl);
}

/* Carbon Suite */
.carbon-suite__wrapper {
  margin-top: 9%;
}
.carbon-suite__text {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 2vw;
}

.carbon-suite__slide {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 3%;
}

.carbon-suite__text > p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: #2b2b2b;
  font-weight: var(--font-light);
  width: 99%;
}

.carbon-suite__slider {
  /* margin-top: 4%; */
  display: flex;
  /* gap: 2vw; */
  will-change: transform;
}

.carbon-suite__slider img {
  align-self: center;
  object-fit: cover;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
  transform-origin: center center;
}

.js-slide-title, 
.js-slide-desc {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
}

.carbon-suite {
  width: 100%;
  height: auto;
}

.carbon-suite {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-self: center;
  width: 85.9% !important;
  overflow: hidden;
    transform: translate3d(0,0,0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.carbon-suite-buttons {
  display: flex;
  justify-content: space-between;
  position: absolute;
  height: 100%;
  width: 100%;
  align-items: center;
}

.carbon-suite-button-prev,
.carbon-suite-button-next {
  background-color: var(--white);
  color: var(--blue);
  font-size: var(--text-2xl);
  font-family: "Poppins";
  border-radius: 50%;
  border: 2px solid var(--blue);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carbon-suite-button-prev:hover {
  background-color: var(--blue);
  color: var(--white);
}

.carbon-suite-button-next:hover {
  background-color: var(--blue);
  color: var(--white);
}

.carbon-suite-buttons > .swiper-pagination {
  display: none;
}

/* .carbon-suite-button-prev,
.carbon-suite-button-next {
  width: clamp(26.76px, 2.594vw + 0.2px, 50px) !important;
  height: clamp(26.76px, 2.594vw + 0.2px, 50px) !important;
} */

/* Hardware */
.hardware__wrapper {
  margin-top: 8.7%;
}

.hardware_text {
  display: grid;
  grid-template-columns: 37% 1fr;
  gap: 0.7vw;
  margin-top: 2%;
}

.hardware_text > p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: #2b2b2b;
  font-weight: var(--font-light);
}

.hardware__contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  margin-top: 4.5%;
}


.hardware__box {
  outline: 2px solid rgba(34, 109, 255, 0.3);
  border-radius: 10px;
  padding: 10% 9% 9% 10%;
}

.hardware__box img {
  margin-bottom: 4%;
}

.hardware__box p {
  font-size: var(--text-sm);
  line-height: 1.3;
  color: #2b2b2b;
}

.hardware__dot {
  width: 26px;
  height: 26px;
  background-color: #b522b8;
  border-radius: 50%;
  margin-bottom: 8%;
}

.hardware-box__headline h2 {
  font-weight: var(--font-bold);
}

/* Customer Stories */
.customer-stories__section {
  margin: 8.3% 0;
}

.customer-stories__container {
  background-image: var(--bg-gradient);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 55.5% 1fr;
  gap: 3.8vw;
  padding: 3.4% 4.2% 7%;
}

.customer-stories__images {
  position: relative;
}

.customer-stories__images img {
  width: 100%;
  height: auto;
  border-radius:20px;
}

a.customer-stories__link {
  text-decoration: none;
  color: var(--blue);
} 

.customer-stories__boxes {
  width: 63%;
  height: 38%;
  outline: 2px solid #226dff;
  border-radius: 20px;
  display: flex;
  background: var(--white);
  position: absolute;
  left: 20%;
  bottom: -14%;
}

.customer-stories__line {
  width: 2px;
  height: 60%;
  background-color: var(--purple);
  border-radius: 10px;
  margin: 8% 2%;
}

.customer-stories__box-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.customer-stories__boxes > .customer-stories__box-headline:first-child {
  padding: 2% 8% 2% 8%;
}

.customer-stories__boxes > .customer-stories__box-headline:last-child {
  padding: 2% 3% 2% 4%;
}

.customer-stories__box-headline h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: #385aea;
  margin-bottom: 2% !important;
}

.customer-stories__box-headline p {
  font-size: var(--text-base);
  line-height: 1.2;
  color: #1e2856;
  font-weight: var(--font-light);
  width: 91%;
  text-align: center;
}

.customer-stories__headline--secondary {
  margin-top: 2%;
}

.customer-stories__headline--secondary h3 {
  margin-top: 5%;
}

.customer-stories__contents p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: #2b2b2b;
  font-weight: var(--font-light);
  margin: 3% 0 9% 0;
  width: 100%;
}

.customer-stories-button {
  width: 41%;
  height: 16%;
  padding: 0 !important;
  font-size: var(--text-xl) !important;
  cursor: pointer;
}

/* Tablet */
@media (max-width: 1024px) {
  /* Hero */
  .hero-product__container {
    padding: 13.5% 0 7.5% 0;
  }

  .hero-product__container p:first-child {
    line-height: 1.1;
    margin-bottom: 0.7%;
  }

  .hero-product__container p:nth-child(2) {
    width: 64%;
    line-height: 1.4;
  }

  .hero-product__container img {
    margin-top: 3.5%;
  }

  /* Cloud AI */

  .cloud-ai__title-headline--secondary {
    padding-right: 18%;
  }

  .cloud-ai__title-headline--secondary h2 {
    margin-bottom: 3% !important;
    font-size: var(--text-md) !important;
  }

  .cloud-ai__title-headline--secondary h3 {
    width: 100%;
    margin-bottom: 4% !important;
    line-height: 1.2 !important;
  }

  .cloud-ai__title-headline--secondary p {
    line-height: 1.4;
  }

  .cloud-ai__container-sm img {
    padding-top: 0;
  }

  .cloud-ai__contents {
    margin-bottom: 10%;
    grid-template-columns: 50% 1fr;
  }



  /* .cloud-ai__box h4 {
    margin-bottom: 3.5%;
    font-size: var(--text-md) !important;
  } */

  .cloud-ai__box h4 {
  font-size: var(--text-md) !important; /* Keep existing font size */
  line-height: 1.2;
  height: auto; /* 3 lines: font-size * line-height * 3 */
  min-height: auto; /* Ensure at least 2 lines */
  box-sizing: border-box; 
  }

  /* Optional: Add placeholder content for empty <h4> */
  .cloud-ai__box h4:empty::before {
    content: "\00a0"; /* Non-breaking space to maintain height */
    display: inline-block;
  }

  .cloud-ai__box p {
    margin-bottom: 0;
  }

  .cloud-ai__box img {
    padding-top: 0;
  }

  /* Cloud Platform */
  .cloud-platform__headline {
    padding-top: 6%;
  }
  .cloud-platform__headline h3 {
    font-size: var(--text-2xl);
    margin-bottom: 0 !important;
  }
  .cloud-platform__headline p {
    margin: 0.6% 0 3% 0;
  }

  .cloud-platform__contents > p:first-child {
    padding: 4.2%;
    font-size: var(--text-md);
  }

  .cloud-platform__box {
    padding: 13% 0;
  }

  .cloud-platform__box > p:first-child {
    font-size: var(--text-md);
  }

  .cloud-platform__wrapper {
    padding: 3.2% 0;
  }
  .cloud-platform__wrapper > p:first-child {
    font-size: var(--text-md);
  }

  .cloud-platform__wrapper > p:last-child {
    font-size: var(--text-md);
  }

  .cloud-platform__contents > p:last-child {
    padding: 9%;
    font-size: var(--text-md);
  }

  /* Carbon Suite */

  .carbon-suite__wrapper {
    gap: 6.5%;
  }
  .carbon-suite__headline h2 {
    font-size: var(--text-md) !important;
    margin-bottom: 1.4% !important;
  }

  .carbon-suite__text {
    grid-template-columns: 45% 1fr;
  }

  .carbon-suite__text h3 {
    width: 71%;
    margin-bottom: 10% !important;
    line-height: 1.2 !important;
  }

  .carbon-suite__text > p {
    width: 99%;
    line-height: 1.65;
  }

  .carbon-suite__slider {
    margin-top: 0;
  }

  .carbon-suite-button-prev,
  .carbon-suite-button-next {
    width: 26.76px !important;
    height: 26.76px !important;
  }

  /* Hardware */
  .hardware__wrapper {
    margin-top: 13.5%;
  }

  .hardware__headline h2 {
    font-size: var(--text-md) !important;
    margin-bottom: 0% !important;
  }

  .hardware_text {
    grid-template-columns: 43.5% 1fr;
    margin-top: 1.8%;
  }

  .hardware_text h3 {
    width: 80%;
  }

  .hardware_text > p {
    line-height: 1.5;
  }

  .hardware__wrapper > p {
    line-height: 1.5;
    align-self: center;
    margin-top: -2%;
  }

  .hardware__contents {
    margin-top: 3.5%;
  }

  .hardware__box {
    padding: 7% 2% 9% 11%;
    border-radius: 10px;
  }

  .hardware__dot {
    width: 14px;
    height: 14px;
    margin-bottom: 8%;
  }

  .hardware-box__headline h2 {
    font-size: var(--text-md);
  }

  .hardware__box p {
    font-size: var(--text-base);
    line-height: 1.4;
    width: 90%;
  }

  /* Customer Stories */
  .customer-stories__section {
    margin: 8% 0 7.2%;
  }
  .customer-stories__container {
    grid-template-columns: 1fr 39%;
    gap: 3.5vw;
    padding: 5% 4% 6%;
  }
  .customer-stories__headline--secondary {
    margin-top: 2%;
  }

  .customer-stories__contents {
    width: 94%;
  }

  .customer-stories__contents p {
    line-height: 1.5;
    margin: 0% 0 11% 0;
  }

  .customer-stories__images img {
    width: 100%;
  }

  .customer-stories__headline--secondary h2 {
    font-size: var(--text-md) !important;
    margin-bottom: 2% !important;
  }

  .customer-stories__headline--secondary h3 {
    margin-top: 3%;
    margin-bottom: 5% !important;
  }

  .customer-stories-button {
    font-size: var(--text-md) !important;
    width: 46%;
    height: 18%;
  }

  .customer-stories__boxes > .customer-stories__box-headline:first-child {
    padding: 2% 5% 2% 10%;
  }

  .customer-stories__boxes > .customer-stories__box-headline:last-child {
    padding: 2% 3% 2% 3%;
  }

  .customer-stories__box-headline h3 {
    margin-bottom: 2% !important;
  }

  .customer-stories__box-headline p {
    font-size: var(--text-base);
    line-height: 1.2;
  }

  .customer-stories__boxes {
    height: 36%;
    bottom: -12%;
    border-radius: 10px;
  }

  .customer-stories__line {
    width: 2px;
    height: 45px;
    background-color: var(--purple);
    border-radius: 10px;
    margin: 9% 4%;
    transition: width 0.3s ease;
    rotate: 0deg;
  }
}
/* MOBILE */
@media (max-width: 640px) {
  .hero-product__container {
    padding: 25% 0 4%;
  }

  .hero-product__container p:first-child {
    /* width: 100%; */
    width: 94%;
    line-height: 1.04;
    /* margin-bottom: 2.5%; */
    margin-bottom: 4%;
    font-size: var(--text-xl);
  }

  .hero-product__container p:nth-child(2) {
    width: 100%;
    font-size: var(--text-base);
    line-height: 1.3;
    padding: 0;
  }

  .hero-product__container img {
    width: 105%;
    margin-top: 5%;
  }

  /* Cloud AI */
  .cloud-ai__contents {
    display: grid;
    grid-template-columns: auto;
    gap: 3vw;
    margin-top: 8.5%;
  }

  .cloud-ai__title-headline--secondary {
    padding-right: 0;
  }

  .cloud-ai__title-headline--secondary h2 {
    margin-bottom: 3.5% !important;
    font-size: var(--text-md) !important;
  }

  .cloud-ai__title-headline--secondary h3 {
    width: 71%;
    line-height: 1 !important;
    margin-bottom: 3% !important;
    font-size: var(--text-lg) !important;
  }

  .cloud-ai__title-headline--secondary p {
    font-size: var(--text-base);
    line-height: 1.3;
    width: 101%;
  }

  .cloud-ai__container-sm img {
    padding-top: 0;
    height: 100%;
  }

  .cloud-ai__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .cloud-ai__swiper {
    width: 100% !important;
    position: relative;
  }

  .cloud-ai__swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    padding-top: 5%;
  }

  .cloud-ai__lists {
    gap: 0;
  }

  .swiper-slide {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    align-items: baseline;
  }

  .cloud-ai__box h4 {
    margin-bottom: 0;
    height: auto;
    min-height: auto;
  }

  .cloud-ai__box p {
    margin: 2% 0;
  }

  /* Cloud Platform */
  .cloud-platform__headline {
    padding-top: 7.9%;
  }

  .cloud-platform__headline h3 {
    font-size: var(--text-lg) !important;
    text-align: start;
    line-height: 1.2 !important;
  }

  .cloud-platform__headline p {
    font-size: var(--text-base);
    line-height: 1.3;
    text-align: start;
    margin: 1% 0 3%;
  }

  .cloud-platform__contents {
    gap: 2vw;
    padding-bottom: 11%;
  }

  .cloud-platform__contents > p:first-child {
    padding: 5% 3% 5% 3%;
    margin-top: 0;
    font-size: var(--text-md);
  }

  .cloud-platform__boxes {
    grid-template-columns: repeat(2, 1fr);
    gap: 2vw;
  }

  .cloud-platform__box {
    gap: 1.4vw;
    padding: 6% 0;
  }

  .cloud-platform__box > p:first-child {
    font-size: var(--text-md);
  }

  .cloud-platform__box > p:last-child {
    font-size: var(--text-base);
  }

  .cloud-platform__wrapper {
    padding: 8% 0;
  }

  .cloud-platform__wrapper > p:first-child {
    font-size: var(--text-md);
    width: 100%;
    padding-left: 17%;
  }

  .cloud-platform__wrapper > p:last-child {
    font-size: var(--text-md);
    padding: 1% 1%;
    width: 14%;
    margin-left: 7%;
  }

  .cloud-platform__contents > p:last-child {
    font-size: var(--text-md);
    padding: 15.5% 0;
  }

  /* Carbon Suite */
  .carbon-suite__wrapper {
    margin-top: 11%;
  }

  .carbon-suite__text {
    display: flex;
    flex-direction: column;
  }

  .carbon-suite__headline h2 {
    font-size: var(--text-md) !important;
    margin-bottom: 3% !important;
  }

  .carbon-suite__headline h3 {
    font-size: var(--text-lg) !important;
    width: 100%;
    margin-bottom: 0.5% !important;
  }

  .carbon-suite {
    width: 100% !important;
  }

  .carbon-suite__text > p {
    line-height: 1.4;
    margin: 3% 0;
  }

  .carbon-suite__wrapper > p {
    font-size: clamp(13px, 1vw, 18px);
    line-height: 1.5;
    margin-top: 0.5rem;
  }

  .carbon-suite__slider {
    display: none;
  }

  .carbon-suite__slide > .carbon-suite-buttons > p {
    display: none;
  }

  .carbon-suite__slide > .carbon-suite-buttons {
    align-items: end;
    position: relative;
    margin-top: 3%;
  }

  .carbon-suite-buttons > .swiper-pagination {
    position: relative;
    display: block;
    bottom: 0 !important;
  }

  /* Hardware */
  .hardware__wrapper {
    margin-top: 11%;
  }

  .hardware_text {
    display: flex;
    flex-direction: column;
  }

  .hardware__headline h2 {
    font-size: var(--text-md) !important;
    margin-bottom: 4% !important;
  }

  .hardware__headline h3 {
    font-size: var(--text-lg) !important;
    width: 100%;
    margin-bottom: 2.2% !important;
  }

  .hardware_text > p {
    line-height: 1.4;
  }

  .hardware__box {
    padding: 5.5% 0% 8% 4%;
  }

  .hardware__contents {
    grid-template-columns: auto;
    gap: 7vw;
    margin-top: 9%;
  }

  .hardware__dot {
    width: 22px;
    height: 22px;
    margin-bottom: 1rem;
  }

  .hardware-box__headline h2 {
    font-size: var(--text-md) !important;
    margin-bottom: 0.5rem;
  }

  .hardware__box p {
    line-height: 1.3;
    width: 97%;
  }

  /* Customer Stories */
  .customer-stories__section {
    margin: 12% 0;
  }

  .customer-stories__container {
    grid-template-columns: auto;
    gap: 20vw;
    padding: 8% 4% 15%;
  }

  .customer-stories__images img {
    width: 100%;
  }

  .customer-stories__boxes {
    outline: 2px solid #226dff;
    border-radius: 10px;
    display: flex;
    background: var(--white);
    position: absolute;
    left: 14%;
    bottom: -27%;
    height: 51%;
    width: 73%;
  }

  .customer-stories__boxes > .customer-stories__box-headline:first-child {
    width: 76%;
  }

  .customer-stories__boxes > .customer-stories__box-headline:last-child {
    width: 82%;
  }

  .customer-stories__line {
    width: 4px;
    height: 61%;
    margin: 9% 4%;
    rotate: 0deg;
  }

  .customer-stories__box-headline h3 {
    font-size: var(--text-lg) !important;
  }

  .customer-stories__box-headline p {
    font-size: var(--text-sm) !important;
    width: 100%;
    line-height: 1.5;
  }

  .customer-stories__headline--secondary h2 {
    font-size: var(--text-md) !important;
  }

  .customer-stories__headline--secondary h3 {
    font-size: var(--text-lg) !important;
    margin-bottom: 3% !important;
  }

  .customer-stories__contents p {
    line-height: 1.3;
    width: 100%;
    margin: 0 0 5%;
  }

  .customer-stories-button {
    width: 50%;
    height: 23%;
    font-size: clamp(16px, 1vw, 24px) !important;
  }
}