:root {
    --primary-color: #5865F2;
    --secondary-color: #24b7a3;
    --bg-color: #f5f5f5;
    --card-bg: #ffffff;
    --text-color: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), #7289da);
    color: white;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main */
main {
    padding: 40px 0;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

/* Intro */
.intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn:hover {
    background: #4752C4;
}

/* Quick Start */
.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.step h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step p {
    color: var(--text-muted);
}

/* Resources */
.resources ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.resources li {
    background: var(--card-bg);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.resources a:hover {
    text-decoration: underline;
}

/* Docs */
.doc-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.doc-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.doc-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.doc-content h3 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.doc-content p {
    margin-bottom: 15px;
}

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

.doc-content li {
    margin-bottom: 8px;
}

.doc-content code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "Consolas", "Monaco", monospace;
    font-size: 0.9em;
}

.doc-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.doc-content pre code {
    background: transparent;
    padding: 0;
}

.doc-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.doc-content th, .doc-content td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}

.doc-content th {
    background: var(--bg-color);
    font-weight: 600;
}

.doc-content tr:nth-child(even) {
    background: #fafafa;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

footer p {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .doc-content {
        padding: 20px;
    }
}
