/* NativeVid 帮助中心样式 - 深色主题 */

:root {
    /* 颜色变量 - 与官网一致 */
    --bg-primary: #030712;
    --bg-secondary: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.78);
    --bg-card-hover: rgba(15, 23, 42, 0.94);
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-primary: #2563eb;
    --accent-secondary: #3b82f6;
    --accent-hover: #1d4ed8;
    --border-color: rgba(148, 163, 184, 0.18);
    --border-light: rgba(148, 163, 184, 0.12);
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 25px -15px rgba(15, 23, 42, 0.7);
    --shadow-lg: 0 20px 40px -20px rgba(15, 23, 42, 0.9);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body {
    font-family: 'Inter', 'Noto Sans SC', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* 背景装饰 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.2) 0%, transparent 70%),
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* 容器 */
.container {
    /* 与官网“通栏”一致：宽度随屏幕拉满，仅保留左右安全边距 */
    width: min(1400px, 100% - 3rem);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* 顶部导航（对齐官网视觉） */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.25rem 0;
    min-height: 80px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.85);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: rgba(226, 232, 240, 0.78);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0.4rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #f8fafc;
}

.nav-link.active {
    color: #f8fafc;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 10px 25px -15px rgba(37, 99, 235, 0.7);
    transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
    box-shadow: 0 18px 30px -15px rgba(37, 99, 235, 0.85);
}

.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.78);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.5);
}

.nav-lang .icon {
    font-size: 0.9rem;
    opacity: 0.8;
}

.help-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.help-tabs a {
    color: rgba(226, 232, 240, 0.78);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.15rem 0.2rem;
    border-radius: 0;
    border: none;
    background: transparent;
    transition: color 0.2s ease;
}

.help-tabs a:hover {
    color: #f8fafc;
}

.help-tabs a.active {
    color: #f8fafc;
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.8);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 0;
    object-fit: contain;
    display: block;
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.5);
}

.logo-text {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-style: italic;
}

.logo-text .logo-highlight {
    color: var(--accent-primary);
}

.badge-beta {
    margin-left: 0.4rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #dbeafe;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.45);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.35);
}

.navbar-tag {
    margin-left: 0.75rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.38);
    color: rgba(226, 232, 240, 0.82);
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
}

.nav-links a {
    color: rgba(226, 232, 240, 0.78);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease;
    position: relative;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--accent-secondary);
    opacity: 1;
}

.nav-links a.active {
    color: #f8fafc;
    opacity: 1;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.nav-links .nav-cta {
    opacity: 1;
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 10px 25px -15px rgba(37, 99, 235, 0.7);
}

.nav-links .nav-cta::after {
    display: none;
}

/* 移动端导航 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* 主要内容区域 */
.main-content {
    padding: var(--spacing-md) 0 var(--spacing-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.help-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: var(--spacing-xl);
    align-items: stretch;
    margin-bottom: var(--spacing-xl);
}

.help-hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(59, 130, 246, 0.45);
    color: #dbeafe;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
}

.help-hero h1 {
    font-size: 2.6rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.help-hero .subtitle {
    font-size: 1.05rem;
    color: rgba(226, 232, 240, 0.78);
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    padding: 0.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12), 0 18px 40px -30px rgba(0, 0, 0, 0.8);
}

.hero-search input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.98rem;
    padding: 0.7rem 1rem;
}

.hero-search input::placeholder {
    color: rgba(226, 232, 240, 0.5);
}

.hero-search button {
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.8rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hero-search button:hover {
    transform: none;
    box-shadow: 0 12px 25px -18px rgba(37, 99, 235, 0.8);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-actions .btn-secondary {
    background: transparent;
    color: #93c5fd;
}

.hero-actions .btn-secondary:hover {
    color: #f8fafc;
}

.btn-hero {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border-radius: 999px;
}

.btn-hero-outline {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border-radius: 999px;
    border-color: rgba(96, 165, 250, 0.6);
}

.hero-tabs {
    justify-content: flex-start;
    gap: 0.6rem;
}

.hero-tabs a {
    padding: 0.45rem 1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-light);
}

.hero-stats strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
}

.hero-stats span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.help-hero__panel {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.panel-card {
    background: rgba(12, 18, 32, 0.92);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 24px 45px -35px rgba(0, 0, 0, 0.8);
}

.panel-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-size: 1.2rem;
}

.panel-note {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(37, 99, 235, 0.08));
}

.panel-card .link-list a {
    color: #60a5fa;
}

.panel-card .link-list a:hover {
    color: #93c5fd;
}

.panel-card .link-list li {
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    padding-bottom: 0.6rem;
}

.panel-card .link-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: var(--spacing-sm);
}

.panel-tags span {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(59, 130, 246, 0.4);
    font-size: 0.78rem;
    color: #dbeafe;
}

/* 页面标题 */

/* 卡片 */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: var(--shadow-lg);
    transform: none;
}

.card h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.card p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.section {
    margin-bottom: var(--spacing-xl);
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.section-header h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 720px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transform: none;
    will-change: auto;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.category-card:hover {
    transform: none;
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 2rem;
}

.category-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.category-link {
    margin-top: auto;
    color: var(--accent-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.link-list {
    list-style: none;
    margin-left: 0;
    display: grid;
    gap: 0.6rem;
}

.link-list a {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 500;
}

.link-list a:hover {
    color: #f8fafc;
}

.info-card {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: var(--text-secondary);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
}

.workflow-card {
    background: rgba(15, 23, 42, 0.8);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.workflow-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.workflow-card p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.workflow-meta {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.7);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.article-card h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
}

.article-card p {
    color: var(--text-muted);
}

.article-card a {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 600;
}

.article-card a:hover {
    color: #f8fafc;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.faq-item {
    background: rgba(15, 23, 42, 0.85);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: var(--spacing-md);
}

.faq-item summary {
    cursor: default;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
}

.faq-item[open] summary::after {
    content: '';
}

.faq-item p {
    margin-top: var(--spacing-sm);
    color: var(--text-muted);
}

.cta-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-sm);
    align-items: center;
}

.cta-card h2 {
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cta-card .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 9px;
}

/* 功能卡片网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
    transform: none;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-primary);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-primary));
    transform: none;
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(37, 99, 235, 0.6);
    color: var(--accent-secondary);
}

.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.18);
    color: var(--text-primary);
}

/* 列表 */
ul, ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
}

/* 步骤列表 */
.steps {
    list-style: none;
    margin-left: 0;
    counter-reset: step-counter;
}

.steps li {
    counter-increment: step-counter;
    margin-bottom: var(--spacing-md);
    padding-left: 3rem;
    position: relative;
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--accent-primary);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* 代码块 */
code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--accent-secondary);
}

pre {
    background: rgba(0, 0, 0, 0.4);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: var(--spacing-md) 0;
    border: 1px solid var(--border-light);
}

pre code {
    background: none;
    padding: 0;
}

/* 引用 */
blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: var(--spacing-md);
    margin: var(--spacing-md) 0;
    color: var(--text-muted);
    font-style: italic;
}

/* 表格 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-md) 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

th, td {
    padding: var(--spacing-sm);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

th {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
    font-weight: 600;
}

tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

/* 标签 */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-primary);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 var(--spacing-xs);
}

.badge-secondary {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

/* 强调框 */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
    border-left: 4px solid;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-primary);
    color: var(--text-secondary);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: var(--text-secondary);
}

.alert-warning {
    background: rgba(251, 191, 36, 0.1);
    border-color: #fbbf24;
    color: var(--text-secondary);
}

/* 页脚 */
.footer {
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid rgba(37, 99, 235, 0.12);
    padding: 1.25rem 0;
    margin-top: var(--spacing-xl);
    color: rgba(148, 163, 184, 0.85);
    backdrop-filter: blur(20px);
}

/* 帮助中心首页布局：左右分栏，更清晰 */
.layout-two-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: var(--spacing-lg);
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
}

.layout-stack {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.78rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-brand:hover {
    opacity: 1;
}

.footer-brand img {
    width: 18px;
    height: 18px;
}

.footer-brand span {
    font-size: 0.95rem;
    font-weight: 600;
    font-style: italic;
    color: rgba(248, 250, 252, 0.9);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(148, 163, 184, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: rgba(248, 250, 252, 0.96);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.96);
        flex-direction: column;
        padding: var(--spacing-md);
        border-top: 1px solid var(--border-light);
        z-index: 20;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    /* page-header removed; keep media query intact for other elements */
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .layout-two-cols {
        grid-template-columns: 1fr;
    }

    .help-hero {
        grid-template-columns: 1fr;
    }

    .help-hero h1 {
        font-size: 2.1rem;
    }

    .hero-search {
        grid-template-columns: 1fr;
        border-radius: var(--radius-lg);
    }

    .hero-search button {
        width: 100%;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .navbar,
    .footer {
        display: none;
    }
}

/* Generated help center docs */
.doc-hero {
    margin-bottom: var(--spacing-lg);
}

.doc-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.28);
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.doc-intro {
    color: rgba(226, 232, 240, 0.88);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.summary-card {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(8, 15, 31, 0.48);
}

.summary-card h2,
.doc-section h2 {
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
    color: #f8fafc;
}

.summary-list,
.step-list {
    display: grid;
    gap: 0.8rem;
}

.summary-list {
    padding-left: 1.15rem;
}

.doc-section {
    margin-bottom: 1.2rem;
    padding: 1.2rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(8, 15, 31, 0.52);
    box-shadow: var(--shadow-md);
}

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

.doc-card,
.resource-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.45);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.doc-card:hover {
    transform: none;
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 18px 35px -30px rgba(59, 130, 246, 0.9);
}

.doc-card h3,
.resource-item h3,
.step-list h3 {
    font-size: 1rem;
    color: #f8fafc;
}

.doc-card p,
.resource-item p,
.step-list p,
.faq-answer p {
    color: rgba(226, 232, 240, 0.78);
    margin: 0;
}

.doc-card span {
    color: var(--accent-secondary);
    font-weight: 600;
    margin-top: auto;
}

.card,
.doc-card,
.feature-card,
.btn,
.category-card {
    transform: none !important;
    will-change: auto !important;
}

.card,
.category-card,
.article-card,
.feature-card,
.doc-card,
.workflow-card,
.faq-item,
.cta-card,
.panel-card,
.summary-card,
.doc-section,
.resource-item,
.info-card {
    isolation: isolate;
    contain: layout paint;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.card:hover,
.doc-card:hover,
.feature-card:hover,
.btn:hover,
.category-card:hover {
    transform: none !important;
}

.card,
.category-card,
.article-card,
.feature-card,
.doc-card {
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
    box-shadow: none !important;
}

.card:hover,
.card:focus-within,
.category-card:hover,
.category-card:focus-visible,
.article-card:hover,
.article-card:focus-within,
.feature-card:hover,
.feature-card:focus-visible,
.doc-card:hover,
.doc-card:focus-visible {
    box-shadow: none !important;
    transform: none !important;
}

.resource-list {
    display: grid;
    gap: 0.8rem;
}

.step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    position: relative;
    padding: 0.1rem 0 0.1rem 3rem;
}

.step-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.42);
    padding: 0.95rem 1rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #f8fafc;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    margin-top: 0.65rem;
}

@media (max-width: 768px) {
    .doc-section,
    .doc-hero {
        padding: 1rem;
    }
}
