/* AgentGIS 官方站点 - 完整样式 */

/* ========== 亮色/暗色变量 ========== */
:root {
    --bg: #f9fafb;
    --bg-card: #ffffff;
    --bg-nav: #ffffff;
    --bg-hero: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #1a365d 100%);
    --text: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --code-bg: #1e293b;
    --code-text: #e2e8f0;
    --footer-bg: #111827;
    --footer-text: #9ca3af;
}
html.dark {
    --bg: #0f172a;
    --bg-card: #1e293b;
    --bg-nav: #1e293b;
    --bg-hero: linear-gradient(135deg, #0c1f33 0%, #1a365d 50%, #0f172a 100%);
    --text: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #334155;
    --code-bg: #0f172a;
    --code-text: #e2e8f0;
    --footer-bg: #020617;
    --footer-text: #64748b;
}
body {
    background: var(--bg);
    color: var(--text);
    transition: background 0.3s, color 0.3s;
}

/* ========== 通用 ========== */
.hero-gradient { background: var(--bg-hero); }
.feature-card {
    background: var(--bg-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.code-block {
    background: var(--code-bg);
    color: var(--code-text);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}
.copy-btn { transition: all 0.15s ease; }
.arch-card {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-card);
}
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; border-radius: 9999px;
    background: #3b82f6; color: white; font-weight: 600; font-size: 0.875rem;
}
nav.bg-white { background: var(--bg-nav) !important; }
nav a { color: var(--text-secondary); transition: color 0.2s; }
nav a:hover { color: #3b82f6; }
.bg-white { background: var(--bg-card) !important; }
.bg-gray-50 { background: var(--bg) !important; }
.bg-gray-900 { background: var(--footer-bg) !important; }
.text-gray-900 { color: var(--text) !important; }
.text-gray-700 { color: var(--text-secondary) !important; }
.text-gray-600 { color: var(--text-secondary) !important; }
.text-gray-500 { color: var(--text-muted) !important; }
.text-gray-400 { color: var(--footer-text) !important; }
.border-gray-200 { border-color: var(--border) !important; }
.border-gray-800 { border-color: #1e293b !important; }
.bg-gray-100 { background: var(--border) !important; }
.bg-yellow-50 { background: #fefce8 !important; }
html.dark .bg-yellow-50 { background: #422006 !important; }
html.dark .text-yellow-800 { color: #fde68a !important; }
.bg-blue-50 { background: #eff6ff !important; }
html.dark .bg-blue-50 { background: #1e3a5f !important; }
html.dark .text-blue-800 { color: #93c5fd !important; }
html.dark .border-l-4.border-blue-400 { border-color: #3b82f6 !important; }
html.dark .border-l-4.border-yellow-400 { border-color: #eab308 !important; }
