/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    font-weight: 400;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --white: #ffffff;
    --background: #fafafa;
    --accent-bg: #f8fafc;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-size: 30px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    margin-top: 5%;
    display: none;
    cursor: pointer;
    flex-direction: column;
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.hamburger.active {
    background: transparent;
}

.hamburger.active::before {
    transform: rotate(45deg);
    top: 0;
}

.hamburger.active::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Document Container */
.document-container {
    padding-top: 100px;
    padding-bottom: 60px;
    background: var(--background);
    min-height: 100vh;
}

.document-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Document Header */
.document-header {
    background: var(--accent-bg);
    border-bottom: 1px solid var(--border-light);
    padding: 40px;
    text-align: center;
}

.document-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.document-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.last-updated {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Document Body */
.document-body {
    padding: 40px;
}

.document-section {
    margin-bottom: 32px;
}

.document-section:last-child {
    margin-bottom: 0;
}

.document-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-light);
}

.document-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 20px;
}

.document-section p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.document-section ul,
.document-section ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.document-section li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.document-section li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Important Note */
.important-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.important-note strong {
    color: #c2410c;
    font-weight: 600;
}

/* Contact Info */
.contact-info {
    background: var(--accent-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

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

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        border-top: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-content {
        padding: 0 16px;
    }

    .document-container {
        padding-top: 90px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .document-header {
        padding: 24px;
    }

    .document-header h1 {
        font-size: 2rem;
    }

    .document-body {
        padding: 24px;
    }

    .document-section h2 {
        font-size: 1.25rem;
    }

    .document-section h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .document-header h1 {
        font-size: 1.75rem;
    }

    .document-subtitle {
        font-size: 1rem;
    }

    .document-header {
        padding: 20px;
    }

    .document-body {
        padding: 20px;
    }

    .document-section {
        margin-bottom: 24px;
    }

    .document-section ul,
    .document-section ol {
        padding-left: 20px;
    }

    .important-note {
        padding: 12px;
    }

    .contact-info {
        padding: 16px;
    }
}