/* style.css - Lengkap dengan Gradasi & Glassmorphism */

/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    /* Mencegah scroll agar animasi partikel tetap fokus di satu layar */
    overflow: hidden; 
    background: #f8f9fa; /* Warna cadangan */
}

/* Background Gradasi pada Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Berada di belakang semua elemen */
    
    /* GRADASI: Kombinasi abu-abu metalik ke perak (Profesional & Elegan) */
    background: linear-gradient(135deg, #eef2f3 0%, #8e9eab 100%);
}

/* Navigasi (Efek Kaca / Glassmorphism) */
nav {
    background: rgba(255, 255, 255, 0.4); /* Transparan */
    backdrop-filter: blur(15px); /* Efek blur latar belakang */
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 12px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    margin-left: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.btn-masuk {
    background: #3498db;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.btn-masuk:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

/* Hero Section (Konten Utama) */
.hero {
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 3.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hero p {
    font-size: 1.25rem;
    color: #546e7a;
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    background: #2c3e50;
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.cta-button:hover {
    background: #1a252f;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Responsif untuk layar kecil (HP) */
@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .nav-links {
        display: none; /* Menyembunyikan link di mobile agar rapi */
    }
}