@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-glass: rgba(99, 102, 241, 0.04);
    --bg-dark-section: #0f172a;
    --border-color: #e2e8f0;
    --border-hover: #6366f1;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --accent-blue: #6366f1;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-pink: #ec4899;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --gradient-main: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-hero: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
    --gradient-card: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05));
    --gradient-btn: linear-gradient(135deg, #6366f1, #8b5cf6);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-glow: 0 4px 20px rgba(99,102,241,0.15);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: var(--accent-blue); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--accent-purple); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
    height: 64px;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.navbar-brand { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 700; }
.navbar-brand .logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--gradient-btn);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: white;
}
.navbar-brand span { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.navbar-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.navbar-menu a {
    color: var(--text-secondary); padding: 8px 16px; border-radius: 8px;
    font-size: 0.9rem; font-weight: 500; transition: all 0.3s;
}
.navbar-menu a:hover { color: var(--accent-blue); background: var(--bg-glass); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 24px; border-radius: 10px; font-size: 0.9rem; font-weight: 600;
    border: none; cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.btn-primary {
    background: var(--gradient-btn); color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(99, 102, 241, 0.35); color: white; }
.btn-outline {
    background: transparent; color: var(--accent-blue);
    border: 1.5px solid var(--border-color);
}
.btn-outline:hover { border-color: var(--accent-blue); background: var(--bg-glass); color: var(--accent-blue); }
.btn-sm { padding: 6px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-white { background: white; color: var(--accent-blue); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--accent-blue); }

.lang-switcher { position: relative; }
.lang-switcher select {
    background: var(--bg-secondary); color: var(--text-secondary);
    border: 1px solid var(--border-color); border-radius: 8px;
    padding: 6px 28px 6px 12px; font-size: 0.8rem; cursor: pointer;
    appearance: none; -webkit-appearance: none;
    font-family: 'Inter', sans-serif;
}
.lang-switcher::after {
    content: '\25BC'; position: absolute; right: 10px; top: 50%;
    transform: translateY(-50%); font-size: 0.55rem; color: var(--text-muted);
    pointer-events: none;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 100px; text-align: center;
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.hero::before {
    content: ''; position: absolute; top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, rgba(139,92,246,0.04) 40%, transparent 70%);
    pointer-events: none;
}
.hero h1 {
    font-size: 3.5rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px;
    color: var(--text-primary);
}
.hero h1 em {
    font-style: normal;
    background: var(--gradient-hero); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    border-color: rgba(99,102,241,0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; position: relative; z-index: 1; }
.section-alt { background: var(--bg-secondary); }
.section-dark { background: var(--bg-dark-section); color: var(--text-white); }
.section-title {
    text-align: center; font-size: 2.4rem; font-weight: 800; margin-bottom: 12px;
    color: var(--text-primary);
}
.section-dark .section-title { color: var(--text-white); }
.section-subtitle { text-align: center; color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 56px; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { text-align: center; padding: 40px 28px; background: var(--bg-card); }
.feature-icon {
    width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
    background: var(--gradient-card);
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ===== MODELS ===== */
.models-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.model-card {
    text-align: center; padding: 28px 16px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); transition: all 0.3s;
}
.model-card:hover { border-color: var(--accent-blue); box-shadow: var(--shadow-glow); transform: translateY(-3px); }
.model-card .model-icon { font-size: 2.2rem; margin-bottom: 12px; }
.model-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.model-card p { font-size: 0.8rem; color: var(--text-muted); }

/* ===== CODE DEMO ===== */
.code-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.code-block {
    background: #1e293b; border-radius: var(--radius-lg); padding: 32px;
    font-family: 'Courier New', monospace; font-size: 0.85rem;
    color: #e2e8f0; overflow-x: auto; line-height: 1.8;
    box-shadow: var(--shadow-lg);
}
.code-block .keyword { color: #c084fc; }
.code-block .string { color: #34d399; }
.code-block .comment { color: #64748b; }
.code-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.code-info p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }

/* ===== STATS BAR ===== */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
    padding: 48px 0; text-align: center;
}
.stats-bar .stat-item h3 {
    font-size: 2.4rem; font-weight: 800;
    background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stats-bar .stat-item p { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pricing-card { padding: 36px 28px; position: relative; text-align: center; }
.pricing-card.popular {
    border: 2px solid var(--accent-blue);
    box-shadow: var(--shadow-glow);
}
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-btn); color: white; padding: 5px 20px;
    border-radius: 20px; font-size: 0.75rem; font-weight: 600;
}
.pricing-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.pricing-price { font-size: 2.8rem; font-weight: 800; margin-bottom: 24px; color: var(--text-primary); }
.pricing-price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.pricing-features { list-style: none; margin-bottom: 32px; text-align: left; }
.pricing-features li {
    padding: 10px 0; color: var(--text-secondary); font-size: 0.9rem;
    border-bottom: 1px solid var(--bg-tertiary);
    display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before { content: '\2713'; color: var(--accent-green); font-weight: 700; font-size: 1rem; }

/* ===== ANNOUNCEMENTS ===== */
.announce-list { display: flex; flex-direction: column; gap: 16px; }
.announce-item { padding: 28px; }
.announce-item .announce-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.announce-tag {
    padding: 3px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
}
.announce-tag.notice { background: rgba(99,102,241,0.1); color: var(--accent-blue); }
.announce-tag.maintenance { background: rgba(245,158,11,0.1); color: var(--accent-orange); }
.announce-tag.update { background: rgba(16,185,129,0.1); color: var(--accent-green); }
.announce-tag.promotion { background: rgba(236,72,153,0.1); color: var(--accent-pink); }
.announce-date { font-size: 0.8rem; color: var(--text-muted); }
.announce-item h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.announce-item p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.announce-filter { display: flex; gap: 8px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.announce-filter a {
    padding: 8px 20px; border-radius: 20px; font-size: 0.85rem; font-weight: 500;
    color: var(--text-secondary); border: 1px solid var(--border-color); transition: all 0.3s;
}
.announce-filter a:hover, .announce-filter a.active {
    color: white; background: var(--gradient-btn); border-color: var(--accent-blue);
}

/* ===== DASHBOARD ===== */
.dashboard-header {
    padding: 100px 0 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}
.dashboard-header h1 { font-size: 1.8rem; font-weight: 800; color: var(--text-primary); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card { padding: 24px; text-align: center; }
.stat-card .stat-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 800; }
.stat-card .stat-value.balance { color: var(--accent-green); }
.stat-card .stat-value.calls { color: var(--accent-blue); }
.stat-card .stat-value.cost { color: var(--accent-orange); }

.api-key-box {
    padding: 20px 24px; margin-bottom: 32px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.api-key-display {
    font-family: 'Courier New', monospace; font-size: 0.9rem;
    color: var(--accent-blue); background: rgba(99,102,241,0.06);
    padding: 10px 16px; border-radius: 8px; word-break: break-all;
    border: 1px solid rgba(99,102,241,0.15);
}
.copy-btn {
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    color: var(--text-secondary); padding: 8px 20px; border-radius: 8px;
    cursor: pointer; font-size: 0.85rem; transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}
.copy-btn:hover { background: var(--gradient-btn); color: white; border-color: transparent; }

.logs-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.logs-table th {
    text-align: left; padding: 14px 16px; font-size: 0.8rem;
    color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
    border-bottom: 2px solid var(--bg-tertiary);
    background: var(--bg-secondary);
}
.logs-table td {
    padding: 14px 16px; font-size: 0.85rem; color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-tertiary);
}
.logs-table tr:hover td { background: var(--bg-glass); }
.status-badge { padding: 3px 10px; border-radius: 10px; font-size: 0.75rem; font-weight: 600; }
.status-badge.success { background: rgba(16,185,129,0.1); color: var(--accent-green); }
.status-badge.failed { background: rgba(239,68,68,0.1); color: var(--accent-red); }

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 20px; background: var(--bg-secondary);
}
.auth-card { width: 100%; max-width: 420px; padding: 48px 40px; }
.auth-card h2 { text-align: center; font-size: 1.6rem; font-weight: 800; margin-bottom: 32px; color: var(--text-primary); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 8px; font-weight: 500; }
.form-input {
    width: 100%; padding: 12px 16px; border-radius: 10px;
    background: var(--bg-secondary); border: 1.5px solid var(--border-color);
    color: var(--text-primary); font-size: 0.95rem; transition: all 0.3s;
    outline: none; font-family: 'Inter', sans-serif;
}
.form-input:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); background: white; }
.form-error {
    color: var(--accent-red); font-size: 0.85rem; text-align: center; margin-bottom: 16px;
    padding: 12px; background: rgba(239,68,68,0.06); border-radius: 10px;
    border: 1px solid rgba(239,68,68,0.15);
}
.auth-link { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--text-muted); }

/* ===== RECHARGE ===== */
.recharge-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.amount-btn {
    padding: 18px; text-align: center; border-radius: 12px;
    background: var(--bg-secondary); border: 2px solid var(--border-color);
    color: var(--text-primary); font-size: 1.1rem; font-weight: 700;
    cursor: pointer; transition: all 0.3s;
}
.amount-btn:hover, .amount-btn.active {
    border-color: var(--accent-blue); background: rgba(99,102,241,0.06);
    color: var(--accent-blue);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark-section); color: rgba(255,255,255,0.8);
    padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .navbar-brand span { -webkit-text-fill-color: white; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 12px; max-width: 300px; line-height: 1.6; }
.footer-col h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.9); }
.footer-col a { display: block; color: rgba(255,255,255,0.5); font-size: 0.85rem; padding: 5px 0; transition: color 0.3s; }
.footer-col a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); font-size: 0.8rem; }

/* ===== MOBILE HAMBURGER ===== */
.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; padding: 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .models-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .code-section { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .navbar-menu {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
        flex-direction: column; padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    .navbar-menu.active { display: flex; }
    .navbar-actions { gap: 8px; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .models-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }
    .section { padding: 60px 0; }
    .api-key-box { flex-direction: column; align-items: flex-start; }
    .recharge-amounts { grid-template-columns: repeat(2, 1fr); }
    .logs-table { font-size: 0.75rem; }
    .logs-table th, .logs-table td { padding: 10px 8px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.9rem; }
    .models-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn-lg { width: 100%; }
    .stats-bar { grid-template-columns: 1fr; }
    .navbar-actions .btn-sm { padding: 6px 10px; font-size: 0.75rem; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.7s ease-out; }

/* ===== DOCS PAGE ===== */
.docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding-top: 100px; min-height: 100vh; }
.docs-sidebar {
    position: sticky; top: 80px; height: fit-content; padding: 24px 0;
}
.docs-sidebar h4 {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-muted); margin-bottom: 12px; padding: 0 16px;
}
.docs-sidebar ul { list-style: none; margin-bottom: 24px; }
.docs-sidebar ul li a {
    display: block; padding: 8px 16px; font-size: 0.88rem; color: var(--text-secondary);
    border-radius: 8px; transition: all 0.2s; border-left: 3px solid transparent;
}
.docs-sidebar ul li a:hover { color: var(--accent-blue); background: var(--bg-glass); }
.docs-sidebar ul li a.active { color: var(--accent-blue); background: var(--bg-glass); border-left-color: var(--accent-blue); font-weight: 600; }
.docs-content { padding: 24px 0 80px; max-width: 800px; }
.docs-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.docs-content h2 { font-size: 1.5rem; font-weight: 700; margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); }
.docs-content h3 { font-size: 1.15rem; font-weight: 700; margin: 32px 0 12px; }
.docs-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.docs-content ul, .docs-content ol { color: var(--text-secondary); margin-bottom: 16px; padding-left: 24px; line-height: 1.8; }
.docs-content li { margin-bottom: 6px; }
.docs-content code {
    background: var(--bg-tertiary); padding: 2px 8px; border-radius: 4px;
    font-family: 'Courier New', monospace; font-size: 0.88rem; color: var(--accent-blue);
}
.docs-content pre {
    background: #1e293b; border-radius: 12px; padding: 24px; margin: 16px 0 24px;
    overflow-x: auto; line-height: 1.7;
}
.docs-content pre code { background: none; padding: 0; color: #e2e8f0; font-size: 0.85rem; }
.docs-content .tip-box {
    background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.2);
    border-radius: 12px; padding: 16px 20px; margin: 16px 0 24px;
    font-size: 0.9rem; color: var(--text-secondary);
}
.docs-content .tip-box strong { color: var(--accent-blue); }
.docs-content .warn-box {
    background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.2);
    border-radius: 12px; padding: 16px 20px; margin: 16px 0 24px;
    font-size: 0.9rem; color: var(--text-secondary);
}
.docs-content .warn-box strong { color: var(--accent-orange); }
.docs-content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.docs-content table th {
    text-align: left; padding: 12px 16px; background: var(--bg-secondary);
    font-size: 0.85rem; font-weight: 600; color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}
.docs-content table td {
    padding: 12px 16px; font-size: 0.88rem; color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-tertiary);
}
.endpoint-badge {
    display: inline-block; padding: 3px 10px; border-radius: 6px;
    font-size: 0.75rem; font-weight: 700; font-family: monospace;
}
.endpoint-badge.post { background: rgba(16,185,129,0.1); color: var(--accent-green); }
.endpoint-badge.get { background: rgba(99,102,241,0.1); color: var(--accent-blue); }

@media (max-width: 768px) {
    .docs-layout { grid-template-columns: 1fr; }
    .docs-sidebar { position: relative; top: 0; padding: 16px 0; border-bottom: 1px solid var(--border-color); }
}
