/* --- VARIABLES --- */
:root {
    --bg-blue: #C4EBF3;
    --bg-yellow: #FDFD96;
    --bg-pink: #FCDDEC;
    --bg-white: #FFFFFF;
    --border-color: #000000;
    --text-main: #000000;
    --border-width: 3px; 
    --x: 50%; /* Default posisi mouse X (tengah) */
    --y: 50%; /* Default posisi mouse Y (tengah) */
}

/* --- RESET & TYPOGRAPHY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Hilangkan highlight biru di HP */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, .logo { font-weight: 700; text-transform: uppercase; letter-spacing: -1px; }
p, a, span, li, button { font-family: 'Space Mono', monospace; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* UTILS */
.desktop-only { display: block; }
.mobile-only { display: none; }

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px; /* Reduced padding for mobile */
    border-bottom: var(--border-width) solid var(--border-color);
    background: var(--bg-blue);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* --- EFEK MENGETIK BERULANG (LOOP) --- */
.typing-logo {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    overflow: hidden;
    border-right: 3px solid black; /* Kursor */
    white-space: nowrap;
    margin: 0;
    width: 0;
    
    /* typing-loop: durasi 8 detik, berulang selamanya (infinite)
       blink: kursor kedip
    */
    animation: 
        typing-loop 5s infinite, 
        blink 0.7s step-end infinite;
}

@keyframes typing-loop {
    /* FASE 1: Mulai mengetik (0% - 25%) */
    0% { 
        width: 0;
        /* Gunakan steps(11) HANYA saat lebar berubah (efek ketik) */
        animation-timing-function: steps(11, end); 
    }
    
    25% { 
        width: 11ch; /* Selesai mengetik "RABS STORE_" */
        /* Setelah ini tahan (jangan pakai steps lagi) */
        animation-timing-function: step-end; 
    }

    /* FASE 2: Diam/Jeda (25% - 95%) */
    95% {
        width: 11ch; /* Tetap lebar penuh */
        opacity: 1;
    }

    /* FASE 3: Reset Cepat (95% - 100%) */
    100% {
        width: 0; /* Kembali ke 0 untuk mulai ulang */
        opacity: 0; /* Opsional: fade out sedikit biar halus */
    }
}

@keyframes blink {
    50% { border-color: transparent }
}

/* Penyesuaian Mobile */
@media (max-width: 768px) {
    .typing-logo {
        border-right-width: 2px;
    }
}

.logo { font-size: 1.2rem; font-weight: 900; min-width: 160px; /* Mencegah layout bergeser saat mengetik */ }
.nav-menu { display: flex; gap: 40px; }
.nav-menu a { font-weight: 700; font-size: 0.9rem; }

.nav-btn {
    background: var(--text-main);
    color: var(--bg-white);
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: 0.2s;
}

/* Hamburger Button */
.hamburger-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 100%;
    height: 100vh;
    background: var(--text-main);
    color: var(--bg-white);
    z-index: 999;
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-left: 10px solid var(--bg-yellow);
    overflow: hidden; /* Mencegah elemen dekorasi keluar */
}

/* Dekorasi Background Menu agar tidak terlalu basic */
.mobile-menu-overlay::before {
    content: "MENU";
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    pointer-events: none;
    z-index: -1;
}

.mobile-menu-overlay.active { right: 0; }

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-white);
    color: var(--text-main);
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
}

.mobile-links { display: flex; flex-direction: column; gap: 30px; }
.m-link { font-size: 2rem; font-weight: 700; font-family: 'Space Grotesk'; }
.m-link.highlight { color: var(--bg-yellow); }

.mobile-menu-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #333;
    font-family: 'Space Mono', monospace;
}
.mobile-menu-footer a { color: var(--bg-yellow); text-decoration: underline; display: block; margin-top: 5px;}

/* --- HERO SECTION --- */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    border-bottom: var(--border-width) solid var(--border-color);
}

.hero-text {
    padding: 60px;
    background: var(--bg-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: var(--border-width) solid var(--border-color);
    
    /* Efek Spotlight Mouse dari animation.js */
    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 50%), 
        #dbeff5 0%, 
        var(--bg-blue) 40%
    );
}

/* Responsive Font Size using clamp */
.hero-text h1 {
    font-size: clamp(3rem, 5vw, 5rem); 
    line-height: 0.9;
    margin-bottom: 20px;
}

.hero-desc { font-size: 1rem; line-height: 1.5; margin-bottom: 30px; }

.brutal-btn {
    display: inline-block;
    background: var(--text-main);
    color: var(--bg-white);
    padding: 15px 30px;
    font-weight: 700;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
    transition: 0.2s;
    text-align: center;
}

.brutal-btn.outline {
    background: transparent;
    border: 3px solid var(--text-main);
    color: var(--text-main);
    box-shadow: none;
    margin-left: 10px;
}

.hero-image { position: relative; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    padding: 5px 15px;
    font-size: 0.8rem;
}

/* --- MARQUEE --- */
.marquee-container {
    background: var(--bg-yellow);
    border-bottom: var(--border-width) solid var(--border-color);
    padding: 12px 0;
    white-space: nowrap;
    overflow: hidden;
}
.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-weight: 700;
    font-size: 1rem;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- MAIN GRID --- */
.main-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Ubah jadi 4 kolom sejajar */
    border-bottom: var(--border-width) solid var(--border-color);
}

.grid-intro {
    padding: 40px;
    background: var(--bg-white);
    border-right: var(--border-width) solid var(--border-color);
}
.grid-intro h2 { font-size: 3rem; margin-bottom: 20px; }

.grid-item {
    border-right: var(--border-width) solid var(--border-color);
    border-bottom: none; /* Hapus border bawah untuk tampilan desktop */
    padding: 30px;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    transition: 0.3s;
    position: relative;
}
.grid-item:last-child { border-right: none; } /* Item terakhir tanpa border kanan */
.grid-item:hover {
    transform: translate(-5px, -5px);
    box-shadow: 10px 10px 0px rgba(0,0,0,1);
    z-index: 10;
    border: var(--border-width) solid var(--border-color);
}

/* Warna Pembeda Tiap Produk */
.grid-item.bg-pink { background: var(--bg-pink); }
.grid-item.bg-yellow { background: var(--bg-yellow); }
.grid-item.bg-blue { background: var(--bg-blue); }

/* --- CARD DECORATIONS (UNIQUE UI) --- */
.card-deco {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 55px;
    border: var(--border-width) solid var(--border-color);
    background: var(--bg-white);
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 4px 4px 0 rgba(0,0,0,1); /* Shadow lebih tegas */
}

/* 1. Streaming UI (Mini Player) */
.streaming-ui { background: #111; }
.cam-header {
    color: red; font-size: 0.6rem; font-weight: bold; padding: 4px 6px;
    display: flex; align-items: center; gap: 5px; background: #222;
}
.rec-dot { width: 6px; height: 6px; background: red; border-radius: 50%; animation: blink 1s infinite; }
.cam-screen {
    flex: 1; display: flex; align-items: center; justify-content: center;
}
.cam-screen i { color: white; font-size: 1rem; opacity: 0.8; }

/* 2. Hacking UI (Terminal) */
.hacking-ui { background: #000; padding: 0; display: flex; align-items: center; justify-content: center; }
.hacking-text {
    color: #0f0; 
    font-family: 'Space Mono', monospace; 
    font-size: 0.6rem; 
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #0f0; /* Kursor */
    width: 0;
    animation: type-unlock 3s steps(9) infinite; /* steps(9) sesuai jumlah huruf UNLOCKING */
}
/* Animasi: Ngetik -> Diam sebentar -> Reset */
@keyframes type-unlock { 0% { width: 0; } 50% { width: 9ch; } 90% { width: 9ch; } 100% { width: 0; } }

/* 3. Server UI (Rack Lights) */
.server-ui { background: #222; justify-content: space-evenly; padding: 4px; }
.rack-row {
    height: 10px; background: #333; border: 1px solid #555;
    display: flex; align-items: center; padding: 0 4px; gap: 3px; width: 100%;
}
.led { width: 4px; height: 4px; border-radius: 50%; }
.led.g { background: #00ff00; animation: blink 0.2s infinite alternate; }
.led.r { background: #ff0000; animation: blink 0.5s infinite alternate; }

/* General Blink Animation */
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

.icon-box { font-size: 2rem; margin-bottom: 20px; }
.grid-item h3 { font-size: 1.5rem; margin-bottom: 10px; }
.link-arrow { font-weight: 700; text-decoration: underline; margin-top: 20px; display: block; text-align: right; }

/* --- PRICING SECTION --- */
.pricing-section {
    background: var(--bg-pink);
    padding: 60px 0; /* Padding horizontal dihapus untuk scroll */
    border-bottom: var(--border-width) solid var(--border-color);
    overflow: hidden;
}

.section-border-top h2 { text-align: center; font-size: 3rem; margin-bottom: 30px; }

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 0;
    align-items: center;
}

.price-card {
    background: var(--bg-white);
    border: var(--border-width) solid var(--border-color);
    padding: 30px;
    width: 300px;
    margin-right: -3px;
    position: relative;
    flex-shrink: 0; /* Prevent squishing */
    transition: 0.3s;
}

.price-card.featured {
    background: var(--bg-yellow);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.8);
}
.price-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 10px 10px 0px rgba(0,0,0,1);
    z-index: 10;
}
.badge { position: absolute; top: -15px; right: -10px; background: black; color: white; padding: 5px 10px; font-weight: 700; transform: rotate(5deg); }

.price-header { border-bottom: 2px solid var(--border-color); padding-bottom: 15px; margin-bottom: 20px; }
.price-header h3 { font-size: 2.5rem; }
.price-list li { margin-bottom: 10px; display: flex; gap: 10px; font-size: 0.9rem; }

.buy-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid var(--border-color);
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.buy-btn:hover, .buy-btn.black { background: var(--text-main); color: var(--bg-white); }

/* --- FAQ & FOOTER --- */
.faq-section { background: var(--bg-yellow); display: grid; grid-template-columns: 1fr 2fr; border-bottom: var(--border-width) solid var(--border-color); }
.faq-header { padding: 40px; border-right: var(--border-width) solid var(--border-color); }
.faq-header h2 { font-size: 3rem; }
.faq-item { border-bottom: 1px solid var(--border-color); background: var(--bg-white); }
.faq-question { padding: 25px; display: flex; justify-content: space-between; font-weight: 700; cursor: pointer; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
}
.faq-item.active .faq-answer {
    max-height: 200px; /* Tinggi maksimal konten */
    padding-bottom: 25px;
}
.faq-item.active .fa-plus { transform: rotate(45deg); transition: 0.3s; }

footer { background: var(--text-main); color: var(--bg-white); padding: 20px 40px; }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 15px; align-items: center; }
.footer-right a { color: var(--bg-white); margin-left: 10px; }


/* =========================================
   MOBILE OPTIMIZATION (MAXIMIZED)
========================================= */
@media (max-width: 768px) {
    /* UTILS MOBILE */
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
    
    /* NAV */
    .navbar { padding: 15px; }

    /* HERO */
    .hero-section { grid-template-columns: 1fr; min-height: auto; }
    .hero-text { 
        padding: 40px 20px; 
        border-right: none; 
        border-bottom: var(--border-width) solid var(--border-color); 
        text-align: center; /* Center text di mobile agar lebih seimbang */
    }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .brutal-btn.outline { margin-left: 0; margin-top: 0; }
    .hero-image { height: auto; }
    .hero-image img {
        height: auto; object-fit: contain;
    }

    /* GRID SERVICES */
    .main-grid { grid-template-columns: 1fr; }
    .grid-intro { 
        padding: 30px 20px; 
        border-right: none; 
        border-bottom: var(--border-width) solid var(--border-color); 
    }
    .grid-intro h2 { font-size: 2.5rem; }
    
    .grid-item { 
        padding: 25px 20px;
        border-right: none; 
        border-bottom: var(--border-width) solid var(--border-color); /* Munculkan border bawah di HP */
        min-height: auto;
    }
    .grid-item:last-child { border-bottom: none; }

    /* PRICING - VERTICAL STACK (KE BAWAH) */
    .pricing-wrapper {
        width: 100%;
        overflow: visible; /* Hapus scroll */
        padding: 0 20px;   /* Padding kiri kanan biasa */
    }

    .pricing-container {
        display: flex;
        flex-direction: column; /* Ubah jadi kolom ke bawah */
        width: 100%;
        gap: 30px; /* Jarak antar kartu */
    }

    .price-card {
        width: 100%; /* Lebar penuh */
        margin-right: 0;
        scroll-snap-align: none;
        box-shadow: 6px 6px 0px rgba(0,0,0,0.1); /* Bayangan soft */
    }
    
    /* Card Featured (Kuning) */
    .price-card.featured {
        transform: none; 
        background: var(--bg-yellow);
        box-shadow: 8px 8px 0px rgba(0,0,0,1); /* Bayangan hitam keras agar menonjol */
        border: 3px solid black; /* Pertegas border */
    }

    /* FAQ */
    .faq-section { grid-template-columns: 1fr; }
    .faq-header { border-right: none; border-bottom: var(--border-width) solid var(--border-color); padding: 30px 20px; }
    .faq-header h2 { font-size: 2.5rem; }
    .faq-question { padding: 20px; font-size: 0.9rem; }

    /* FOOTER */
    footer { padding: 20px 20px; text-align: center; }
    .footer-content { flex-direction: column; gap: 15px; align-items: center; margin-bottom: 15px; }
    .footer-right { text-align: center; width: 100%; }
    .footer-right a { margin: 0 10px; }

    /* Fix Section Headers on Mobile (Long text like SELECT_SERVICE_TYPE) */
    .section-border-top h2 {
        font-size: 1.6rem;
        overflow-wrap: break-word;
        line-height: 1.2;
    }

    /* --- PAGE SPECIFIC MOBILE OPTIMIZATIONS (NEW) --- */

    /* STREAMING PAGE (Bento Grid) */
    .page-header { padding: 30px 20px; }
    .page-header h1 { font-size: 2.8rem; }
    .bento-container { gap: 15px; padding: 20px; } /* Kurangi gap */
    .bento-card { padding: 20px; }
    .card-icon { font-size: 2.5rem; }
    
    /* SERVER PAGE */
    .server-hero { padding: 40px 20px; }
    .hero-content h1 { font-size: 2.8rem; }
    .monitor-box { 
        aspect-ratio: 16/10; /* Rasio monitor standar */
        height: auto; 
        max-height: 250px; /* Batasi tinggi agar tidak memakan layar */
    }
    .tech-specs { padding: 30px 20px; gap: 30px; }
    .terminal-card { font-size: 0.8rem; padding: 15px; min-height: auto; }
    .feature-list-grid { gap: 20px; }
    .server-pricing { padding: 30px 20px; }
    .server-plan-container { gap: 30px; }
    .plan-header h3 { font-size: 1.8rem; }

    /* UNLOCK PAGE */
    .unlock-content { 
        padding: 40px 20px; 
        align-items: center; /* Center align konten */
    }
    .unlock-desc { text-align: center; max-width: 100%; }
    .stats-pills-container { 
        flex-wrap: wrap; 
        justify-content: center; 
        width: 100%;
    }
    .pill-box { 
        width: 100%; /* Tombol stats jadi full width agar mudah dibaca */
        align-items: center; 
        text-align: center; 
        margin-bottom: 10px;
    }
    
    .unlock-visual { padding: 30px 20px; }
    .phone-frame { 
        width: 100%; 
        max-width: 300px; 
        height: auto; 
        aspect-ratio: 1/2; 
    }
    .service-selection { padding: 30px 20px; }
    .service-card { padding: 25px; }
}

/* =========================================
   HALAMAN STREAMING (BENTO GRID)
   ========================================= */

/* Header Halaman Detail */
.page-header {
    padding: 40px;
    background: var(--bg-white);
    border-bottom: var(--border-width) solid var(--border-color);
}
.page-header h1 { font-size: 3.5rem; line-height: 1; margin-bottom: 10px; }
.back-link { font-weight: 700; text-decoration: underline; }

/* Container Grid Utama */
.bento-container {
    display: grid;
    /* Grid 3 Kolom di Desktop */
    grid-template-columns: repeat(3, 1fr); 
    /* Grid Row otomatis */
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
    padding: 40px;
    background: var(--bg-blue); /* Latar belakang biru muda */
}

/* Base Card Style */
.bento-card {
    background: var(--bg-white);
    border: var(--border-width) solid var(--border-color);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.1);
    position: relative;
}

.bento-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px rgba(0,0,0,1); /* Shadow keras saat hover */
}

/* --- LOGIKA LAYOUT SPESIFIK --- */

/* 1. Netflix (Paling Besar - Span 2 baris vertikal di kolom 1) */
.netflix {
    grid-column: 1 / 2;
    grid-row: span 2;
    background: #E50914; /* Merah Brand Netflix */
    color: white;
}
.netflix .desc { color: rgba(255,255,255,0.9); }
.netflix .price-tag { background: white; color: black; }

/* 2. Youtube & Disney (Kolom Tengah & Kanan Baris 1) */
.disney { background: #06145F; color: white; }
.youtube { background: #C4302B; color: white; }
.disney .desc, .youtube .desc { color: rgba(255,255,255,0.9); }
.disney .price-tag, .youtube .price-tag { background: white; color: black; }

/* 3. CTA BOX (Center Piece - Kolom 2 Baris 2) */
.cta-box {
    background: var(--bg-yellow);
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 3px solid black;
}

/* 4. Spotify & Prime (Sisa tempat) */
.spotify { background: #1DB954; color: white; } /* Hijau Spotify */
.prime { background: #00A8E1; color: white; } /* Biru Prime */
.spotify .desc, .prime .desc { color: white; }
.spotify .price-tag, .prime .price-tag { background: black; color: white; }


/* --- ISI CARD COMPONENT --- */

.card-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 20px; }
.card-icon { font-size: 3rem; }
.card-icon-small { font-size: 2rem; margin-bottom: 15px; }

.status-badge {
    background: var(--bg-yellow);
    color: black;
    padding: 5px 10px;
    font-weight: 700;
    font-size: 0.8rem;
    border: 2px solid black;
    transform: rotate(3deg);
}

.bento-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.desc {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.price-tag {
    display: inline-block;
    padding: 8px 15px;
    background: black;
    color: white;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
    align-self: flex-start;
}

.price-tag.small { font-size: 0.8rem; padding: 5px 10px; }

/* Tombol Pesan Sekarang (Blink Effect) */
.cta-button-blink {
    background: black;
    color: white;
    padding: 15px 30px;
    font-weight: 700;
    margin-top: 15px;
    display: inline-block;
    border: 2px solid transparent;
    animation: pulse-border 1.5s infinite;
}

.cta-button-blink:hover {
    background: white;
    color: black;
    border-color: black;
}

@keyframes pulse-border {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.text-center { text-align: center; }


/* --- RESPONSIVE MOBILE (1 Kolom ke bawah) --- */
@media (max-width: 768px) {
    .bento-container {
        grid-template-columns: 1fr; /* Jadi 1 kolom */
        grid-auto-rows: auto;
        padding: 20px;
    }
    
    .netflix { grid-column: auto; grid-row: auto; min-height: 300px; }
    
    /* Order CSS Grid untuk mengatur urutan di HP */
    .netflix { order: 1; }
    .disney { order: 2; }
    .youtube { order: 3; }
    .spotify { order: 4; }
    .prime { order: 5; }
    .cta-box { order: 6; padding: 40px 20px; }
}

/* =========================================
   SERVER PAGE STYLES
   ========================================= */

/* HERO SECTION */
.server-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 60px 40px;
    align-items: center;
    background: var(--bg-white);
    border-bottom: var(--border-width) solid var(--border-color);
}

.badge-capsule {
    display: inline-block;
    padding: 5px 15px;
    border: 2px solid black;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 20px;
    background: var(--bg-yellow);
}

.hero-content h1 { font-size: 4rem; margin-bottom: 20px; }
.server-desc { font-size: 1rem; margin-bottom: 30px; max-width: 90%; }

/* Tech Image / Monitor Effect */
.monitor-box {
    width: 100%;
    /* HAPUS height: 350px; yang lama */
    
    /* TAMBAHKAN aspect-ratio sesuai resolusi gambarmu (1920 / 1280) */
    aspect-ratio: 1920 / 1280; 
    
    border: 4px solid black;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: black;
    box-shadow: 10px 10px 0px rgba(0,0,0,1);
}

.monitor-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Pastikan gambar mengisi penuh */
    opacity: 0.9; /* Sedikit lebih terang dari sebelumnya */
}

/* Scanline Animation */
.scan-line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: rgba(0, 255, 0, 0.5);
    animation: scan 3s linear infinite;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }

.floating-caption {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--bg-white);
    border: 3px solid black;
    padding: 10px 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.hero-visual { position: relative; }


/* TECH SPECS (The "Connect" Layout Adaptation) */
.tech-specs {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    padding: 60px 40px;
    background: var(--bg-blue);
    border-bottom: var(--border-width) solid var(--border-color);
    gap: 50px;
    align-items: center;
}

/* Terminal Box Style */
.terminal-card {
    background: #1a1a1a;
    border-radius: 15px;
    border: 3px solid black;
    padding: 20px;
    color: #00ff00;
    font-family: 'Space Mono', monospace;
    min-height: 250px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
}

.terminal-header { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #27c93f; }

.terminal-body p { margin-bottom: 10px; font-size: 0.85rem; }
.loading-bar { width: 100%; height: 10px; background: #333; margin: 15px 0; border-radius: 5px; overflow: hidden; }
.progress { width: 0%; height: 100%; background: #00ff00; animation: load 3s ease-in-out forwards; }
@keyframes load { 0% { width: 0; } 100% { width: 100%; } }
.success { color: var(--bg-yellow); font-weight: 700; }

/* Features Grid */
.feature-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.f-item { display: flex; gap: 15px; align-items: start; }
.f-item i { 
    font-size: 1.5rem; background: white; border: 2px solid black; 
    width: 60px; height: 60px; /* Ukuran box tetap */
    display: flex; align-items: center; justify-content: center; /* Icon di tengah */
    border-radius: 8px; box-shadow: 4px 4px 0 black; 
    flex-shrink: 0; /* Mencegah icon gepeng di HP */
}
.f-item h4 { font-weight: 700; font-size: 1.1rem; margin-bottom: 5px; }


/* PRICING PLANS */
.server-pricing {
    padding: 60px 40px;
    background: var(--bg-white);
}

.server-plan-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: flex-start;
}

.plan-card {
    width: 100%;
    max-width: 450px;
    border: 3px solid black;
    background: white;
    padding: 0;
    position: relative;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.plan-card:hover { transform: translateY(-5px); box-shadow: 12px 12px 0px rgba(0,0,0,1); }

.plan-header {
    padding: 30px;
    background: var(--bg-white);
    border-bottom: 3px solid black;
    text-align: center;
}
.plan-header h3 { font-size: 2rem; margin-bottom: 5px; }

.regular-plan .plan-header { background: #eee; }
.vip-plan .plan-header { background: var(--bg-yellow); }

.device-limit {
    text-align: center;
    padding: 10px;
    border-bottom: 3px solid black;
    font-weight: 700;
    background: black;
    color: white;
}

.price-list-box {
    padding: 20px;
    background: #f9f9f9;
    border-bottom: 3px solid black;
}
.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
    font-family: 'Space Mono', monospace;
}
.price-row:last-child { border-bottom: none; }

.plan-features { padding: 30px; }
.plan-features li { margin-bottom: 12px; display: flex; gap: 10px; align-items: center; font-size: 0.9rem; }
.plan-features i { color: black; }

.plan-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 0 auto 30px;
    padding: 15px;
    text-align: center;
    border: 3px solid black;
    font-weight: 700;
    background: transparent;
    transition: 0.2s;
}
.plan-btn:hover { background: black; color: white; }
.plan-btn.black { background: black; color: white; }
.plan-btn.black:hover { background: var(--bg-yellow); color: black; }

.vip-badge {
    position: absolute;
    top: -15px; right: 20px;
    background: #ff5f56;
    color: white;
    border: 2px solid black;
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 3px 3px 0 black;
}


/* RESPONSIVE SERVER PAGE */
@media (max-width: 768px) {
    .server-hero { grid-template-columns: 1fr; padding: 40px 20px; text-align: center; }
    .hero-content h1 { font-size: 3rem; }
    
    /* Fix Visual & Caption Mobile */
    .hero-visual { margin-top: 50px; margin-bottom: 30px; position: relative; }
    .monitor-box { width: 100%; aspect-ratio: 16/10; height: auto; }
    .floating-caption {
        right: auto; left: 50%; transform: translateX(-50%);
        bottom: -25px; width: max-content;
        white-space: nowrap;
    }
    
    .tech-specs { grid-template-columns: 1fr; padding: 40px 20px; gap: 40px; }
    .feature-list-grid { grid-template-columns: 1fr; text-align: left; }
    
    .server-plan-container { flex-direction: column; align-items: center; gap: 50px; }
    .plan-card { max-width: 100%; }
}

/* =========================================
   UNLOCK IMEI PAGE (Split Hero Style)
   ========================================= */

.unlock-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Kanan lebih lebar sedikit */
    background: var(--bg-white);
    border-bottom: var(--border-width) solid var(--border-color);
    position: relative; /* Untuk positioning badge tengah */
    overflow: hidden;
}

/* --- LEFT SIDE (TEXT) --- */
.unlock-content {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: var(--border-width) solid var(--border-color);
    background: var(--bg-white);
    z-index: 2;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    width: fit-content;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    font-family: 'Space Mono', monospace;
}

.unlock-desc {
    margin-bottom: 30px;
    max-width: 90%;
}

.provider-strip {
    margin-top: 30px;
    opacity: 0.6;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Mono', monospace;
}

.stats-pills-container {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.pill-box {
    border: 2px solid black;
    padding: 10px 20px;
    border-radius: 50px; /* Pill shape */
    display: flex;
    flex-direction: column;
    background: var(--bg-blue);
    font-size: 0.8rem;
}
.pill-box b { font-size: 1rem; }

/* --- RIGHT SIDE (VISUAL) --- */
.unlock-visual {
    background: var(--bg-blue); /* Latar biru seperti referensi */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

/* Phone Illustration (CSS Only) */
.phone-frame {
    width: 300px;
    height: 600px;
    background: #222;
    border: 12px solid black;
    border-radius: 55px;
    position: relative;
    box-shadow: 15px 15px 0px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 2;
    transition: 0.3s;
}

.phone-frame:hover {
    transform: translateY(-10px);
    box-shadow: 20px 20px 0px rgba(0,0,0,0.8);
}

.screen-content {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.screen-notch {
    width: 120px; height: 30px; background: black;
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    border-bottom-left-radius: 15px; border-bottom-right-radius: 15px;
    z-index: 3;
}

.signal-bar {
    position: absolute; top: 8px; right: 20px;
    font-size: 0.7rem; font-weight: 700;
    display: flex; gap: 5px; align-items: center;
    z-index: 5;
}

.status-time {
    position: absolute; top: 8px; left: 25px;
    font-size: 0.7rem; font-weight: 700;
    z-index: 5;
}

.lock-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.2);
    width: 100px; height: 100px;
    border-radius: 50%;
    display: flex; alignItems: center; justify-content: center;
    animation: pulse-lock 2s infinite;
}

@keyframes pulse-lock {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.screen-text { text-align: center; }
.screen-text h3 { font-size: 1.5rem; margin-bottom: 5px; }

/* Arrow Decorations */
.arrow-deco {
    position: absolute;
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: black;
    font-size: 1.2rem;
    border: 2px solid black;
}
.arrow-deco.left { left: 40px; }
.arrow-deco.right { right: 40px; }


/* --- CENTER ROTATING BADGE --- */
.rotating-badge-container {
    position: absolute;
    top: 50%; left: 41.6%; /* Posisi di perbatasan grid (approx) */
    transform: translate(-50%, -50%);
    z-index: 10;
    /* Hide on mobile if overlap is messy */
}

.rotating-text {
    width: 100px; height: 100px;
    background: var(--bg-white);
    border: 3px solid black;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    animation: rotate-badge 10s linear infinite;
    box-shadow: 0 0 0 10px rgba(255,255,255,0.5); /* Outer ring visual */
}

@keyframes rotate-badge {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* --- SERVICE OPTIONS GRID --- */
.service-selection {
    padding: 60px 40px;
    background: var(--bg-yellow);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-card {
    background: var(--bg-white);
    border: 3px solid black;
    padding: 40px;
    position: relative;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 0px black;
}

.card-badge {
    position: absolute;
    top: -15px; left: 30px;
    background: var(--bg-blue);
    padding: 5px 15px;
    border: 2px solid black;
    font-weight: 700;
    font-size: 0.8rem;
}
.card-badge.black { background: black; color: white; }

.icon-header { font-size: 3rem; margin-bottom: 20px; }

.service-desc {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #444;
}

.specs-list { margin-bottom: 30px; flex-grow: 1; }
.specs-list li { margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }

.price-big {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.consult-box {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px dashed black;
}

.full-width { width: 100%; text-align: center; }

.blink-border { animation: border-pulse 2s infinite; }
@keyframes border-pulse { 0% { border-color: black; } 50% { border-color: var(--bg-yellow); } 100% { border-color: black; } }


/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .unlock-hero { grid-template-columns: 1fr; overflow: visible; }
    
    .unlock-content { 
        padding: 40px 20px; 
        border-right: none; 
        border-bottom: var(--border-width) solid var(--border-color);
        text-align: center;
    }
    .status-pill { margin: 0 auto 20px; }
    .provider-strip { justify-content: center; flex-wrap: wrap; }
    .stats-pills-container { justify-content: center; }

    /* Hide the complex overlapping badge on mobile to maintain clean layout */
    .rotating-badge-container { display: none; }

    .unlock-visual { padding: 40px 20px; }
    .phone-frame { width: 100%; max-width: 300px; height: auto; aspect-ratio: 1/2; }
    .arrow-deco { display: none; } /* Hide decoration on mobile */

    .service-grid { grid-template-columns: 1fr; gap: 40px; }
}