/* --- RESET & VARIABLES --- */
:root {
    --bg-deep: #050505;
    --bg-panel: #0f0f0f;
    --silver-grad: linear-gradient(135deg, #ffffff 0%, #a0a0a0 50%, #505050 100%);
    --silver-text: linear-gradient(to bottom, #ffffff, #b3b3b3);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-highlight: 1px solid rgba(255, 255, 255, 0.2);
    --font-main: 'Rajdhani', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--bg-deep);
    color: #e0e0e0;
    font-family: var(--font-main);
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #050505 60%);
    min-height: 100vh;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
    scroll-behavior: smooth;
    cursor: none; /* Default cursor hilang */
}

/* --- FIX KURSOR: Override cursor di elemen interaktif biar enak --- */
a, button, .est-btn, .glass-card, .footer-link { cursor: none; }

/* --- CANVAS BACKGROUND --- */
#bg-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.6; }

/* --- TEXT STYLES --- */
.text-silver {
    background: var(--silver-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    font-weight: 700; text-shadow: 0px 2px 10px rgba(255, 255, 255, 0.1);
}

/* --- NAVIGATION --- */
nav {
    position: fixed; top: 0; width: 100%; padding: 1rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(20px);
    border-bottom: var(--glass-border); z-index: 1000;
}
.logo { height: 40px; filter: grayscale(100%) brightness(1.2); position: relative; }
.logo-glitch { animation: glitch-anim 5s infinite; }
@keyframes glitch-anim {
    0% { transform: translate(0); opacity: 1; } 92% { transform: translate(0); opacity: 1; }
    93% { transform: translate(-2px, 2px); opacity: 0.8; } 94% { transform: translate(2px, -2px); opacity: 1; }
    95% { transform: translate(-1px, 1px); opacity: 0.9; } 96% { transform: translate(0); opacity: 1; } 100% { transform: translate(0); opacity: 1; }
}
.nav-links a { color: #888; text-decoration: none; margin-left: 2rem; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px; transition: 0.3s; }
.nav-links a:hover { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.5); }

/* --- MAIN CONTENT --- */
main { padding-top: 100px; min-height: 100vh; }

/* --- HERO & GENERAL --- */
.hero-container { text-align: center; padding: 4rem 1rem; position: relative; }
.silver-line { width: 150px; height: 4px; background: var(--silver-grad); margin: 20px auto; border-radius: 2px; box-shadow: 0 0 15px rgba(255,255,255,0.2); }
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); text-transform: uppercase; letter-spacing: 5px; line-height: 1.2; color: #fff; }
.hero-desc { color: #888; max-width: 600px; margin: 0 auto 2rem; font-size: 1rem; letter-spacing: 1px; }
.btn-silver {
    padding: 12px 30px; background: transparent; border: 1px solid #666;
    color: #fff; text-transform: uppercase; letter-spacing: 2px; border-radius: 30px;
    cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-block;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
}
.btn-silver:hover { border-color: #fff; background: rgba(255,255,255,0.1); box-shadow: 0 0 20px rgba(255,255,255,0.1); color: #fff; }

/* --- COMPONENTS --- */
.tech-marquee { width: 100%; overflow: hidden; white-space: nowrap; position: relative; margin: 40px 0; padding: 15px 0; background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.tech-track { display: inline-block; animation: scroll-left 30s linear infinite; }
.tech-item { display: inline-block; margin: 0 30px; font-size: 1.2rem; font-weight: bold; color: #555; text-transform: uppercase; letter-spacing: 2px; }
.tech-item i { margin-right: 8px; color: #888; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.section-title { text-align: center; margin: 4rem 0 2rem; font-size: 1.5rem; letter-spacing: 4px; color: #fff; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; padding: 0 5% 4rem; }

.glass-card {
    background: var(--glass-bg); border: var(--glass-border); border-radius: 20px;
    padding: 2rem; position: relative; overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column; justify-content: flex-start; min-height: 250px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5); transform-style: preserve-3d; perspective: 1000px;
}
.glass-card:hover { border: var(--glass-highlight); box-shadow: 0 20px 50px rgba(255,255,255,0.05); }
.glass-card h3 { font-size: 1.5rem; color: #fff; margin-bottom: 0.5rem; font-weight: 300; letter-spacing: 1px; transform: translateZ(20px); margin-top: 3rem; }
.glass-card p { font-size: 0.9rem; color: #777; line-height: 1.5; transform: translateZ(20px); }
.card-icon { font-size: 2.5rem; color: #333; position: absolute; top: 20px; right: 20px; opacity: 0.5; transition: 0.4s; transform: translateZ(10px); }
.glass-card:hover .card-icon { color: #fff; opacity: 0.8; }

/* Details & Features */
.sol-list { list-style: none; margin: 15px 0 0; padding: 0; text-align: left; transform: translateZ(20px); }
.sol-list li { color: #999; font-size: 0.85rem; margin-bottom: 5px; display: flex; align-items: center; }
.sol-list li::before { content: "\2713"; color: var(--silver-grad); margin-right: 8px; font-weight: bold; }
.sol-techs { margin-top: 15px; display: flex; gap: 10px; opacity: 0.6; transform: translateZ(20px); }
.sol-tech-icon { font-size: 1.2rem; color: #fff; }

.port-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; transform: translateZ(20px); }
.port-badge { background: rgba(255,255,255,0.1); padding: 3px 8px; border-radius: 4px; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; border: 1px solid #444; }
.port-status { font-size: 0.65rem; color: #00ff00; text-transform: uppercase; display: flex; align-items: center; gap: 5px; }
.live-dot { width: 6px; height: 6px; background: #00ff00; border-radius: 50%; box-shadow: 0 0 5px #00ff00; animation: blinkStatus 2s infinite; }
@keyframes blinkStatus { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
.port-metrics { display: flex; justify-content: space-between; margin-top: 15px; border-top: 1px solid #333; padding-top: 10px; transform: translateZ(20px); }
.metric-item { text-align: center; }
.metric-val { display: block; color: #fff; font-weight: bold; font-size: 0.9rem; }
.metric-lbl { font-size: 0.65rem; color: #666; text-transform: uppercase; }

.roadmap-step { border-top: 2px solid #333; padding-top: 20px; position: relative; transition: 0.3s; }
.roadmap-step:hover { border-top-color: #fff; }
.step-number { font-size: 3rem; font-weight: 700; color: rgba(255,255,255,0.1); position: absolute; top: 10px; right: 10px; line-height: 1; transition: 0.3s; }
.glass-card:hover .step-number { color: rgba(255,255,255,0.3); transform: scale(1.1); }

/* Estimator */
.estimator-container { max-width: 700px; margin: 0 auto 4rem; background: var(--glass-bg); border: var(--glass-border); padding: 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.est-label { color: #aaa; font-size: 0.8rem; margin-bottom: 10px; letter-spacing: 2px; text-transform: uppercase; }
.est-options { display: flex; gap: 10px; margin-bottom: 25px; flex-wrap: wrap; }
.est-btn { flex: 1; padding: 12px; border: 1px solid #444; border-radius: 8px; background: rgba(0,0,0,0.3); color: #777; cursor: pointer; text-align: center; font-weight: 500; transition: 0.3s; min-width: 100px; }
.est-btn:hover { border-color: #777; color: #fff; }
.est-btn.active { background: var(--silver-grad); color: #000; font-weight: bold; box-shadow: 0 0 15px rgba(255,255,255,0.2); border: none; }
.est-total-box { background: #000; border: 1px solid #333; padding: 20px; border-radius: 15px; text-align: center; margin-top: 20px; }
.est-price { font-size: 2.5rem; color: #fff; font-weight: bold; display: block; margin: 10px 0; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* Protocols */
.protocol-container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.protocol-item { border-bottom: 1px solid #333; margin-bottom: 15px; }
.protocol-header { background: rgba(255,255,255,0.03); padding: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; border-radius: 5px; }
.protocol-header:hover { background: rgba(255,255,255,0.08); }
.protocol-title { font-weight: bold; color: #ccc; letter-spacing: 1px; }
.protocol-icon { transition: 0.3s; color: #555; }
.protocol-content { max-height: 0; overflow: hidden; transition: 0.4s ease; color: #888; font-size: 0.9rem; line-height: 1.6; }
.protocol-item.active .protocol-content { padding: 15px; max-height: 200px; }
.protocol-item.active .protocol-header { background: rgba(255,255,255,0.1); border-left: 3px solid #fff; }
.protocol-item.active .protocol-icon { transform: rotate(180deg); color: #fff; }

/* Contact Form */
.contact-form-container { max-width: 600px; margin: 0 auto; background: var(--glass-bg); border: var(--glass-border); padding: 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.form-group { margin-bottom: 20px; text-align: left; }
.form-label { color: #aaa; font-size: 0.9rem; margin-bottom: 8px; display: block; letter-spacing: 1px; }
.form-input { width: 100%; padding: 12px 15px; background: rgba(0,0,0,0.3); border: 1px solid #333; border-radius: 8px; color: #fff; font-family: var(--font-main); font-size: 1rem; transition: 0.3s; }
.form-input:focus { border-color: #fff; background: rgba(255,255,255,0.05); box-shadow: 0 0 10px rgba(255,255,255,0.1); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* --- FOOTER --- */
footer {
    border-top: 1px solid #222; padding: 3rem 5% 4rem; background: #020202;
    color: #555; font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 20px;
}
.footer-col h4 { color: #fff; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 2px; }
.footer-link {
    color: var(--silver-text); text-decoration: none; font-weight: bold; cursor: pointer;
    border-bottom: 1px solid #555; padding-bottom: 2px; transition: 0.3s;
}
.footer-link:hover { color: #fff; border-bottom-color: #fff; text-shadow: 0 0 10px #fff; }
.address-line { width: 100%; text-align: center; margin-top: 20px; border-top: 1px solid #111; padding-top: 20px; font-size: 0.75rem; color: #444; }

/* --- STATUS & CURSOR --- */
.status-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: #000; border-top: 1px solid #333; display: flex; justify-content: flex-end; align-items: center; padding: 5px 20px; gap: 20px; font-family: monospace; font-size: 10px; color: #666; z-index: 1000; letter-spacing: 1px; }
.status-item { display: flex; align-items: center; gap: 5px; }
.status-dot { width: 6px; height: 6px; background: #00ff00; border-radius: 50%; box-shadow: 0 0 5px #00ff00; animation: blinkStatus 1s infinite; }

/* FIX KURSOR Z-INDEX BIAR DI ATAS MODAL */
.custom-cursor { 
    width: 30px; height: 30px; border: 1px solid rgba(255,255,255,0.5); border-radius: 50%; 
    position: fixed; pointer-events: none; z-index: 999999; /* MAX LEVEL */
    transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background 0.2s; mix-blend-mode: difference; 
}
.custom-cursor::after { content: ''; position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; background: #fff; border-radius: 50%; transform: translate(-50%, -50%); }
.custom-cursor.hovered { width: 60px; height: 60px; background: rgba(255,255,255,0.1); border-color: #fff; }

.back-to-top { position: fixed; bottom: 50px; right: 30px; width: 45px; height: 45px; background: rgba(20,20,20,0.8); border: 1px solid #555; color: #fff; display: flex; justify-content: center; align-items: center; border-radius: 50%; cursor: pointer; z-index: 998; opacity: 0; visibility: hidden; transition: 0.4s; }
.back-to-top:hover { background: #fff; color: #000; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* --- MODALS --- */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease, visibility 0.5s; }
.loader-logo { width: 80px; animation: pulse 1.5s infinite; filter: grayscale(100%); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 0.5; } }

#cyber-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 99999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(10px); }
#cyber-overlay.active { opacity: 1; visibility: visible; }
.cyber-box { width: 90%; max-width: 600px; padding: 30px; border: 1px solid #ff0000; background: rgba(10, 0, 0, 0.9); box-shadow: 0 0 50px rgba(255, 0, 0, 0.3); text-align: center; position: relative; overflow: hidden; }
.shake-anim { animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake { 10%, 90% { transform: translate3d(-2px, 0, 0); } 20%, 80% { transform: translate3d(4px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-8px, 0, 0); } 40%, 60% { transform: translate3d(8px, 0, 0); } }
.cyber-text { font-family: 'Courier New', Courier, monospace; color: #ff0000; font-size: 1.1rem; line-height: 1.6; font-weight: bold; text-shadow: 0 0 5px rgba(255, 0, 0, 0.8); margin-bottom: 20px; min-height: 150px; display: flex; flex-direction: column; justify-content: center; }
.cyber-logo { width: 60px; filter: grayscale(100%); opacity: 0.7; margin-top: 20px; }

/* FOUNDER MODAL */
#founder-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); z-index: 99999; 
    display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.4s; backdrop-filter: blur(15px);
    /* FIX KURSOR: Saat modal aktif, kembalikan kursor asli biar gampang klik */
    cursor: auto !important; 
}
#founder-overlay.active { opacity: 1; visibility: visible; }
.founder-card {
    width: 300px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px; padding: 30px; text-align: center;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); position: relative; overflow: hidden;
    cursor: default;
}
.founder-card::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: scan 4s infinite;
}
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
.founder-img-box {
    width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%;
    border: 2px solid #fff; padding: 3px;
    background: var(--silver-grad);
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}
.founder-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: grayscale(100%); transition: 0.3s; }
.founder-card:hover .founder-img { filter: grayscale(0%); }
.founder-name { font-size: 1.5rem; font-weight: bold; color: #fff; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 2px; }
.founder-role { font-size: 0.9rem; color: #aaa; font-family: monospace; letter-spacing: 1px; }
.close-founder { 
    position: absolute; top: 10px; right: 15px; color: #fff; font-size: 2rem; cursor: pointer; opacity: 0.7; z-index: 100000;
}
.close-founder:hover { opacity: 1; color: #ff0000; }

/* Mobile Adjustments */
.mobile-nav { display: none; }
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-nav {
        display: flex; position: fixed; bottom: 35px; left: 50%; transform: translateX(-50%);
        width: 90%; background: rgba(20,20,20,0.9); backdrop-filter: blur(15px);
        border: 1px solid #444; border-radius: 50px; padding: 12px;
        justify-content: space-around; z-index: 1001;
    }
    .mobile-nav a { color: #888; text-decoration: none; font-size: 1.2rem; }
    .mobile-nav a.active { color: #fff; }
    .contact-form-container, .estimator-container { padding: 20px; width: 95%; }
    .back-to-top { bottom: 120px; right: 20px; } 
    .custom-cursor { display: none; } body, a, button { cursor: auto; }
    .status-bar { justify-content: center; font-size: 9px; } .status-bar .status-item:not(:first-child) { display: none; }
}
