:root {
    --bg-color: #030308;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --glow-1: rgba(139, 92, 246, 0.25);  /* Ungu Gemini */
    --glow-2: rgba(59, 130, 246, 0.25);  /* Biru Gemini */
    --glow-3: rgba(236, 72, 153, 0.15);  /* Pink Akses */
    --cyan: #00f2fe;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

/* efek menyala-nyala bergerak di background ala Gemini */
.gemini-aurora {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    filter: blur(100px);
    opacity: 0.8;
}
.blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    animation: moveAurora 20s infinite alternate;
}
.blob-1 { top: -10%; left: -10%; width: 600px; height: 600px; background: var(--glow-1); animation-duration: 25s; }
.blob-2 { bottom: -10%; right: -10%; width: 700px; height: 700px; background: var(--glow-2); animation-duration: 30s; }
.blob-3 { top: 40%; left: 50%; width: 500px; height: 500px; background: var(--glow-3); animation-duration: 20s; }

@keyframes moveAurora {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(100px, 80px) scale(1.2); }
    100% { transform: translate(-50px, -40px) scale(0.9); }
}

.container { width: 90%; max-width: 1200px; margin: auto; position: relative; z-index: 1; }

/* Glassmorphism premium dengan border glow menyala tipis */
.glass-box {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-box:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.02);
}

.glow-text {
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 70%, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(165, 180, 252, 0.3);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
}
.btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.7);
}

/* Grid & Utilities */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.grid-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; margin-top: 40px; }

/* Card Pricing Spesifik */
.price-card { text-align: left; position: relative; overflow: hidden; }
.price-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #4f46e5, var(--cyan));
}
.price { font-size: 1.8rem; font-weight: 700; color: #00f2fe; margin: 15px 0; }

/* Tech Stack Logo Wrapper */
.tech-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 25px; background: rgba(255,255,255,0.01); border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.03); transition: 0.3s;
}
.tech-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(0, 242, 254, 0.3);
    transform: scale(1.08);
}
.tech-item img { width: 50px; height: 50px; object-fit: contain; }
.tech-item span { margin-top: 12px; font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

/* =========================================
   PENGATURAN FLOATING WHATSAPP (TEMA BIRU GEMINI)
   ========================================= */
.floating-wa-container { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    z-index: 1000; 
}

.wa-toggle {
    width: 60px; 
    height: 60px; 
    border-radius: 50%;
    /* Diubah dari hijau menjadi Gradasi Biru/Cyan Menyala */
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    display: flex; 
    justify-content: center; 
    align-items: center;
    cursor: pointer; 
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4); 
    transition: 0.3s;
}

.wa-toggle:hover { 
    transform: scale(1.1); 
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.8); 
}

/* Mengatur Ukuran & Warna Putih Icon WhatsApp SVG */
.wa-toggle svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}

.wa-menu {
    position: absolute; 
    bottom: 80px; 
    right: 0;
    width: 250px; 
    display: none; 
    flex-direction: column; 
    gap: 15px;
}

.wa-menu.active { 
    display: flex; 
}

.wa-item { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-decoration: none; 
    color: white; 
    background: rgba(5,5,15,0.85); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    padding: 12px; 
    border-radius: 12px; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    transition: 0.3s; 
}

.wa-item:hover { 
    /* Border berubah menjadi Biru Cyan saat di-hover */
    border-color: #00f2fe; 
    background: rgba(255,255,255,0.05); 
}

.wa-item img { 
    width: 45px !important; 
    height: 45px !important; 
    border-radius: 50%; 
    /* Border foto diubah dari hijau menjadi Biru Cyan */
    border: 2px solid #00f2fe; 
    object-fit: cover; 
}

/* =========================================
   ANIMASI SCROLL (MUNCUL PERLAHAN)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   PERBAIKAN KANVAS PARTIKEL BINTANG
   ========================================= */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2; /* Berada paling belakang, di bawah aurora dan konten */
    pointer-events: none; /* Agar tidak menghalangi saat teks/tombol diklik */
}

/* =========================================
   EFEK MOUSE GLOW (CAHAYA KURSOR)
   ========================================= */
.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px; /* Ukuran sebaran cahaya */
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(0, 242, 254, 0) 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Sangat penting: agar cahaya tidak menutupi tombol saat diklik */
    z-index: 0; /* Berada di atas background tapi di bawah konten/kaca */
    opacity: 0; /* Sembunyi sebelum mouse bergerak */
    transition: opacity 0.5s ease;
}

/* =========================================
   CUSTOM CURSOR (KURSOR CINCIN HOLLOW MENYALA)
   ========================================= */
/* Menyembunyikan kursor bawaan OS */
body, a, button, input, .btn, .wa-toggle, .tech-item, .price-card {
    cursor: none !important;
}

/* Desain Kursor Utama */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 2px solid #00f2fe; /* Warna biru cyan */
    border-radius: 50%; /* Membuatnya bulat sempurna */
    box-shadow: 0 0 12px #00f2fe, inset 0 0 6px rgba(0, 242, 254, 0.5); /* Efek glow luar & dalam */
    transform: translate(-50%, -50%); /* Titik kursor tepat di tengah lingkaran */
    pointer-events: none; /* SANGAT PENTING: Agar kursor tidak menghalangi klik ke tombol */
    z-index: 99999; /* Selalu berada di lapisan paling depan */
    transition: width 0.2s ease-out, height 0.2s ease-out, background 0.2s ease-out, border-color 0.2s;
}

/* Animasi saat kursor menyorot tombol/link (Membesar & menyala terang) */
.custom-cursor.hovering {
    width: 38px;
    height: 38px;
    background: rgba(0, 242, 254, 0.15); /* Bagian tengah terisi tipis saat hover */
    border-color: #4facfe;
    box-shadow: 0 0 20px #4facfe, inset 0 0 10px rgba(79, 172, 254, 0.6);
}

/* =========================================
   PERBAIKAN FORM INPUT & JARAK LOGIKA
   ========================================= */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color-scheme: dark;
}

.form-control:focus {
    outline: none;
    border-color: #00f2fe;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2), inset 0 0 10px rgba(0, 242, 254, 0.05);
    background: rgba(255, 255, 255, 0.06);
}

/* Container khusus halaman logika agar lebih lega */
.logic-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px; /* Jarak antar kotak yang sangat lega */
    max-width: 800px;
    margin: 0 auto 80px auto;
}

/* =========================================
   PERBAIKAN INPUT NUMBER & DROPDOWN (SELECT)
   ========================================= */
/* Menghilangkan panah (spinner) pada input type number untuk Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

/* Menghilangkan panah (spinner) pada input type number untuk Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Kustomisasi Dropdown (Select) agar futuristik */
select.form-control {
    -webkit-appearance: none; /* Hilangkan panah bawaan */
    -moz-appearance: none;
    appearance: none;
    /* Tambahkan panah kustom SVG warna biru cyan */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f2fe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    cursor: pointer; /* Ubah kursor jadi telunjuk saat diarahkan */
}

/* Warna background pilihan dropdown agar tidak putih kaku */
select.form-control option {
    background-color: #05050f;
    color: #ffffff;
    padding: 10px;
}

/* =========================================
   CUSTOM DATEPICKER GLASSMORPHISM
   ========================================= */
.flatpickr-calendar { 
    background: rgba(5,5,15,0.85) !important; 
    backdrop-filter: blur(12px) !important; 
    border: 1px solid rgba(0,242,254,0.3) !important; 
    border-radius: 16px !important; 
    box-shadow: 0 0 25px rgba(0,242,254,0.15) !important; 
}
.flatpickr-day, .flatpickr-weekday, .flatpickr-current-month input.cur-year, .flatpickr-monthDropdown-months { 
    color: #ffffff !important; 
}
.flatpickr-day.selected { 
    background: #00f2fe !important; 
    border-color: #00f2fe !important; 
    color: #000000 !important; 
    border-radius: 8px !important; 
    font-weight: bold;
}
.flatpickr-day:hover { 
    background: rgba(0,242,254,0.2) !important; 
    border-radius: 8px !important; 
}
.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after { 
    border-bottom-color: rgba(0,242,254,0.5) !important; 
}
.flatpickr-calendar.arrowBottom:before, .flatpickr-calendar.arrowBottom:after { 
    border-top-color: rgba(0,242,254,0.5) !important; 
}
span.flatpickr-weekday { 
    color: #00f2fe !important; 
}

/* =========================================
   CUSTOM DROPDOWN (UI KACA FUTURISTIK)
   ========================================= */
.custom-select-wrapper { position: relative; user-select: none; width: 100%; }
.custom-select-display { 
    cursor: pointer; display: flex; justify-content: space-between; align-items: center; 
}
/* Membuat panah panah dropdown kustom */
.custom-select-display::after {
    content: ""; width: 10px; height: 10px;
    border-right: 2px solid #00f2fe; border-bottom: 2px solid #00f2fe;
    transform: rotate(45deg); transition: transform 0.3s ease;
}
.custom-select-wrapper.open .custom-select-display::after { transform: rotate(-135deg); }

/* Kotak opsi yang melayang dengan efek kaca */
.custom-select-options {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: rgba(5,5,15,0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,242,254,0.3); border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 999;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all 0.3s ease; overflow: hidden;
}
.custom-select-wrapper.open .custom-select-options {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.custom-option {
    padding: 14px 18px; color: #94a3b8; transition: background 0.2s ease, color 0.2s ease;
}
.custom-option:hover { background: rgba(0,242,254,0.15); color: #00f2fe; }
.custom-option.selected { color: #ffffff; font-weight: bold; }

/* =========================================
   TERMINAL CODE EDITOR & TYPEWRITER
   ========================================= */
.code-showcase { max-width: 800px; margin: 0 auto; text-align: left; }
.code-tabs { display: flex; gap: 15px; margin-bottom: 20px; justify-content: center; }
.code-tab { 
    background: rgba(255,255,255,0.02); border: 1px solid rgba(0,242,254,0.2); 
    color: #94a3b8; padding: 10px 24px; border-radius: 30px; cursor: pointer; 
    transition: all 0.3s ease; font-family: inherit; font-size: 0.95rem; font-weight: 500;
}
.code-tab.active { 
    background: rgba(0,242,254,0.1); color: #00f2fe; border-color: #00f2fe; 
    box-shadow: 0 0 15px rgba(0,242,254,0.3); 
}
.code-tab:hover:not(.active) { background: rgba(255,255,255,0.05); color: #fff; }

.code-window { 
    background: #05050f; border-radius: 16px; padding: 25px; 
    border: 1px solid rgba(255,255,255,0.08); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 0 20px rgba(0,242,254,0.05); 
}
.mac-dots { display: flex; gap: 8px; margin-bottom: 20px; }
.mac-dot { width: 12px; height: 12px; border-radius: 50%; }
.mac-dot.red { background: #ff5f56; box-shadow: 0 0 10px #ff5f56; } 
.mac-dot.yellow { background: #ffbd2e; box-shadow: 0 0 10px #ffbd2e; } 
.mac-dot.green { background: #27c93f; box-shadow: 0 0 10px #27c93f; }

.code-content { 
    font-family: 'Courier New', Courier, monospace; 
    color: #a5b4fc; font-size: 1rem; line-height: 1.6; 
    white-space: pre-wrap; min-height: 180px; 
}
.cursor-blink { 
    display: inline-block; width: 10px; height: 1.2em; 
    background-color: #00f2fe; vertical-align: middle; 
    animation: blink 1s step-end infinite; margin-left: 5px; box-shadow: 0 0 8px #00f2fe;
}
@keyframes blink { 50% { opacity: 0; } }