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

html,
body {
    width: 100%;
    min-height: 100dvh;
    overflow-x: hidden;
}

:root {
    --primary: #6366f1;
    --primary-gradient: linear-gradient(135deg, #4f8cff, #7a5cff);

    --bg-dark: #050505;
    --glass: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.12);

    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);

    --radius: 14px;
}

body {
    font-family: Inter, sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at 50% -20%, #203a43, #0f2027 60%, #050505);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(10, 10, 26, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);

    z-index: 1000;
}

.logo a {
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
    color: white;
}

.menu {
    display: flex;
    align-items: center;
}

.menu a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--text-dim);
    transition: 0.2s ease;
}

.menu a:hover,
.menu a.active {
    color: white;
}

.primary-btn,
.secondary-btn {
    padding: 12px 22px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.primary-btn {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 20px rgba(79, 140, 255, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(79, 140, 255, 0.5);
}

.secondary-btn {
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    transform: translateY(-2px);
}

.notes-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.site-footer {
    text-align: center;
    padding: 30px 5%;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 700;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -260px;
        width: 260px;
        height: 100vh;

        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(12px);

        display: flex;
        flex-direction: column;
        padding: 80px 20px;
        gap: 18px;

        transition: right 0.3s ease;
        z-index: 1000;
    }

    .menu.show {
        right: 0;
    }

    .menu a {
        margin: 0;
        font-size: 18px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;

    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}