* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #007AFF;
    --bg: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --text: #1D1D1F;
    --text-secondary: #86868B;
    --border: #D2D2D7;
    --code-bg: #1D1D1F;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}

.tab-btn {
    padding: 12px 0;
    margin-right: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    position: relative;
}

.tab-btn:hover {
    color: var(--text);
}

.tab-btn.active {
    color: var(--text);
    font-weight: 500;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.tutorial-content {
    display: none;
}

.tutorial-content.active {
    display: block;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 40px;
}

.step {
    margin-bottom: 40px;
}

.step h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
}

.config {
    margin-bottom: 16px;
}

.config-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.config-item:last-child {
    border-bottom: none;
}

.config-label {
    color: var(--text-secondary);
    font-size: 14px;
    width: 100px;
    flex-shrink: 0;
}

.config-value {
    font-size: 14px;
    color: var(--text);
}

.code-block {
    background: var(--code-bg);
    border-radius: 8px;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header span {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

.copy-btn {
    padding: 4px 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.code-block pre {
    padding: 16px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #F5F5F7;
    white-space: pre;
}

@media (max-width: 640px) {
    .container {
        padding: 32px 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .tabs {
        gap: 0;
    }

    .tab-btn {
        margin-right: 16px;
        font-size: 14px;
    }
}
