/* --- RESET & VARIABLES --- */
:root {
    --primary: #4f46e5; /* Indigo Keren */
    --primary-hover: #4338ca;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.text-center { text-align: center; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--gray);
    color: var(--gray);
}

.btn-outline:hover {
    border-color: var(--dark);
    color: var(--dark);
}

.btn-text {
    font-weight: 600;
    color: var(--gray);
    margin-right: 20px;
}

.btn-text:hover { color: var(--primary); }

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* --- NAVBAR --- */
.navbar {
    padding: 20px 0;
    background-color: transparent;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo .dot { color: var(--primary); }

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0 50px;
    text-align: center;
}

.badge {
    background-color: #e0e7ff;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    
    /* Efek Gradient Text */
    background: linear-gradient(to right, var(--dark), var(--primary));
    background-clip: text;            /* Standar */
    -webkit-background-clip: text;    /* Wajib untuk Chrome/Safari */
    -webkit-text-fill-color: transparent; /* Membuat isi teks transparan */
    color: transparent;               /* Fallback */
}

.hero p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-group {
    margin-bottom: 60px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- MOCKUP CSS ART SECTION --- */
.hero-image {
    display: flex;
    justify-content: center;
}

.mockup-card {
    width: 280px;
    height: 400px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); } /* Naik 20px */
    100% { transform: translateY(0px); }
}

.mockup-header {
    background: #f1f5f9;
    padding: 15px;
    display: flex;
    gap: 6px;
}

.circle { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #10b981; }

.mockup-body {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.avatar-placeholder { width: 80px; height: 80px; background: #e2e8f0; border-radius: 50%; }
.line { height: 10px; background: #f1f5f9; border-radius: 5px; }
.w-50 { width: 50%; }
.w-80 { width: 80%; }
.btn-placeholder { width: 100%; height: 40px; background: var(--primary); opacity: 0.1; border-radius: 8px; }

/* --- FEATURES --- */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 30px;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    background: var(--white);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #e0e7ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* --- FOOTER --- */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

/* --- RESPONSIVE (MOBILE FIX) --- */
@media (max-width: 768px) {
    /* 1. Judul Hero dikecilin dikit biar gak terlalu raksasa */
    .hero h1 { font-size: 2.5rem; }
    
    /* 2. Tombol di HERO (Tengah) tetap Full Width biar enak dipencet */
    .cta-group { flex-direction: column; gap: 15px; }
    .hero .btn { width: 100%; text-align: center; }

    /* 3. FIX NAVBAR (PENTING!) */
    .navbar .container {
        padding: 0 20px;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .navbar .btn { 
        width: auto; 
        padding: 8px 16px; 
        font-size: 0.9rem;
    }

    .btn-text {
        margin-right: 0; 
        font-size: 0.9rem;
    }
}

/* --- SKELETON LOADING ANIMATION --- */
.skeleton {
    background: #f1f5f9;
    /* Gradasi lebih lebar biar kilaunya halus */
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%); 
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite linear; /* Percepat jadi 1.2s */
    border-radius: 8px;
    color: transparent !important;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Scrollbar Custom (Biar ganteng di Chrome/Edge) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* --- ANIMASI CASCADE LINK --- */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Class ini nanti ditempel via JS */
.animate-enter {
    opacity: 0; /* Sembunyi dulu */
    animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}


