/* Import Font dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Reset dan Pengaturan Dasar */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #202124; /* Warna latar gelap seperti di video */
    color: #e8eaed; /* Warna teks terang */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden; /* Mencegah scroll horizontal */
    position: relative;
}

/* Kontainer Utama */
.container {
    text-align: center;
    max-width: 800px;
    width: 90%; /* Memberi sedikit ruang di sisi kiri-kanan */
    padding: 20px 0; /* Mengurangi padding horizontal pada kontainer */
    z-index: 2; /* Agar konten berada di atas bentuk-bentuk */
    position: relative;
}

.chrome-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0;
}

header p {
    font-size: 1.2rem;
    color: #bdc1c6;
    margin-top: 8px;
}

/* Kartu Fitur */
.features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background-color: #3c4043; /* Warna kartu yang sedikit lebih terang */
    border-radius: 8px;
    padding: 24px;
    flex: 1;
    min-width: 200px;
}

.feature-card .icon-placeholder {
    background-color: #5f6368;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 16px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #8ab4f8;
}

.feature-card h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 500;
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #bdc1c6;
}

/* Footer (Notifikasi dan Tombol) */
footer {
    margin-top: 40px;
}

.notification {
    background-color: #3c4043;
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
    max-width: 70%;
    margin: 0 auto 30px auto;
}

.notification p {
    font-size: 0.8rem;
    margin: 0;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn {
    display: inline-block; /* Agar padding dan margin berfungsi baik pada <a> */
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: none; /* Menghilangkan garis bawah pada link */
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #8ab4f8; /* Biru Google */
    color: #202124;
}

.btn-primary:hover {
    background-color: #9ac2ff;
}

.btn-secondary {
    background-color: transparent;
    color: #8ab4f8;
    border: 1px solid #5f6368;
}

.btn-secondary:hover {
    background-color: rgba(138, 180, 248, 0.1);
}

/* --- Bagian Animasi Latar Belakang (Versi Pertama) --- */
.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Di belakang konten, di depan background */
}

.shape {
    position: absolute;
    border-radius: 50%; /* Defaultnya lingkaran */
    animation: float 20s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(20px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-20px) translateX(20px) rotate(180deg); }
    100% { transform: translateY(20px) translateX(0px) rotate(360deg); }
}

.shape1 { width: 80px; height: 80px; background-color: rgba(138, 180, 248, 0.5); top: 15%; left: 10%; animation-duration: 25s; animation-delay: -5s; }
.shape2 { width: 40px; height: 40px; background-color: rgba(242, 182, 73, 0.5); top: 20%; right: 15%; border-radius: 0; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); animation-duration: 30s; }
.shape3 { width: 60px; height: 60px; background-color: rgba(129, 230, 193, 0.5); bottom: 15%; right: 20%; animation-duration: 22s; animation-delay: -10s; }
.shape4 { width: 50px; height: 50px; background-color: rgba(239, 137, 132, 0.5); top: 10%; left: 25%; border-radius: 0; clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%); animation-duration: 35s; }
.shape5 { width: 25px; height: 25px; background-color: #5f6368; bottom: 25%; left: 15%; border-radius: 0; animation-duration: 18s; }
.shape6 { width: 120px; height: 120px; background-color: rgba(138, 180, 248, 0.1); bottom: -5%; left: 30%; animation-duration: 40s; animation-delay: -15s; }


/* ================================================= */
/* ---        Responsive Design for Mobile       --- */
/* ================================================= */

@media (max-width: 768px) {
    body {
        /* Memastikan konten bisa discroll secara vertikal jika tidak muat */
        height: auto;
        min-height: 100vh;
        align-items: flex-start; /* Konten dimulai dari atas */
        padding-top: 5vh; /* Sedikit jarak dari atas */
    }

    header h1 {
        font-size: 2rem; /* Perkecil ukuran judul */
    }

    header p {
        font-size: 1rem; /* Perkecil ukuran sub-judul */
    }

    /* Ini adalah perubahan paling penting */
    .features {
        flex-direction: column; /* Mengubah susunan kartu dari horizontal ke vertikal */
        align-items: center; /* Memusatkan kartu-kartu */
    }

    .feature-card {
        min-width: 0; /* Hapus min-width */
        width: 100%; /* Buat kartu memenuhi lebar kontainer */
        max-width: 320px; /* Batasi lebar maksimum agar tidak terlalu lebar di tablet */
    }

    .notification {
        max-width: 90%; /* Agar notifikasi tidak terlalu sempit */
    }

    .buttons {
        flex-direction: column-reverse; /* Tombol disusun vertikal, tombol biru di atas */
        align-items: center; /* Pusatkan tombol */
        gap: 16px;
    }
    
    .buttons button {
        width: 100%; /* Tombol memenuhi lebar */
        max-width: 280px;
    }

    /* Opsional: Sembunyikan beberapa bentuk agar tidak terlalu ramai di mobile */
    .shape1, .shape6 {
        display: none;
    }
}