/* RESET & FONT */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {

  font-family: 'Poppins', sans-serif;
  background: #f7eee8;
  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: #c99f84;
}

.brand {
  font-weight: 700;
  font-size: 1.6rem;
  color: #a86e56;
  letter-spacing: 1px;
}

/* HEADER */
header {
  background: linear-gradient(135deg, #c99f84, #a86e56);
  color: white;
  padding: 100px 20px 80px;
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

.logo-cleanify {
  width: 120px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  margin-bottom: 25px;
  animation: fadeInDown 0.8s ease;
}

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: #c99f84;
  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(201, 159, 132, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-download:hover {
  background: #a86e56;
  transform: translateY(-3px);
}

.download-center {
  text-align: center;
  margin-top: 30px;
}

.download-center p {
  font-size: 1.1rem; /* sama dengan gaya teks QR */
  margin-bottom: 15px;
}

.download-center img {
  height: 60px;
  transition: transform 0.2s ease;
}

.download-center img:hover {
  transform: scale(1.05);
}

/* 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;
}

.video-section {
  text-align: center;
  margin: 50px auto;
  max-width: 800px;
  padding: 20px;
}

.video-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* rasio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.feature {
  margin-bottom: 60px;
}

.fitur-utama {
  margin-bottom: 60px;
}

.testimoni {
  margin-bottom: 60px;
}

/* FITUR */
.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: #c99f84;
  margin-bottom: 15px;
}

.fitur-box h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.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);
}

@keyframes autoScroll {
  0% { transform: translateX(0); }
  16.66% { transform: translateX(-100%); }
  33.32% { transform: translateX(-200%); }
  49.98% { transform: translateX(-300%); }
  66.64% { transform: translateX(-400%); }
  83.3% { transform: translateX(-500%); }
  100% { transform: translateX(-600%); }
}

/* TENTANG KAMI */
#tentang-kami h2 {
  font-weight: 700;
  margin-bottom: 20px;
  margin-left: -20px;
  text-align: left;
  scroll-margin-top: 100px;
}

/* TESTIMONI */
.testimoni h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.testimoni .fitur-box {
  background: #fdf9f4;
  border-left: 5px solid #c99f84;
}

/* FAQ */
.faq {
  margin-top: 50px;
}

.faq-item {
  margin-bottom: 25px;
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.faq h3 {
  font-size: 1.1rem;
  color: #a86e56;
  margin-bottom: 10px;
}

/*HUBUNGI KAMI */
#hubungi-kami {
  max-width: 700px;
  margin: 80px auto;
  padding: 20px;
}

#hubungi-kami h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #a8876f; /* cokelat manis */
  box-shadow: 0 0 0 3px rgba(168, 135, 111, 0.1);
}

.btn-send {
  background: #a8876f;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-send:hover {
  background: #8c705a;
}

/* FOOTER */
footer {
  background: #a86e56;
  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%;
  }
}

/* ANIMATION */
@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);
  }
}

.bubble-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; 
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -100px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  border-radius: 50%;
  animation: rise 10s infinite ease-in;
}

.bubble:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
  width: 15px;
  height: 15px;
}
.bubble:nth-child(2) {
  left: 25%;
  animation-duration: 12s;
}
.bubble:nth-child(3) {
  left: 40%;
  animation-duration: 10s;
  width: 25px;
  height: 25px;
}
.bubble:nth-child(4) {
  left: 55%;
  animation-duration: 9s;
}
.bubble:nth-child(5) {
  left: 70%;
  animation-duration: 11s;
  width: 18px;
  height: 18px;
}
.bubble:nth-child(6) {
  left: 85%;
  animation-duration: 13s;
}

@keyframes rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-120vh) scale(1.5);
    opacity: 0;
  }
}

#info-app {
  max-width: 720px;
  margin: 60px auto;
  padding: 40px 30px;
  background-color: #fdf6f0;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(165, 124, 82, 0.15);
  font-family: 'Poppins', sans-serif;
  color: #5b4a2e;
}

#info-app h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
  color: #7f5f31;
}

#info-app ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px 40px;
  padding-left: 0;
  list-style: none;
}

#info-app ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e2d7c9;
  font-size: 1.1rem;
  color: #5b4a2e;
  transition: background-color 0.3s ease;
}

#info-app ul li:last-child {
  border-bottom: none;
}

#info-app ul li strong {
  font-weight: 600;
  margin-left: 12px;
  flex: 1 1 auto;
}

#info-app ul li span {
  flex-shrink: 0;
  font-weight: 400;
  max-width: 50%;
  text-align: right;
  color: #7f6b44;
  word-wrap: break-word;
}

/* Icon styling */
#info-app ul li i {
  color: #a57c52;
  font-size: 1.4rem;
  min-width: 24px;
}

/* Responsive tweak */
@media (max-width: 600px) {
  #info-app ul {
    grid-template-columns: 1fr;
  }
  #info-app ul li span {
    max-width: 60%;
  }
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  color: white;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #f4c2c2; /* efek hover */
}

.social-links i {
  font-size: 1.2rem;
}
