:root {
    --bg: #f4f6fb;
    --surface: #ffffff;
    --text: #1f2937;
    --text-muted: #6b7280;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --border: #e5e7eb;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.nav {
    display: flex;
    gap: 24px;
    font-size: 14px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
}

.nav a:hover {
    color: var(--primary);
    text-decoration: none;
}

.hero {
    padding: 72px 0 48px;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 16px;
}

.hero .subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 32px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.badge {
    background: #eff6ff;
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.section {
    padding: 48px 0;
}

.section-title {
    font-size: 28px;
    margin: 0 0 8px;
    text-align: center;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    margin: 0 auto 32px;
    max-width: 640px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--surface);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

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

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

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.preview-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.preview-card img {
    display: block;
    width: 100%;
    height: auto;
}

.preview-caption {
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.workflow {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.workflow ol {
    margin: 0;
    padding-left: 20px;
}

.workflow li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.workflow li strong {
    color: var(--text);
}

.info-panel {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.info-item h4 {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.info-item p {
    margin: 0;
    font-size: 15px;
}

.legal-page {
    padding: 48px 0 64px;
}

.legal-page .content {
    background: var(--surface);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.legal-page h1 {
    margin-top: 0;
}

.legal-page h2 {
    font-size: 20px;
    margin-top: 32px;
}

.legal-page p,
.legal-page li {
    color: var(--text-muted);
}

.site-footer {
    background: #111827;
    color: #9ca3af;
    padding: 40px 0 24px;
    margin-top: 48px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-grid h4 {
    color: #f9fafb;
    margin: 0 0 12px;
    font-size: 15px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid li {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom a {
    color: #9ca3af;
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 28px;
    }

    .nav {
        gap: 16px;
        font-size: 13px;
    }

    .legal-page .content {
        padding: 24px;
    }
}
