/* style.css */

* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: "Helvetica", sans-serif;
  color: #fff;
}

.social-media-post {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

/* Background image fills entire container */
.cubitrek-UI {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Main content wrapper: flex layout */
.content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  height: 100%;
  padding: 40px 60px;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

/* Left side: text content */
.text-content {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* AI APPS text */
.AI-apps {
  font-family: "Unbounded-Medium", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 50px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 43%,
    rgba(153, 153, 202, 0.79) 81%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  margin-bottom: 10px;
}

/* Divider image below AI APPS heading */
.divider-img {
  width: 100%;
  max-width: 420px;
  margin-bottom: 30px;
  user-select: none;
  object-fit: contain;
  display: block;
}

/* Description text */
.description {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 30px;
  max-width: 420px;
  color: #fff;
}

/* Frame container */
.frame {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.img-divided {
  width: 50px;
  height: 80px;
  object-fit: contain;
  user-select: none;
}

.intelligence-in {
  font-family: "Unbounded-Medium", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  user-select: none;
}

/* Images row below frame */
.images-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.frame-2,
.frame-3,
.image {
  width: 54px;
  height: 54px;
  object-fit: contain;
  user-select: none;
}

.frame-2 {
  margin-right: 10px;
}

/* Right side: images */
.image-content {
  flex: 1;
  position: relative;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.illustration {
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: contain;
  user-select: none;
}

/* Small icons and other elements */
.asset {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 36px;
  height: 36px;
  object-fit: contain;
  z-index: 15;
}

.component {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 39px;
  height: 39px;
  object-fit: contain;
  z-index: 15;
}

.si-expand-more {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 58px;
  height: 58px;
  transform: rotate(-90deg);
  z-index: 15;
  cursor: pointer;
}

.vector {
  width: 75%;
  height: 75%;
  top: 12%;
  left: 12%;
  position: relative;
  transform: rotate(90deg);
}



/* Responsive adjustments */
@media (max-width: 1024px) {
  .content-wrapper {
    margin-top: 70px;
    flex-direction: column;
    padding: 20px 30px;
    gap: 30px;
    max-width: 100vw;
    height: auto;
  }

  .text-content,
  .image-content {
    max-width: 100%;
  }

  .AI-apps {
    font-size: 2.4rem;
  }

  .description {
    font-size: 1rem;
    max-width: 100%;
  }

  .images-row {
    margin-top: 20px;
    justify-content: flex-start;
  }

  .img-divided {
    width: 60px;
    height: 60px;
  }

  .asset {
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
  }

  .component {
    top: 20px;
    left: 20px;
    width: 28px;
    height: 28px;
  }

  .si-expand-more {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .div-user-select-none {
    width: 300px;
    top: 23%;
  }
}

@media (max-width: 480px) {
  .AI-apps {
    font-size: 2rem;
  }

  .description {
    font-size: 0.9rem;
  }

  .img-divided {
    width: 50px;
    height: 50px;
  }

  .text-content {
    padding: 0 10px;
  }

  .image-content {
    padding: 0 10px;
  }
}
