:root {
    --bg: #f5f6f8;
    --card: #ffffff;
    --border: #e5e6eb;
    --text: #1f2329;
    --muted: #86909c;
    --accent: #3370ff;
    --accent-dark: #2860e0;
    --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
}

.logo-star { width: 28px; height: 28px; display: block; }

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav a {
    padding: 6px 12px;
    border-radius: 999px;
    color: #4e5969;
    font-size: 13px;
}

.nav a:hover { background: #f0f4ff; color: var(--accent); }

.nav .login {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.nav .login:hover { background: var(--accent-dark); color: #fff; }

main {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 72px;
}

.hero { text-align: center; margin-bottom: 48px; }

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.accent {
    background: linear-gradient(135deg, #3370ff, #6b9bff, #3370ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lead {
    margin: 14px auto 0;
    max-width: 640px;
    color: var(--muted);
}

.highlights {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.highlights li {
    min-width: 160px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: left;
}

.highlights strong {
    display: block;
    font-size: 18px;
    color: var(--accent);
}

.highlights span {
    color: var(--muted);
    font-size: 12px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.primary,
.ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.primary { background: var(--accent); color: #fff; }

.primary:hover { background: var(--accent-dark); }

.ghost {
    background: #fff;
    border: 1px solid var(--border);
    color: #4e5969;
}

.ghost:hover { border-color: #c9cdd4; }

h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -.02em;
}

.section-head {
    margin-bottom: 18px;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
}

.section-head a { color: var(--accent); }

.features,
.models,
.flow,
.guides,
.api {
    margin-top: 56px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

a.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px #00000014;
}

.card.soon { opacity: .55; }

.cover {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 16px;
}

.card h3 { margin: 0; font-size: 16px; }

.card p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.card ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #4e5969;
    font-size: 13px;
}

.card li + li { margin-top: 4px; }

.more {
    display: inline-block;
    margin-top: auto;
    padding-top: 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

th, td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f1f3;
    font-size: 13px;
}

th {
    color: var(--muted);
    font-weight: 600;
    background: #fafbfc;
}

tr:last-child td { border-bottom: none; }

td a { color: var(--accent); font-weight: 600; }

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

.flow { margin-top: 56px; }

.flow ol {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    counter-reset: step;
}

.flow li a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 18px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.flow li a::before {
    counter-increment: step;
    content: counter(step);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0f4ff;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.flow li a:hover { border-color: #3370ff; }

.flow strong { font-size: 15px; }

.flow span { color: var(--muted); font-size: 13px; }

.style-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.style-row > span { color: var(--muted); font-size: 13px; margin-right: 4px; }

.style-row a {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 13px;
}

.style-row a:hover { border-color: var(--accent); color: var(--accent); }

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.guide {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    min-height: 100%;
}

.guide:hover { box-shadow: 0 4px 16px #0000000f; }

.guide.event { background: linear-gradient(135deg, #f0f4ff, #fff); }

.guide-thumb {
    height: 88px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 12px;
}

.guide h3 { margin: 0; font-size: 15px; }

.guide p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

.code-block {
    margin: 0 0 16px;
    padding: 16px 18px;
    background: #1f2329;
    color: #e8eaed;
    border-radius: 16px;
    overflow: auto;
    font-size: 12px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 40px;
    border-top: 1px solid var(--border);
}

.footer p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }

.footer nav a { color: #4e5969; font-size: 13px; }

.footer nav a:hover { color: var(--accent); }

@media (max-width: 720px) {
    h1 { font-size: 24px; }
    .topbar { padding: 12px 16px; }
    .flow ol,
    .guide-grid { grid-template-columns: 1fr; }
}
