/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* ===== BODY ===== */
body {
  background: #f7f7f7;
  color: #333;
  scroll-behavior: smooth;
}

body.dark {
  background: #111;
  color: #eee;
}

/* ===== HEADER ===== */
header {
  background: #44D5CC;
  color: white;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* === LOGO TEXT FIX === */
.logo span {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.8px;
  color: white;
  line-height: 1;
}

/* Optional: gradient logo text */
/*
.logo span {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  background: linear-gradient(90deg, #44D5CC, #36b8b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
*/

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.header-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.btn.daftar {
  background: white;
  color: #44D5CC;
}

.btn.login {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.theme-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.carousel img.active {
  opacity: 1;
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  text-align: center;
  color: white;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  line-height: 1.3;
}

.hero-overlay p {
  margin-top: 10px;
  font-size: 1.1rem;
}

/* ===== BUTTON HERO ===== */
.hero-ctas {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cta-btn {
  padding: 12px 22px;
  border-radius: 12px;
  background: #44D5CC;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.btn.ghost {
  border: 2px solid white;
  color: white;
  background: transparent;
}

/* ===== SECTIONS ===== */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* FIX: Jarak fitur → manfaat */
#fitur {
  margin-bottom: 20px;
}

#manfaat {
  padding-top: 10px;
  margin-top: 0;
}

/* ===== GRID FITUR & MANFAAT ===== */
.fitur-container, .manfaat-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 35px;
}

/* ===== CARD INTERAKTIF ===== */
.fitur-card, .manfaat-card {
  background: #fff;
  border: 1px solid #44D5CC;
  border-radius: 16px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.fitur-card:hover, .manfaat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.fitur-card:active, .manfaat-card:active {
  transform: scale(0.98) translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.icon {
  font-size: 28px;
  margin-bottom: 10px;
}

body.dark .fitur-card,
body.dark .manfaat-card {
  background: #1e1e1e;
}

/* ===== FOOTER ===== */
footer {
  background: #44D5CC;
  color: white;
  text-align: center;
  padding: 40px 20px 25px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-inner p {
  margin: 5px 0;
}

.hubungi-btn {
  background: #25D366;
  padding: 10px 18px;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  margin: 8px 0;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.hubungi-btn:hover {
  transform: translateY(-3px);
  background: #1ebe5d;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    gap: 10px;
  }

  .hero-overlay h1 {
    font-size: 1.7rem;
  }

  .hero-carousel {
    height: 75vh;
  }

  .fitur-container,
  .manfaat-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== HAMBURGER MENU (MOBILE) ===== */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

/* Tampilkan tombol & ubah layout saat mobile */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
  }

  nav {
    display: none;
    flex-direction: column;
    background: #44D5CC;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  nav a {
    display: block;
    padding: 10px 0;
    font-size: 1.1rem;
  }

  nav.show {
    display: flex;
  }

  /* Sembunyikan tombol daftar/login di baris bawah biar rapi */
  .header-buttons {
    margin-top: 10px;
  }
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== DELAY ANIMASI UNTUK FITUR & MANFAAT ===== */
.fitur-card:nth-child(1),
.manfaat-card:nth-child(1) {
  transition-delay: 0.1s;
}

.fitur-card:nth-child(2),
.manfaat-card:nth-child(2) {
  transition-delay: 0.25s;
}

.fitur-card:nth-child(3),
.manfaat-card:nth-child(3) {
  transition-delay: 0.4s;
}




