* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7A42FF;
    --primary-light: #9B6BFF;
    --text-dark: #1a1a2e;
    --text-gray: #666;
    --bg-white: #ffffff;
    --bg-light: #f8f9ff;
    --border-radius: 16px;
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.doc-header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.doc-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-dark);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, #FF9742 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Document Content */
.document-content {
    padding: 60px 0 80px;
}

.document-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.document-card h1 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary);
}

.document-card h2 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-gray);
}

.update-date {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.document-section {
    margin-bottom: 40px;
}

.document-section h2 {
    font-size: 22px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary);
    color: var(--text-dark);
}

.document-section p {
    margin-bottom: 16px;
    color: var(--text-gray);
}

.document-section ul {
    margin: 16px 0 16px 30px;
}

.document-section li {
    margin-bottom: 8px;
    color: var(--text-gray);
}

.document-section a {
    color: var(--primary);
    text-decoration: none;
}

.document-section a:hover {
    text-decoration: underline;
}

.document-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.btn-back {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.3s, background 0.3s;
}

.btn-back:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .document-card {
        padding: 30px 20px;
    }
    
    .document-card h1 {
        font-size: 24px;
    }
    
    .document-section h2 {
        font-size: 18px;
    }
    
    .doc-header .container {
        flex-direction: column;
        gap: 15px;
    }
}