* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(to bottom, #ffffffff, #eaf0fd);
    text-align: center;
    padding: 20px;
    overflow-x: hidden;
}

.brand {
  font-size: 0.9em;
  font-weight: bold;
  background: -webkit-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: -moz-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: -o-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: linear-gradient(to right, #2196f3, #e665f6f6, #64b5f6);
  background-size: 500%; /* Ukuran lebih besar agar animasi terlihat */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 10s ease-in infinite;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Tambahkan bayangan agar lebih menonjol */
    border: 1px solid rgba(255, 255, 255, 0.6); /* Tambahkan border agar terlihat lebih jelas */
    max-width: 900px;
    margin: 5px auto;
    position: sticky;
    top: 10px;
    z-index: 1000;
}

.header h1, .footer-brand h2 {
  font-size: 1.2em;
  font-weight: bold;
  background: -webkit-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: -moz-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: -o-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: linear-gradient(to right, #2196f3, #e665f6f6, #64b5f6);
  background-size: 500%; /* Ukuran lebih besar agar animasi terlihat */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 10s ease-in infinite;
}

.header a {
    background: #3b82f6;
    text-decoration: none;
    color: white;
    border: none;
    padding: 5px 10px; /* Kurangi padding agar tidak terlalu besar */
    border-radius: 5px;
    cursor: pointer;
    display: flex; /* Agar ikon tidak menambah tinggi tombol */
    align-items: center;
    justify-content: center;
}

.header a svg {
    width: 16px; /* Ukuran ikon lebih kecil */
    height: 16px;
}

.hero {
    padding: 70px 5px;
    height: 65vh;
}

.hero h2 {
  font-size: 1.9em;
  font-weight: bold;
  background: -webkit-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: -moz-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: -o-linear-gradient(left, #2196f3, #e665f6f6, #64b5f6);
  background: linear-gradient(to right, #2196f3, #e665f6f6, #64b5f6);
  background-size: 500%; /* Ukuran lebih besar agar animasi terlihat */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 10s ease-in infinite;
}

.hero p {
    font-size: 13px;
    color: #333;
    max-width: 600px;
    margin: 10px auto;
    animation: textFromSides 1s forwards;
}

.buttons {
    margin-top: 50px;
    animation: buttonFromBottom 1s forwards;
    display: flex;
    gap: 8px; /* Jarak antar tombol */
    flex-wrap: wrap; /* Agar tidak bertumpuk saat layar kecil */
    justify-content: center; /* Posisikan tombol ke tengah */
}

.buttons a {
    flex: 0 1 auto; 
    min-width: 120px; 
    max-width: 200px;
    text-align: center; 
    white-space: nowrap; 
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 15px;
    width: auto; /* Sesuai konten */
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    margin: 5px;
    text-decoration: none;
}

.buttons a svg {
    width: 15px; /* Ukuran ikon lebih kecil */
    height: 15px;
    vertical-align: middle;
    margin-right: 5px;
}

.features {
    background: white;
    padding: 40px 20px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: auto;
}

.features:hover {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Bayangan lebih besar */
    transform: translateY(-5px); /* Mengangkat sedikit ke atas */
    transition: all 0.2s ease-in-out; /* Animasi agar smooth */
}

.features h3 {
    font-size: 13px;
    color: #4d8ff1;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 30px;
    background: #057af453; /* Warna background */
    display: inline; /* Agar background hanya selebar teks */
    padding: 3px 5px 4px 5px; /* Ruang di dalam background */
    border-radius: 5px; /* Sudut melengkung */
}

.features h2 {
    font-size: 19px;
    font-weight: bold;
    margin-top: 20px;
}

.features p {
    font-size: 14px;
    color: #666;
    max-width: 600px;
    margin: 10px auto;
}


.cards-container {
    max-width: 900px;
    margin: 30px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    width: calc(50% - 20px);
    min-width: 300px;
    text-align: left;
}

.card:hover {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Bayangan lebih besar */
    transform: translateY(-5px); /* Mengangkat sedikit ke atas */
    transition: all 0.3s ease-in-out; /* Animasi agar smooth */
}

.card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    transform: translateY(-20px); /* Awalnya naik ke atas */
    opacity: 0; /* Transparan */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.card p {
    font-size: 12px;
    color: #666;
    text-align: left;
    transform: translateX(-20px); /* Awalnya bergeser ke kiri */
    opacity: 0; /* Transparan */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.card.show h3 {
    transform: translateY(0); /* Turun ke posisi semula */
    opacity: 1; /* Muncul */
}

.card.show p {
    transform: translateX(0); /* Kembali ke posisi normal */
    opacity: 1; /* Muncul */
}

/* Tambahkan efek saat elemen menghilang */
.card.hide h3 {
    transform: translateY(20px); /* Turun ke bawah saat hilang */
    opacity: 0;
}

.card.hide p {
    transform: translateX(20px); /* Geser ke kanan saat hilang */
    opacity: 0;
}

.tos {
    background: white;
    padding: 40px 20px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: auto;
}

.tos:hover {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Bayangan lebih besar */
    transform: translateY(-5px); /* Mengangkat sedikit ke atas */
    transition: all 0.2s ease-in-out; /* Animasi agar smooth */
}

.tos h3 {
    font-size: 12px;
    color: #12a523;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 30px;
    background: #12a52324; /* Warna background */
    display: inline; /* Agar background hanya selebar teks */
    padding: 3px 5px 4px 5px; /* Ruang di dalam background */
    border-radius: 5px; /* Sudut melengkung */
}

.tos h2 {
    font-size: 19px;
    font-weight: bold;
    margin-top: 20px;
}

.tos p {
    font-size: 12px;
    color: #666;
    max-width: 600px;
    margin: 10px auto;
}

.slider-container {
    margin-top: 25px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
    position: relative;
}

/* Slider */
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Card */
.review-card {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-radius: 8px;
    background: white;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

/* Profile (foto + nama + username) */
.profile {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Foto profil */
.profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #3b82f6;
    object-fit: cover; /* Biar gambarnya nggak melebar/mengecil aneh */
}


/* Nama dan username */
.review-info h4 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.review-info .username {
    font-size: 12px;
    color: #007bff;
    margin: 2px 0;
}

/* Review di tengah */
.review-card .review {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-top: 10px;
    width: 100%;
}

.footer {
    background: #ffffff; /* Card putih */
    color: #333; /* Warna isi */
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
    border-radius: 15px;
    border-top: 2px solid #ddd; /* Biar ada pemisah dari konten atas */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 800px;
    margin: auto;
}

.footer-brand h2 {
    font-size: 22px;
    color: #3b82f6;
    margin-bottom: 5px;
}

.footer-brand p {
    font-size: 11px;
    color: #555;
    max-width: 300px;
    margin-bottom: 10px;
}

.footer-social h3 {
  margin-top: 10px;
  margin-bottom: 5px;
}

.social-icons a {
    color: #333;
    font-size: 18px; /* Ikon Feather lebih kecil */
    margin: 0 8px;
    display: inline-block;
}

.social-icons a svg {
  width: 15px; /* Ukuran ikon lebih kecil */
  height: 15px;
}

.social-icons a:hover {
    color: #3b82f6;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 10px;
    color: #777;
    bottom: 0;
}


@media (max-width: 600px) {
    .card {
        width: 100%;
    }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes textFromTop {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textFromSides {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes buttonFromBottom {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
