@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

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

body {
  font-family: 'Poppins', sans-serif;
  background: #f6f2fa;
  color: #222;
}

/* COMMON */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

h1, h2 {
  font-weight: 700;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #4a148c, #7b1fa2);
  color: #fff;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero-grid {
  display: grid;
  gap: 40px;
}

.logo {
  width: 90px;
  margin-bottom: 20px;
  animation: pop 0.8s ease;
}

.hero-text h1 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.hero-text p {
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 25px;
}

.play-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #ffd54f;
  color: #4a148c;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.play-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hero-phone img {
  width: 100%;
  max-width: 380px;
  display: block;
  margin: auto;
  animation: float 4s ease-in-out infinite;
}

/* FEATURES */
.features {
  background: #fff;
}

.features h2 {
  text-align: center;
  color: #6a1b9a;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  gap: 25px;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.feature-card span {
  font-size: 2.5rem;
}

.feature-card h3 {
  margin: 15px 0 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
}

.feature-card:hover {
  transform: translateY(-8px);
}

/* SCREENSHOTS */
.screenshots {
  background: #f6f2fa;
}

.screenshots h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #6a1b9a;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.carousel img {
  width: 240px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  flex-shrink: 0;
  transition: 0.3s;
}

.carousel img:hover {
  transform: scale(1.05);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px;
  font-size: 0.85rem;
  color: #777;
}

/* ANIMATIONS */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

@keyframes pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* TABLET */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }
}

.secondary-btn {
  display: inline-block;
  margin-top: 15px;
  color: #fff;
  text-decoration: underline;
  font-size: 0.95rem;
}

.footer a {
  color: #6a1b9a;
  text-decoration: none;
  margin: 0 5px;
}

.footer a:hover {
  text-decoration: underline;
}
