@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #eef2f5;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --brand-color: #6c5ce7; /* Modern Purple */
    --brand-hover: #a29bfe;
    --shadow-light: #ffffff;
    --shadow-dark: #d1d9e6;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* --- Neumorphic Components --- */

.neu-navbar {
    background: var(--bg-color);
    box-shadow: 0px 4px 12px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.brand-logo {
    font-weight: 800;
    color: var(--brand-color);
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

/* Cards */
.neu-card {
    border-radius: 20px;
    background: var(--bg-color);
    box-shadow: 8px 8px 16px var(--shadow-dark), 
               -8px -8px 16px var(--shadow-light);
    border: none;
    transition: transform 0.3s ease;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.neu-card:hover {
    transform: translateY(-5px);
}

.neu-card-flat {
    border-radius: 20px;
    background: var(--bg-color);
    box-shadow: inset 5px 5px 10px var(--shadow-dark), 
                inset -5px -5px 10px var(--shadow-light);
    padding: 20px;
}

/* Buttons */
.neu-btn {
    border-radius: 50px;
    background: var(--bg-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), 
               -5px -5px 10px var(--shadow-light);
    color: var(--brand-color);
    font-weight: 600;
    padding: 10px 30px;
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.neu-btn:hover {
    color: var(--brand-hover);
    box-shadow: 3px 3px 6px var(--shadow-dark), 
               -3px -3px 6px var(--shadow-light);
    transform: scale(0.98);
}

.neu-btn-primary {
    background: var(--brand-color);
    color: white !important;
    box-shadow: 5px 5px 15px rgba(108, 92, 231, 0.4);
}
.neu-btn-primary:hover {
    background: var(--brand-hover);
    color: white;
}

/* List Items */
.chapter-item {
    background: var(--bg-color);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 5px 5px 10px var(--shadow-dark), 
               -5px -5px 10px var(--shadow-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s;
}

.chapter-item:hover {
    color: var(--brand-color);
    padding-left: 25px; /* Slide effect */
}

/* Note Content */
.note-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a4a4a;
}
.note-body h1, .note-body h2, .note-body h3 {
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--brand-color);
}
.note-body img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    max-width: 100%;
}
