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

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.95;
}

/* Main Content */
main {
    padding: 40px 30px;
}

section {
    margin-bottom: 40px;
}

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

h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
}

h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 500;
}

/* Intro Section */
.intro p {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Document Links */
.doc-group {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.doc-group:last-child {
    margin-bottom: 0;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

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

.button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Features */
.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    padding: 15px 20px;
    background: var(--bg-secondary);
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.features li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 30px;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Document Pages */
.doc-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.doc-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.doc-header h1 {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: var(--text-color);
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-hover);
    transform: translateX(-5px);
}

.doc-content {
    line-height: 1.8;
}

.doc-content h2 {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.doc-content h3 {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 12px;
}

.doc-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.doc-content ul, .doc-content ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.doc-content li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.doc-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.doc-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 30px 0;
}

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

/* Support Page */
.support-section {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
}

.support-section h3 {
    color: var(--text-color);
    margin-bottom: 15px;
}

.support-section p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container, .doc-container {
        border-radius: 12px;
        padding: 20px;
    }

    header {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 2em;
    }

    main {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.5em;
    }

    .button-group {
        flex-direction: column;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .doc-content ul, .doc-content ol {
        margin-left: 20px;
    }
}
