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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    transition: background-color 0.3s, color 0.3s;
}

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

header {
    text-align: center;
    margin-bottom: 60px;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
}

.subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.button.primary {
    background: #007aff;
    color: white;
}

.button.primary:hover {
    background: #0056cc;
}

.button:not(.primary) {
    background: #f5f5f5;
    color: #333;
}

.button:not(.primary):hover {
    background: #e5e5e5;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111;
}

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

li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.code-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
}

.code-block code {
    font-family: "SF Mono", Monaco, Consolas, monospace;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre;
}

code:not(.code-block code) {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "SF Mono", Monaco, Consolas, monospace;
    font-size: 14px;
}

.note {
    color: #666;
    font-size: 14px;
    margin-top: 15px;
    font-style: italic;
}

footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
    font-size: 14px;
}

footer a {
    color: #007aff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        color: #e5e5e7;
        background: #1d1d1f;
    }
    
    h1, h2 {
        color: #f5f5f7;
    }
    
    .subtitle {
        color: #a1a1a6;
    }
    
    .button:not(.primary) {
        background: #2c2c2e;
        color: #f5f5f7;
    }
    
    .button:not(.primary):hover {
        background: #3a3a3c;
    }
    
    .code-block {
        background: #2c2c2e;
        border-color: #48484a;
        color: #e5e5e7;
    }
    
    code:not(.code-block code) {
        background: #3a3a3c;
        color: #e5e5e7;
    }
    
    .note {
        color: #a1a1a6;
    }
    
    footer {
        border-color: #48484a;
        color: #a1a1a6;
    }
    
    footer a {
        color: #007aff;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .description {
        font-size: 16px;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .button {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}