    /* --- CSS VARIABLES --- */
    :root {
        --bg-dark: #121212;
        --bg-card: #1E1E1E;
        --primary-blue: #3B82F6;
        --text-white: #FFFFFF;
        --text-gray: #A3A3A3;
        --border-color: #333333;
        --transition: all 0.3s ease;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Poppins', sans-serif;
        background-color: var(--bg-dark);
        color: var(--text-white);
        line-height: 1.6;
        overflow-x: hidden;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    ul {
        list-style: none;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(18, 18, 18, 0.0);
    backdrop-filter: blur(10px);
    z-index: 1000; /* Pastikan tinggi */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.visible {
    transform: translateY(0);
    background-color: rgba(18, 18, 18, 0.6);
}

.header-inner {
    display: flex;
    justify-content: space-between; /* Logo Kiri, Menu Kanan */
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    z-index: 10002;
}

/* --- HAMBURGER --- */
.hamburger {
    display: flex; /* Hidden on desktop, show on mobile */
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-white);
    z-index: 10000;
    padding: 10px;
    position: fixed;
    top: 20px;
    right: 20px;
}

.hamburger:hover {
    color: var(--primary-blue);
}

/* --- NAV LINKS (Dropdown in Top-Right for Hamburger) --- */
.nav-links {
    position: fixed;
    top: 80px;
    right: 20px;
    width: auto;
    height: auto;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    padding: 20px;
    border-radius: 10px;
}

.nav-links.active {
    opacity: 1;
    pointer-events: auto;
}

.nav-links a {
    font-size: 1.2rem;
    color: var(--text-white);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* --- RESPONSIVE (PERBAIKI BUG) --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger on mobile */
    }
}

@media (max-width: 600px) {
    /* JANGAN PAKAI display: none untuk .nav-links karena kita pakai sidebar fixed */

    .info-grid { grid-template-columns: 1fr; }

    /* Sembunyikan tag melayang di HP */
    .tag { display: none; }

    .hero-title { font-size: 2.5rem; }

    /* Navbar di HP: Padding lebih kecil */
    header { padding: 15px 0; }
}

    /* Hapus atau biarkan kosong bagian @media max-width 768px untuk nav agar tidak menimpa */

    /* --- 1. TOP INTRO SECTION (Background Lokal) --- */
    .intro-section {
        position: relative;
        height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
        /* BACKGROUND: Mengambil gambar dari folder assets/img */
        background-image: url('/assets/img/background.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .intro-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4); /* Overlay gelap agar teks terbaca */
        z-index: 1;
    }

    .intro-content {
        position: relative;
        z-index: 2;
        text-align: center;
        width: 100%;
    }

    .intro-quote {
        font-size: 1.5rem;
        font-weight: 600;
        color: #fff;
        margin-bottom: 40px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }

    /* Simulasi Layar Laptop */
    .laptop-mockup {
        width: 80%;
        max-width: 700px;
        margin: 0 auto;
        background-color: #000;
        border-radius: 20px 20px 0 0;
        border: 12px solid #1a1a1a; /* Bezel hitam */
        border-bottom: none;
        box-shadow: 0 20px 50px rgba(0,0,0,0.6);
        position: relative;
        padding: 40px 20px;
        /* Gradasi Biru di layar */
        background: linear-gradient(135deg, #005bea 0%, #00c6fb 100%);
    }

    .screen-text {
        display: block;
        font-size: 4rem;
        font-weight: 800;
        color: white;
        text-transform: uppercase;
        letter-spacing: 5px;
        text-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .laptop-base {
        width: 90%;
        max-width: 800px;
        height: 20px;
        background: #e0e0e0;
        margin: 0 auto;
        border-radius: 0 0 10px 10px;
        position: relative;
        z-index: 2;
    }

    .laptop-shadow {
        width: 90%;
        max-width: 800px;
        height: 20px;
        background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 70%);
        margin: -10px auto 30px auto;
        position: relative;
        z-index: 1;
    }

    .scroll-indicator {
        position: absolute;
        bottom: 30px; /* Posisi bawah */
        left: 50%;
        transform: translateX(-50%); /* Tepat di tengah horizontal */
        z-index: 2;
        animation: bounce 2s infinite;
        color: white;
        font-size: 0.9rem;
        opacity: 0.8;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        cursor: pointer;
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {transform: translate(-50%, 0);}
        40% {transform: translate(-50%, -10px);}
        60% {transform: translate(-50%, -5px);}
    }

    /* --- HERO SECTION --- */
    .hero {
        padding: 100px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 50px;
        flex-wrap: wrap;
        margin-top: -50px;
        position: relative;
        z-index: 5;
    }

    .hero-content {
        flex: 1;
        min-width: 300px;
    }

    .hero-title {
        font-size: 3.5rem;
        line-height: 1.2;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 2rem;
        color: var(--primary-blue);
        margin-bottom: 20px;
        font-weight: 600;
    }

    .hero-desc {
        color: var(--text-gray);
        margin-bottom: 40px;
        max-width: 500px;
    }

    .stats-container {
        display: flex;
        gap: 30px;
        margin-bottom: 40px;
    }

    .stat-item h3 {
        font-size: 1.8rem;
        font-weight: 700;
    }

    .stat-item p {
        color: var(--text-gray);
        font-size: 0.9rem;
    }

    .cta-buttons {
        display: flex;
        gap: 20px;
        margin-bottom: 40px;
        flex-wrap: wrap;
    }

    .btn {
        padding: 12px 30px;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
        display: inline-block;
        border: 2px solid transparent;
    }

    .btn-primary {
        background-color: var(--primary-blue);
        color: white;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }

    .btn-primary:hover {
        background-color: #2563eb;
        transform: translateY(-2px);
    }

    .btn-secondary {
        background-color: transparent;
        border-color: var(--text-white);
        color: var(--text-white);
    }

    .btn-secondary:hover {
        background-color: var(--text-white);
        color: var(--bg-dark);
    }

    /* --- SOCIAL MEDIA ICONS --- */
    .social-buttons-container {
        display: flex;
        gap: 20px;
    }

    .social-btn {
        width: 50px;
        height: 50px;
        background-color: var(--bg-card);
        color: var(--text-white);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        font-size: 1.4rem;
        transition: var(--transition);
        cursor: pointer;
    }

    .social-btn:hover {
        transform: translateY(-5px);
    }

    .btn-wa:hover { background-color: #25D366; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); }
    .btn-ig:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3); }
    .btn-yt:hover { background-color: #FF0000; box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3); }
    .btn-gh:hover { background-color: #FFFFFF; color: #000000; box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2); }

    /* --- HERO VISUAL --- */
    .hero-visual {
        flex: 1;
        min-width: 300px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .visual-card {
        position: relative;
        background: linear-gradient(145deg, #252525, #1a1a1a);
        padding: 20px;
        border-radius: 30px;
        box-shadow: 20px 20px 60px #0b0b0b, -20px -20px 60px #1f1f1f;
        text-align: center;
        max-width: 350px;
        width: 100%;
    }

    .visual-image {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 20px;
        margin-bottom: 20px;
        background-color: #333;
    }

    .tag {
        position: absolute;
        background: var(--bg-card);
        padding: 8px 15px;
        border-radius: 8px;
        font-size: 0.8rem;
        font-weight: 500;
        color: var(--text-white);
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 2;
    }

    .tag i { color: var(--primary-blue); }
    .tag-1 { top: 20%; right: -20px; }
    .tag-2 { top: 40%; left: -30px; }
    .tag-3 { bottom: 20%; right: -10px; }

    .play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 1.2rem;
        border: 2px solid rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: var(--transition);
    }

    .play-btn:hover {
        background: var(--primary-blue);
        border-color: var(--primary-blue);
        transform: translate(-50%, -50%) scale(1.1);
    }

    /* --- ABOUT SECTION --- */
    .about-section {
        padding: 100px 0;
        background-color: #161616;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
        align-items: start;
    }

    .about-visual { position: relative; }
    .about-avatar { width: 100%; border-radius: 20px; display: block; }

    .exp-badge {
        position: absolute;
        bottom: -20px;
        right: -20px;
        background-color: var(--bg-card);
        padding: 15px 25px;
        border-radius: 15px;
        border: 1px solid var(--border-color);
        text-align: center;
    }

    .exp-badge .years { font-size: 1.5rem; font-weight: 700; color: var(--primary-blue); display: block; }
    .exp-badge .text { font-size: 0.8rem; color: var(--text-gray); }

    .about-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
    .about-text { color: var(--text-gray); margin-bottom: 30px; font-size: 1rem; }

    .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

    .info-card {
        background-color: var(--bg-dark);
        padding: 20px;
        border-radius: 15px;
        border: 1px solid var(--border-color);
        transition: var(--transition);
    }

    .info-card:hover { border-color: var(--primary-blue); transform: translateY(-5px); }
    .info-card i { font-size: 1.5rem; color: var(--primary-blue); margin-bottom: 15px; }
    .info-card h4 { margin-bottom: 5px; font-size: 0.9rem; color: var(--text-white); }
    .info-card span { font-size: 0.8rem; color: var(--text-gray); display: block; }

    footer {
        padding: 40px 0;
        text-align: center;
        border-top: 1px solid var(--border-color);
        color: var(--text-gray);
        font-size: 0.9rem;
    }

    /* --- RESPONSIVE --- */
    @media (max-width: 992px) {
        .hero { flex-direction: column-reverse; text-align: center; }
        .hero-content { width: 100%; }
        .stats-container, .cta-buttons, .social-buttons-container { justify-content: center; }
        .hero-visual { width: 100%; margin-bottom: 40px; }
        .about-grid { grid-template-columns: 1fr; }
        .about-visual { max-width: 400px; margin: 0 auto; }
        .screen-text { font-size: 2.5rem; }
    }

    @media (max-width: 600px) {
        .info-grid { grid-template-columns: 1fr; }
        .nav-links { display: none; }
        .tag { display: none; }
        .hero-title { font-size: 2.5rem; }
    }

    /* --- SECTION HEADER UTAMA --- */
    .section-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 10px;
        font-family: 'Playfair Display', serif;
    }

    .section-desc {
        color: var(--text-gray);
        font-size: 1.1rem;
    }

    /* --- EXPERTISE SECTION --- */
    .expertise-section {
        padding: 100px 0;
        background-color: var(--bg-dark);
    }

    .expertise-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .expertise-card {
        background-color: var(--bg-card);
        padding: 40px 30px;
        border-radius: 20px;
        text-align: center;
        border: 1px solid var(--border-color);
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }

    .expertise-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary-blue);
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
    }

    .expertise-card .icon-box {
        width: 70px;
        height: 70px;
        background-color: rgba(59, 130, 246, 0.1);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 25px auto;
        color: var(--primary-blue);
        font-size: 2rem;
        transition: var(--transition);
    }

    .expertise-card:hover .icon-box {
        background-color: var(--primary-blue);
        color: white;
    }

    .expertise-card h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        color: var(--text-white);
    }

    .expertise-card p {
        color: var(--text-gray);
        font-size: 0.95rem;
        line-height: 1.6;
    }

/* --- PROJECTS SECTION --- */
.projects-section { /* <--- KURUNG KURAWAL INI YANG HILANG SEBELUMNYA */
    padding: 100px 0;
    /* TAMBAHKAN BACKGROUND GRADASI AGAR LEBIH HIDUP */
    background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%), url('assets/img/portfolio-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

/* Scroll Indicator for Intro Section */
.scroll-indicator-bottom {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    color: var(--text-white);
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Scroll Indicator for Projects Section */
.scroll-indicator-projects {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    color: var(--text-white);
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.scroll-indicator-projects .mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-white);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator-projects .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll { /* <--- KURUNG KURAWAL INI YANG HILANG SEBELUMNYA */
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ... kode lain tetap sama ... */

    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .project-card {
        background-color: var(--bg-card);
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        transition: var(--transition);
        text-decoration: none; /* Hilangkan garis bawah link */
        display: block;
        position: relative;
    }

    .project-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary-blue);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .project-image-wrapper {
        width: 100%;
        height: 200px;
        overflow: hidden;
        position: relative;
    }

    .project-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .project-card:hover .project-image-wrapper img {
        transform: scale(1.1);
    }

    .project-info {
        padding: 25px;
    }

    .project-info h3 {
        font-size: 1.25rem;
        color: var(--text-white);
        margin-bottom: 8px;
    }

    .project-info p {
        color: var(--text-gray);
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .view-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--primary-blue);
        font-weight: 600;
        font-size: 0.9rem;
    }

    .project-card:hover .view-btn {
        color: white;
    }

    /* --- RESPONSIVE UNTUK SECTION BARU --- */
    @media (max-width: 992px) {
        .expertise-grid {
            grid-template-columns: repeat(2, 1fr); /* Jadi 2 kolom di tablet */
        }
    }

    @media (max-width: 768px) {
        .expertise-grid, .projects-grid {
            grid-template-columns: 1fr; /* Jadi 1 kolom di HP */
        }
        
        .section-header h2 {
            font-size: 2rem;
        }
    }

    /* --- LIVE ANALYTICS & ORDERS SECTION --- */
    .web-views-section {
        padding: 100px 0;
        background-color: var(--bg-dark);
    }

    .analytics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-bottom: 40px;
    }

    .stat-card {
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 30px;
        display: flex;
        align-items: center;
        gap: 20px;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }

    .stat-card:hover {
        border-color: var(--primary-blue);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
    }

    .stat-icon.viewer {
        background-color: rgba(59, 130, 246, 0.15);
        color: var(--primary-blue);
    }

    .stat-icon.order {
        background-color: rgba(34, 197, 94, 0.15); /* Hijau Muda */
        color: #22c55e;
    }

    .stat-content {
        flex: 1;
    }

    .stat-label {
        font-size: 0.9rem;
        color: var(--text-gray);
        margin-bottom: 5px;
    }

    .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        margin: 0;
        line-height: 1;
    }

    .stat-trend {
        font-size: 0.8rem;
        color: #4ade80; /* Hijau neon */
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    /* Box Pesanan Terbaru */
    .recent-orders-box {
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 25px;
    }

    .box-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
    }

    .box-header h4 {
        font-size: 1.1rem;
        margin: 0;
    }

    .see-all {
        color: var(--primary-blue);
        font-size: 0.9rem;
        text-decoration: none;
    }

    .order-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .order-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        border-radius: 10px;
        background-color: rgba(255,255,255,0.03);
    }

    .user-info {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .avatar {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #6366f1, #a855f7);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        color: white;
    }

    .details strong {
        display: block;
        font-size: 0.95rem;
        color: var(--text-white);
    }

    .details span {
        font-size: 0.8rem;
        color: var(--text-gray);
    }

    .time {
        font-size: 0.8rem;
        color: var(--text-gray);
    }

    /* --- THANKS SECTION (Update) --- */
    .thanks-section {
        padding: 120px 0;
        background-color: #000000; /* Diubah jadi hitam pekat agar menyatu */
        text-align: center;
        position: relative;
        overflow: hidden;
        /* Hapus dekorasi lingkaran jika ingin lebih minimalis/menyatu, atau biarkan */
    }

    .thanks-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: 50%;
        transform: translateX(-50%);
        width: 800px;
        height: 800px;
        background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(0,0,0,0) 70%); /* Opacity dikurangi jadi 0.05 agar halus */
        z-index: 1;
        pointer-events: none;
    }

    .thanks-content {
        position: relative;
        z-index: 2;
    }

    .thanks-content h2 {
        font-size: 3rem;
        margin-bottom: 10px;
        color: #ffffff; /* Pastikan warna teks putih agar kontras di background hitam */
    }

    .thanks-content p {
        color: var(--text-gray);
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .thanks-sub {
        font-size: 1rem;
        color: var(--primary-blue);
        margin-bottom: 40px;
        display: block;
    }

    .final-socials {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .final-socials a {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: rgba(255,255,255,0.1); /* Sedikit transparan di tombol sosmed */
        color: var(--text-white);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        transition: var(--transition);
        border: 1px solid rgba(255,255,255,0.1);
    }

    .final-socials a:hover {
        background-color: var(--primary-blue);
        border-color: var(--primary-blue);
        transform: translateY(-5px);
    }

    /* --- CSS VARIABLES --- */
:root {
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --primary-blue: #3B82F6;
    --text-white: #FFFFFF;
    --text-gray: #A3A3A3;
    --border-color: #333333;
    --transition: all 0.3s ease;
}

/* --- RESET & GLOBAL FONTS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* PERBAIKAN FONTS: Menggunakan Belleza agar lebih elegant */
body {
    font-family: 'Belleza', sans-serif; /* Font Utama */
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.8; /* Line height sedikit longgar agar elegan */
    overflow-x: hidden;
    font-size: 18px; /* Ukuran font sedikit lebih besar untuk kesan mewah */
}

/* Agar angka atau teks kecil tetap terbaca jelas, kita pakai Poppins untuk detail kecil */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Belleza', sans-serif;
    font-weight: 400; /* Belleza tidak punya bold, jadi normal saja */
    text-transform: uppercase; /* Huruf kapital semua sangat elegan untuk font ini */
    letter-spacing: 1.5px; /* Jarak antar huruf (Spacing) kunci kesan elegan */
}

/* Opsional: Untuk teks paragraf panjang, kita gunakan Poppins agar mata tidak cepat lelah */
p, span, .stat-label, .section-desc, .project-info p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    
    /* Background transparan total saat hidden */
    background-color: rgba(18, 18, 18, 0.0); 
    backdrop-filter: blur(0px);
    
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.0); /* Border hilang saat di atas */
    
    /* PENTING: Posisi awal TERSEMBUNYI di atas layar */
    transform: translateY(-100%); 
    opacity: 0;
    
    /* Transisi halus */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, background 0.3s ease;
}

/* Class ini ditambahkan JavaScript saat user scroll ke section profile */
header.visible {
    /* Posisi KEMBALI KE BAWAH (Muncul) */
    transform: translateY(0); 
    opacity: 1;
    
    /* Background Agak Transparan (Glassmorphism) */
    /* Opacity 0.7 membuatnya transparan tapi teks tetap terbaca */
    background-color: rgba(18, 18, 18, 0.486); 
    
    /* Blur kaca belakang agar konten di belakang terlihat samar */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Untuk Safari */
    
    padding: 15px 0; /* Navbar mengecil sedikit saat muncul */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); /* Bayangan halus agar navbar terlihat timbul */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: 'Belleza', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1002;
}

/* --- HAMBURGER (Mobile) --- */
.hamburger {
    display: none; /* Sembunyi di Desktop */
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-white);
    z-index: 10001;
    padding: 10px;
}

/* --- NAV LINKS (Desktop) --- */
.nav-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    background: transparent;
    position: static;
    width: auto;
    height: auto;
    opacity: 1;
    pointer-events: auto;
    z-index: 10000;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-links a {
    font-family: 'Belleza', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* --- RESPONSIVE / MOBILE --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        align-items: center;
        position: absolute;
        right: 0;
        top: 5px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: 0;
        width: 100%;
        height: auto;
        background-color: rgba(18, 18, 18, 0.774);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.425);
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.5rem;
    }
}

/* =========================================
   RESPONSIVE: PERBAIKAN JARAK HP (Mobile)
   ========================================= */
@media (max-width: 768px) {
    
    /* 1. Standarisasi Padding untuk semua Section */
    /* Kita gunakan 80px agar jarak antar section lega tapi tidak mubazir */
    .hero,
    .about-section,
    .expertise-section,
    .projects-section,
    .web-views-section,
    .thanks-section {
        padding: 80px 0 !important;
    }

    /* 2. PERBAIKI HERO SECTION */
    .hero {
        margin-top: 0 !important; /* Hapus margin negatif agar tidak menumpuk intro */
        padding-top: 100px !important; /* Tambah padding atas agar teks aman dari navbar */
    }

    /* 3. PERBAIKI KONFLIK NAV LINKS */
    /* Di kode Anda sebelumnya ada .nav-links { display: none }, ini harus dihapus/di-override */
    .nav-links {
        display: flex !important; 
        position: fixed; /* Pastikan tetap fixed untuk sidebar */
        width: 100%;
        right: 0;
        top: 80px; /* Posisi di bawah header */
        background-color: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* 4. Perbaiki Jarak Antar Grid/Kartu */
    .expertise-grid,
    .projects-grid,
    .analytics-grid {
        grid-template-columns: 1fr; /* Satu kolom saja di HP */
        gap: 25px; /* Jarak antar kartu di HP */
    }

    /* 5. Perbaiki Font Size agar muat */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero-title { font-size: 2.2rem; }
    .intro-main { font-size: 3rem; }
    



}

/* --- 1. HERO SECTION (PERBAIKAN SPACING) --- */
.hero {
    padding: 150px 0 100px 0; /* Padding atas 150px agar jauh dari navbar/intro */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    
    /* PENTING: Hapus margin negatif agar tidak menempel di section intro */
    margin-top: 0 !important; 
    position: relative;
    z-index: 5;
}

/* --- 2. UMUMKAN JARAK ANTAR SECTION (Desktop) --- */
/* Kita tambahkan padding 150px (atas & bawah) agar ada ruang kosong yang luas */
.about-section,
.expertise-section,
.projects-section,
.web-views-section,
.thanks-section {
    padding: 150px 0 !important; 
}

/* --- 3. SECTION HEADER --- */
/* Beri jarak bawah lebih besar antara judul section dan konten */
.section-header {
    text-align: center;
    margin-bottom: 80px; /* Jarak antara Judul Section dan Grid di bawahnya */
}

/* Sembunyikan checkbox asli */
.hidden-check {
    display: none;
}

/* Wrapper agar posisi list tetap terkontrol */
.achievement-wrapper {
    position: relative;
    display: inline-block;
}

/* Styling List Achievement */
.achievement-list {
    display: none; /* Sembunyikan default */
    position: absolute;
    top: 110%; /* Muncul di bawah tombol */
    left: 0;
    min-width: 250px;
    background: rgba(15, 23, 42, 0.95); /* Warna gelap elegan */
    backdrop-filter: blur(10px);
    border: 1px solid #6200ea;
    border-radius: 12px;
    padding: 10px;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    text-align: left;
}

/* Tampilkan list saat tombol (checkbox) diklik */
.hidden-check:checked ~ .achievement-list {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Styling item di dalam list */
.achieve-item {
    padding: 10px 15px;
    color: white;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.achieve-item:last-child {
    border-bottom: none;
}

/* Animasi simpel */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Base Styles --- */
.achievement-wrapper {
    position: relative;
    display: inline-block;
}

.hidden-check { display: none; }

.achievement-list {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 280px;
    background: #48485296; /* Warna gelap solid/navy */
    border: 1px solid #05233f; /* Aksen cyan dev */
    border-radius: 12px;
    padding: 10px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.achieve-header {
    padding: 10px;
    font-weight: bold;
    color: #eeeeee;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 5px;
}

.achieve-item {
    padding: 12px 10px;
    color: #e0e0e0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.close-mobile-btn { display: none; } /* Sembunyikan di desktop */

/* --- Fungsi Toggle --- */
.hidden-check:checked ~ .achievement-list {
    display: block;
    animation: slideIn 0.3s ease-out;
}

/* --- RESPONSIVE MOBILE (Layar < 768px) --- */
@media (max-width: 767px) {
    .achievement-list {
        position: fixed; /* Berubah jadi melayang di tengah */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%; /* Lebar hampir penuh di hp */
        max-width: 320px;
        text-align: center;
    }

    .hidden-check:checked ~ .overlay-close {
        display: block;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.7);
        backdrop-filter: blur(4px);
        z-index: 998;
    }

    .close-mobile-btn {
        display: block;
        margin-top: 10px;
        padding: 8px;
        background: #ff4757;
        color: white;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.8rem;
    }
}


/* Container item menggunakan Flexbox agar teks dan tombol sejajar */
.achieve-item {
    display: flex;
    justify-content: space-between; /* Teks di kiri, Tombol di kanan */
    align-items: center;
    padding: 12px 10px;
    color: #e0e0e0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Style Tombol Link Sertifikat */
.btn-view {
    text-decoration: none;
    background: linear-gradient(45deg, #4b4b4b, #031530);
    color: rgb(255, 255, 255);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    transition: 0.3s;
    border: none;
}

.btn-view:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
    filter: brightness(1.2);
}

/* Responsif Mobile: Pastikan teks tidak tabrakan dengan tombol */
@media (max-width: 767px) {
    .achieve-item span {
        max-width: 70%; /* Batasi lebar teks agar tidak menumpuk */
        text-align: left;
    }
}