/* ---------- FONT ---------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* ---------- BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #f3d8ff, #ecd9ff);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2b2035;
}

/* ---------- HERO LAYOUT ---------- */
.hero {
  width: 100%;
  max-width: 1440px;
  padding: 4rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

/* LEFT SIDE: PHONE */
.phone-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  width: 420px;
  max-width: 100%;
  transform: rotate(-15deg);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.25));
}

/* RIGHT SIDE: CONTENT */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;       /* CENTER EVERYTHING */
  text-align: center;
  gap: 2.5rem;               /* spacing between elements */
}

.logo {
  width: 380px;
  height: auto;
}

.tagline {
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #5b4a66;
}

/* ---------- STORE BUTTONS ---------- */
.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;                 /* perfect spacing */
  margin-top: 0.5rem;
}

.store-btn {
  width: 210px;              /* SAME SIZE for both */
  height: 70px;
  
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.store-btn img {
  width: 80%;               /* same scaling */
  height: auto;
  object-fit: contain;
}

.store-btn:hover {
  transform: scale(1.07);
  filter: brightness(1.2);
}

/* ---------- FLOATING ANIMATIONS ---------- */
@keyframes floatPhone {
  0%, 100% { transform: rotate(-15deg) translateY(0); }
  50%     { transform: rotate(-15deg) translateY(-12px); }
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

.float-phone {
  animation: floatPhone 6s ease-in-out infinite;
}

.float-logo {
  animation: floatLogo 8s ease-in-out infinite;
}

/* ---------- FADE-IN ON SCROLL ---------- */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }

  .phone {
    width: 340px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 2rem 1.5rem;
  }

  .phone {
    width: 280px;
    transform: rotate(-10deg);
  }

  .logo {
    width: 300px;
  }

  .store-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .store-btn {
    width: 230px;
    height: 70px;
  }
}
