* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.whyus-section {
  min-height: 85vh;
  background: linear-gradient(180deg, #F2E0D8, #F2E0D8);
  display: flex;
  align-items: center;
  padding: 60px 40px;
}

.whyus-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

.phone-mockup {
  position: relative;
  width: 310px;
  height: 600px;
  flex-shrink: 0;
  z-index: 5;
}

.phone-frame {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.phone-screen {
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  bottom: 15px;
  background: #FAF6F0;
  /* Changed from #000 to match invitation ivory and hide gaps */
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
}

.scroll-content {
  display: flex;
  flex-direction: column;
  animation: verticalScroll 25s linear infinite;
  will-change: transform;
  /* Hint for browser optimization */
  transform: translateZ(0);
  /* Force hardware acceleration */
  backface-visibility: hidden;
}

.scroll-content iframe {
  width: 100%;
  height: 570px;
  border: none;
  display: block;
  pointer-events: none;
  margin-top: -1px;
  /* Slight overlap to eliminate sub-pixel stretching borders */
}

@keyframes verticalScroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.whyus-content {
  color: #550216;
  max-width: 520px;
}

.whyus-content h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 28px;
}

.whyus-list {
  list-style: none;
  margin-bottom: 40px;
}

.whyus-list li {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.6;
  position: relative;
  padding-left: 22px;
}

.whyus-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #550216;
  font-size: 22px;
  line-height: 1;
}

.whyus-btn {
  display: inline-block;
  padding: 14px 34px;
  background: #E6D9D3;
  color: #550216;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whyus-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #c0b6b2;
}

@media (max-width: 992px) {
  .whyus-section {
    padding: 60px 30px;
    height: auto;
    min-height: auto;
  }

  .whyus-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .phone-mockup {
    width: 250px;
    height: 480px;
  }

  .scroll-content iframe {
    height: 450px;
  }

  .whyus-content {
    max-width: 100%;
  }

  .whyus-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .whyus-list {
    text-align: left;
    display: inline-block;
    margin-bottom: 30px;
  }

  .whyus-list li {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .scroll-content iframe {
    height: 560px;
  }

  .phone-screen {
    top: 10px;
    left: 18px;
    right: 18px;
  }
}

@media (max-width: 480px) {
  .whyus-section {
    padding: 50px 20px;
  }

  .whyus-container {
    gap: 30px;
  }

  .phone-mockup {
    width: 200px;
    height: 380px;
  }

  .scroll-content iframe {
    height: 630px;
  }

  .phone-screen {
    top: 9px;
    left: 15px;
    right: 15px;
    bottom: 15px;
  }

  .whyus-content h2 {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .whyus-list li {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .whyus-btn {
    padding: 12px 28px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }
}