:root {
    --bg-dark: #0B1115; /* Hitam gelap untuk base */
    --primary-color: #00FF88; /* Hijau Neon - gabungan Tech dan Alam */
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --glass-bg: rgba(255, 255, 255, 0.03); /* Efek kaca */
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .nav-brand {
    font-family: 'Outfit', sans-serif;
}

/* NAVBAR KACA (GLASSMORPHISM) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.4s ease-in-out;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(11, 17, 21, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 50px;
}

.nav-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-brand span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* HERO SECTION (BAGIAN ATAS) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Menggunakan gambar alam dari unsplash sementara */
    background: linear-gradient(rgba(11, 17, 21, 0.8), rgba(11, 17, 21, 0.95)), url('https://images.unsplash.com/photo-1542224566-6e85f2e6772f?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary-color);
    text-shadow: 0 0 25px rgba(0, 255, 136, 0.5); /* Efek Glowing */
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* TOMBOL MODERN */
.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: 40px;
    transition: 0.4s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.5); /* Glowing saat di hover */
}

/* SECTIONS UMUM */
.section {
    padding: 100px 50px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--primary-color);
}

/* GLASS KARTU (CARD) */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    transition: 0.4s;
    text-align: center;
}

.glass-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.08);
}

.glass-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.glass-card p {
    color: var(--text-muted);
}

/* FOOTER */
footer {
    background: #06090c;
    border-top: 1px solid var(--glass-border);
    padding: 30px 50px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE DESIGN (HP & TABLET)
========================================= */

/* Gaya Default Hamburger (Sembunyi di Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 5px;
    transition: 0.4s;
}

@media (max-width: 768px) {
    /* Navbar menyesuaikan ukuran layar */
    .navbar, .navbar.scrolled {
        padding: 15px 25px;
    }

    /* Munculkan tombol Hamburger */
    .hamburger {
        display: flex;
    }

    /* Modifikasi Nav-Links menjadi Sidebar yang tersembunyi di samping kanan */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyikan di luar layar */
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(11, 17, 21, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s ease-in-out;
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    /* Sidebar Muncul saat tombol ditekan */
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }

    /* Animasi Tombol Hamburger menjadi bentuk (X) */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--primary-color);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--primary-color);
    }

    /* Perbaikan Ukuran Font & Margin untuk Hero (Layar Pertama) */
    .hero {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.8rem; /* Perkecil agar tidak tabrakan di atas */
        margin-top: 60px;  /* Beri jarak dari navbar */
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    /* Perbaikan Ukuran Section & Card */
    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .glass-card {
        padding: 30px 20px;
    }
}


/* KEYFRAMES ANIMASI */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
