:root {
    --bg-dark: #030305;
    --bg-card: rgba(20, 20, 25, 0.4);
    --primary: #0070f3;
    --primary-light: #3291ff;
    --primary-glow: rgba(0, 112, 243, 0.6);
    --accent-green: #25D366;
    --accent-green-glow: rgba(37, 211, 102, 0.6);
    --text-main: #ffffff;
    --text-muted: #8a8f98;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.2);
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

#progress-bar {
    position: fixed;
    top: 0; left: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), #00d2ff);
    width: 0%; z-index: 9999;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: width 0.1s ease;
}

.bg-image {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url('background.jpg');
    background-size: cover; background-position: center;
    opacity: 0.15; z-index: -3;
}
.bg-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
    z-index: -2;
}
#particles-canvas {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; pointer-events: none;
}

#loader {
    position: fixed; inset: 0; background: var(--bg-dark);
    z-index: 10000; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader-logo {
    width: 80px; margin-bottom: 30px;
    animation: pulseLogo 2s infinite ease-in-out;
}
.loader-spinner {
    width: 40px; height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary); border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px var(--primary-glow);
}
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulseLogo {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* FIX SPASI KOSONG KEBANYAKAN */
.full-height {
    min-height: auto;
    padding-top: 50px;
    padding-bottom: 20px;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; position: relative;
}
.section-padding { padding: 30px 0; }
.text-center { text-align: center; }

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition); position: relative; overflow: hidden;
}
.glass-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.glass-card:hover {
    transform: translateY(-5px); border-color: var(--glass-border-hover);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 112, 243, 0.1);
}

/* Profil & Hero Card */
.hero-card {
    max-width: 480px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 35px 25px;
    background: rgba(18, 18, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
}
.profile-container {
    position: relative; width: 130px; height: 130px; margin: 0 auto 20px;
}
.profile-img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
    border: 2px solid var(--glass-border-hover);
    position: relative; z-index: 2; background: #222;
}
.profile-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%; border-radius: 50%;
    background: var(--primary); filter: blur(25px);
    opacity: 0.5; z-index: 1;
    animation: breathe 4s infinite alternate ease-in-out;
}
@keyframes breathe {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}
.hero-title {
    font-family: var(--font-display); font-size: 2rem; font-weight: 800;
    letter-spacing: 0.05em; margin-bottom: 5px; color: #fff;
}
.hero-subtitle {
    font-size: 1rem; color: var(--primary-light);
    margin-bottom: 15px; font-weight: 500;
}
.hero-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 15px 0 25px 0;
    line-height: 1.5;
}

/* Social Circle Row */
.social-circle-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 5px;
}
.social-circle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.social-circle-btn svg { width: 22px; height: 22px; }
.social-circle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-light);
    transform: translateY(-3px) scale(1.05);
}

/* Nav Menu Card */
.nav-menu-card {
    max-width: 480px;
    width: 90%;
    margin: 20px auto;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px 15px;
    border-radius: 16px;
    white-space: nowrap;
    background: rgba(18, 18, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: none;
}
.nav-menu-card::-webkit-scrollbar { display: none; }
.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 12px;
    transition: var(--transition);
}
.nav-item.active, .nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Tool & Order Card */
.chatbot-card {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    background: rgba(255,255,255,0.03);
    max-width: 650px;
    margin: 0 auto;
}
.bot-icon-container {
    display: inline-block;
    padding: 20px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}
.bot-icon { width: 50px; height: 50px; color: #00d2ff; }
.bot-title { font-size: 2rem; margin-bottom: 10px; color: #00d2ff; }
.bot-subtitle { color: #aaa; margin-bottom: 25px; }

.tool-selector-container {
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}
.selector-label {
    display: block; font-size: 0.95rem; color: var(--text-muted); margin-bottom: 12px;
}
.chip-grid {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px;
}
.chip-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff; padding: 8px 18px; border-radius: 30px;
    cursor: pointer; transition: var(--transition); font-size: 0.9rem;
}
.chip-btn:hover, .chip-btn.active {
    background: #00d2ff; color: #000; border-color: #00d2ff;
    font-weight: 600; box-shadow: 0 0 12px rgba(0, 210, 255, 0.5);
}

.spec-display-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px; padding: 15px; margin-bottom: 25px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px; border: 1px dashed var(--glass-border-hover);
}
.spec-item { font-size: 0.9rem; color: var(--text-muted); }
.spec-item strong { display: block; color: #fff; font-size: 1.1rem; margin-top: 2px; }
.price-item strong { color: #25D366; }

.bot-btn {
    background: transparent; border: 2px solid #00d2ff; color: #00d2ff;
    padding: 14px 30px; transition: all 0.3s ease; border-radius: 50px;
    text-decoration: none; display: block; width: 100%; text-align: center;
    font-weight: 700; cursor: pointer; font-size: 1rem;
}
.bot-btn:hover {
    background: #00d2ff; color: #000; box-shadow: 0 0 20px rgba(0, 210, 255, 0.6);
}

/* Kontak Card */
.kontak-card {
    max-width: 480px;
    width: 90%;
    margin: 0 auto 40px auto;
    padding: 30px 20px;
    text-align: center;
    border-radius: 24px;
    background: rgba(18, 18, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.kontak-card h2 { font-size: 1.5rem; margin-bottom: 12px; color: #fff; }
.kontak-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

.section-title { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; margin-bottom: 20px; }

.glass-btn {
    position: fixed; width: 50px; height: 50px; border-radius: 50%;
    background: var(--bg-card); backdrop-filter: blur(10px); border: 1px solid var(--glass-border);
    color: white; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 9000;
}
#music-btn { bottom: 30px; left: 30px; }
#back-to-top { bottom: 30px; right: 30px; opacity: 0; pointer-events: none; transition: var(--transition); }
#back-to-top.visible { opacity: 1; pointer-events: auto; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }

footer { text-align: center; padding: 30px 20px; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.85rem; }
