/* ==========================================================================
   GLOBAL STYLES & CONFIGURATION
   ========================================================================== */
:root {
    --biru-kolot-1: #061121; /* Gradasi Gelap Deep Navy */
    --biru-kolot-2: #0B1E36;
    --biru-footer: #172d48;  /* Warna Background Footer Baru */
    --toska-faq: #49acb3;    /* Warna Background FAQ Baru Anda */
    --teks-faq-gelap: #061121; /* Warna Teks Utama Agar Tajam & Tidak Samar */
    --magenta-neon: #9bb9ff; /* Warna Icon Sesuai Gambar */
    --cyan-neon: #00f3ff;    /* Warna Border Aktif Sesuai Gambar */
    --text-white: #ffffff;
    --cubic-mulus: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body, html {
    width: 100%;
    height: auto;
    font-family: 'Inter', sans-serif;
    background-color: #000;
    overflow-y: auto;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: transparent;
}

.logo-wrapper {
    cursor: pointer;
    animation: logoSlideIn 1.2s var(--cubic-mulus) forwards;
    opacity: 0;
}

.main-logo {
    height: 38px;
    width: auto;
    display: block;
}

.menu-burger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 5px;
}

.burger-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.burger-bars span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
}

.burger-text {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 2px;
}

@keyframes logoSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   JUMBOTRON & SLIDESHOW
   ========================================================================== */
.jumbotron {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active { opacity: 1; }

.jumbotron-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.jumbotron-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 2rem;
    transform: translateY(-40px);
}

.hero-text {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    opacity: 0;
    animation: textFadeUp 1.4s var(--cubic-mulus) 0.3s forwards;
}

.animated-line {
    width: 0px;
    height: 2px;
    background-color: var(--text-white);
    margin: 15px auto 0 auto;
    animation: expandLine 1.8s var(--cubic-mulus) 0.6s forwards;
}

@keyframes textFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes expandLine {
    from { width: 0px; }
    to { width: 100px; }
}

/* ==========================================================================
   3 ITEM CARDS LAYOUT
   ========================================================================== */
.features-container {
    position: absolute;
    bottom: 12%;
    left: 0;
    width: 100%;
    padding: 0 6%;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 2.2rem 2rem;
    color: var(--text-white);
    cursor: pointer;
    transition: border-color 0.4s var(--cubic-mulus), background 0.4s ease, transform 0.4s var(--cubic-mulus);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.07);
}

.feature-card.active {
    border-color: var(--cyan-neon);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
    background: rgba(0, 243, 255, 0.02);
}

.feature-icon {
    color: var(--magenta-neon);
    width: 42px;
    height: 42px;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.feature-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--cubic-mulus), opacity 0.4s ease, margin-top 0.4s ease;
}

.feature-desc p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.feature-card.active .feature-desc {
    max-height: 150px;
    opacity: 1;
    margin-top: 1.2rem;
}

/* ==========================================================================
   SECTION PROFIL
   ========================================================================== */
.profile-section {
    background-color: #ffffff;
    color: #000000;
    padding: 12rem 8% 10rem 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #86868b;
    display: inline-block;
    margin-bottom: 3rem;
}

.profile-main-text {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.5px;
    margin-bottom: 2.5rem;
    color: #000000;
}

.profile-sub-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #515154;
    max-width: 800px;
    margin: 0 auto 6rem auto;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    border-top: 1px solid #e5e5e7;
    padding-top: 4rem;
}

.perk-item {
    text-align: center;
}

.perk-item h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #000000;
}

.perk-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6e6e73;
}

/* ==========================================================================
   BARU: SECTION FAQ DESIGN (Warna Latar #49acb3 & Teks Premium Tanpa Samar)
   ========================================================================== */
.faq-section {
    background-color: var(--toska-faq);
    padding: 10rem 8%;
    position: relative;
    z-index: 5;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--teks-faq-gelap);
    opacity: 0.6;
    display: block;
    margin-bottom: 1rem;
    text-align: center;
}

.faq-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--teks-faq-gelap);
    text-align: center;
    margin-bottom: 4.5rem;
    text-transform: uppercase;
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-bottom: 1.5px solid rgba(6, 17, 33, 0.15);
    background: transparent;
    transition: all 0.4s var(--cubic-mulus);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 10px;
    cursor: pointer;
    user-select: none;
}

.faq-question span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teks-faq-gelap);
    line-height: 1.4;
    transition: opacity 0.3s ease;
}

.faq-arrow {
    width: 24px;
    height: 24px;
    color: var(--teks-faq-gelap);
    transition: transform 0.4s var(--cubic-mulus);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.faq-arrow svg {
    width: 100%;
    height: 100%;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--cubic-mulus);
}

.faq-answer-content {
    padding: 0 30px 24px 30px;
}

.faq-answer-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--teks-faq-gelap);
    font-weight: 500;
    opacity: 0.85;
}

/* Perubahan visual saat FAQ aktif terbuka ala Invent Graphics */
.faq-item.active {
    background: rgba(255, 255, 255, 0.95); /* Kotak Putih Bersih agar Kontras Maksimal */
    border-radius: 12px;
    border-bottom-color: transparent;
    box-shadow: 0 15px 35px rgba(6, 17, 33, 0.08);
    padding: 6px 14px;
}

.faq-item.active .faq-arrow {
    transform: rotate(-180deg);
}
/* ==========================================================================
   SECTION KLIEN - OPTIMIZED & SEAMLESS LOOP
   ========================================================================== */
.clients-section {
    padding: 8rem 6%;
    position: relative;
    z-index: 6;
    background-color: #000000; /* Hitam pekat solid agar bersih & menyatu */
    overflow: hidden;
}

.clients-container {
    max-width: 1400px;
    margin: 0 auto;
}

.clients-header {
    text-align: center;
    margin-bottom: 5rem;
}

.clients-header .section-tag {
    color: #86868b; /* Konsisten dengan warna tag Tentang Kita */
    margin-bottom: 1.2rem;
}

.clients-sub-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.5px;
    color: var(--text-white);
    max-width: 700px;
    margin: 0 auto;
}

.clients-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 2rem;
}

/* Efek gradasi halus kanan kiri agar logo tidak langsung terpotong di tepi layar */
.clients-viewport::before,
.clients-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.clients-viewport::before {
    left: 0;
    background: linear-gradient(to right, #000000, transparent);
}
.clients-viewport::after {
    right: 0;
    background: linear-gradient(to left, #000000, transparent);
}

.clients-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: clientsScroll 30s linear infinite; /* Kecepatan pas, tidak terlalu cepat */
}

.clients-list {
    display: flex;
    align-items: center;
    gap: 60px; /* Jarak antar logo di dalam list */
    padding-right: 60px; /* Harus sama dengan nilai gap untuk balancing transisi loop */
    flex-shrink: 0;
}

.clients-list img {
    height: 55px; /* Tinggi seragam yang proporsional */
    width: auto;
    display: block;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7); /* Bikin semua logo monokrom rapi */
    opacity: 0.5;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Saat logo diarahkan kursor, warna aslinya akan muncul kembali */
.clients-list img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.clients-track:hover {
    animation-play-state: paused; /* Animasi berhenti pelan saat di-hover agar interaktif */
}

@keyframes clientsScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Geser tepat setengah kontainer track */
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN TUNING (KLIEN SECTION)
   ========================================================================== */
@media (max-width: 992px) {
    .clients-section {
        padding: 6rem 4%;
    }
    .clients-sub-text {
        font-size: 1rem;
    }
    .clients-list {
        gap: 40px;
        padding-right: 40px;
    }
    .clients-list img {
        height: 42px;
    }
    .clients-viewport::before,
    .clients-viewport::after {
        width: 70px;
    }
}

@media (max-width: 480px) {
    .clients-sub-text {
        font-size: 1rem;
    }
    .clients-list {
        gap: 30px;
        padding-right: 30px;
    }
    .clients-list img {
        height: 34px;
    }
    .clients-viewport::before,
    .clients-viewport::after {
        width: 40px;
    }
}
/* ==========================================================================
   SECTION GALERI - GRID + LIGHTBOX
   ========================================================================== */
.gallery-section {
    background-color: #ffffff;
    color: #000000;
    padding: 6rem 6% 4rem 6%;
    position: relative;
    z-index: 5;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-header .section-tag {
    color: #86868b;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.gallery-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.gallery-sub-text {
    color: #6b6b6b;
    margin-bottom: 2.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(17,17,17,0.06);
    transition: transform 0.35s var(--cubic-mulus), filter 0.3s ease;
    cursor: pointer;
    display: block;
}

.gallery-item img:hover {
    transform: translateY(-6px) scale(1.02);
}

.gallery-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
}

.gallery-modal.active { display: flex; }

.gallery-modal-content {
    max-width: 92vw;
    max-height: 92vh;
    position: relative;
}

.gallery-modal img {
    max-width: 100%;
    max-height: 82vh;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}

.gallery-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 36px;
    cursor: pointer;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    font-size: 34px;
    padding: 12px 16px;
    cursor: pointer;
}

.gallery-modal-prev { left: 18px; }
.gallery-modal-next { right: 18px; }

@media (max-width: 768px) {
    .gallery-item img { height: 160px; }
    .gallery-modal-nav { font-size: 24px; padding: 10px 12px; }
}

@media (max-width: 480px) {
    .gallery-item img { height: 120px; }
    .gallery-title { font-size: 1.4rem; }
}

/* ==========================================================================
   FIXED SOCIAL MEDIA OVERLAY (Gaya Minimalis Kiri Bawah)
   ========================================================================== */
.fixed-socials {
    position: fixed;
    bottom: 40px;
    left: 4%;
    z-index: 90;
    display: flex;
    gap: 24px;
}

.fixed-socials a {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s var(--cubic-mulus);
    display: inline-block;
}

.fixed-socials a:hover {
    color: var(--text-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   FIXED ACTION BUTTONS (Dengan Logika Deteksi Sembunyi Di Jumbotron)
   ========================================================================== */
.fixed-actions {
    position: fixed;
    bottom: 40px;
    right: 4%;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 12px;
    
    /* Keadaan Awal: Tersembunyi */
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s var(--cubic-mulus);
}

/* Diaktifkan via JavaScript saat di-scroll */
.fixed-actions.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s var(--cubic-mulus), box-shadow 0.3s ease, filter 0.3s ease;
}

.action-btn .icon-svg {
    width: 18px;
    height: 18px;
}

.btn-artikel {
    background: rgba(11, 30, 54, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-chat {
    background: #00a884;
}

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

/* ==========================================================================
   MAIN FOOTER DESIGN (Warna Latar #172d48)
   ========================================================================== */
.main-footer {
    background-color: var(--biru-footer);
    color: var(--text-white);
    padding: 6rem 6% 3rem 6%;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 5rem;
}

.footer-col h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-address {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 450px;
}

.footer-contact-details p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-details p span {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links ul li a:hover {
    color: var(--cyan-neon);
}

.footer-map .map-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.footer-map .map-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bottom {
    max-width: 1600px;
    margin: 5rem auto 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom span {
    color: var(--text-white);
    font-weight: 600;
}

/* ==========================================================================
   MENU MODAL OVERLAY
   ========================================================================== */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--biru-kolot-1), var(--biru-kolot-2));
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.03);
    transition: opacity 0.5s var(--cubic-mulus), transform 0.5s var(--cubic-mulus);
}

.menu-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.menu-close {
    position: absolute;
    top: 2.5rem;
    right: 5%;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 3.5rem;
    cursor: pointer;
}

.modal-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
}

.nav-item {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: opacity 0.3s ease;
}

.nav-item:hover { opacity: 0.5; }

/* ==========================================================================
   RESPONSIVE DESIGN (Tuning Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .fixed-socials {
        display: none;
    }
}

@media (max-width: 992px) {
    .features-container {
        grid-template-columns: 1fr;
        bottom: 5%;
        max-height: 50vh;
        overflow-y: auto;
        padding: 0 4%;
    }
    
    .feature-card {
        padding: 11px;
    }
    
    .jumbotron-content {
        transform: translateY(-120px);
    }
    
    .hero-text {
        font-size: 1rem;
    }

    .profile-section {
        padding: 8rem 6% 6rem 6%;
    }
    
    .profile-main-text {
        font-size: 1.2rem;
    }
    
    .perks-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 3rem;
    }

    .faq-section {
        padding: 6rem 5%;
    }

    .faq-main-title {
        font-size: 1.8rem;
        margin-bottom: 3rem;
    }

    .faq-question span {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 4rem 6% 8rem 6%;
    }
    
    .fixed-actions {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }

    .action-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}



/* ==========================================================================
   APPLE-STYLE NAVBAR (DESKTOP)
   ========================================================================== */
.apple-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px; /* Khas Apple tipis */
    background: rgba(29, 29, 31, 0.75); /* Tembus pandang sedikit */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.nav-container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    animation: logoSlideIn 1.2s var(--cubic-mulus) forwards;
}

.nav-logo img {
    height: 22px; /* Dikecilkan agar presisi dengan bar */
    width: auto;
}

.desktop-nav {
    display: block;
    height: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    height: 100%;
    align-items: center;
    gap: 32px;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link {
    font-size: 12px; /* Ukuran teks sangat kecil ala Apple */
    font-weight: 400;
    color: #f5f5f7; /* Soft White */
    text-decoration: none;
    letter-spacing: -0.01em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

/* ==========================================================================
   MEGA MENU DROPDOWN (PRODUK)
   ========================================================================== */
.dropdown-wrapper {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgb(29, 29, 31); /* Hitam Apple Pekat */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    width: 420px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s var(--cubic-mulus), transform 0.3s var(--cubic-mulus), visibility 0.3s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.nav-item.has-dropdown:hover .dropdown-wrapper {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.dropdown-col {
    flex: 1;
}

.dropdown-col h4 {
    font-size: 11px;
    text-transform: uppercase;
    color: #86868b;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.dropdown-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dropdown-col ul li a {
    font-size: 13px;
    color: #f5f5f7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dropdown-col ul li a:hover {
    color: var(--cyan-neon);
}

/* ==========================================================================
   MOBILE TOGGLE BUTTON (Hamburger Khas 2 Garis)
   ========================================================================== */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    z-index: 101;
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 1px; /* Garis sangat tipis */
    background: #f5f5f7;
    transition: transform 0.3s var(--cubic-mulus), opacity 0.3s;
}

/* Animasi Hamburger ke (X) */
.mobile-toggle.active .top-bar { transform: translateY(3px) rotate(45deg); }
.mobile-toggle.active .bottom-bar { transform: translateY(-3px) rotate(-45deg); }


/* ==========================================================================
   MOBILE NAV OVERLAY (Background rgb(29 29 31) persis Apple)
   ========================================================================== */
.mobile-nav-overlay {
    position: fixed;
    top: 48px; /* Mulai tepat di bawah Navbar 48px */
    left: 0;
    width: 100%;
    height: calc(100vh - 48px);
    background: rgb(29, 29, 31); /* Tidak pakai slide, hitam pekat murni sesuai request */
    z-index: 99;
    padding: 0 4%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.4s var(--cubic-mulus), transform 0.4s var(--cubic-mulus), visibility 0.4s;
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-content {
    padding: 20px 0;
}

.mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-link {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 500;
    color: #f5f5f7;
    text-decoration: none;
    letter-spacing: 0.5px;
}

/* Interaksi Accordion Produk di Mobile */
.mobile-submenu-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 500;
    color: #f5f5f7;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.mobile-submenu-trigger svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--cubic-mulus);
    color: #86868b;
}

.mobile-nav-item.open .mobile-submenu-trigger svg {
    transform: rotate(180deg);
}

.mobile-submenu-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--cubic-mulus);
    padding-left: 10px;
}

.mobile-sub-group {
    margin-bottom: 20px;
}

.mobile-sub-group h5 {
    font-size: 11px;
    color: #86868b;
    text-transform: uppercase;
    margin: 10px 0;
}

.mobile-sub-group a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #f5f5f7;
    text-decoration: none;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .desktop-nav {
        display: none; /* Hilangkan menu horizontal di tablet/hp */
    }
    .mobile-toggle {
        display: flex; /* Munculkan hamburger tipis Apple di HP */
    }
}