:root {

    --bg: #0a1020;

    --card: rgba(255, 255, 255, 0.06);

    --border: rgba(255, 255, 255, 0.1);

    --text: #eef2ff;

    --muted: #9aa7c7;

    --primary: #5b7cfa;

    --primary-2: #3ecfb0;

    --accent: #f6ad55;

    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);

}



* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



body {

    font-family: "DM Sans", "Microsoft YaHei", sans-serif;

    color: var(--text);

    background:

        radial-gradient(circle at 12% 8%, rgba(91, 124, 250, 0.2), transparent 32%),

        radial-gradient(circle at 88% 0%, rgba(62, 207, 176, 0.16), transparent 28%),

        var(--bg);

    min-height: 100vh;

    line-height: 1.6;

}



a {

    color: #b8c8ff;

    text-decoration: none;

}



a:hover {

    color: #dce6ff;

}



.container {

    width: min(1080px, 92vw);

    margin: 0 auto;

    padding: 40px 0 72px;

}



.topbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 36px;

    gap: 16px;

    flex-wrap: wrap;

}



.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}



.logo {

    width: 42px;

    height: 42px;

    border-radius: 12px;

    background: linear-gradient(135deg, var(--primary), var(--primary-2));

    display: grid;

    place-items: center;

    font-weight: 700;

    color: #081018;

}



.brand h1 {

    font-size: 20px;

    font-weight: 700;

}



.brand .site-title {

    font-size: 20px;

    font-weight: 700;

}



.brand p {

    font-size: 13px;

    color: var(--muted);

}



.nav {

    display: flex;

    gap: 18px;

    flex-wrap: wrap;

}



.nav a {

    font-size: 14px;

    color: var(--muted);

}



.nav a.active,

.nav a:hover {

    color: var(--text);

}



.hero {

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 24px;

    margin-bottom: 28px;

}



.panel {

    background: rgba(8, 12, 28, 0.78);

    border: 1px solid var(--border);

    border-radius: 24px;

    box-shadow: var(--shadow);

    backdrop-filter: blur(14px);

    padding: 28px;

}



.hero-copy h1 {

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.1;

    letter-spacing: -0.03em;

    margin-bottom: 14px;

}



.hero-copy h1 span {

    background: linear-gradient(135deg, var(--primary), var(--primary-2));

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

}



.hero-copy p {

    color: var(--muted);

    font-size: 16px;

    margin-bottom: 20px;

}



.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}



.tag {

    padding: 8px 12px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid var(--border);

    font-size: 13px;

    color: #c9d4f5;

}



.panel h3 {

    font-size: 18px;

    margin-bottom: 16px;

}



.query-box {

    display: flex;

    gap: 10px;

    margin-bottom: 12px;

}



input {

    flex: 1;

    height: 46px;

    border-radius: 14px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    background: rgba(255, 255, 255, 0.04);

    color: var(--text);

    padding: 0 16px;

    font-size: 15px;

    outline: none;

}



input:focus {

    border-color: rgba(91, 124, 250, 0.65);

    box-shadow: 0 0 0 4px rgba(91, 124, 250, 0.15);

}



button,

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 46px;

    border: none;

    border-radius: 14px;

    padding: 0 18px;

    font-weight: 700;

    cursor: pointer;

    color: #081018;

    background: linear-gradient(135deg, var(--primary), var(--primary-2));

    text-decoration: none;

}



button.secondary,

.btn.secondary {

    color: var(--text);

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid var(--border);

}



.actions {

    display: flex;

    gap: 10px;

    margin-bottom: 14px;

    flex-wrap: wrap;

}



pre {

    background: #060912;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    padding: 16px;

    overflow: auto;

    font-family: "JetBrains Mono", Consolas, monospace;

    font-size: 13px;

    color: #d7e0ff;

    min-height: 220px;

    white-space: pre-wrap;

    word-break: break-word;

}



.grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;

}



.api-cards {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 24px;

}



.api-card {

    display: block;

    transition: transform 0.2s ease, border-color 0.2s ease;

}



.api-card:hover {

    transform: translateY(-2px);

    border-color: rgba(91, 124, 250, 0.35);

}



.api-card h2,

.api-card h3 {

    margin-bottom: 10px;

}



.api-card p {

    color: var(--muted);

    font-size: 15px;

}



.endpoint {

    padding: 14px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}



.endpoint:last-child {

    border-bottom: none;

}



.method {

    display: inline-block;

    font-family: "JetBrains Mono", monospace;

    font-size: 12px;

    color: var(--accent);

    margin-bottom: 6px;

}



code {

    font-family: "JetBrains Mono", monospace;

    font-size: 13px;

    color: #d9e2ff;

    word-break: break-all;

}



.note {

    color: var(--muted);

    font-size: 14px;

    margin-top: 8px;

}



.footer {

    text-align: center;

    color: var(--muted);

    font-size: 13px;

    margin-top: 28px;

}



.breadcrumb {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    align-items: center;

    font-size: 13px;

    color: var(--muted);

    margin-bottom: 20px;

}



.breadcrumb a {

    color: var(--muted);

}



.breadcrumb a:hover {

    color: var(--text);

}



.breadcrumb span[aria-current="page"] {

    color: #c9d4f5;

}



.seo-section {

    margin-top: 28px;

}



.seo-section h2 {

    font-size: 22px;

    margin-bottom: 14px;

}



.seo-section h3 {

    font-size: 16px;

    margin: 18px 0 8px;

}



.seo-section p,

.seo-section li {

    color: var(--muted);

    font-size: 15px;

}



.seo-section ul {

    padding-left: 20px;

}



.feature-list {

    padding-left: 20px;

    margin-top: 12px;

}



.feature-list li {

    color: var(--muted);

    font-size: 15px;

    margin-bottom: 8px;

}



.faq-item + .faq-item {

    margin-top: 16px;

    padding-top: 16px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

}



.sr-only {

    position: absolute;

    width: 1px;

    height: 1px;

    padding: 0;

    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;

}



@media (max-width: 900px) {

    .hero,

    .grid {

        grid-template-columns: 1fr;

    }



    .query-box {

        flex-direction: column;

    }

}


