/* =========================
   UAVA Device Full Potential Block - Mobile-First CSS
   Performance Optimized
   ========================= */

/* =========================
   Block Container
   ========================= */
.uava-device-potential-block {
  background: #FFF;
  position: relative;
  width: 100%;
  padding: 48px 16px;
  overflow: hidden;
  contain: layout style paint;
}

/* Content container */
.uava-device-potential-block__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

/* =========================
   Header Section
   ========================= */
.uava-device-potential-block__header {
  text-align: center;
}

.uava-device-potential-block__title {
  margin: 0 0 10px;
  color: #1B1B1B;
  text-align: center;
  font-family: Futura, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

.uava-device-potential-block__subtitle {
  margin: 0;
  color: #1B1B1B;
  text-align: center;
  font-family: Futura, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

/* =========================
   Main Content - Mobile First (Stacked)
   ========================= */
.uava-device-potential-block__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =========================
   Features Section
   ========================= */
.uava-device-potential-block__features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Individual Feature */
.uava-device-potential-block__feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.uava-device-potential-block__feature-title {
  margin: 0;
  color: #000;
  font-family: Futura, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
}

.uava-device-potential-block__feature-body {
  margin: 0;
  color: #333;
  font-family: Futura, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}

/* Feature Rich Text Content */
.uava-device-potential-block__feature-content {
  color: #1B1B1B;
  font-family: Futura, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;

  ul {
    margin: 0;
      li {
      padding-bottom: 0;
      
      color: #1B1B1B;
      font-family: Futura, sans-serif;
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 24px;
      }
  }
}

.uava-device-potential-block__feature-content h2 {
  margin-top: 24px;
  margin-bottom: 8px;
  color: #1B1B1B;
  font-family: Futura, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  box-sizing: border-box;
}

.uava-device-potential-block__feature-content h2:first-child {
  margin-top: 0;
}

.uava-device-potential-block__feature-content strong {
  font-weight: 700;
}

.uava-device-potential-block__feature-content p {
  margin: 0 0 24px;
  box-sizing: border-box;

  color: #1B1B1B;
  font-family: Futura, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.uava-device-potential-block__feature-content p:last-child {
  margin-bottom: 0;
}

/* =========================
   App Store Links
   ========================= */
.uava-device-potential-block__app-links {
  display: flex;
  flex: 1;
  gap: 14px;
  width: 100%;
}

.uava-device-potential-block__app-link {
  display: block;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.uava-device-potential-block__app-link:hover {
  opacity: 0.8;
}

.uava-device-potential-block__app-link img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  /* Performance: Optimize image rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* =========================
   Screenshot Image
   ========================= */
.uava-device-potential-block__image-container {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.uava-device-potential-block__screenshot {
  margin: 0;
  width: 100%;
  max-width: 726px;
  height: auto;
  display: block;
  object-fit: contain;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================
   Tablet & Desktop - Two Column Layout
   ========================= */
@media (min-width: 768px) {
  .uava-device-potential-block {
    padding: 60px 48px;
  }

  .uava-device-potential-block__title {
    font-size: 32px;
    line-height: 40px;
  }

  .uava-device-potential-block__subtitle {
    max-width: 640px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 32px;
  }

  .uava-device-potential-block__main {
    flex-direction: row;
    align-items: end;
    gap: 110px;
  }

  .uava-device-potential-block__image-container {
    order: 1;
  }

  .uava-device-potential-block__features {
    order: 0;
    width: 70%;
  }

  .uava-device-potential-block__feature-title {
    font-size: 20px;
    line-height: 28px;
  }

  .uava-device-potential-block__feature-body,
  .uava-device-potential-block__feature-content {
    font-size: 16px;
    line-height: 24px;
  }

  .uava-device-potential-block__app-links {
    gap: 24px;
  }
}

@media (min-width: 1700px) {
  .uava-device-potential-block {
    width: 100vw;
    margin-left: calc((1700px - 100vw) / 2);
    margin-right: calc((1700px - 100vw) / 2);
  }
}