:root {
    --bg-body: #F5F7FA;
    --bg-card: #FFFFFF;
    --bg-header: #1A2A3A;
    --bg-footer: #0F1A24;
    --bg-banner: #1E3A5F;
    --bg-tag: #E8EEF4;
    --bg-faq: #FFFFFF;
    --bg-table-header: #1A2A3A;
    --bg-table-row: #FFFFFF;
    --bg-table-alt: #F0F4F8;
    --bg-input: #FFFFFF;
    --bg-hover: #E2E8F0;
    --bg-btn-primary: #2563EB;
    --bg-btn-primary-hover: #1D4ED8;
    --bg-btn-secondary: #F1F5F9;
    --bg-overlay: rgba(15, 26, 36, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.12);

    --text-primary: #17202A;
    --text-heading: #0F1A24;
    --text-secondary: #334155;
    --text-muted: #475569;
    --text-light: #64748B;
    --text-inverse: #FFFFFF;
    --text-link: #1D4ED8;
    --text-link-hover: #1E3A8A;
    --text-btn-primary: #FFFFFF;
    --text-btn-secondary: #17202A;
    --text-nav: #E2E8F0;
    --text-nav-hover: #FFFFFF;
    --text-footer: #CBD5E1;
    --text-footer-heading: #F1F5F9;
    --text-tag: #1E3A5F;
    --text-faq-q: #0F1A24;
    --text-faq-a: #334155;
    --text-table-header: #FFFFFF;
    --text-table-cell: #1F2937;
    --text-input: #17202A;
    --text-placeholder: #64748B;
    --text-error: #DC2626;
    --text-success: #15803D;
    --text-warning: #B45309;

    --border-color: #CBD5E1;
    --border-light: #E2E8F0;
    --border-focus: #2563EB;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #EC4899 100%);
    --gradient-banner: linear-gradient(135deg, #1A2A3A 0%, #1E3A5F 40%, #2563EB 75%, #7C3AED 100%);
    --gradient-accent: linear-gradient(90deg, #2563EB, #60A5FA);
    --gradient-card-hover: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(124,58,237,0.06));
    --gradient-thumb: linear-gradient(135deg, #1E3A5F, #2563EB);
}

body.dark-mode {
    --bg-body: #0F172A;
    --bg-card: #1E293B;
    --bg-header: #0B1120;
    --bg-footer: #080E17;
    --bg-banner: #1E293B;
    --bg-tag: #1E293B;
    --bg-faq: #1E293B;
    --bg-table-header: #0B1120;
    --bg-table-row: #1E293B;
    --bg-table-alt: #162032;
    --bg-input: #1E293B;
    --bg-hover: #334155;
    --bg-btn-primary: #3B82F6;
    --bg-btn-primary-hover: #2563EB;
    --bg-btn-secondary: #334155;
    --bg-overlay: rgba(0, 0, 0, 0.8);
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(148, 163, 184, 0.18);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

    --text-primary: #E5E7EB;
    --text-heading: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --text-light: #64748B;
    --text-inverse: #0F172A;
    --text-link: #60A5FA;
    --text-link-hover: #93C5FD;
    --text-btn-primary: #FFFFFF;
    --text-btn-secondary: #E5E7EB;
    --text-nav: #CBD5E1;
    --text-nav-hover: #FFFFFF;
    --text-footer: #94A3B8;
    --text-footer-heading: #E2E8F0;
    --text-tag: #93C5FD;
    --text-faq-q: #F1F5F9;
    --text-faq-a: #CBD5E1;
    --text-table-header: #F1F5F9;
    --text-table-cell: #E5E7EB;
    --text-input: #E5E7EB;
    --text-placeholder: #64748B;
    --text-error: #F87171;
    --text-success: #4ADE80;
    --text-warning: #FBBF24;

    --border-color: #334155;
    --border-light: #1E293B;
    --border-focus: #3B82F6;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);

    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    --gradient-banner: linear-gradient(135deg, #0B1120 0%, #1E293B 40%, #2563EB 75%, #7C3AED 100%);
    --gradient-accent: linear-gradient(90deg, #3B82F6, #93C5FD);
    --gradient-card-hover: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
    --gradient-thumb: linear-gradient(135deg, #1E293B, #3B82F6);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.75;
    transition: background-color 0.35s ease, color 0.35s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* 背景装饰光斑 */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -25%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* 导航栏 - 毛玻璃 */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 42, 58, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    transition: background-color 0.35s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.dark-mode .navbar {
    background: rgba(11, 17, 32, 0.85);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-nav-hover);
    letter-spacing: 0.5px;
    transition: transform 0.25s ease;
}

.nav-logo:hover {
    transform: scale(1.03);
}

.nav-logo svg {
    width: 32px;
    height: 32px;
    transition: transform 0.4s ease;
}

.nav-logo:hover svg {
    transform: rotate(-6deg) scale(1.08);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    color: var(--text-nav);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    background-color: rgba(255,255,255,0.1);
    color: var(--text-nav-hover);
    transform: translateY(-1px);
}

.nav-links a:hover::after {
    width: 60%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 4px 4px 4px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.search-box:focus-within {
    border-color: var(--border-focus);
    background-color: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.25);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-nav-hover);
    font-size: 0.85rem;
    width: 160px;
    padding: 4px 0;
}

.search-box input::placeholder {
    color: var(--text-nav);
    opacity: 0.7;
}

.search-box button {
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    padding: 6px 14px;
    color: var(--text-btn-primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: filter 0.25s ease, transform 0.25s ease;
    font-family: inherit;
}

.search-box button:hover {
    filter: brightness(1.12);
    transform: scale(1.04);
}

.theme-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-nav-hover);
    font-size: 1.1rem;
    transition: background-color 0.25s ease, transform 0.35s ease;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(20deg) scale(1.08);
}

.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    width: 38px;
    height: 38px;
    cursor: pointer;
    color: var(--text-nav-hover);
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.nav-links.active {
    display: flex;
}

/* 面包屑 */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
    color: var(--text-light);
}

/* Banner轮播 */
.banner-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.banner-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-banner);
}

.banner-slide {
    display: none;
    padding: 60px 50px;
    min-height: 320px;
    position: relative;
    background: var(--gradient-banner);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.banner-slide.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.banner-slide h2 {
    font-size: 2rem;
    color: #FFFFFF;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    font-weight: 700;
    animation: slideUp 0.7s ease both;
}

.banner-slide p {
    font-size: 1.05rem;
    color: #E2E8F0;
    max-width: 640px;
    margin-bottom: 24px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    line-height: 1.8;
    animation: slideUp 0.7s ease 0.12s both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.banner-btn {
    display: inline-block;
    background: rgba(255,255,255,0.95);
    color: #1A2A3A;
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    animation: slideUp 0.7s ease 0.22s both;
}

.banner-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    background: #FFFFFF;
}

.banner-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, width 0.3s ease;
    border: none;
}

.banner-dot.active {
    background-color: #FFFFFF;
    transform: scale(1.2);
    width: 28px;
    border-radius: 6px;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section {
    padding: 50px 0;
}

.section-title {
    font-size: 1.75rem;
    color: var(--text-heading);
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 720px;
    line-height: 1.8;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card-hover);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37,99,235,0.25);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-size: 1.15rem;
    color: var(--text-heading);
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
}

.card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card-hover);
    border: 1px solid var(--border-light);
    transition: transform 0.35s ease;
    position: relative;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(-4deg);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

/* 数字统计 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 30px 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* 文章列表 */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.article-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.article-thumb {
    height: 160px;
    background: var(--gradient-thumb);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background-position 0.6s ease;
}

.article-card:hover .article-thumb {
    background-position: 100% 50%;
}

.article-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15));
}

.article-thumb svg {
    width: 64px;
    height: 64px;
    opacity: 0.9;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.article-card:hover .article-thumb svg {
    transform: scale(1.12);
}

.article-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.article-tag {
    background-color: var(--bg-tag);
    color: var(--text-tag);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: background-color 0.25s ease;
}

.article-card:hover .article-tag {
    background: var(--gradient-primary);
    color: #FFFFFF;
}

.article-card h3 {
    font-size: 1.05rem;
    color: var(--text-heading);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.article-card:hover h3 {
    color: var(--text-link);
}

.article-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 14px;
}

.article-link {
    color: var(--text-link);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    align-self: flex-start;
    transition: color 0.25s ease, transform 0.25s ease;
}

.article-link:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
    transform: translateX(4px);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: var(--bg-faq);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(37,99,235,0.25);
}

.faq-item.open {
    border-color: rgba(37,99,235,0.35);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-faq-q);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background-color 0.25s ease;
    font-family: inherit;
    line-height: 1.6;
}

.faq-question:hover {
    background-color: var(--bg-hover);
}

.faq-question .arrow {
    transition: transform 0.35s ease;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.faq-item.open .faq-question .arrow {
    transform: rotate(180deg);
    color: var(--text-link);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 22px;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 22px 20px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-faq-a);
    line-height: 1.85;
}

/* HowTo */
.howto-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    counter-reset: step;
}

.howto-step {
    display: flex;
    gap: 20px;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.howto-step:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.howto-step::before {
    counter-increment: step;
    content: counter(step);
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(37,99,235,0.35);
    transition: transform 0.35s ease;
}

.howto-step:hover::before {
    transform: scale(1.1) rotate(-8deg);
}

.howto-step-content h4 {
    font-size: 1.05rem;
    color: var(--text-heading);
    margin-bottom: 6px;
    font-weight: 600;
}

.howto-step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 表格 */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

thead {
    background-color: var(--bg-table-header);
}

thead th {
    color: var(--text-table-header);
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

tbody td {
    padding: 13px 18px;
    color: var(--text-table-cell);
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.2s ease;
}

tbody tr:nth-child(even) {
    background-color: var(--bg-table-alt);
}

tbody tr:hover td {
    background-color: var(--bg-hover);
}

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

/* 联系信息 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.contact-item {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.contact-item .icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--gradient-card-hover);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
}

.contact-item:hover .icon {
    transform: scale(1.12) rotate(6deg);
}

.contact-item .icon svg {
    width: 26px;
    height: 26px;
}

.contact-item h4 {
    font-size: 0.95rem;
    color: var(--text-heading);
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-item a {
    color: var(--text-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--bg-footer);
    color: var(--text-footer);
    padding: 50px 0 20px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

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

.footer-col h4 {
    color: var(--text-footer-heading);
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: var(--text-footer);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    padding-left: 4px;
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-footer);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-footer);
}

.footer-bottom a {
    color: var(--text-footer);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-bottom a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-btn-primary);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.back-to-top.show {
    display: flex;
    animation: popIn 0.35s ease;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* 滚动动画 */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 图片懒加载 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.45s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* 辅助文字 */
.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-light {
    color: var(--text-light);
}

/* 标签 */
.tag {
    display: inline-block;
    background-color: var(--bg-tag);
    color: var(--text-tag);
    padding: 4px 14px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0 6px 6px 0;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
    cursor: default;
}

.tag:hover {
    transform: translateY(-2px);
    background: var(--gradient-primary);
    color: #FFFFFF;
}

/* 提示框 */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 16px 0;
    transition: transform 0.25s ease;
}

.alert:hover {
    transform: translateX(4px);
}

.alert-info {
    background-color: #EFF6FF;
    border-left: 4px solid #2563EB;
    color: #1E3A8A;
}

body.dark-mode .alert-info {
    background-color: #1E293B;
    border-left-color: #3B82F6;
    color: #93C5FD;
}

.alert-warning {
    background-color: #FFFBEB;
    border-left: 4px solid #F59E0B;
    color: #92400E;
}

body.dark-mode .alert-warning {
    background-color: #1E293B;
    border-left-color: #FBBF24;
    color: #FCD34D;
}

.alert-success {
    background-color: #F0FDF4;
    border-left: 4px solid #22C55E;
    color: #166534;
}

body.dark-mode .alert-success {
    background-color: #1E293B;
    border-left-color: #4ADE80;
    color: #86EFAC;
}

/* 响应式 */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(26, 42, 58, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    body.dark-mode .nav-links {
        background: rgba(11, 17, 32, 0.97);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
    }

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

    .menu-toggle {
        display: flex;
    }

    .search-box input {
        width: 100px;
    }

    .banner-slide {
        padding: 40px 28px;
        min-height: 280px;
    }

    .banner-slide h2 {
        font-size: 1.5rem;
    }

    .banner-slide p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 36px 0;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .search-box {
        display: none;
    }

    .banner-slide {
        padding: 32px 20px;
        min-height: 240px;
    }

    .banner-slide h2 {
        font-size: 1.3rem;
    }

    .banner-slide p {
        font-size: 0.88rem;
    }

    .howto-step {
        flex-direction: column;
        gap: 12px;
    }

    .howto-step:hover {
        transform: translateY(-3px);
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .card-grid,
    .article-list {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-logo span {
        display: none;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .back-to-top,
    .banner-section,
    .footer,
    .theme-toggle,
    .menu-toggle {
        display: none !important;
    }

    body {
        background: #FFFFFF;
        color: #000000;
    }

    .card,
    .article-card,
    .faq-item,
    .howto-step {
        box-shadow: none;
        border: 1px solid #CCCCCC;
        break-inside: avoid;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
    border: 2px solid var(--bg-body);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

body.dark-mode ::-webkit-scrollbar-track {
    background: #0F172A;
}

body.dark-mode ::-webkit-scrollbar-thumb {
    background: #334155;
    border-color: #0F172A;
}

/* 选中文本 */
::selection {
    background: rgba(37,99,235,0.3);
    color: var(--text-heading);
}

body.dark-mode ::selection {
    background: rgba(59,130,246,0.4);
    color: #FFFFFF;
}

/* 焦点可见性 */
:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
    border-radius: 4px;
}

/* 链接基础过渡 */
a {
    transition: color 0.25s ease, opacity 0.25s ease;
}

/* 列表内链接 */
.card ul a:hover {
    text-decoration: underline;
    padding-left: 3px;
}

/* 表格内链接 */
td a {
    color: var(--text-link);
    text-decoration: none;
}

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

/* 确保section背景与卡片区分 */
.section[style*="background-color: var(--bg-card)"] .card {
    background-color: var(--bg-body);
}

body.dark-mode .section[style*="background-color: var(--bg-card)"] .card {
    background-color: var(--bg-body);
}

/* 玻璃效果增强 */
@supports (backdrop-filter: blur(1px)) {
    .stat-item,
    .contact-item {
        background: var(--glass-bg);
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .stat-item,
    .contact-item {
        background: var(--bg-card);
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --text-secondary: #1F2937;
        --text-muted: #374151;
        --border-light: #9CA3AF;
    }

    body.dark-mode {
        --text-secondary: #F1F5F9;
        --text-muted: #CBD5E1;
        --border-light: #475569;
    }
}