.hero {
  background: var(--bg-dark);
  padding: clamp(40px, 8vw, 80px) 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  color: #ffffff;
}

.hero-subtitle {
  color: #cccccc;
  margin-bottom: 2em;
  font-size: clamp(18px, 2.5vw, 20px);
  line-height: 1.65;
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 2em;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(17px, 2.5vw, 19px);
  color: #cccccc;
  font-weight: 500;
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-green { background: #ffba00; }
.dot-blue { background: #7b2cbf; }

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 350px;
  height: 640px;
  border-radius: 32px;
  padding: 20px;
  display: flex;
  justify-content: center;
  background-size: cover;       /* or 'contain' depending on desired effect */
  background-position: center;  /* centers the image */
  background-repeat: no-repeat; /* prevents tiling */
  background-image: url('/assets/images/phone.png');
  align-items: center;
}

.rotating-word {
  color: var(--primary-yellow);
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
  min-width: 140px;
}

.rotating-word span {
  display: inline-block;
  animation: rollUp 0.6s ease-in-out;
}

@keyframes rollUp {
  0% {
      transform: translateY(-100%);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

.phone-mockup,
.phone-mini {
  will-change: transform;
}

.qr-section img {
  width: 200px;
  height: 200px;
}

/* MOBILE - Extra Small (up to 480px) */
@media (max-width: 480px) {
  .hero-content {
      grid-template-columns: 1fr;
      gap: 2em;
      text-align: center;
  }

  .trust-badges {
      grid-template-columns: 1fr;
      gap: 12px;
  }

  .trust-badge {
      justify-content: center;
  }

  .phone-mockup {
      width: 240px;
      height: 480px;
      padding: 16px;
  }

  .phone-screen {
      width: 208px;
      height: 448px;
  }
}

/* TABLET - Small to Medium (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {

  .hero-content {
      grid-template-columns: 1fr;
      gap: 2.5em;
      text-align: center;
  }

  .trust-badges {
      grid-template-columns: repeat(2, 1fr);
  }

  .phone-mockup {
      width: 280px;
      height: 560px;
  }

  .phone-screen {
      width: 240px;
      height: 520px;
  }
}

/* TABLET to DESKTOP - Medium (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content {
      gap: 3em;
  }
}