/* ========================================
   案源网推平台 - 公众端公共样式
   基于 PRD v1.4 + UI 设计规范 v1.0
   UI 优化：Trust & Authority 风格
   （权威感 + 信任感，WCAG AA+ 对比度）
   ======================================== */

/* --- CSS Variables (Design Tokens) --- */
:root {
    --brand-600: #0F4C5C;
    --brand-700: #0B3B47;
    --brand-800: #082E38;
    --brand-500: #1A6B7A;
    --brand-50: #E8F4F7;
    --accent-600: #A76812;
    --accent-50: #FEF5E7;
    --success-600: #287A52;
    --success-500: #32A06C;
    --success-50: #ECFDF3;
    --warning-600: #B26A00;
    --warning-500: #D98700;
    --warning-50: #FFFAEB;
    --danger-600: #B42318;
    --danger-500: #D92D20;
    --danger-50: #FEF3F2;
    --info-600: #2563A6;
    --info-50: #EFF8FF;
    --neutral-950: #17202A;
    --neutral-800: #1D2939;
    --neutral-700: #4B5563;
    --neutral-600: #586274;
    --neutral-500: #6B7280;
    --neutral-400: #9CA3AF;
    --neutral-300: #D0D5DD;
    --neutral-200: #DDE2E8;
    --neutral-100: #EEF1F4;
    --neutral-50: #F7F8FA;
    --surface: #FFFFFF;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
    --shadow-md: 0 6px 16px -4px rgba(16, 24, 40, .1), 0 2px 6px -2px rgba(16, 24, 40, .06);
    --shadow-lg: 0 16px 32px -8px rgba(16, 24, 40, .14), 0 4px 8px -2px rgba(16, 24, 40, .05);
    --ring: 0 0 0 3px rgba(15, 76, 92, .22);
    --font-sans: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    --font-mono: "Inter", "Roboto Mono", monospace;
    --max-w: 1200px;
    --form-max-w: 720px;
    --dur-fast: .15s;
    --dur-base: .25s;
    --ease-out: cubic-bezier(.22, .68, 0, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--neutral-950);
    background: var(--neutral-50);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-600);
    text-decoration: none;
    transition: color .2s;
}

a:hover {
    color: var(--brand-700);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* --- Accessibility --- */
/* 键盘焦点清晰可见（不在移除 outline 后无替代） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.tab-item:focus-visible,
.identity-tab:focus-visible,
.method-tab:focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* 跳转到主内容（键盘用户） */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--brand-700);
    color: #fff;
    padding: 10px 20px;
    border-radius: 0 0 var(--radius-md) 0;
    font-size: 14px;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}

/* 尊重用户的减少动态偏好 */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

::selection {
    background: var(--brand-50);
    color: var(--brand-700);
}

/* --- Utility --- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.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;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--neutral-500);
}

.text-sm {
    font-size: 14px;
}

.text-xs {
    font-size: 12px;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

/* --- Header / Navigation --- */
.site-header {
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--neutral-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-600);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 8px 16px;
    color: var(--neutral-700);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color var(--dur-fast), background var(--dur-fast);
    position: relative;
}

.main-nav a:hover {
    color: var(--brand-600);
    background: var(--brand-50);
}

.main-nav a.active {
    color: var(--brand-600);
    background: var(--brand-50);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--neutral-700);
}

.mobile-menu-btn:hover {
    background: var(--neutral-100);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: background var(--dur-fast) var(--ease-out),
        color var(--dur-fast) var(--ease-out),
        border-color var(--dur-fast) var(--ease-out),
        box-shadow var(--dur-fast) var(--ease-out),
        transform var(--dur-fast) var(--ease-out);
    white-space: nowrap;
    line-height: 1.4;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--brand-600);
    color: white;
    box-shadow: 0 1px 2px rgba(11, 59, 71, .3);
}

.btn-primary:hover {
    background: var(--brand-700);
    color: white;
    box-shadow: 0 4px 12px rgba(11, 59, 71, .28);
}

.btn-secondary {
    background: var(--surface);
    color: var(--brand-600);
    border: 1px solid var(--neutral-300);
}

.btn-secondary:hover {
    background: var(--neutral-50);
    border-color: var(--brand-600);
}

.btn-ghost {
    background: transparent;
    color: var(--brand-600);
}

.btn-ghost:hover {
    background: var(--brand-50);
}

.btn-accent {
    background: var(--accent-600);
    color: white;
}

.btn-accent:hover {
    background: #8F5A0F;
    color: white;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn:disabled,
.btn.disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- Hero Section --- */
.hero {
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(255, 255, 255, .10) 0%, transparent 60%),
        radial-gradient(700px 380px at -10% 110%, rgba(167, 104, 18, .18) 0%, transparent 55%),
        linear-gradient(135deg, var(--brand-800) 0%, var(--brand-700) 45%, var(--brand-500) 100%);
    color: white;
    padding: 88px 0 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 30% 20%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 20%, black 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 20px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.hero-eyebrow svg {
    color: #F5C36B;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: white;
    color: var(--brand-600);
}

.hero .btn-primary:hover {
    background: var(--neutral-100);
}

.hero .btn-secondary {
    border-color: rgba(255, 255, 255, .4);
    color: white;
    background: rgba(255, 255, 255, .1);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .6);
}

.hero-badges {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
}

.hero-badge svg {
    flex-shrink: 0;
}

/* Hero 信任数据栏 */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.hero-stat {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.hero-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    letter-spacing: -0.5px;
}

.hero-stat span {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

/* --- Section --- */
.section {
    padding: 64px 0;
}

.section-alt {
    background: var(--surface);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--neutral-950);
    margin-bottom: 8px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 16px;
    color: var(--neutral-500);
    margin-bottom: 40px;
    max-width: 600px;
}

.section-header {
    margin-bottom: 40px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-600);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header .link-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-600);
    padding: 8px 0;
    transition: gap var(--dur-fast) var(--ease-out);
}

.section-header .link-more:hover {
    gap: 8px;
}

/* --- Steps / Process --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--neutral-300);
}

.step-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--brand-50), #D3E9EF);
    color: var(--brand-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(15, 76, 92, .15);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--neutral-950);
}

.step-card p {
    font-size: 14px;
    color: var(--neutral-500);
    line-height: 1.6;
}

/* --- Service Boundary --- */
.boundary-box {
    background: var(--warning-50);
    border: 1px solid #FEDF89;
    border-radius: var(--radius-lg);
    padding: 32px;
}

.boundary-box h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--warning-600);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.boundary-box p {
    font-size: 14px;
    color: var(--neutral-700);
    line-height: 1.7;
    margin-bottom: 8px;
}

.boundary-list {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.boundary-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--neutral-700);
}

.boundary-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--warning-600);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

/* --- Legal Domains --- */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.domain-tag {
    background: var(--surface);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-base) var(--ease-out);
    cursor: default;
}

.domain-tag:hover {
    border-color: var(--brand-600);
    background: var(--brand-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.domain-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: var(--brand-600);
    transition: background var(--dur-fast), color var(--dur-fast);
}

.domain-icon i {
    font-size: 20px;
    line-height: 1;
}

.domain-icon svg {
    width: 20px;
    height: 20px;
}

.domain-tag:hover .domain-icon {
    background: var(--brand-600);
    color: #fff;
}

.domain-tag span {
    font-size: 15px;
    font-weight: 500;
    color: var(--neutral-950);
}

.domains-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--neutral-500);
    font-style: italic;
}

/* --- Articles / News --- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--neutral-300);
    transform: translateY(-4px);
}

.article-thumb {
    height: 160px;
    background: linear-gradient(135deg, var(--brand-50) 0%, #D3E9EF 60%, #C2DFE8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-500);
    font-size: 40px;
    position: relative;
    overflow: hidden;
}

.article-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 76, 92, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 76, 92, .05) 1px, transparent 1px);
    background-size: 28px 28px;
}

.article-thumb i,
.article-thumb svg {
    font-size: 44px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1;
    transition: transform var(--dur-base) var(--ease-out);
}

.article-card:hover .article-thumb i,
.article-card:hover .article-thumb svg {
    transform: scale(1.1);
}

.article-body {
    padding: 20px;
}

.article-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    background: var(--brand-50);
    color: var(--brand-600);
    border-radius: 2px;
    margin-bottom: 8px;
}

.article-card h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    color: var(--neutral-950);
}

.article-card h3 a:hover {
    color: var(--brand-600);
}

.article-excerpt {
    font-size: 14px;
    color: var(--neutral-500);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--neutral-400);
}

/* --- Footer --- */
.site-footer {
    background: var(--neutral-950);
    color: rgba(255, 255, 255, .7);
    padding: 48px 0 24px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 12px;
}

.footer-brand .logo-icon {
    background: white;
    color: var(--brand-600);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .5);
    max-width: 300px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
    padding: 4px 0;
    transition: color .2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
}

/* --- Form Elements --- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

.form-label .required {
    color: var(--danger-600);
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--neutral-950);
    transition: all .2s;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(15, 76, 92, .1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--neutral-400);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 13px;
    color: var(--neutral-500);
    margin-top: 4px;
}

.form-error {
    font-size: 13px;
    color: var(--danger-600);
    margin-top: 4px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--neutral-700);
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--brand-600);
    flex-shrink: 0;
}

/* --- Status Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 100px;
}

.badge-info {
    background: var(--info-50);
    color: var(--info-600);
}

.badge-success {
    background: var(--success-50);
    color: var(--success-600);
}

.badge-warning {
    background: var(--warning-50);
    color: var(--warning-600);
}

.badge-danger {
    background: var(--danger-50);
    color: var(--danger-600);
}

.badge-neutral {
    background: var(--neutral-100);
    color: var(--neutral-500);
}

.badge-brand {
    background: var(--brand-50);
    color: var(--brand-600);
}

/* --- Page Layout --- */
.page-header {
    background: var(--surface);
    border-bottom: 1px solid var(--neutral-200);
    padding: 32px 0;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-950);
}

.page-header p {
    font-size: 14px;
    color: var(--neutral-500);
    margin-top: 4px;
}

.page-content {
    padding: 32px 0;
    flex: 1;
}

.page-sidebar-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
}

.sidebar-nav {
    background: var(--surface);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 8px;
    position: sticky;
    top: 96px;
    height: fit-content;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--neutral-700);
    border-radius: var(--radius-sm);
    transition: all .2s;
}

.sidebar-nav a:hover {
    background: var(--neutral-50);
    color: var(--neutral-950);
}

.sidebar-nav a.active {
    background: var(--brand-50);
    color: var(--brand-600);
    font-weight: 500;
}

/* --- Card --- */
.card {
    background: var(--surface);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--neutral-950);
}

/* --- Table --- */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-500);
    text-align: left;
    background: var(--neutral-50);
    border-bottom: 1px solid var(--neutral-200);
}

.data-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--neutral-700);
    border-bottom: 1px solid var(--neutral-100);
}

.data-table tr:hover td {
    background: var(--neutral-50);
}

/* --- Tabs --- */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--neutral-200);
    gap: 0;
    margin-bottom: 24px;
}

.tab-item {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-500);
    border-bottom: 2px solid transparent;
    transition: all .2s;
    cursor: pointer;
}

.tab-item:hover {
    color: var(--neutral-950);
}

.tab-item.active {
    color: var(--brand-600);
    border-bottom-color: var(--brand-600);
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 64px 24px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: .4;
}

.empty-icon svg {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    color: var(--neutral-400);
    stroke-width: 1.5;
}

.empty-state h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--neutral-500);
    margin-bottom: 24px;
}

/* --- CTA Band --- */
.cta-band {
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(245, 195, 107, .14) 0%, transparent 60%),
        linear-gradient(135deg, var(--brand-800), var(--brand-600));
    border-radius: var(--radius-xl);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: #fff;
    flex-wrap: wrap;
}

.cta-band h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.cta-band p {
    font-size: 15px;
    color: rgba(255, 255, 255, .78);
    max-width: 520px;
}

.cta-band .btn-primary {
    background: #fff;
    color: var(--brand-700);
    box-shadow: none;
}

.cta-band .btn-primary:hover {
    background: var(--brand-50);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

/* --- Scroll Reveal 动效 --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1199px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .domains-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .page-sidebar-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-nav {
        position: static;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 48px 0 40px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-badges {
        flex-direction: column;
        gap: 12px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 32px;
    }

    .hero-stat strong {
        font-size: 20px;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cta-band {
        padding: 32px 24px;
    }

    .cta-band h2 {
        font-size: 22px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--neutral-200);
        padding: 8px 16px;
        box-shadow: var(--shadow-md);
    }

    .boundary-list {
        grid-template-columns: 1fr;
    }
}