/* ==========================================================================
   1. RESET & BASIC SETUP
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Montserrat', sans-serif;
    /* Menggunakan dvh agar tinggi pas di browser HP */
    height: 100dvh; 
    width: 100vw;
    overflow: hidden; 
    background-color: #050510; 
    color: #fff;
    /* Position fixed mencegah scroll karet di iOS */
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
}

/* ==========================================================================
   2. CANVAS ANIMATION LAYERS (PARTIKEL)
   ========================================================================== */
#tech-canvas {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 0; 
    opacity: 0.3; 
    pointer-events: none;
}

#particle-overlay-canvas {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 99; 
    opacity: 0.7; 
    pointer-events: none;
}

/* ==========================================================================
   3. SYSTEM ALERT BANNER (FIXED)
   ========================================================================== */
.system-alert-banner {
    position: fixed; 
    top: 30px; 
    left: 50%; 
    transform: translateX(-50%);
    /* Z-Index tinggi agar terlihat, tapi dibawah chat */
    z-index: 99999 !important; 
    background: #0a1020; 
    border: 1px solid #ffa500;
    padding: 12px 30px; 
    border-radius: 4px; 
    color: #ffa500;
    font-family: 'Source Code Pro', monospace; 
    letter-spacing: 1px;
    font-size: 0.9rem; 
    font-weight: 600; 
    text-transform: uppercase;
    display: flex !important; 
    align-items: center; 
    gap: 15px;
    box-shadow: 0 0 25px rgba(255, 165, 0, 0.5); 
    animation: blinkAlert 2s infinite ease-in-out;
}

/* Sembunyikan Banner saat Chat Terbuka agar tombol X aman */
body.chat-open .system-alert-banner {
    display: none !important;
}

.system-alert-banner i { 
    font-size: 1.2rem; 
}

@keyframes blinkAlert {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 20px rgba(255, 165, 0, 0.4); 
        border-color: #ffa500; 
    }
    50% { 
        opacity: 0.9; 
        box-shadow: 0 0 5px rgba(255, 165, 0, 0.1); 
        border-color: rgba(255, 165, 0, 0.3); 
    }
}

/* ==========================================================================
   4. LAYOUT UTAMA (SPLIT SCREEN)
   ========================================================================== */
.gateway-container {
    display: flex; 
    width: 100%; 
    height: 100dvh; 
    position: relative; 
    z-index: 10;
}

.split {
    flex: 1; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    position: relative; 
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    -webkit-tap-highlight-color: transparent; 
}

/* Grid Background Effect */
.split::before {
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: -1;
}

/* PANEL KIRI (Hardware) */
.left {
    background: linear-gradient(135deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 0) 100%);
    background-color: #0a1020;
    border-right: 1px solid rgba(0, 255, 255, 0.1);
    animation: leftPanelReact 6s ease-in-out 1.5s forwards;
}

/* PANEL KANAN (Software) */
.right {
    background: linear-gradient(225deg, rgba(20, 0, 30, 1) 0%, rgba(60, 9, 121, 1) 35%, rgba(255, 165, 0, 0) 100%);
    background-color: #100a15;
    animation: rightPanelReact 6s ease-in-out 1.5s forwards;
}

@keyframes leftPanelReact {
    0%, 20% { flex: 1; }
    25% { flex: 1.5; } 
    35% { flex: 1; }   
    100% { flex: 1; }
}

@keyframes rightPanelReact {
    0%, 65% { flex: 1; }
    75% { flex: 1.5; } 
    85% { flex: 1; }   
    100% { flex: 1; }
}

/* ==========================================================================
   5. ANIMASI ELEMENT (ICON & BUTTON HIGHLIGHT)
   ========================================================================== */

.left .btn-explore { animation: btnLeftSync 6s ease-in-out 1.5s forwards; }
.right .btn-explore { animation: btnRightSync 6s ease-in-out 1.5s forwards; }
.left .tech-icon { animation: iconLeftSync 6s ease-in-out 1.5s forwards; }
.right .tech-icon { animation: iconRightSync 6s ease-in-out 1.5s forwards; }

@keyframes btnLeftSync {
    0%, 20% { background: transparent; color: #fff; }
    25% { background: #00d4ff; color: #000; border-color: #00d4ff; box-shadow: 0 0 20px #00d4ff; } 
    35%, 100% { background: transparent; color: #fff; }
}
@keyframes btnRightSync {
    0%, 65% { background: transparent; color: #fff; }
    75% { background: #ffa500; color: #000; border-color: #ffa500; box-shadow: 0 0 20px #ffa500; } 
    85%, 100% { background: transparent; color: #fff; }
}

@keyframes iconLeftSync {
    0%, 20% { color: rgba(255,255,255,0.8); transform: scale(1); }
    25% { color: #00d4ff; transform: scale(1.2); text-shadow: 0 0 30px #00d4ff; } 
    35%, 100% { color: rgba(255,255,255,0.8); transform: scale(1); }
}
@keyframes iconRightSync {
    0%, 65% { color: rgba(255,255,255,0.8); transform: scale(1); }
    75% { color: #ffa500; transform: scale(1.2); text-shadow: 0 0 30px #ffa500; } 
    85%, 100% { color: rgba(255,255,255,0.8); transform: scale(1); }
}

/* ==========================================================================
   6. INTERAKSI USER ASLI (HOVER EFFECT)
   ========================================================================== */
.split:hover { flex: 1.5 !important; }

/* Styling Hover Kiri (Infrastruktur - Biru) */
.left:hover .tech-icon, .left.active .tech-icon { color: #00d4ff; text-shadow: 0 0 20px #00d4ff; transform: scale(1.1); }
.left:hover .tech-line, .left.active .tech-line { background: #00d4ff; width: 100px; }
.left:hover .hud-corner, .left.active .hud-corner { border-color: #00d4ff; width: 50px; height: 50px; }
.left:hover .content-wrapper, .left.active .content-wrapper { border-color: rgba(0, 212, 255, 0.4); box-shadow: 0 0 30px rgba(0, 212, 255, 0.1); }
.left:hover .btn-explore, .left.active .btn-explore { background: #00d4ff; color: #000; border-color: #00d4ff; opacity: 1; font-weight: bold; }

/* Styling Hover Kanan (Platform - Oranye) */
.right:hover .tech-icon, .right.active .tech-icon { color: #ffa500; text-shadow: 0 0 20px #ffa500; transform: scale(1.1); }
.right:hover .tech-line, .right.active .tech-line { background: #ffa500; width: 100px; }
.right:hover .hud-corner, .right.active .hud-corner { border-color: #ffa500; width: 50px; height: 50px; }
.right:hover .content-wrapper, .right.active .content-wrapper { border-color: rgba(255, 165, 0, 0.4); box-shadow: 0 0 30px rgba(255, 165, 0, 0.1); }
.right:hover .btn-explore, .right.active .btn-explore { background: #ffa500; color: #000; border-color: #ffa500; opacity: 1; font-weight: bold; }

/* ==========================================================================
   7. CENTER LOGO SYSTEM (DOUBLE ANIMATION)
   ========================================================================== */
.center-anchor {
    position: relative; width: 0; height: 100%; z-index: 101;
    display: flex; align-items: center; justify-content: center;
}
.center-logo {
    position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
    z-index: 101; width: 180px; height: 180px;
    background: #000; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    border: 3px solid #333; box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer; overflow: hidden;
    
    /* ANIMASI: Intro (Zoom) + Reaksi Kursor (Pulse) */
    animation: 
        logoMasterSequence 7.5s ease-in-out forwards,
        pcLogoReact 6s ease-in-out 1.5s forwards;
}

.logo-ring {
    position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 3px solid transparent;
    border-top-color: #ffa500; border-bottom-color: #00d4ff; animation: spin 6s linear infinite; pointer-events: none;
}
.logo-inner-energy {
    position: absolute; top: 5%; left: 5%; width: 90%; height: 90%; border-radius: 50%;
    background-image: radial-gradient(circle, #000 60%, transparent 65%), conic-gradient(from 0deg, transparent 0%, rgba(0, 212, 255, 1) 25%, transparent 50%, rgba(255, 165, 0, 1) 75%, transparent 100%);
    z-index: 1; filter: blur(4px); animation: spinInner 3s linear infinite;
}
.center-logo img { width: 65%; height: auto; z-index: 2; transition: transform 0.5s ease; position: relative; }

/* Interaksi Logo Hover Manual */
.center-logo:hover, .center-logo:active {
    transform: translate(-50%, -50%) scale(1.5) !important;
    border-color: #fff; box-shadow: 0 0 60px rgba(255, 165, 0, 0.5), 0 0 100px rgba(0, 212, 255, 0.3); z-index: 102;
}
.center-logo:hover .logo-ring { animation-duration: 2s; border-width: 2px; }
.center-logo:hover .logo-inner-energy { animation-duration: 1s; filter: blur(2px) brightness(1.5); }

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spinInner { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }

/* Animasi Intro Logo (Zoom In Awal) */
@keyframes logoMasterSequence {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(8); }
    15% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Animasi Reaksi Kursor - Denyutan di Akhir (85%) */
@keyframes pcLogoReact {
    0%, 80% { transform: translate(-50%, -50%) scale(1); border-color: #333; }
    85% { transform: translate(-50%, -50%) scale(1.4); border-color: #fff; box-shadow: 0 0 60px rgba(0, 212, 255, 0.8); }
    90%, 100% { transform: translate(-50%, -50%) scale(1); border-color: #333; }
}

/* ==========================================================================
   [FINAL] LABEL "PRODUK" & "JASA" (STYLE NEON HUD + POSISI KONSISTEN)
   ========================================================================== */
.panel-label {
    position: absolute; 
    
    /* STYLE: Glassmorphism Gelap (Menyatu dgn Tema) */
    background: rgba(10, 16, 32, 0.85); 
    backdrop-filter: blur(8px);
    
    /* Border Neon Tipis */
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    padding: 10px 30px;
    border-radius: 30px; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 0.85rem;
    font-weight: 800; 
    letter-spacing: 3px; 
    z-index: 20;
    
    /* Shadow Glowing */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    
    pointer-events: none; /* Klik tembus */
    transition: all 0.4s ease;
    
    /* PASTIKAN SELALU MUNCUL */
    display: block !important;
    opacity: 1 !important;
}

/* --- POSISI DEFAULT (PC & LANDSCAPE MODE APAPUN) --- */

/* Label Kiri (PRODUK - Biru) */
/* Posisi: Pojok Kanan Bawah Panel Kiri */
.left .panel-label { 
    bottom: 30px; 
    right: 40px; 
    left: auto; top: auto;
    
    border-right: 3px solid #00d4ff; 
    color: #e0faff; 
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

/* Label Kanan (JASA - Oranye) */
/* Posisi: Pojok Kiri Bawah Panel Kanan */
.right .panel-label { 
    bottom: 30px; 
    left: 40px; 
    right: auto; top: auto;
    
    border-left: 3px solid #ffa500; 
    color: #fff5e0; 
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
}

/* Efek Hover Desktop */
.split.left:hover .panel-label { 
    background: rgba(0, 212, 255, 0.15); 
    border-color: #00d4ff;
    transform: translateX(-10px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.split.right:hover .panel-label { 
    background: rgba(255, 165, 0, 0.15); 
    border-color: #ffa500;
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.3);
}

/* ==========================================================================
   8. GHOST CURSOR (PC/LANDSCAPE/TABLET)
   ========================================================================== */
.tutorial-cursor {
    position: absolute; top: 6vh; left: 50%; transform: translateX(-50%);
    z-index: 200; font-size: 2.5rem; color: #ffa500;
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.8); opacity: 0; pointer-events: none;
    animation: cursorPathPC 6s ease-in-out 1.5s forwards;
}

/* JALUR KURSOR UMUM */
@keyframes cursorPathPC {
    0% { opacity: 0; top: 6vh; left: 50%; transform: translateX(-50%) scale(1); }
    10% { opacity: 1; top: 6vh; left: 50%; }
    /* KIRI */
    25% { top: 50%; left: 25%; transform: translateX(-50%) scale(0.9); } 
    /* KANAN */
    50% { top: 50%; left: 75%; transform: translateX(-50%) scale(1); }
    75% { top: 50%; left: 75%; transform: translateX(-50%) scale(0.9); }
    /* TENGAH (LOGO) */
    85% { top: 50%; left: 50%; transform: translateX(-50%) scale(0.9); } 
    
    90% { opacity: 1; transform: translateX(-50%) scale(1); }
    100% { opacity: 0; top: 50%; left: 50%; }
}

/* ==========================================================================
   9. CHAT & UI ELEMENTS
   ========================================================================== */
.floating-chat-btn {
    position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px;
    background: linear-gradient(135deg, #00d4ff, #0056b3); 
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    color: #fff; font-size: 1.8rem; cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.5); 
    /* Z-INDEX SANGAT TINGGI */
    z-index: 999999; 
    transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.2);
    animation: bounceIn 1s ease 1s backwards;
}
.floating-chat-btn:hover {
    transform: scale(1.1) rotate(-10deg);
    background: linear-gradient(135deg, #ffa500, #ff4500);
    box-shadow: 0 4px 25px rgba(255, 165, 0, 0.6);
}
.chat-notification-dot {
    position: absolute; top: 0; right: 0; width: 18px; height: 18px;
    background: #ff0000; border-radius: 50%; border: 2px solid #fff;
    animation: pulseRed 2s infinite;
}
.chat-tooltip {
    position: absolute; right: 80px; background: rgba(0,0,0,0.8); color: #fff;
    padding: 8px 15px; border-radius: 8px; font-size: 0.85rem;
    opacity: 0; transform: translateX(10px); transition: all 0.3s; pointer-events: none;
    border: 1px solid rgba(255,255,255,0.2); white-space: nowrap;
}
.floating-chat-btn:hover .chat-tooltip { opacity: 1; transform: translateX(0); }

/* POPUP CHAT */
.chat-popup-modal {
    position: fixed; bottom: 110px; right: 30px; width: 380px; height: 600px;
    background: #0a1020; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    /* WAJIB LEBIH TINGGI DARI BANNER (99999) */
    z-index: 999999 !important; 
    display: none; flex-direction: column; overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.3); backdrop-filter: blur(10px);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chat-popup-modal.active { display: flex; }
.chat-header {
    background: linear-gradient(90deg, #00d4ff, #0056b3); padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center; color: #fff;
}
.chat-body { flex: 1; background: #fff; }
.chat-body iframe { width: 100%; height: 100%; border: none; }

/* ==========================================================================
   10. CONTENT TYPOGRAPHY & ELEMENTS
   ========================================================================== */
.content-wrapper {
    text-align: center; z-index: 2; padding: 40px;
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 15px; transition: all 0.4s ease;
    
    width: 80%; max-width: 500px; min-height: 400px; height: auto;
    display: flex; flex-direction: column; justify-content: center; align-items: center; margin: 0 auto;
}

h2 { font-size: 2.2rem; font-weight: 900; letter-spacing: 2px; margin-top: 20px; line-height: 1.2; text-transform: uppercase; }
.thin-text { font-weight: 300; font-size: 1.5rem; display: block; }
.desc-text { display: block; color: rgba(255, 255, 255, 0.6); margin-top: 15px; font-size: 0.95rem; font-family: 'Source Code Pro', monospace; letter-spacing: 1px; line-height: 1.5; }
.tech-line { width: 50px; height: 3px; background: #fff; margin: 25px auto; transition: width 0.4s ease, background 0.4s ease; }
.icon-container { position: relative; display: inline-block; margin-bottom: 10px; }
.tech-icon { font-size: 4rem; color: rgba(255, 255, 255, 0.8); transition: all 0.4s ease; }
.icon-pulse {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2); animation: pulse 2s infinite; z-index: -1;
}
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.hud-corner { position: absolute; width: 30px; height: 30px; border: 2px solid rgba(255, 255, 255, 0.2); transition: all 0.4s ease; }
.top-left { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.bottom-right { bottom: 20px; right: 20px; border-left: none; border-top: none; }
.top-right { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.bottom-left { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.btn-explore {
    margin-top: 10px; padding: 12px 30px; background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3); color: #fff;
    font-family: 'Montserrat', sans-serif; font-size: 0.8rem; letter-spacing: 2px;
    cursor: pointer; transition: all 0.3s; opacity: 0.6;
}

/* ==========================================================================
   11. SECTOR MODAL & GUEST FORM (FIXED SCROLL & SPACING)
   ========================================================================== */
.sector-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(15px);
    z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.sector-modal-overlay.active { opacity: 1; visibility: visible; }

.sector-modal-content {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px; border-radius: 20px;
    width: 90%; max-width: 800px;
    text-align: center; position: relative;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.1);
    transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh; /* Agar tidak lewat layar */
    overflow-y: auto; /* Scroll jika konten panjang */
}

/* Custom Scrollbar */
.sector-modal-content::-webkit-scrollbar { width: 8px; }
.sector-modal-content::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.sector-modal-content::-webkit-scrollbar-thumb { background-color: #00d4ff; border-radius: 10px; }

.sector-modal-overlay.active .sector-modal-content { transform: scale(1); }

.sector-modal-content h3 { font-size: 1.8rem; margin-bottom: 5px; color: #fff; letter-spacing: 2px; }
.modal-subtitle { color: rgba(255,255,255,0.6); margin-bottom: 30px; font-family: 'Source Code Pro', monospace; }

.sector-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    transition: all 0.3s ease;
}

.sector-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
    padding: 25px 10px; border-radius: 15px; cursor: pointer;
    transition: all 0.3s; display: flex; flex-direction: column; align-items: center;
}

.sector-card i { font-size: 2.5rem; margin-bottom: 15px; color: rgba(255,255,255,0.7); transition: all 0.3s; }
.sector-card span { font-weight: 700; letter-spacing: 1px; font-size: 0.9rem; }
.sector-card small { font-size: 0.7rem; color: rgba(255,255,255,0.5); margin-top: 5px; }

/* Highlight */
.sector-card:hover, .sector-card.selected { 
    background: rgba(0, 212, 255, 0.1); border-color: #00d4ff; transform: translateY(-5px); 
}
.sector-card:hover i, .sector-card.selected i { color: #00d4ff; text-shadow: 0 0 15px #00d4ff; }

.close-sector-btn {
    position: absolute; top: 20px; right: 20px;
    background: transparent; border: none; color: #fff; font-size: 1.5rem; cursor: pointer;
    z-index: 100;
}

/* ==========================================================================
   12. ANIMASI FORM BUKU TAMU
   ========================================================================== */
.guest-form-wrapper {
    max-height: 0; 
    overflow: hidden; 
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
    margin-top: 0;
}

.guest-form-wrapper.active {
    max-height: 1000px; 
    opacity: 1; 
    margin-top: 30px;
    padding-bottom: 20px;
}

/* FIX UTAMA: PISAHKAN GARIS DAN TEKS "LENGKAPI DATA" */
.form-divider { 
    border-top: 1px solid rgba(255,255,255,0.2); 
    width: 100%; margin-top: 30px; margin-bottom: 20px; 
    text-align: center; position: relative; 
}
.form-divider span { 
    display: inline-block; position: relative; top: auto; left: auto; transform: none;
    background: transparent; color: #00d4ff; padding: 10px 0; font-size: 0.9rem; letter-spacing: 1px;
}

#guestForm { text-align: left; }
.form-group { margin-bottom: 15px; }
.form-group label { 
    display: block; font-size: 0.85rem; color: #ddd; margin-bottom: 8px; 
    font-family: 'Source Code Pro', monospace;
}

.input-icon-wrapper { position: relative; }
.input-icon-wrapper i { 
    position: absolute; left: 15px; top: 15px; color: #00d4ff; 
}
.input-icon-wrapper input, .input-icon-wrapper textarea, .input-icon-wrapper select {
    width: 100%; padding: 12px 12px 12px 45px;
    background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px; color: #fff; font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
    font-size: 0.95rem;
}
.input-icon-wrapper textarea { resize: vertical; }
.input-icon-wrapper input:focus, .input-icon-wrapper textarea:focus, .input-icon-wrapper select:focus {
    border-color: #00d4ff; outline: none; background: rgba(0, 212, 255, 0.05);
}
.input-icon-wrapper option { background: #0a1020; color: #fff; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.btn-submit-guest {
    width: 100%; padding: 15px; 
    background: linear-gradient(90deg, #00d4ff, #0056b3);
    border: none; border-radius: 8px; color: #fff; font-weight: bold;
    cursor: pointer; margin-top: 15px; transition: 0.3s;
    font-size: 1rem; letter-spacing: 1px;
    margin-bottom: 10px;
}
.btn-submit-guest:hover { 
    transform: scale(1.02); box-shadow: 0 0 25px rgba(0, 212, 255, 0.4); 
}

@media (max-width: 768px) {
    .sector-grid { grid-template-columns: repeat(2, 1fr); }
    .sector-modal-content { padding: 25px; width: 95%; max-height: 85vh; }
    .sector-card i { font-size: 2rem; }
    .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   13. MEDIA QUERIES (MOBILE PORTRAIT - FIX CHAT & TOMBOL X)
   ========================================================================== */
@media (orientation: portrait) {
    .gateway-container { flex-direction: column; height: 100dvh; }
    .split { width: 100%; height: 50dvh; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 10px; }
    .content-wrapper { height: auto; min-height: unset; width: 85%; padding: 15px; justify-content: center; background: rgba(10, 16, 32, 0.6); }
    .left .content-wrapper { margin-bottom: 40px; }
    .right .content-wrapper { margin-top: 40px; }
    
    h2 { font-size: 1.2rem; margin-top: 5px; } 
    .thin-text { font-size: 0.9rem; }
    
    .desc-text { 
        display: block !important; 
        font-size: 0.75rem; 
        margin-top: 8px; 
        line-height: 1.3; 
        white-space: normal; 
    }
    
    .tech-icon { font-size: 2rem; margin-bottom: 5px; } 
    .btn-explore { padding: 8px 15px; font-size: 0.65rem; margin-top: 10px;} 
    .tech-line { margin: 10px auto; }
    
    .center-anchor { position: absolute; width: 0; height: 0; top: 0; left: 0; z-index: 500; }
    
    .center-logo { 
        position: fixed; top: 50%; left: 50%; 
        width: 90px; height: 90px; border-width: 2px;
        transform: translate(-50%, -50%); 
        z-index: 501; opacity: 1 !important; pointer-events: auto;
        animation: mobileLogoReact 8s ease-in-out 1s forwards;
    }
    
    .logo-ring { animation: spin 6s linear infinite !important; } 
    .logo-inner-energy { animation: spinInner 3s linear infinite !important; }
    
    /* [FIX POSISI LABEL DI HP (PORTRAIT)] */
    /* Kiri (Panel Atas) -> Pojok Kiri Bawah */
    .left .panel-label { 
        bottom: 20px; 
        left: 20px; 
        top: auto; right: auto;
    }
    
    /* Kanan (Panel Bawah) -> Pojok Kiri Atas */
    .right .panel-label { 
        top: 20px; 
        left: 20px; 
        bottom: auto; right: auto;
    }

    .tutorial-cursor { 
        display: block !important; position: fixed; top: 50%; left: 50%;
        font-size: 2.5rem; z-index: 9999;
        animation: cursorPathMobile 8s ease-in-out 1s forwards;
        pointer-events: none;
    }

    .left .btn-explore { animation: btnReactTop 8s ease-in-out 1s forwards; }
    .left .tech-icon { animation: iconReactTop 8s ease-in-out 1s forwards; }
    .right .btn-explore { animation: btnReactBottom 8s ease-in-out 1s forwards; }
    .right .tech-icon { animation: iconReactBottom 8s ease-in-out 1s forwards; }

    .system-alert-banner { 
        top: 10px; width: 95%; font-size: 0.55rem; padding: 8px; 
        justify-content: center; background: rgba(0,0,0,0.8);
    }
    .floating-chat-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.2rem; }
    
    /* FIX POPUP CHAT MOBILE */
    .chat-popup-modal { 
        width: 100%; height: 100%; bottom: 0; right: 0; border-radius: 0; 
        z-index: 2147483647 !important; /* Paksa Paling Depan */
    }
    .chat-header {
        padding: 20px; /* Perbesar area header */
        /* Tambahan: Pastikan header selalu di atas konten chat */
        position: relative; 
        z-index: 10;
    }
    .close-chat-btn {
        font-size: 2rem; /* Perbesar tombol X */
        padding: 10px;   /* Perluas area klik */
        color: #fff;
    }
}

/* ==========================================================================
   14. MEDIA QUERIES (MOBILE LANDSCAPE)
   ========================================================================== */
@media (orientation: landscape) and (max-height: 600px) {
    .gateway-container { flex-direction: row !important; height: 100dvh; }
    .split { height: 100% !important; width: 50% !important; padding: 5px !important; border-bottom: none !important; border-right: 1px solid rgba(255, 255, 255, 0.1); }
    .content-wrapper { width: 95% !important; min-height: unset !important; height: 95% !important; padding: 5px !important; }
    h2 { font-size: 0.85rem !important; margin-top: 2px; } 
    .tech-icon { font-size: 1.5rem !important; margin-bottom: 5px; } 
    .thin-text { font-size: 0.7rem !important; }
    .desc-text { display: block !important; font-size: 0.6rem !important; margin-top: 2px; line-height: 1.1; }
    .btn-explore { padding: 4px 10px !important; font-size: 0.55rem !important; margin-top: 3px; } 
    .tech-line { margin: 5px auto; height: 1px; }

    .center-logo { opacity: 0.8; pointer-events: none; width: 80px; height: 80px; }
    .floating-chat-btn { width: 35px; height: 35px; font-size: 0.9rem; bottom: 5px; right: 5px; }
    
    /* Sembunyikan banner di HP Landscape agar tidak memenuhi layar */
    .system-alert-banner { display: none !important; } 
    
    /* [FIX] PASTIKAN LABEL MUNCUL DI HP LANDSCAPE JUGA */
    .panel-label {
        font-size: 0.6rem; /* Perkecil sedikit agar muat */
        padding: 5px 15px;
    }
    /* Posisi sama seperti PC/Desktop */
    .left .panel-label { bottom: 20px; right: 20px; }
    .right .panel-label { bottom: 20px; left: 20px; }
}

/* ==========================================================================
   15. TIMELINE ANIMASI MOBILE (KEYFRAMES WAJIB)
   ========================================================================== */
@keyframes cursorPathMobile {
    0% { opacity: 0; top: 15vh; left: 50%; transform: translateX(-50%); } 5% { opacity: 1; }
    20% { top: 25vh; transform: translateX(-50%) scale(1); } 25% { transform: translateX(-50%) scale(0.8); } 
    35% { top: 75vh; transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(0.8); } 
    65% { top: 50%; transform: translateX(-50%) scale(1); } 80% { transform: translateX(-50%) scale(0.8); } 
    90% { opacity: 1; top: 50%; } 100% { opacity: 0; top: 50%; }
}

@keyframes btnReactTop {
    0%, 20% { background: transparent; color: #fff; }
    25% { background: #00d4ff; color: #000; box-shadow: 0 0 20px #00d4ff; }
    30%, 100% { background: transparent; color: #fff; }
}
@keyframes iconReactTop {
    0%, 20% { color: rgba(255,255,255,0.8); transform: scale(1); }
    25% { color: #00d4ff; transform: scale(1.2); text-shadow: 0 0 20px #00d4ff; }
    30%, 100% { color: rgba(255,255,255,0.8); transform: scale(1); }
}

@keyframes btnReactBottom {
    0%, 45% { background: transparent; color: #fff; }
    50% { background: #ffa500; color: #000; box-shadow: 0 0 20px #ffa500; }
    55%, 100% { background: transparent; color: #fff; }
}
@keyframes iconReactBottom {
    0%, 45% { color: rgba(255,255,255,0.8); transform: scale(1); }
    50% { color: #ffa500; transform: scale(1.2); text-shadow: 0 0 20px #ffa500; }
    55%, 100% { color: rgba(255,255,255,0.8); transform: scale(1); }
}

@keyframes mobileLogoReact {
    0%, 75% { transform: translate(-50%, -50%) scale(1); border-color: #333; }
    80% { transform: translate(-50%, -50%) scale(1.4); border-color: #fff; box-shadow: 0 0 60px rgba(0, 212, 255, 0.8); }
    85%, 100% { transform: translate(-50%, -50%) scale(1); border-color: #333; }
}