/* RESET & FONT */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #daf0ef;
  color: #2c3e50;
  line-height: 1.7;
}

/* NAVIGATION */
nav {
  background: #fff;
  padding: 18px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #1abc9c;
}

.brand {
  font-weight: 700;
  font-size: 1.6rem;
  color: #16a085;
  letter-spacing: 1px;
}

/* HEADER */
header {
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: white;
  padding: 100px 20px 80px;
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  animation: fadeInUp 1s ease;
}

.subtitle {
  max-width: 600px;
  margin: auto;
  font-size: 1.15rem;
  opacity: 0.95;
  animation: fadeInUp 1.2s ease;
}

/* SECTIONS */
section {
  max-width: 960px;
  margin: auto;
  padding: 60px 20px;
}

/* BUTTON */
.btn-download {
  background: #1abc9c;
  color: #fff;
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 0%;
  box-shadow: 0 5px 20px rgba(26, 188, 156, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-download:hover {
  background: #16a085;
  transform: translateY(-3px);
}

/* QR SECTION */
.qr-section {
  text-align: center;
  margin-top: 30px;
}

.qr-section img {
  width: 170px;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #ddd;
  background: #fff;
}

/* FITUR */
.feature,
.fitur-utama {
  margin-bottom: 60px;
}

.fitur-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.fitur-box {
  background: #fff;
  flex: 1 1 280px;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fitur-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.fitur-box i {
  font-size: 2.6rem;
  color: #1abc9c;
  margin-bottom: 15px;
}

.fitur-box h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

/* CAROUSEL */
.app-preview-carousel {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-behavior: smooth;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.app-preview-carousel img {
  width: 180px;
  flex-shrink: 0;
  border-radius: 12px;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  cursor: grab;
}

.app-preview-carousel img:hover {
  transform: scale(1.05);
}

/* ANIMATIONS */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ONOMATOPOEIA BACKGROUND */
.onomatopoeia-background {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 2vw;
  padding: 2vw;
  opacity: 0.07;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  font-weight: bold;
  font-size: 3vw;
  color: #16a085;
  user-select: none;
}

.onomatopoeia-background span {
  display: inline-block;
  animation: floatRotate 20s linear infinite;
  transform-origin: center;
  margin: 0 1vw 1vw 0;
  user-select: none;
  cursor: default;
}

@media (max-width: 768px) {
  .onomatopoeia-background {
    font-size: 5vw;
    padding: 4vw;
    gap: 4vw;
  }
}

@keyframes floatRotate {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10%) rotate(10deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* FOOTER */
footer {
  background: #16a085;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
  margin-top: 60px;
  box-shadow: inset 0 5px 12px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .fitur-grid,
  .app-preview {
    flex-direction: column;
    align-items: center;
  }

  header h1 {
    font-size: 2.2rem;
  }

  .btn-download {
    width: 100%;
  }
}