* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: system-ui, -apple-system, sans-serif; 
}
body { 
    background-color: #f8fafc; 
    color: #1e293b; 
}


/* ==========================================
   RESET & DASAR HEADER (DESKTOP)
   ========================================== */
header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header > div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo { 
    font-weight: 800; 
    font-size: 1.25rem; 
    text-decoration: none; 
    color: #1e293b; 
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.logo span { 
    color: #2563eb; 
}

/* Navigasi Menu Utama (Desktop) */
.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 1.25rem; 
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-dropdown { 
    position: relative; 
}

/* Link Menu */
.nav-link-dropdown { 
    text-decoration: none; 
    color: #475569; 
    font-size: 0.9rem; 
    font-weight: 600; 
    padding: 0.5rem 0; 
    display: inline-flex; 
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s; 
}
.nav-link-dropdown:hover { 
    color: #2563eb; 
}

/* Kotak Dropdown Menu */
.dropdown-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: #ffffff; 
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); 
    border-radius: 8px; 
    padding: 0.5rem 0; 
    min-width: 220px; 
    z-index: 100; 
    border: 1px solid #e2e8f0; 
    list-style: none;
    margin: 0;
}

.dropdown-menu a { 
    display: block; 
    padding: 0.5rem 1rem; 
    color: #334155; 
    text-decoration: none; 
    font-size: 0.85rem; 
    font-weight: 500;
    transition: background 0.2s, color 0.2s; 
}
.dropdown-menu a:hover { 
    background: #f1f5f9; 
    color: #2563eb; 
}

/* Tampilkan dropdown saat di-hover di komputer */
.nav-item-dropdown:hover .dropdown-menu { 
    display: block; 
}

/* Tombol Pro Access */
.btn-premium {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.btn-premium:hover {
    opacity: 0.9;
}


/* ==========================================
   TOMBOL HAMBURGER (DEFAULT DISEMBUNYIKAN)
   ========================================== */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    padding: 0;
    z-index: 1001;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1e293b;
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* ==========================================
   RESPONSIF LAYAR KECIL / HP (<= 768px)
   ========================================== */
@media (max-width: 768px) {
    /* Munculkan tombol hamburger */
    .hamburger-btn {
        display: flex;
    }

    /* Sembunyikan menu utama secara default di HP */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start !important;
        padding: 1.25rem 1.5rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-bottom: 1px solid #e2e8f0;
        gap: 0.75rem;
        max-height: 75vh;
        overflow-y: auto;
        z-index: 1000;
    }

    /* Saat tombol hamburger diklik (.active aktif), tampilkan menu */
    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-item-dropdown {
        width: 100%;
    }

    .nav-link-dropdown {
        display: block;
        width: 100%;
        padding: 0.4rem 0;
    }

    /* Sub-menu dropdown di HP otomatis terbuka ke bawah secara rapi di dalam list */
    .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 1rem;
        background: #f8fafc;
        border-radius: 6px;
        margin-top: 0.25rem;
        display: block !important;
        width: 100%;
    }
    
    .dropdown-menu a {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .btn-premium {
        display: inline-block;
        text-align: center;
        width: 100%;
        margin-top: 0.5rem;
    }
}



.btn-premium { 
    background: #d97706; 
    color: #fff !important; 
    padding: 0.5rem 1.25rem; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: background 0.2s; 
}
.btn-premium:hover { 
    background: #b45309; 
}

/* Container Utama */
.container { 
    padding: 2.5rem 5%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* Dashboard Grid Kartu Utama */
.dashboard-grid-full { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 1.5rem; 
    margin-top: 2rem; 
}
.tool-card-item { 
    background: #fff; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 1.75rem; 
    text-align: left; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); 
    transition: transform 0.2s, box-shadow 0.2s; 
    cursor: pointer; 
}
.tool-card-item:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08); 
    border-color: #cbd5e1; 
}

/* Tampilan Kotak Kerja Alat (Card Box) */
.tool-view { 
    display: none; 
    text-align: center; 
    padding: 3rem 2rem; 
    max-width: 750px; 
    margin: 2rem auto; 
    background: #ffffff; 
    border-radius: 16px; 
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05); 
    border: 1px solid #f1f5f9;
}

.btn-upload-big { 
    display: inline-block; 
    background: #ef4444; 
    color: #ffffff; 
    padding: 1.15rem 3.5rem; 
    font-size: 1.15rem; 
    font-weight: 700; 
    border-radius: 50px; 
    text-decoration: none; 
    box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.4); 
    transition: all 0.2s ease; 
    cursor: pointer; 
    border: none; 
    margin: 1.5rem 0 0.5rem 0; 
}
.btn-upload-big:hover { 
    background: #dc2626; 
    transform: translateY(-2px); 
}

.btn-lanjutkan {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    margin-top: 1.25rem;
    transition: background 0.2s;
}
.btn-lanjutkan:hover { 
    background: #1d4ed8; 
}

.btn-back { 
    display: inline-block; 
    margin-bottom: 1.5rem; 
    color: #64748b; 
    text-decoration: none; 
    font-size: 0.9rem; 
    font-weight: 600; 
    cursor: pointer; 
}
.btn-back:hover { 
    color: #0f172a; 
}




/* Styling Marquee Lambat & Ada Jeda Berhenti 10 Detik */
.dashboard-marquee-wrap {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.dashboard-marquee {
    display: inline-block;
    /* 
      Durasi total 15 detik. 
      - Masuk pelan: 0s - 2s
      - Diam total (stuck) untuk dibaca: 2s - 12s (Pas 10 detik jeda!)
      - Jalan keluar pelan: 12s - 15s
    */
    animation: marqueeStuck10Sec 50s linear infinite;
    font-size: 0.85rem;
    font-weight: 500;
}

.dashboard-marquee a {
    color: #fde047;
    text-decoration: underline;
    font-weight: 700;
    margin-left: 6px;
    transition: color 0.2s;
}

.dashboard-marquee a:hover {
    color: #ffffff;
}

.dashboard-marquee span {
    margin-right: 60px;
}

/* 
  Pengaturan Persentase Animasi (Total 15 Detik):
  - 0%: Posisi di luar kanan (masuk)
  - 15% s.d 83% (~10 detik): STUCK / DIAM di posisi pas tengah layar
  - 100%: Keluar ke sisi kiri
*/
@keyframes marqueeStuck10Sec {
    0% {
        transform: translateX(100%);
    }
    15% {
        transform: translateX(20px); /* Teks sampai di posisi baca */
    }
    83% {
        transform: translateX(20px); /* Teks TERUS DIAM di sini selama 10 detik */
    }
    100% {
        transform: translateX(-100%); /* Bergeser keluar ke kiri */
    }
}



 /* Styling Khusus Kontainer & Card Privacy Policy */
.privacy-wrapper {
    width: 100%;
    padding: 30px 15px;
    display: flex;
    justify-content: center;
    background-color: #f8fafc; /* Menyelaraskan background halaman */
    box-sizing: border-box;
}

.privacy-container {
    width: 100%;
    max-width: 850px;
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

/* Merapatkan Jarak Antar Teks agar Tidak Terlalu Renggang */
.privacy-container h1 {
    font-size: 1.75rem;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-weight: 800;
}

.privacy-container .last-updated {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.privacy-container h2 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.privacy-container h3 {
    font-size: 1.05rem;
    color: #334155;
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.privacy-container h4 {
    font-size: 0.95rem;
    color: #334155;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.privacy-container p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.5; /* Jarak antar baris teks rapat & nyaman dibaca */
    margin-bottom: 0.75rem; /* Mengontrol jarak antar paragraf agar tidak jauh */
}

.privacy-container ul {
    padding-left: 20px;
    margin-top: 0.2rem;
    margin-bottom: 0.8rem;
}

.privacy-container li {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 0.4rem;
}