/* Base Styles - matching homepage */
:root {
    --primary-color: #6b4bf6;
    --text-color: #ffffff;
    --highlight-color: #ffd700;
    --background-color: #000000;
    --heading-color: #ffffff;
    --body-text-color: rgba(255, 255, 255, 0.9);
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: #4e5c90;
    position: sticky;
    top: 0;
    z-index: 100;
}

header img {
    height: 40px;
    width: auto;
    transition: opacity 0.2s ease;
}

header img:hover {
    opacity: 0.8;
}

/* Main Content */
main,
section {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Typography */
h1,
h2,
h3 {
    color: var(--heading-color);
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
}

p {
    color: var(--body-text-color);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Lists */
ul,
ol {
    color: var(--body-text-color);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    opacity: 0.8;
    border-bottom-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: auto;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

footer nav li {
    margin: 0;
    font-size: 0.875rem;
    color: var(--body-text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    header img {
        height: 30px;
    }

    main,
    section {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
    }

    footer nav ul {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    text-align: center;
}

.header-logo img {
    width: 32px;
    height: 32px;
    display: block;
    margin: 8px auto 0;
}

.header-logo span {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-color);
    text-align: center;
}
