/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: #F5F2EC;
    border-bottom: 2px solid #9E9E9E;
  }
  
  /* LOGO IMAGE */
  .logo img {
    height: 62px;      /* atur sesuai kebutuhan */
    width: auto;
    display: block;
  }
  
  /* MENU */
  .nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
  }
  
  .nav-menu li a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    position: relative;
  }
  
  /* HOVER UNDERLINE */
  .nav-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
  }
  
  .nav-menu li a:hover::after {
    width: 100%;
  }
  
  /* BUTTON UNDUH */
  .nav-menu .unduh a {
    padding: 10px 20px;
    border: 1px solid #000;
    border-radius: 30px;
  }
  
  .nav-menu .unduh a::after {
    display: none;
  }
  
  .nav-menu .unduh a:hover {
    background: #000;
    color: #fff;
  }

  /* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 3px;
}

/* MOBILE */
@media (max-width: 576px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    right: 5%;
    background: #F5F2EC;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }
}

  


/* HERO */
.hero {
    padding: 80px 10% 60px;
    background: #F5F2EC;
  }
  
  /* MAIN HERO CONTENT */
  .hero-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 40px;
  }
  
  .hero-text {
    max-width: 70%;
  }
  
  .hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
  }
  
  .title-top {
    color: #000;
    font-weight: 700;
  }
  
  .title-bottom {
    color: #FFD700;
    font-weight: 700;
  }
  
  .hero-text p {
    max-width: 60%;
    margin: 20px 0 30px;
    font-size: 16px;
    color: black;
  }
  
  .btn-download-app {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 14px 20px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .btn-download-app:hover {
    background: #222;
  }
  
  /* TEXT */
  .btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  
  .small-text {
    font-size: 12px;
    color: #bbb;
  }
  
  .big-text {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
  }
  
  /* ICON */
  .btn-icon {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn-icon img {
    width: 20px;
    height: 20px;
  }
  
  
  /* IMAGE */
  .hero-image img {
    width: 480px;
    height: 550px;
    margin-left: 5%;
  }
  
  /* FEATURES INSIDE HERO */
  .hero-features {
    display: flex;
    gap: 30px;
    justify-content: flex-start; /* ALIGN KIRI */
  }
  
  .feature-item {
    max-width: 280px;
  }
  
  .feature-item img {
    width: 60px;
    margin-bottom: 15px;
  }
  
  .feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .feature-item p {
    font-size: 14px;
    color: #666;
  }


/* PROBLEM SECTION */
.problem {
    padding: 80px 10%;
    background: #ffffff;
}

.problem-content {
      background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
  }
  
  /* LEFT TEXT */
  .problem-text {
    max-width: 70%;
  }
  
  .problem-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
  }
  
  .problem-black {
    color: #000;
  }
  
  .problem-yellow {
    color: #FFD700;
    margin-left: 10px;
  }
  
  /* LIST */
  .problem-list {
    list-style: none;
    max-width: 65%;
  }
  
  .problem-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
  }
  
  .problem-item img {
    width: 100px;
    height: 100px;
  }
  
  /* TEXT STACK */
  .problem-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
  }
  
  .problem-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
  }
  
  /* RIGHT IMAGE */
  .problem-image img {
    width: 400px;
  }


  /* FITUR */
  

  .features-main {
    padding: 0 5%;
    background: #F5F2EC;
    text-align: center;
  }
  
  .features-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
  }
  
  /* WRAPPER */
  .features-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  /* CONTAINER */
  .features-container {
    display: flex;
    gap: 24px;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  
  /* CARD */
  .feature-card {
    flex: 0 0 calc(100% / 3);
    background: #f9f9f9;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  }
  
  .feature-card img {
    width: 70px;
    margin-bottom: 20px;
  }
  
  .feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .feature-card p {
    font-size: 14px;
    color: #666;
  }
  
  /* NAV BUTTON */
  .nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 100px;
    height: 100px;
  }
  
  .nav-btn img {
    width: 100%;
  }
  
  /* BOTTOM LINE */
  .features-line {
    margin: 60px auto 0;
    width: 50%;
    height: 3px;
    background: #000;
  }
  
  /* ================= RESPONSIVE ================= */
  
  /* TABLET */
  @media (max-width: 992px) {
    .feature-card {
      flex: 0 0 calc(100% / 2);
    }
  }
  
  /* MOBILE */
  @media (max-width: 576px) {
    .features-wrapper {
      gap: 10px;
    }
  
    .feature-card {
      flex: 0 0 100%;
    }
  
    .nav-btn {
      display: none; /* swipe only */
    }
  
    .features-container {
      overflow-x: auto;
      scroll-snap-type: x mandatory;
    }
  
    .feature-card {
      scroll-snap-align: start;
    }
  }



  /* HOW IT WORKS */
/* SECTION */
.how-section {
    padding: 80px 10%;
    background: #F5F2EC;
  }
  
  /* CONTAINER */
  .how-box {
    background: #FFD97A;
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
  }
  
  /* IMAGE */
  .how-image img {
    width: 100%;
    max-width: 360px;
  }
  
  /* CONTENT */
  .how-content {
    max-width: 600px;
  }
  
  .how-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
  }
  
  /* LIST */
  .how-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  
  /* ITEM */
  .how-item {
    display: flex;
    gap: 24px;
  }
  
  /* ICON + LINE */
  .icon-wrapper {
    position: relative;
    width: 48px;
  }
  
  .icon-wrapper img {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 2;
  }
  
  /* CONNECT LINE */
  .icon-wrapper .line {
    position: absolute;
    top: 52px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 38px;
    background: #000;
  }
  
  /* TEXT */
  .how-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
  }
  
  .how-text p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
  }
      
  

  .footer {
    background: #F5F2EC;
    color: black;
    padding: 80px 10% 30px;
  }
  
  /* MAIN FOOTER */
  .footer-container {
    display: flex;
    gap: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
  }
  
  /* LOGO */
  .footer-logo img {
    width: 240px;
  }
  
  /* CONTENT GRID */
  .footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 80px;
  }
  
  /* GROUP */
  .footer-group h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
  }
  
  .footer-group p {
    font-size: 12px;
    color: #000;
    line-height: 1.7;
  }
  
  /* COPYRIGHT */
  .footer-bottom {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: #888;
  }
  

  /* ================= GLOBAL RESPONSIVE ================= */

/* TABLET */
@media (max-width: 992px) {

  /* NAVBAR */
  .navbar {
    padding: 16px 5%;
  }

  .nav-menu {
    gap: 20px;
  }

  /* HERO */
  .hero-main {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text p {
    max-width: 100%;
    margin: 20px auto 30px;
  }

  .hero-image img {
    width: 360px;
    height: auto;
    margin: 40px auto 0;
  }

  .hero-features {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* PROBLEM */
  .problem-content {
    flex-direction: column;
  }

  .problem-text,
  .problem-list {
    max-width: 100%;
  }

  .problem-image img {
    width: 320px;
    margin-top: 40px;
  }

  /* HOW IT WORKS */
  .how-box {
    flex-direction: column;
    padding: 40px;
    text-align: center;
  }

  .how-content {
    max-width: 100%;
  }

  .how-item {
    align-items: flex-start;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 576px) {

  /* NAVBAR */
  .navbar {
    padding: 14px 5%;
  }

  .nav-menu {
    display: none; /* nanti bisa ditambah hamburger */
  }

  /* HERO */
  .hero {
    padding: 60px 5% 40px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .btn-download-app {
    justify-content: center;
    width: 100%;
  }

  .hero-image img {
    width: 100%;
    max-width: 300px;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .feature-item {
    text-align: center;
  }

  /* PROBLEM */
  .problem {
    padding: 60px 5%;
  }

  .problem-text h2 {
    font-size: 28px;
    text-align: center;
  }

  .problem-item {
    flex-direction: column;
    text-align: center;
  }

  .problem-item img {
    margin: 0 auto;
  }

  /* FEATURES SLIDER */
  .features-main {
    padding: 40px 5%;
  }

  .features-title {
    font-size: 26px;
  }

  /* HOW IT WORKS */
  .how-section {
    padding: 60px 5%;
  }

  .how-title {
    font-size: 26px;
  }

  .how-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .icon-wrapper .line {
    display: none;
  }

  /* FOOTER */
  .footer {
    padding: 60px 5% 30px;
  }

  .footer-logo img {
    width: 180px;
    margin: 0 auto;
  }

  .footer-bottom {
    font-size: 12px;
  }
}
