/* =========================================
   PROBOX DEPLOYMENT STATION STYLE
   Theme: Cyber Nebula
   ========================================= */

:root {
    --bg-deep: #030305;
    --primary: #ae00ff;
    --primary-glow: rgba(174, 0, 255, 0.6);
    --secondary: #ff00b8;
    --gold: #ffd700;
    --text-main: #ffffff;
    --text-muted: #9494a8;
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0; padding: 0;
    overflow-x: hidden;

    /* POLA GRID TEKNIS (Tambahan Baru) */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px; /* Ukuran kotak grid */
    background-attachment: fixed; /* Grid diam saat scroll */
}

/* =========================================
   BACKGROUND SYSTEM: SUPERNOVA EDITION (FIXED)
   ========================================= */

/* Container Utama: Fixed agar memenuhi layar & tidak ikut scroll */
.partner-cosmos {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; pointer-events: none; z-index: -1;
    
    /* Gradasi Warna Background (Transparan agar Grid Body terlihat) */
    background: radial-gradient(circle at bottom, rgba(26, 5, 36, 0.8) 0%, rgba(3, 3, 5, 0.4) 70%);
}

.nebula-cloud {
    position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(174, 0, 255, 0.15), transparent 70%);
    filter: blur(100px); animation: nebulaPulse 10s infinite alternate;
}
@keyframes nebulaPulse { 0% { opacity: 0.5; } 100% { opacity: 0.8; } }

/* --- STARS LOGIC (SUPER DENSE) --- */

.stars-small, .stars-medium, .stars-large {
    position: absolute; 
    top: 0; 
    left: 0;
    background: transparent;
    pointer-events: none;
    z-index: 0; /* Pastikan di atas background color */
}

/* 1. SMALL STARS (Static) */
.stars-small {
    width: 2px; height: 2px; /* UKURAN WAJIB KECIL */
    opacity: 0.6;
    
    /* Koordinat Panjang 400vh */
    box-shadow: 
        10vw 10vh #fff, 30vw 25vh #fff, 50vw 15vh #fff, 70vw 35vh #fff, 90vw 5vh #fff,
        5vw 45vh #fff, 25vw 55vh #fff, 45vw 35vh #fff, 65vw 65vh #fff, 85vw 50vh #fff,
        15vw 75vh #fff, 35vw 85vh #fff, 55vw 70vh #fff, 75vw 90vh #fff, 95vw 80vh #fff,
        8vw 110vh #fff, 28vw 120vh #fff, 48vw 105vh #fff, 68vw 130vh #fff, 88vw 115vh #fff,
        12vw 210vh #fff, 32vw 225vh #fff, 52vw 215vh #fff, 72vw 235vh #fff, 92vw 205vh #fff,
        4vw 245vh #fff, 24vw 255vh #fff, 44vw 235vh #fff, 64vw 265vh #fff, 84vw 250vh #fff,
        18vw 310vh #fff, 38vw 325vh #fff, 58vw 315vh #fff, 78vw 335vh #fff, 98vw 305vh #fff,
        6vw 345vh #fff, 26vw 355vh #fff, 46vw 335vh #fff, 66vw 365vh #fff, 86vw 350vh #fff;
    
    animation: none; /* Diam */
}
.stars-small::after { display: none; }

/* 2. MEDIUM STARS (Static) */
.stars-medium {
    width: 3px; height: 3px; /* UKURAN WAJIB KECIL */
    opacity: 0.8;
    
    box-shadow: 
        20vw 15vh var(--primary), 80vw 25vh #fff, 40vw 45vh var(--accent-pink),
        60vw 55vh var(--secondary), 10vw 75vh #fff,
        90vw 115vh var(--primary), 30vw 125vh var(--secondary), 70vw 145vh #fff, 
        50vw 155vh var(--primary), 15vw 175vh #fff,
        25vw 215vh var(--primary), 85vw 225vh #fff, 45vw 245vh var(--accent-pink),
        65vw 255vh var(--secondary), 15vw 275vh #fff,
        95vw 315vh var(--primary), 35vw 325vh var(--secondary), 75vw 345vh #fff, 
        55vw 355vh var(--primary), 20vw 375vh #fff;
        
    animation: none; /* Diam */
}
.stars-medium::after { display: none; }

/* 3. LARGE STARS (Static) */
.stars-large {
    width: 4px; height: 4px; /* UKURAN WAJIB KECIL */
    opacity: 1; 
    filter: blur(1.5px);
    
    box-shadow: 
        15vw 20vh #fff, 75vw 40vh var(--secondary), 35vw 70vh var(--primary), 
        95vw 120vh #fff, 25vw 140vh var(--secondary), 55vw 170vh var(--primary),
        65vw 220vh #fff, 5vw 240vh var(--secondary), 45vw 270vh var(--primary),
        85vw 320vh #fff, 15vw 340vh var(--secondary), 35vw 370vh var(--primary);
        
    animation: none; /* Diam */
}
.stars-large::after { display: none; }

/* Pastikan background container tidak menutupi bintang */
.partner-cosmos {
    z-index: 1; /* Di atas background solid section */
}

/* Pastikan konten utama di atas bintang */
.container, .hero-content, .bento-grid {
    position: relative;
    z-index: 5;
}

/* --- UTILITIES --- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-neon { color: var(--primary); text-shadow: 0 0 15px rgba(174,0,255,0.4); }

/* --- LOADER SCREEN --- */
.center-view {
    display: flex; justify-content: center; align-items: center;
    min-height: 100vh; position: relative; z-index: 10;
}

.cyber-loader {
    display: flex; flex-direction: column; 
    align-items: center; justify-content: center;
    gap: 40px;
}

/* --- REACTOR BOX (CONTAINER CINCIN) --- */
.reactor-box {
    position: relative;
    width: 120px; height: 120px;
    display: flex; justify-content: center; align-items: center;
}

/* Core Logo (Tengah) */
.core-logo {
    position: absolute;
    width: 60px; height: 60px;
    background: #000;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
    box-shadow: 0 0 30px rgba(174, 0, 255, 0.5);
    animation: corePulse 2s infinite ease-in-out;
}
.core-logo img { width: 40px; height: 40px; }

@keyframes corePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(174, 0, 255, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(174, 0, 255, 0.8); }
}

/* --- RINGS ANIMATION --- */
.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

/* Ring 1: Luar (Lambat) */
.ring-1 {
    width: 100%; height: 100%;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--secondary);
    animation: spin 3s linear infinite;
    box-shadow: 0 0 15px rgba(174, 0, 255, 0.2);
}

/* Ring 2: Tengah (Cepat, Berlawanan Arah) */
.ring-2 {
    width: 80%; height: 80%;
    border-left: 2px solid #fff;
    border-right: 2px solid rgba(255,255,255,0.2);
    animation: spinReverse 1.5s linear infinite;
}

/* Ring 3: Dalam (Dashed/Putus-putus) */
.ring-3 {
    width: 130%; height: 130%;
    border: 1px dashed rgba(255,255,255,0.1);
    animation: spin 10s linear infinite;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spinReverse { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }


/* --- TEXT & PROGRESS BAR --- */
.loader-content { text-align: center; }

.loader-content h3 {
    font-family: var(--font-heading); 
    font-size: 1.2rem; letter-spacing: 3px; 
    color: #fff; margin: 0 0 15px 0;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.blink { animation: blinker 1s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }

/* Loading Bar Container */
.loading-bar-container {
    width: 200px; height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 10px auto;
}

/* Loading Bar Fill (Bergerak) */
.loading-bar-fill {
    position: absolute; top: 0; left: 0; height: 100%; width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: translateX(-100%);
    animation: loadingFill 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--primary);
}

@keyframes loadingFill {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

.loading-sub {
    font-size: 0.8rem; color: #666; font-family: monospace;
}

/* --- NAVBAR --- */
.glass-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(5, 5, 8, 0.8); backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 15px 0;
}
.header-content {
    max-width: 1000px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.back-link {
    display: flex; align-items: center; gap: 8px;
    color: #ccc; text-decoration: none; font-weight: 500; transition: 0.3s;
}
.back-link:hover { color: #fff; transform: translateX(-3px); }
.user-chip {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.05); padding: 6px 12px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem;
}
.status-dot { width: 8px; height: 8px; background: #00ff88; border-radius: 50%; box-shadow: 0 0 8px #00ff88; }

/* --- MAIN PANEL --- */
.container { max-width: 900px; margin: 40px auto; padding: 0 20px; }

.main-glass-panel {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 24px; padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.page-title {
    font-family: var(--font-heading); font-size: 2.5rem; margin: 0 0 10px; color: #fff;
}
.page-subtitle { color: var(--text-muted); font-size: 1.1rem; }

/* --- SECTIONS --- */
.zone-label {
    font-size: 0.75rem; color: var(--secondary); font-weight: 700; 
    letter-spacing: 1.5px; margin-bottom: 15px; display: block; text-transform: uppercase;
}

/* 1. DOWNLOAD BUTTON (Hero) */
.download-zone { margin: 50px 0; text-align: center; }
.btn-download-cyber {
    position: relative; display: inline-flex; align-items: center; gap: 20px;
    background: linear-gradient(90deg, #181820, #222);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px 30px; border-radius: 16px;
    text-decoration: none; overflow: hidden; transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.icon-box {
    width: 40px; height: 40px; background: var(--primary);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: 0 0 15px var(--primary-glow);
}
.btn-text { text-align: left; display: flex; flex-direction: column; }
.main-text { color: #fff; font-weight: 700; font-family: var(--font-heading); font-size: 1.1rem; }
.sub-text { color: #888; font-size: 0.8rem; }

.btn-glow-anim {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg); transition: left 0.5s;
}
.btn-download-cyber:hover {
    transform: translateY(-3px); border-color: var(--primary);
    box-shadow: 0 15px 50px rgba(174,0,255,0.2);
}
.btn-download-cyber:hover .btn-glow-anim { left: 150%; transition: 0.7s; }

/* 2. VIDEO FRAME (Holographic) */
.video-section { margin-bottom: 60px; }
.holo-frame {
    position: relative; padding-bottom: 56.25%; background: #000;
    border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.holo-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.corner-decor {
    position: absolute; width: 20px; height: 20px; border-color: var(--secondary); border-style: solid;
    pointer-events: none; z-index: 2;
}
.tl { top: 0; left: 0; border-width: 2px 0 0 2px; border-radius: 16px 0 0 0; }
.tr { top: 0; right: 0; border-width: 2px 2px 0 0; border-radius: 0 16px 0 0; }
.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-radius: 0 0 0 16px; }
.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-radius: 0 0 16px 0; }

/* 3. MANUAL STEPS (Grid System) */
.manual-section { margin-bottom: 60px; }
.zone-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.link-pdf { color: var(--secondary); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.link-pdf:hover { color: #fff; text-shadow: 0 0 10px var(--secondary); }

.steps-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.step-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    padding: 25px; border-radius: 16px; position: relative; overflow: hidden;
    transition: 0.3s;
}
.step-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }

.step-num {
    font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800;
    color: rgba(255,255,255,0.05); position: absolute; top: 10px; right: 20px;
}
.step-content h3 { color: #fff; margin: 0 0 10px; font-size: 1.1rem; }
.step-content p { color: #aaa; margin: 0; font-size: 0.9rem; line-height: 1.6; }
.step-content code {
    background: rgba(174,0,255,0.2); color: #fff; padding: 2px 6px;
    border-radius: 4px; font-family: monospace;
}

/* Highlight Step 6 */
.step-card.highlight {
    border-color: var(--primary); box-shadow: inset 0 0 20px rgba(174,0,255,0.1);
}
.step-card.highlight .step-num { color: rgba(174,0,255,0.1); }

/* 4. SUPPORT TERMINAL */
.support-terminal {
    background: #08080a; border: 1px dashed rgba(255,255,255,0.2);
    padding: 25px; border-radius: 16px;
    display: flex; justify-content: space-between; align-items: center;
}
.terminal-text h4 { color: #ff4b4b; margin: 0 0 5px; font-family: monospace; }
.terminal-text p { margin: 0; color: #888; font-size: 0.9rem; }

.btn-terminal {
    background: transparent; border: 1px solid #fff; color: #fff;
    padding: 10px 20px; font-weight: 700; text-decoration: none; font-size: 0.8rem;
    border-radius: 4px; transition: 0.3s;
}
.btn-terminal:hover { background: #fff; color: #000; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-glass-panel { padding: 30px 20px; }
    .page-title { font-size: 1.8rem; }
    .support-terminal { flex-direction: column; text-align: center; gap: 15px; }
}

/* =========================================
   FLOATING WIDGET: THE IG ORBITAL
   ========================================= */

.floating-ig-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9990; /* Di atas konten, di bawah modal */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

/* Tombol Utama (Orb) */
.ig-orb {
    display: flex;
    align-items: center;
    
    /* Gradient Instagram Spesial */
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    background-size: 200% 200%;
    animation: igGradientMove 5s ease infinite;
    
    padding: 12px;
    border-radius: 50px; /* Mulai sebagai lingkaran */
    
    /* Efek Kaca Luar */
    box-shadow: 
        0 10px 30px rgba(225, 48, 108, 0.4), /* Glow Pink */
        0 0 0 4px rgba(255, 255, 255, 0.1); /* Ring Transparan */
    
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    width: 54px; /* Lebar awal (Lingkaran) */
    height: 54px;
    white-space: nowrap; /* Agar teks tidak turun baris */
}

/* Icon Box */
.ig-icon-box {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0; /* Agar tidak gepeng saat animasi */
}
.ig-icon-box svg { width: 28px; height: 28px; }

/* Teks (Sembunyi dulu) */
.ig-text {
    color: #fff;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    opacity: 0;
    margin-left: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    width: 0; /* Hilangkan space */
}

/* Notifikasi Dot (Merah di pojok) */
.ig-notify-dot {
    position: absolute;
    top: -5px; right: 0;
    width: 20px; height: 20px;
    background: #ff3b3b;
    border: 2px solid #000;
    border-radius: 50%;
    color: #fff; font-size: 0.7rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    animation: bounceDot 2s infinite;
}

/* Gelombang Sinyal (Ripple) */
.ig-signal-wave {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: 50px;
    border: 2px solid rgba(225, 48, 108, 0.6);
    opacity: 0;
    animation: rippleWave 2s infinite;
    z-index: -1;
}
.ig-signal-wave.delay { animation-delay: 1s; }


/* --- HOVER INTERACTION --- */

/* 1. Melebar jadi Kapsul */
.floating-ig-wrapper:hover .ig-orb {
    width: 160px; /* Melebar */
    border-radius: 50px;
    padding-left: 18px; /* Sedikit geser */
    box-shadow: 0 15px 40px rgba(225, 48, 108, 0.6);
}

/* 2. Teks Muncul */
.floating-ig-wrapper:hover .ig-text {
    opacity: 1;
    margin-left: 10px;
    transform: translateX(0);
    width: auto;
}

/* 3. Sembunyikan Dot & Wave saat hover agar bersih */
.floating-ig-wrapper:hover .ig-notify-dot,
.floating-ig-wrapper:hover .ig-signal-wave {
    opacity: 0;
    animation: none;
}


/* --- ANIMATIONS --- */

/* Gerakan Gradient Background */
@keyframes igGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Gelombang Keluar */
@keyframes rippleWave {
    0% { width: 50px; height: 50px; opacity: 0.8; border-width: 2px; }
    100% { width: 120px; height: 120px; opacity: 0; border-width: 0px; }
}

/* Dot Melompat */
@keyframes bounceDot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* RESPONSIVE: Geser sedikit di HP agar tidak nutupin konten penting */
@media (max-width: 768px) {
    .floating-ig-wrapper { bottom: 20px; right: 20px; }
}