/** * METRIC CORE CSS - PRODUCTIVE EDITION 2026
 * Guiding Principles: Compact, Vibrant, No-Uppercase, Integrated Navigation
 * Single Source of Truth for Metric Infrastructure
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- 0. VARIABLE & COLOR PALETTE --- */
:root {
    --metric-indigo: #4f46e5; 
    --metric-blue: #3b82f6;   
    --metric-dark: #0f172a;   
    --metric-slate-bg: #fcfcfd; 
    --metric-border: #f1f5f9;
    --metric-emerald: #10b981;
    --metric-amber: #f59e0b;
}

/* --- I. GLOBAL RESET & TYPOGRAPHY --- */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--metric-slate-bg);
    color: #1e293b;
    letter-spacing: -0.01em;
    text-transform: none !important; /* Standar Mutlak: Tanpa Uppercase */
}

/* Menghapus gaya kapitalisasi otomatis pada semua elemen teks */
h1, h2, h3, h4, h5, h6, span, p, a, button, input, select, textarea, td, th {
    text-transform: none !important;
}

/* --- II. PENGATURAN NAVIGASI RESPONSIF (INTERNAL) --- */
#sidebar-container { 
    width: 280px;
    height: 100vh;
    background-color: var(--metric-dark);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 40;
}

.sidebar-hide { transform: translateX(-100%); }
.sidebar-show { transform: translateX(0); }

@media (min-width: 768px) {
    .sidebar-hide { transform: translateX(0); }
}

#sidebar-overlay {
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 30;
}

/* --- III. HEADER & LAYOUT STRUCTURE --- */
header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* --- IV. CARD SYSTEM & STATS --- */
/* Base Card */
.metric-card {
    background: white;
    border: 1px solid var(--metric-border);
    border-radius: 1.25rem;
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--metric-indigo);
}

/* Stat Card Base */
.metric-card-stat {
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card-stat:hover {
    transform: translateY(-5px) scale(1.02);
}

/* --- V. VISUAL ACCENTS & PRODUCTIVE GRADIENTS --- */
/* Indigo (Main) */
.bg-vibrant {
    background: linear-gradient(135deg, var(--metric-indigo) 0%, var(--metric-blue) 100%);
    color: white;
}
.bg-vibrant:hover { box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.3); }

/* Emerald (Success/Active) */
.bg-vibrant-emerald {
    background: linear-gradient(135deg, #059669 0%, var(--metric-emerald) 100%);
    color: white;
}
.bg-vibrant-emerald:hover { box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.3); }

/* Amber (Technical/Warning) */
.bg-vibrant-amber {
    background: linear-gradient(135deg, #d97706 0%, var(--metric-amber) 100%);
    color: white;
}
.bg-vibrant-amber:hover { box-shadow: 0 20px 40px -10px rgba(245, 158, 11, 0.3); }

/* Dark Slate (Stability) */
.bg-dark-stat {
    background-color: var(--metric-dark);
    color: white;
}
.bg-dark-stat:hover { box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3); }

/* --- VI. ANIMATIONS --- */
.animate-fadeIn {
    animation: fadeInProductive 0.4s ease-out forwards;
}

@keyframes fadeInProductive {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- VII. FORM INPUTS & SELECTS --- */
.input-productive {
    background-color: #f8fafc;
    border: 1px solid var(--metric-border);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.input-productive:focus {
    border-color: var(--metric-indigo);
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* --- VIII. PUBLIC INTERFACE ENHANCEMENTS --- */
.text-balance {
    text-wrap: balance;
}

/* Meningkatkan keterbacaan deskripsi pada kartu dark mode */
.public-card-desc {
    color: #94a3b8; /* Slate 400 */
    line-height: 1.6;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

/* Style khusus untuk judul yang menggunakan gradasi agar lebih tajam */
.text-gradient-blue {
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Overlay halus agar background gambar logo tidak terlalu 'nabrak' teks */
.hero-glow-soft {
    position: relative;
}
.hero-glow-soft::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    background: rgba(59, 130, 246, 0.1);
    filter: blur(100px);
    z-index: -1;
}

/* --- IX. METRIC MAIN HOMEPAGE REVISI --- */
/* Perbaikan Kontras Tinggi untuk Beranda Utama */
.hero-bg-dark, .hero-bg {
    background: radial-gradient(circle at top left, #040a18 0%, #0a1428 60%, #0f172a 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Tombol Fastric Team - Premium Glassmorphism */
.btn-fastric {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-fastric:hover {
    background: #ffffff !important;
    color: #0a1428 !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

/* Tombol Grup WA - Hijau Produktif Emerald */
.btn-whatsapp-group {
    background: var(--metric-emerald) !important;
    color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-whatsapp-group:hover {
    background: #059669 !important;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.2);
    transform: translateY(-3px);
}

/* Teks Deskripsi Hero agar bernafas */
.hero-desc-clean {
    color: #94a3b8 !important; /* Slate 400 */
    line-height: 1.8;
}