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

:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #4A90E2;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e0e0e0;
    --link-color: #4A90E2;
    --link-hover: #357ABD;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: var(--bg-color);
    border-bottom: 2px solid var(--primary-color);
    padding: 20px 0;
    margin-bottom: 40px;
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav a:hover {
    background-color: var(--bg-secondary);
}

nav a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Main Content */
main {
    padding-bottom: 60px;
}

main h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

main h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

main h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    color: var(--text-color);
}

.last-updated {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
    font-style: italic;
}

section {
    margin-bottom: 30px;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 16px;
}

ul li, ol li {
    margin-bottom: 8px;
    color: var(--text-color);
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

strong {
    font-weight: 600;
    color: var(--secondary-color);
}

.contact-info {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 8px;
}

/* Home Page Styles */
.home .hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 50px;
}

.home .hero h1 {
    color: white;
    font-size: 42px;
    margin-bottom: 15px;
}

.home .hero .subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card h2 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.card .highlights {
    list-style: none;
    margin-left: 0;
    margin-bottom: 25px;
}

.card .highlights li {
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.card .highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-section {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.contact-section h2 {
    margin-top: 0;
    border-bottom: none;
}

.last-updated-section {
    text-align: center;
    padding: 30px;
    border-top: 2px solid var(--border-color);
    color: var(--text-light);
}

/* Footer */
footer {
    border-top: 2px solid var(--border-color);
    padding-top: 30px;
    margin-top: 60px;
    text-align: center;
    color: var(--text-light);
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: var(--text-light);
    margin: 0 10px;
}

footer a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 24px;
    }

    main h1 {
        font-size: 28px;
    }

    main h2 {
        font-size: 22px;
    }

    nav {
        gap: 10px;
    }

    nav a {
        padding: 6px 12px;
        font-size: 14px;
    }

    .home .hero {
        padding: 40px 20px;
    }

    .home .hero h1 {
        font-size: 32px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-section {
        padding: 25px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    header, footer, nav {
        display: none;
    }

    .container {
        max-width: 100%;
    }

    main h1, main h2 {
        page-break-after: avoid;
    }

    section {
        page-break-inside: avoid;
    }
}
