/* ==========================================================================
   NYANTRIKU - STYLESHEET RESMI (Gold & Emerald Theme)
   ========================================================================== */

/* 1. Global Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    background: linear-gradient(135deg, #2c2416 0%, #0a4f3b 100%); 
    color: #ffffff; 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    overflow-x: hidden;
    min-height: 100vh;
}

/* 2. Header & Navbar (Sticky & Glass) */
.navbar { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 10px 8%; background: rgba(10, 31, 26, 0.95); 
    backdrop-filter: blur(15px); border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    position: sticky; top: 0; z-index: 1000; height: 75px;
}

.logo-wrapper .logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 45px; height: 45px; object-fit: cover; border-radius: 50%; border: 2px solid #d4af37; }
.brand-text { font-size: 28px; font-weight: 800; color: #ffffff; font-family: 'Inter', sans-serif; }
.brand-text .gold { color: #d4af37; }

.menu a { color: white; margin: 0 20px; text-decoration: none; font-weight: 500; transition: 0.3s; }
.menu a:hover { color: #d4af37; }

.btn-daftar { 
    background: transparent; border: 2px solid #d4af37; color: #d4af37;
    padding: 10px 25px; border-radius: 50px; text-decoration: none; 
    font-weight: 600; transition: 0.3s;
}
.btn-daftar:hover { background: #d4af37; color: #0a1f1a; }

/* 3. Hero Section */
.hero { text-align: center; padding: 100px 20px; max-width: 800px; margin: auto; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; color: #ffffff; }
.btn-main { 
    background: #064e3b; color: #d4af37; padding: 16px 40px; 
    border-radius: 50px; text-decoration: none; font-weight: bold; 
    border: 2px solid #d4af37; display: inline-block; transition: 0.3s;
}
.btn-main:hover { background: #d4af37; color: #064e3b; }

/* 4. Fitur Section (Presisi Grid) */
.content-section { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.section-title { text-align: center; margin-bottom: 50px; color: #d4af37; font-size: 2.5rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 25px;
    justify-items: center;
}

.glass-card {
    width: 100%;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 30px;
    transition: 0.3s;
    text-align: center;
}
.glass-card:hover { border-color: #d4af37; background: rgba(212, 175, 55, 0.1); transform: translateY(-5px); }
.glass-card i { font-size: 2rem; color: #d4af37; margin-bottom: 15px; }
.glass-card h3 { font-size: 1.2rem; margin-bottom: 5px; }

/* 5. Footer Modern */
.footer {
    background: #0a1f1a;
    padding: 80px 8% 40px;
    border-top: 3px solid #d4af37;
    margin-top: 100px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-col h4 { color: #d4af37; margin-bottom: 20px; font-size: 1.2rem; }
.footer-col p, .footer-col a { color: #ccc; text-decoration: none; display: block; margin-bottom: 10px; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 30px; margin-top: 40px; font-size: 0.9rem; color: #666; }

/* 6. Floating WA */
.float-wa {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000; text-decoration: none; transition: 0.3s;
}
.float-wa:hover { transform: scale(1.1); background: #128c7e; }

/* 7. Screenshot Section */
.screenshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 20px; }
.screenshot-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 20px; padding: 20px; text-align: center; transition: 0.4s; }
.screenshot-card img { width: 100%; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); }
.screenshot-card:hover { transform: translateY(-10px); border-color: #d4af37; background: rgba(212, 175, 55, 0.05); }

/* 8. NEW: Dashboard Layout (Sidebar & Grid) */
.dashboard-container { display: flex; max-width: 1200px; margin: 50px auto; gap: 30px; padding: 0 20px; align-items: flex-start; }
.sidebar { width: 280px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 20px; padding: 20px; }
.menu-item { padding: 15px 20px; margin-bottom: 8px; color: #ffffff; cursor: pointer; border-radius: 12px; transition: 0.3s; font-weight: 500; }
.menu-item:hover { background: rgba(212, 175, 55, 0.1); color: #d4af37; }
.menu-item.active { background: #d4af37; color: #0a1f1a; font-weight: 700; }
.content-panel { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(212, 175, 55, 0.2); padding: 25px; border-radius: 20px; display: flex; align-items: flex-start; gap: 15px; transition: 0.3s; }
.feature-card:hover { border-color: #d4af37; transform: translateY(-5px); background: rgba(212, 175, 55, 0.05); }
.feature-card i { font-size: 24px; color: #d4af37; margin-top: 5px; }
.feature-card h4 { color: #ffffff; margin-bottom: 5px; }
.feature-card p { font-size: 0.85rem; color: #aaa; line-height: 1.4; }

/* 9. Responsif */
@media (max-width: 768px) {
    .navbar { padding: 20px; }
    .menu { display: none; }
    .dashboard-container { flex-direction: column; }
    .sidebar { width: 100%; }
}
.tab-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.btn-detail-toggle {
    background: transparent;
    border: none;
    color: #d4af37;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
    width: 100%;
    transition: 0.3s;
}

.btn-detail-toggle:hover {
    color: #ffffff;
}

.feature-details ul {
    list-style: none;
    padding: 0;
}

.feature-details li {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* --- Tambahan Khusus Section Unit --- */
/* Mengatur wrapper agar menjadi kolom di HP */
.unit-section-wrapper {
    display: flex;
    flex-wrap: wrap; /* Mengizinkan elemen pindah ke bawah jika layar sempit */
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.unit-text-side, .unit-image-side {
    flex: 1 1 300px; /* Lebar minimal 300px, jika kurang maka pindah ke bawah */
}

.unit-text-side { flex: 1; min-width: 350px; }
.unit-text-side h2 { color: #d4af37; font-size: 1.2rem; margin-bottom: 10px; }
.unit-text-side h1 { font-size: 2.5rem; margin-bottom: 20px; color: #fff; }
.unit-text-side p { margin-bottom: 30px; color: #ccc; }

.unit-image-side { 
    flex: 1.2; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.unit-image-side {
    position: relative;
    padding: 10px; /* Jarak antara gambar dan frame luar */
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(0, 0, 0, 0.1));
    border-radius: 30px; /* Sudut melengkung yang halus */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.unit-image-side img {
    width: 100%;
    border-radius: 22px; /* Sedikit lebih kecil dari container agar terlihat seperti frame */
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Efek bayangan halus pada gambar */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

/* Tombol Khusus Unit */
.unit-cta-buttons { display: flex; gap: 15px; }
.btn-demo { background: #d4af37; color: #0a1f1a; padding: 12px 30px; border-radius: 8px; font-weight: 700; border: none; cursor: pointer; }
.btn-konsul { background: transparent; color: #d4af37; padding: 12px 30px; border-radius: 8px; font-weight: 600; border: 2px solid #d4af37; cursor: pointer; }

/* Container utama untuk bagian Manajemen Unit */
.manajemen-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 8%;
    flex-wrap: wrap; /* Agar responsif di layar kecil */
}

/* Mengatur agar teks dan gambar berbagi ruang yang sama */
.unit-text-side { flex: 1; min-width: 300px; }
.unit-image-side { flex: 1; display: flex; justify-content: center; }

/* Menghilangkan bullet point jika ada list, dan merapikan teks */
.unit-text-side h1 { font-size: 2.5rem; margin-bottom: 20px; }
.unit-text-side p { margin-bottom: 25px; color: #ccc; }

.kenapa-section {
    padding: 80px 8%;
    /* Menggunakan background gelap khas Emerald Anda */
    background: #0a1f1a; 
    /* Memberikan sedikit aksen border emas tipis di atas */
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: #ffffff;
}

.section-title {
    color: #d4af37; /* Gold */
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    /* Ubah ke column agar ikon di atas, teks di bawah */
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    gap: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}

.benefit-card i {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 5px;
}

.benefit-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0;
}

.benefit-card p {
    color: #b0b0b0; /* Warna abu-abu lembut agar tidak mendominasi */
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.benefit-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: #d4af37;
    transform: translateY(-10px);
}
/* Gaya untuk link menu yang sedang aktif */
.menu a.active {
    color: #d4af37 !important; /* Warna Emas */
    border-bottom: 2px solid #d4af37; /* Garis bawah elegan */
    padding-bottom: 5px;
	
	.feature-list {
    list-style: none; /* Hilangkan angka standar */
    padding: 0;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #ccc; /* Warna abu-abu lembut agar elegan */
    line-height: 1.6;
}

/* Membuat penomoran cantik dengan CSS (bukan angka 1, 2, 3 biasa) */
.feature-list li::before {
    content: "•"; /* Bisa diganti dengan ikon */
    color: #d4af37; /* Warna Gold */
    font-weight: bold;
    position: absolute;
    left: 0;
}

.feature-list li strong {
    color: #ffffff; /* Judul poin dibuat tebal putih agar menonjol */
    display: block; /* Membuat judul poin berada di baris sendiri */
    margin-bottom: 4px;
}
}

.rfid-section { 
    padding: 80px 8%; 
    background: #0a1f1a; /* Emerald Gelap */
    color: #ffffff; 
}

.section-header h2 { 
    color: #d4af37; /* Gold */
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p { 
    color: #cccccc; 
}

.rfid-card { 
    background: rgba(255, 255, 255, 0.05); /* Transparan gelap */
    padding: 40px; 
    border-radius: 20px; 
    border: 1px solid rgba(212, 175, 55, 0.3); /* Border Gold tipis */
    transition: all 0.4s ease;
}

.rfid-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: #d4af37;
    transform: translateY(-10px);
}

.icon-box { 
    font-size: 2.5rem; 
    color: #d4af37; /* Ikon Gold */
    margin-bottom: 20px; 
}

.rfid-card h3 {
    color: #ffffff;
}

.benefit-list li { 
    margin-bottom: 10px; 
    color: #dddddd; /* Teks lebih terang untuk kontras */
}

.benefit-list i { 
    color: #d4af37; /* Centang Gold */
    margin-right: 10px; 
}

/* Sembunyikan tombol toggle di desktop */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; width: 25px; height: 3px; background: #d4af37; margin: 5px 0; }

@media (max-width: 992px) {
    .menu-toggle { display: block; }
    
    .menu {
        display: none; /* Sembunyikan menu di HP */
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: #0a1f1a;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.2);
    }
    
    .menu.active {
        display: flex; /* Muncul saat class active ada */
    }
}

/* Khusus untuk HP */
@media (max-width: 768px) {
    .unit-section-wrapper {
        flex-direction: column; /* Mengubah susunan menjadi vertikal */
        text-align: center;
    }
    
    .unit-text-side {
        order: 2; /* Teks di bawah gambar (sesuaikan jika perlu) */
    }
    
    .unit-image-side {
        order: 1; /* Gambar di atas */
    }

    .unit-cta-buttons {
        justify-content: center; /* Tombol ke tengah di HP */
    }
}

/* Gaya untuk Lightbox */
.lightbox {
    display: none; /* Sembunyi secara default */
    position: fixed;
    z-index: 1000; /* Pastikan berada di atas semua elemen */
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* Latar belakang hitam transparan */
}

/* Gambar di dalam Lightbox */
.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Animasi Zoom pada Gambar */
.lightbox-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* Tombol Tutup (X) */
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Penyesuaian untuk layar HP */
@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 100%;
    }
}





