:root {
    --bg: #0b0e14;
    --surface: #131823;
    --surface2: #1e2533;
    --text: #e6edf3;
    --text2: #8b98a9;
    --accent: #ff4d6d;
    --accent2: #4d9fff;
    --border: #2a3344;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --gradient-banner: linear-gradient(135deg, #1a0b2e 0%, #16213e 40%, #0f3460 70%, #1a0b2e 100%);
    --gradient-accent: linear-gradient(135deg, #ff4d6d 0%, #ff6b6b 50%, #ff4d6d 100%);
    --gradient-blue: linear-gradient(135deg, #4d9fff 0%, #6c5ce7 100%);
    --glass-bg: rgba(19, 24, 35, 0.72);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 16px;
}

[data-theme="light"] {
    --bg: #f5f7fa;
    --surface: #ffffff;
    --surface2: #eef1f6;
    --text: #1a1f2b;
    --text2: #5a6679;
    --border: #d4dce8;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --gradient-banner: linear-gradient(135deg, #e8eaf6 0%, #e3f2fd 40%, #fce4ec 70%, #e8eaf6 100%);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(0, 0, 0, 0.06);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    transition: background 0.35s ease, color 0.35s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent2);
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

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

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 导航吸顶 + 毛玻璃 ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

[data-theme="light"] .navbar {
    background: var(--glass-bg);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

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

.logo span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo svg {
    transition: transform 0.4s ease;
}

.logo:hover svg {
    transform: rotate(20deg);
}

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

.nav-links a {
    color: var(--text2);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

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

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

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

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

/* ========== 搜索框 ========== */
.search-box {
    display: flex;
    align-items: center;
    background: var(--surface2);
    border-radius: 20px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.15);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 0.9rem;
    width: 140px;
    font-family: var(--font);
}

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

.search-box button {
    background: transparent;
    border: none;
    color: var(--text2);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    transition: color 0.25s ease, transform 0.25s ease;
}

.search-box button:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* ========== 主题切换按钮 ========== */
.theme-toggle {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    font-size: 1.2rem;
    transition: transform 0.35s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(25deg) scale(1.08);
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(255, 77, 109, 0.25);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* ========== Banner 轮播 + 渐变 ========== */
.banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: 24px 0;
    background: var(--gradient-banner);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 77, 109, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(77, 159, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.banner-slide {
    display: none;
    padding: 56px 36px;
    text-align: center;
    animation: fadeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 1;
    width: 100%;
}

.banner-slide.active {
    display: block;
}

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

.banner h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.banner h1 span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner p {
    color: var(--text2);
    max-width: 700px;
    margin: 0 auto 24px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.banner .read-more {
    display: inline-block;
    padding: 10px 28px;
    background: var(--gradient-accent);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 77, 109, 0.35);
}

.banner .read-more:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255, 77, 109, 0.5);
    opacity: 0.95;
}

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

.banner-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: background 0.35s ease, width 0.35s ease, border-radius 0.35s ease, transform 0.25s ease;
}

.banner-dots button:hover {
    transform: scale(1.2);
}

.banner-dots button.active {
    background: var(--accent);
    width: 26px;
    border-radius: 6px;
}

/* ========== 数字动画 ========== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.stat-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.stat-item:hover::before {
    opacity: 1;
}

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

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

/* ========== 通用卡片 ========== */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.04), rgba(77, 159, 255, 0.04));
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 77, 109, 0.25);
}

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

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-accent) 1;
    display: inline-block;
    position: relative;
}

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

h2 {
    font-size: 1.6rem;
    margin: 32px 0 16px;
    color: var(--text);
}

h3 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
    color: var(--text);
}

h4 {
    font-size: 1.05rem;
    margin: 18px 0 10px;
    color: var(--text2);
}

p {
    margin-bottom: 14px;
    color: var(--text2);
}

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

/* ========== 网格布局 ========== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

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

/* ========== 面包屑 ========== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text2);
    margin: 16px 0;
    padding: 0;
}

.breadcrumb li::after {
    content: "›";
    margin-left: 8px;
    color: var(--border);
}

.breadcrumb li:last-child::after {
    content: "";
}

.breadcrumb a {
    color: var(--text2);
    transition: color 0.25s ease;
}

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

/* ========== FAQ ========== */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    transition: background 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    font-size: 1.05rem;
    gap: 12px;
    transition: color 0.25s ease;
    user-select: none;
}

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

.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--accent);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface2);
}

.faq-item.open .faq-question::after {
    content: "−";
    transform: rotate(180deg);
    background: var(--accent);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease, opacity 0.35s ease;
    color: var(--text2);
    padding: 0;
    opacity: 0;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 12px 0 4px;
    opacity: 1;
}

/* ========== 文章列表 ========== */
.article-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, padding-left 0.3s ease;
    border-radius: 6px;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    padding-left: 8px;
    background: linear-gradient(90deg, rgba(255, 77, 109, 0.04), transparent);
}

.article-date {
    font-size: 0.8rem;
    color: var(--text2);
    white-space: nowrap;
    min-width: 90px;
    padding-top: 2px;
}

.article-content h4 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.article-content h4 a {
    color: var(--text);
    transition: color 0.25s ease;
}

.article-content h4 a:hover {
    color: var(--accent);
}

.article-summary {
    font-size: 0.9rem;
    color: var(--text2);
    margin-bottom: 6px;
    line-height: 1.6;
}

.read-more {
    font-size: 0.85rem;
    color: var(--accent2);
    font-weight: 500;
    transition: color 0.25s ease, letter-spacing 0.25s ease;
    display: inline-block;
}

.read-more:hover {
    color: var(--accent);
    letter-spacing: 0.5px;
}

/* ========== 返回顶部 ========== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 77, 109, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 16px 40px rgba(255, 77, 109, 0.55);
}

/* ========== 滚动动画 ========== */
.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);
}

/* ========== 页脚 ========== */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    margin-top: 60px;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0.5;
}

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

.footer-col h4 {
    color: var(--text);
    margin-bottom: 16px;
    font-size: 1rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

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

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

.footer-col a {
    color: var(--text2);
    font-size: 0.9rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    color: var(--text2);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 6px;
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--glass-bg);
        backdrop-filter: blur(var(--glass-blur));
        -webkit-backdrop-filter: blur(var(--glass-blur));
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        gap: 16px;
        animation: slideDown 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .search-box {
        display: none;
    }

    .banner {
        min-height: 260px;
        border-radius: var(--radius);
    }

    .banner-slide {
        padding: 40px 20px;
    }

    .banner h1 {
        font-size: 1.6rem;
    }

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

    .article-item {
        flex-direction: column;
        gap: 6px;
    }

    .article-date {
        min-width: auto;
    }

    .stat-number {
        font-size: 1.8rem;
    }

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

    h2 {
        font-size: 1.3rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 18px;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 18px;
        right: 18px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .banner h1 {
        font-size: 1.35rem;
    }

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

    .stat-item {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* ========== 搜索高亮 ========== */
.highlight {
    background: var(--accent);
    color: #fff;
    padding: 0 3px;
    border-radius: 3px;
    animation: highlightPulse 1.5s ease infinite;
}

@keyframes highlightPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.15);
    }
}

/* ========== 内部锚点导航 ========== */
.anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
}

.anchor-nav a {
    font-size: 0.85rem;
    padding: 6px 14px;
    background: var(--surface2);
    border-radius: 20px;
    color: var(--text2);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.anchor-nav a:hover {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 77, 109, 0.3);
}

/* ========== 标签 ========== */
.tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 10px;
    background: var(--surface2);
    border-radius: 12px;
    color: var(--text2);
    margin: 0 6px 6px 0;
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}

.tag:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* ========== 作者信息 ========== */
.author-box {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--surface2);
    border-radius: var(--radius);
    padding: 16px;
    margin: 24px 0;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.author-box:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(255, 77, 109, 0.12);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(255, 77, 109, 0.35);
}

.author-info h4 {
    margin: 0 0 4px;
    color: var(--text);
}

.author-info p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ========== 表格 ========== */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.info-table th,
.info-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.info-table th {
    color: var(--text);
    font-weight: 600;
    background: var(--surface2);
}

.info-table td {
    color: var(--text2);
}

.info-table tr {
    transition: background 0.25s ease;
}

.info-table tbody tr:hover {
    background: rgba(255, 77, 109, 0.04);
}

/* ========== 步骤 ========== */
.step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.step-list li {
    counter-increment: step;
    position: relative;
    padding-left: 48px;
    margin-bottom: 20px;
    color: var(--text2);
    transition: transform 0.3s ease;
}

.step-list li:hover {
    transform: translateX(4px);
}

.step-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(255, 77, 109, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-list li:hover::before {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 77, 109, 0.45);
}

.step-list li strong {
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

/* ========== 图片容器 ========== */
.svg-container {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface2);
    border: 1px solid var(--border);
}

.svg-container svg {
    width: 100%;
    height: auto;
    display: block;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid var(--border);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
    transform: scale(1.08);
}

.contact-text h4 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    color: var(--text);
}

.contact-text p {
    margin: 0;
    font-size: 0.85rem;
}

/* ========== 页脚链接 ========== */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 16px 0;
}

.friend-links a {
    font-size: 0.8rem;
    color: var(--text2);
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.friend-links a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(255, 77, 109, 0.06);
}

/* ========== 滚动条 ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
    transition: background 0.3s ease;
}

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

/* ========== 选中文字 ========== */
::selection {
    background: var(--accent);
    color: #fff;
}

::-moz-selection {
    background: var(--accent);
    color: #fff;
}

/* ========== 焦点可见性（无障碍） ========== */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========== 减少动画偏好 ========== */
@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-dots,
    .search-box,
    .theme-toggle,
    .mobile-menu-btn {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .card {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}