/* --- PREMIUM DESIGN SYSTEM --- */
:root {
    /* Palette Warna Utama */
    --bg-core: #050505; /* Hitam paling pekat */
    --bg-surface-1: #0A0A0A;
    --bg-surface-2: #111111;
    
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-tertiary: #4b5563;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.2);

    /* Warna Tema Modul (Neon Accents) */
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;

    /* Glassmorphism Effect */
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --glass-blur: blur(20px);
}

/* --- RESET & BASE TYPOGRAPHY --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-core);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* --- AMBIENT BACKGROUND GLOW (Efek Cahaya Latar) --- */
.ambient-glow {
    position: fixed; width: 600px; height: 600px; border-radius: 50%;
    filter: blur(150px); opacity: 0.15; z-index: -1;
    animation: floatGlow 10s ease-in-out infinite alternate;
}
.glow-1 { top: -200px; left: -200px; background: var(--accent-blue); }
.glow-2 { bottom: -200px; right: -200px; background: var(--accent-purple); animation-delay: -5s; }
@keyframes floatGlow { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } }

/* --- DASHBOARD CONTAINER --- */
.dashboard-container {
    width: 100%; max-width: 1280px; padding: 60px 40px;
    position: relative; z-index: 1;
}

/* --- HEADER SECTION --- */
.main-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 80px;
}
.brand-wrapper { display: flex; align-items: center; gap: 20px; }
.brand-logo {
    width: 64px; height: 64px; background: linear-gradient(135deg, #fff, #999);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: var(--bg-core); box-shadow: 0 10px 30px -10px rgba(255,255,255,0.3);
}
.brand-info h1 {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2rem;
    letter-spacing: -1px; line-height: 1; margin-bottom: 6px;
}
.brand-tagline {
    font-size: 0.85rem; color: var(--accent-green); text-transform: uppercase;
    letter-spacing: 1.5px; font-weight: 600; display: block;
}

.system-status {
    display: flex; align-items: center; gap: 10px;
    background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 8px 16px; border-radius: 30px; font-size: 0.75rem; font-weight: 600; color: var(--accent-green);
}
.status-indicator {
    width: 8px; height: 8px; background: var(--accent-green);
    border-radius: 50%; box-shadow: 0 0 10px var(--accent-green);
}
.pulse { animation: pulseAnim 2s infinite; }
@keyframes pulseAnim { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

/* --- HERO TEXT --- */
.hero-text { margin-bottom: 50px; max-width: 700px; }
.hero-text h2 {
    font-family: 'Space Grotesk', sans-serif; font-size: 3.5rem;
    font-weight: 700; letter-spacing: -2px; line-height: 1.1; margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-text p {
    font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6;
}

/* --- MODULES GRID (THE CORE) --- */
.modules-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
    align-items: stretch; /* Agar tinggi kartu sama */
}

/* --- MODULE CARD DESIGN (GLASSMORPHISM) --- */
.module-card {
    position: relative; text-decoration: none; color: var(--text-primary);
    background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border); border-radius: 24px; padding: 40px;
    overflow: hidden; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column; min-height: 380px;
}

/* Background & Glow Layers */
.card-glass-bg {
    position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}
.card-glow {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, var(--theme-color) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.5s ease; z-index: -2; filter: blur(80px);
    transform: translate(0, 0); /* Posisi awal */
    pointer-events: none;
}

/* Theme Colors */
.theme-blue { --theme-color: var(--accent-blue); }
.theme-green { --theme-color: var(--accent-green); }
.theme-purple { --theme-color: var(--accent-purple); }

/* Hover Effects (The Magic) */
.module-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
}
.module-card:hover .card-glow { opacity: 0.15; }

/* Highlight Main Module (LP Builder) */
.main-module { border: 1px solid rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.05); }
.main-module:hover { box-shadow: 0 30px 70px -20px rgba(16, 185, 129, 0.2); }

/* Card Content Structure */
.card-header { margin-bottom: 30px; display: flex; justify-content: space-between; align-items: flex-start; }
.card-icon { font-size: 2.5rem; color: var(--theme-color); transition: 0.3s; }
.module-card:hover .card-icon { transform: scale(1.1) rotate(-5deg); filter: drop-shadow(0 0 20px var(--theme-color)); }

.card-badge {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; padding: 6px 12px; border-radius: 100px;
    color: var(--theme-color); background: rgba(255,255,255,0.05);
    border: 1px solid var(--theme-color);
}

.card-body { flex: 1; /* Mengambil sisa ruang agar footer rata bawah */ }
.card-body h3 {
    font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; margin-bottom: 15px;
}
.card-body p {
    color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6;
}

.card-footer {
    margin-top: 40px; display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 0.9rem; color: var(--theme-color);
}
.btn-text { position: relative; }
/* Garis bawah animasi pada hover */
.btn-text::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 2px;
    background: var(--theme-color); transition: 0.3s;
}
.module-card:hover .btn-text::after { width: 100%; }

.btn-icon { transition: 0.3s; }
.module-card:hover .btn-icon { transform: translateX(5px) translateY(-5px); }

/* --- FOOTER --- */
.main-footer {
    margin-top: 100px; padding-top: 30px; border-top: 1px solid var(--border-subtle);
    display: flex; justify-content: space-between; color: var(--text-tertiary); font-size: 0.85rem;
}
.tech-stack { display: flex; gap: 30px; }
.tech-stack span { display: flex; align-items: center; gap: 8px; }
.tech-stack i { color: var(--text-secondary); }

/* --- ANIMATIONS (Entrance) --- */
.fadeIn { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .dashboard-container { padding: 40px 30px; }
    .hero-text h2 { font-size: 2.5rem; }
}
@media (max-width: 900px) {
    .modules-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .module-card { min-height: auto; }
    .main-header { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .brand-wrapper { flex-direction: column; }
    .hero-text { text-align: center; margin: 0 auto 50px auto; }
    .main-footer { flex-direction: column; align-items: center; gap: 20px; }
}