@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: rgba(16, 185, 129, 0.1);
    --bg-light: #ffffff;
    --bg-surface: #fdfdfd;
    --text-main: #000000;
    --text-muted: #333333;
    --border-light: #eeeeee;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --sidebar-width: 300px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}




[data-theme="dark"] {
    --bg-light: #000000;
    --bg-surface: #111111;
    --text-main: #ffffff;
    --text-muted: #cccccc;
    --border-light: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(0, 0, 0, 0.85);
    --primary-light: rgba(16, 185, 129, 0.1);
}



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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}


/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { 
    background: var(--border-light); 
    border-radius: 10px;
}

/* Minimal Header */
header {
    height: 70px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    z-index: 1001;
}

.header-search {
    flex: 0 1 400px;
    position: relative;
    margin: 0 40px;
}

.search-input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.header-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}


.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
}

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

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle:hover { color: var(--primary); }

[data-theme="dark"] .fa-moon { display: none; }
[data-theme="light"] .fa-sun { display: none; }

/* Desktop Layout */
.master-layout {
    display: flex;
    margin-top: 60px;
    min-height: calc(100vh - 60px);
}

/* Sidebar Navigation */
aside.main-sidebar {
    width: var(--sidebar-width);
    height: calc(100vh - 60px);
    border-right: 1px solid var(--border-light);
    position: fixed;
    top: 60px;
    left: 0;
    overflow-y: auto;
    background: var(--bg-surface);
    padding: 40px 0;
    transition: var(--transition);
}

.nav-group {
    margin-bottom: 30px;
}

.group-title {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    padding: 0 30px;
    margin-bottom: 15px;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 30px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    border-right: 3px solid transparent;
}

.sidebar-nav a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.sidebar-nav li.active a {
    color: var(--primary);
    background: var(--primary-light);
    border-right-color: var(--primary);
}

.sidebar-nav i {
    width: 20px;
    font-size: 1rem;
    text-align: center;
}

/* Main Content Area */
main.content-area {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 80px 10%;
    max-width: 1200px;
}

.page-section {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-head {
    margin-bottom: 40px;
}

.section-head h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-head p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.content-block {
    margin-bottom: 50px;
}

.content-block h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

.content-block p {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 850px;
}


.content-list {
    list-style: none;
}

.content-list li {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 12px;
    margin-bottom: 8px;
}

.content-list li:hover {
    background: var(--bg-surface);
}

.content-list li.active {
    background: var(--bg-surface);
}


.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.accordion-header::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: 0.3s ease;
}

.content-list li.active .accordion-header::after {
    transform: rotate(90deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
}



.content-list li.active .accordion-content {
    max-height: 500px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
    padding-top: 15px;
}


.info-card {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}

.info-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    aside.main-sidebar {
        width: 80px;
    }
    .group-title, .sidebar-nav span {
        display: none;
    }
    .sidebar-nav a {
        justify-content: center;
        padding: 20px 0;
    }
    main.content-area {
        margin-left: 80px;
        padding: 60px 5%;
    }
    header { padding: 0 20px; }
}

@media (max-width: 600px) {
    aside.main-sidebar {
        display: none;
    }
    main.content-area {
        margin-left: 0;
        padding: 40px 20px;
    }
}
