:root {
    --color-dark: #464647; 
    --color-accent: #50a19f;
    --color-bg: #f5f7f8; 
    --color-white: #ffffff;
    --color-text-muted: #6c757d;
    --font-main: 'Inter', sans-serif;
}

html::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;  
    scrollbar-width: none; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-dark);
    line-height: 1.7; 
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background-color: var(--color-white);
    /* Shadow yang sangat halus untuk kesan mengambang minimalis */
    box-shadow: 0 1px 15px rgba(70, 70, 71, 0.03); 
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800; /* Extra bold */
    color: var(--color-dark);
    letter-spacing: -1px; /* Jarak antar huruf rapat untuk logo modern */
}

.logo span {
    color: var(--color-accent);
    font-weight: 600; /* Sedikit lebih tipis setelah huruf 'G' */
}

nav a {
    text-decoration: none;
    color: var(--color-dark);
    margin-left: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

.logo a {
    text-decoration: none;
    color: var(--color-dark);
}

nav a:hover {
    color: var(--color-accent);
}
.back-btn {
    text-decoration: none;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px; /* Sudut sedikit membulat (modern) */
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 16px;
}

.btn-outline {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #3f8583; 
    transform: translateY(-1px); 
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh; 
    gap: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text .genesis-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 8px;
    display: inline-block;
}

.hero-text h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 22px;
    color: var(--color-dark);
    letter-spacing: -1.5px; 
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 35px;
    color: #555e65; 
    max-width: 580px; 
}


.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.code-window {
    background-color: #1e293b; /* Warna gelap khas Genesis/Tailwind */
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    border: 1px solid #334155;
    font-family: 'Consolas', 'Courier New', monospace; /* Font khas koding */
}

.window-header {
    background-color: #0f172a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #334155;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.window-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #94a3b8;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.window-body {
    padding: 20px;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto; 
}

/* --- Kode C# --- */
.window-body pre { margin: 0; }
.keyword { color: #569cd6; }      
.namespace { color: #dcdcaa; }    
.class { color: #4ec9b0; }        
.method { color: #dcdcaa; }       
.string { color: #ce9178; }       
.boolean { color: #569cd6; }      

.skel-line {
    height: 12px;
    background-color: #e9ecef;
    border-radius: 6px;
    margin-bottom: 12px;
}

.skel-line.long { width: 100%; }
.skel-line.short { width: 60%; }

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-dark);
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--color-accent);
    margin: 15px auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 18px;
    margin-top: 15px;
}

/* --- Section Tentang --- */
.about-section {
    padding: 80px 20px;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1.2;
}

.about-text h3 {
    font-size: 24px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 17px;
    margin-bottom: 20px;
    color: #555e65;
}

.about-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 24px;
    color: var(--color-accent);
    background-color: rgba(80, 161, 159, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.feature-item p {
    font-size: 14px;
    margin: 0;
}

/* --- Section Kurikulum --- */
.curriculum-section {
    background-color: var(--color-bg);
    padding: 80px 20px;
    border-top: 1px solid #eaeaea;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.curr-card {
    background-color: var(--color-white);
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curr-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.curr-icon {
    font-size: 32px;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.curr-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.curr-card p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.highlight-card {
    border: 2px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

.highlight-card .curr-icon {
    color: var(--color-accent);
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-accent);
}

/* --- Section Profil Pengembang --- */
.profile-section {
    padding: 80px 20px;
}

.profile-card {
    display: flex;
    background-color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #eaeaea;
}

.profile-image-container {
    flex: 0 0 35%; 
    background-color: rgba(80, 161, 159, 0.08); 
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border-right: 1px solid #eaeaea;
}

.profile-placeholder {
    font-size: 80px;
    color: var(--color-accent);
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-info .badge {
    align-self: flex-start;
    margin-bottom: 15px;
}

.profile-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.profile-role {
    font-size: 16px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 20px;
}

.profile-bio {
    font-size: 16px;
    color: #555e65;
    line-height: 1.7;
    margin-bottom: 25px;
}

.profile-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: var(--color-bg);
    color: var(--color-dark);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: var(--color-white);
}


@media (max-width: 1024px) {
    .course-grid, .course-grid.full-width {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        flex-direction: column;
    }
    .profile-card {
        flex-direction: column;
    }
    .profile-image-container {
        min-height: 250px;
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }
    
}

.mobile-toggle-btn {
    display: none; 
}

@media (max-width: 768px) {
    .visual-card, .hero-visual {
        display: none !important;
    }
    /* --- 1. Global & Landing Page --- */
    h2 { font-size: 32px !important; }
    h1 { font-size: 38px !important; }
    .container { padding: 0 20px; }
    
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    nav a { margin-left: 0; }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 30px;
        gap: 30px;
    }
    .hero-text p { margin: 0 auto 30px auto; }
    
    .visual-card { max-width: 100%; height: auto; min-height: 250px; }

    /* --- 2. Dashboard Layout --- */
    .dashboard-wrapper {
        flex-direction: column;
    }

    /* Ubah Sidebar menjadi Overlay (Menu Melayang) di HP */
    .sidebar {
        position: fixed;
        left: -100%; 
        top: 0;
        width: 260px;
        height: 100vh;
        z-index: 9999;
        transition: left 0.3s ease-in-out;
        box-shadow: 5px 0 15px rgba(0,0,0,0.5);
    }

    .sidebar.active {
        left: 0; 
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }

    .mobile-toggle-btn {
        display: inline-block;
        background-color: var(--color-dark);
        color: var(--color-white);
        border: none;
        padding: 10px 15px;
        border-radius: 8px;
        font-size: 18px;
        cursor: pointer;
        margin-bottom: 20px;
    }

    /* --- 3. Card --- */
    .quick-stats {
        flex-direction: column;
        gap: 15px;
    }
    .stat-card {
        width: 100%;
    }
    
    .course-grid, .chapter-grid {
        grid-template-columns: 1fr; 
    }

    .nav-content {
        display: flex;
        justify-content: space-between; 
        align-items: center;
        flex-wrap: wrap; 
    }

    .mobile-nav-toggle {
        display: block;
        background: transparent;
        color: var(--color-accent);
        border: none;
        font-size: 26px;
        cursor: pointer;
    }

    #landingNav {
        display: none; 
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 10px;
        gap: 15px; 
    }

    #landingNav.active {
        display: flex;
    }

    nav a {
        margin-left: 0 !important;
        font-size: 16px;
    }

    nav .btn-outline {
        display: block;
        width: 100%; 
        margin-top: 10px;
    }
}
.mobile-nav-toggle {
    display: none;
}