/* Reset & Variabel */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

:root {
    --bg-main: #2d2c5b; /* Ungu sebagai warna utama/background */
    --bg-secondary: #121212; /* Abu-abu tua sebagai warna sekunder (Navbar, Footer, Kartu) */
    --bg-card: #1e1e1e; /* Abu-abu tua sedikit lebih terang untuk efek kartu */
    --accent: #5e5ca8; /* Ungu terang untuk hover dan sorotan */
    --text-light: #ffffff;
    --text-muted: #d1d1d1; /* Dibuat lebih terang agar jelas di atas warna ungu */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3 { margin-bottom: 20px; font-weight: 600; }
h2 { text-align: center; font-size: 2.5rem; color: var(--text-light); margin-bottom: 40px; }
.section-desc { text-align: center; max-width: 600px; margin: 0 auto 40px auto; color: var(--text-muted); }

/* Navigasi */
header {
    position: fixed; top: 0; width: 100%; padding: 20px 50px; display: flex;
    justify-content: space-between; align-items: center; background: transparent;
    z-index: 1000; transition: all 0.4s ease;
}

/* Navigasi berubah menjadi abu-abu tua saat digulir */
header.scrolled {
    background-color: rgba(18, 18, 18, 0.95); backdrop-filter: blur(10px);
    padding: 15px 50px; box-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.logo { font-size: 1.5rem; font-weight: 600; color: #fff; }
nav ul { list-style: none; display: flex; gap: 25px; }
nav a { color: #fff; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
nav a:hover { color: var(--accent); }

/* Tombol */
.btn, .btn-outline {
    display: inline-block; padding: 10px 25px; border-radius: 8px; font-weight: 600;
    transition: all 0.3s ease; text-decoration: none; font-size: 0.9rem;
}

.btn { background-color: var(--bg-secondary); color: #fff; border: 2px solid var(--bg-secondary); }
.btn:hover { background-color: var(--accent); border-color: var(--accent); box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); }

.btn-outline { background-color: transparent; color: #fff; border: 2px solid var(--text-light); }
.btn-outline:hover { background-color: var(--bg-secondary); border-color: var(--bg-secondary); }

/* Tombol Khusus Discord */
.btn-discord { 
    background-color: #5865F2; 
    border-color: #5865F2; 
    color: #fff; 
    padding: 15px 35px; 
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-discord:hover { 
    background-color: #4752C4; 
    border-color: #4752C4; 
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.5); 
}

section { padding: 100px 10%; }

/* Hero Parallax - Ditambahkan nuansa ungu pada overlay */
.parallax {
    height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
    background-image: linear-gradient(rgba(45, 44, 91, 0.8), rgba(18, 18, 18, 0.9)), url('https://images.unsplash.com/photo-1541701494587-cb58502866ab?q=80&w=2000&auto=format&fit=crop'); 
    background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover;
}

.hero-content h1 { font-size: 3.5rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; color: #ddd; }

/* Info Do's & Don'ts */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.info-box, .workflow-box {
    background: var(--bg-secondary); padding: 30px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.info-box h3 { font-size: 1.2rem; margin-bottom: 15px; }
.dos h3 { color: #4ade80; } 
.donts h3 { color: #f87171; } 
.info-box ul, .workflow-box ol { padding-left: 20px; color: var(--text-muted); }
.info-box ul li { margin-bottom: 10px; }
.workflow-box ol li { margin-bottom: 12px; }
.workflow-box { margin-top: 20px; }

/* Galeri Portofolio */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-item {
    background: var(--bg-secondary); height: 300px; border-radius: 12px; overflow: hidden;
    position: relative; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); transition: border 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.gallery-item:hover { border-color: var(--accent); }
.gallery-item:hover img { transform: scale(1.1); }

/* Pricing Cards */
.pricing-cards { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.card {
    background: var(--bg-card); padding: 30px 20px; border-radius: 12px; text-align: center;
    width: 250px; transition: transform 0.3s ease, border-color 0.3s ease; border: 1px solid rgba(255,255,255,0.1); 
    position: relative; box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 15px 30px rgba(0,0,0,0.6); }
.price { font-size: 2rem; color: var(--text-light); margin: 10px 0 20px 0; font-weight: 600; }
.card ul { list-style: none; margin-bottom: 25px; padding: 0; min-height: 100px;}
.card ul li { margin-bottom: 10px; color: var(--text-muted); font-size: 0.85rem; }

.popular { border: 2px solid var(--accent); transform: scale(1.05); background: var(--bg-secondary); }
.popular:hover { transform: scale(1.05) translateY(-10px); }
.badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background-color: var(--accent); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
}

footer { text-align: center; padding: 25px; background: var(--bg-secondary); color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); }

@media (max-width: 768px) {
    header { padding: 15px 20px; flex-direction: column; gap: 10px; }
    nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .info-grid { grid-template-columns: 1fr; }
    .popular { transform: scale(1); }
    .popular:hover { transform: translateY(-10px); }
}