/* 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; 
    color: #e8eaed; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden; 
    position: relative;
}

/* Kontainer Utama & Animasi Masuk */
.container {
    text-align: center;
    max-width: 800px;
    width: 90%; 
    padding: 20px 0; 
    z-index: 2; 
    position: relative;
    /* Tambahan animasi agar muncul perlahan */
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chrome-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* Shadow diperhalus sedikit */
    transition: transform 0.3s ease;
}

.chrome-logo:hover {
    transform: scale(1.05); /* Sedikit membesar saat disorot */
}

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; 
    border-radius: 8px;
    padding: 24px;
    flex: 1;
    min-width: 200px;
    /* Tambahan efek hover pada kartu */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.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;
    line-height: 1.5; /* Tambahan sedikit spasi antar baris agar lebih mudah dibaca */
}

/* 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;
    line-height: 1.4;
}

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

.btn {
    display: inline-block; 
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: none; 
    transition: background-color 0.3s ease, transform 0.2s ease; /* Transisi diperhalus */
}

.btn:active {
    transform: scale(0.97); /* Efek klik (tertekan) pada tombol */
}

.btn-primary {
    background-color: #8ab4f8; 
    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 --- */
.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
}

.shape {
    position: absolute;
    border-radius: 50%; 
    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 {
        height: auto;
        min-height: 100vh;
        align-items: flex-start; 
        padding-top: 5vh; 
    }

    header h1 {
        font-size: 2rem; 
    }

    header p {
        font-size: 1rem; 
    }

    .features {
        flex-direction: column; 
        align-items: center; 
    }

    .feature-card {
        min-width: 0; 
        width: 100%; 
        max-width: 320px; 
    }

    .notification {
        max-width: 90%; 
    }

    .buttons {
        flex-direction: column-reverse; 
        align-items: center; 
        gap: 16px;
    }
    
    .buttons button, .buttons a {
        width: 100%; 
        max-width: 280px;
        box-sizing: border-box; /* Memastikan padding tidak membuat tombol melebih container */
    }

    .shape1, .shape6 {
        display: none;
    }
}