/* ========================================
   DLsite - 数字创作者平台 样式表（日间主题）
   ======================================== */

/* CSS 变量 */
:root {
    --primary: #0077b6;
    --primary-light: #00b4d8;
    --primary-dark: #005a8c;
    --accent: #0077b6;
    --accent-light: #00b4d8;
    --bg-white: #ffffff;
    --bg-light: #f6f8fb;
    --bg-subtle: #eef2f7;
    --text-heading: #1a202c;
    --text-body: #4a5568;
    --text-muted: #8896a6;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-hover-border: #00b4d8;
    --gradient-primary: linear-gradient(135deg, #00b4d8, #0077b6);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-accent: 0 4px 20px rgba(0, 119, 182, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-brand: 'Orbitron', var(--font-sans);
}

/* 重置与基础 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-white);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   按钮
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: var(--font-sans);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 119, 182, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--card-border);
}

.btn-outline:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* ========================================
   头部导航
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--card-border);
    box-shadow: var(--shadow-sm);
}

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

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

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-brand);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: 1px;
}

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

.nav-link {
    padding: 8px 14px;
    font-size: 14px;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i {
    font-size: 12px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(0, 119, 182, 0.06);
}

.header-btn {
    padding: 10px 24px;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero 首屏 — 紧凑版
   ======================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0 56px;
    background: var(--bg-light);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 119, 182, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 119, 182, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.35; }
    100% { opacity: 0; transform: translateY(-200px) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--text-heading);
}

.hero-title-brand {
    font-family: var(--font-brand);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-sub {
    font-size: clamp(20px, 3vw, 34px);
    font-weight: 700;
}

.hero-desc {
    font-size: clamp(14px, 1.6vw, 16px);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 16px 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-family: var(--font-brand);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.stat-suffix {
    font-family: var(--font-brand);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 18px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   通用 Section
   ======================================== */
.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(0, 119, 182, 0.06);
    border: 1px solid rgba(0, 119, 182, 0.12);
    border-radius: 50px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ========================================
   核心优势
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-body);
}

.feature-list li i {
    color: var(--primary);
    font-size: 11px;
}

/* ========================================
   成长路径
   ======================================== */
.roadmap-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.roadmap-item {
    display: flex;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.roadmap-item:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.roadmap-step {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-brand);
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.roadmap-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.roadmap-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.7;
}

.roadmap-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.roadmap-tags span {
    padding: 3px 10px;
    background: rgba(0, 119, 182, 0.06);
    border: 1px solid rgba(0, 119, 182, 0.12);
    border-radius: 50px;
    font-size: 12px;
    color: var(--primary);
}

.roadmap-duration {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.roadmap-duration i {
    color: var(--primary);
}

/* ========================================
   CTA 横幅
   ======================================== */
.cta-banner {
    position: relative;
    padding: 64px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.cta-btn {
    background: #fff;
    color: var(--primary) !important;
    -webkit-text-fill-color: var(--primary);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ========================================
   社区与资源
   ======================================== */
.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.community-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

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

.community-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    margin: 0 auto 16px;
}

.community-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.community-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.7;
    flex: 1;
}

.community-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 14px;
    padding: 8px 0;
    border-top: 1px solid var(--card-border);
}

.community-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    transition: all var(--transition);
}

.community-link:hover {
    gap: 10px;
}

/* ========================================
   用户评价
   ======================================== */
.testimonial {
    padding: 64px 0;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    font-size: 40px;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    font-size: 13px;
}

/* ========================================
   平台保障
   ======================================== */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.guarantee-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    transition: all var(--transition);
}

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

.guarantee-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    margin: 0 auto 16px;
}

.guarantee-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.guarantee-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.7;
}

.guarantee-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.guarantee-tags span {
    padding: 3px 10px;
    background: var(--bg-light);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item.active {
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    transition: color var(--transition);
}

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

.faq-icon {
    font-size: 13px;
    color: var(--primary);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-answer p {
    padding: 0 22px 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ========================================
   底部
   ======================================== */
.footer {
    background: var(--text-heading);
    padding-top: 56px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .logo-text {
    color: #fff;
}

.footer-brand-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 14px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    transition: all var(--transition);
}

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

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   返回顶部
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: var(--shadow-accent);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 119, 182, 0.35);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .roadmap-timeline {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 90px 24px 32px;
        gap: 4px;
        transition: right var(--transition);
        border-left: 1px solid var(--card-border);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        padding: 14px 16px;
        width: 100%;
        font-size: 15px;
    }

    .header-btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 90px 0 48px;
    }

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

    .stat-number {
        font-size: 24px;
    }

    .community-grid,
    .guarantee-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 28px 20px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .section {
        padding: 56px 0;
    }

    .cta-banner {
        padding: 48px 0;
    }

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

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .roadmap-item {
        flex-direction: column;
        gap: 14px;
        padding: 22px;
    }
}

/* ========================================
   子页面通用样式
   ======================================== */
.page-banner {
    background: var(--bg-light);
    padding: 110px 0 48px;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
}

.page-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 16px;
    font-size: 24px;
    color: #fff;
    margin-bottom: 16px;
}

.page-banner h1 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.page-banner p {
    font-size: 15px;
    color: var(--text-muted);
}

.page-body {
    padding: 56px 0 80px;
}

.page-body .container {
    max-width: 860px;
}

.page-section {
    margin-bottom: 40px;
}

.page-section:last-child {
    margin-bottom: 0;
}

.page-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-subtle);
}

.page-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    margin: 18px 0 8px;
}

.page-section p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 10px;
}

.page-section ul,
.page-section ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.page-section li {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 4px;
}

.page-section strong {
    color: var(--text-heading);
}

.page-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
}

.page-card h3 {
    margin-top: 0;
}

.page-update {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

/* 子页面导航 - 锚点定位用 */
.page-nav-header .nav-link {
    color: var(--text-muted);
}

.page-nav-header .nav-link:hover {
    color: var(--primary);
}

/* ========================================
   文章列表（首页模块）
   ======================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

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

.article-card-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
}

.article-card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(0, 119, 182, 0.08);
    border-radius: 50px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
    width: fit-content;
}

.article-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--card-border);
}

.article-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-weight: 500;
    transition: gap var(--transition);
}

.article-card-link:hover {
    gap: 8px;
}

/* ========================================
   文章详情页
   ======================================== */
.article-header {
    background: var(--bg-light);
    padding: 110px 0 40px;
    border-bottom: 1px solid var(--card-border);
}

.article-header .container {
    max-width: 860px;
}

.article-header-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(0, 119, 182, 0.08);
    border: 1px solid rgba(0, 119, 182, 0.12);
    border-radius: 50px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 14px;
}

.article-header h1 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 14px;
    line-height: 1.4;
}

.article-header-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-header-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-body {
    padding: 48px 0 80px;
}

.article-body .container {
    max-width: 860px;
}

.article-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 32px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-subtle);
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    margin: 22px 0 8px;
}

.article-body p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 14px;
}

.article-body ul,
.article-body ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.article-body li {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 4px;
}

.article-body strong {
    color: var(--text-heading);
}

.article-body blockquote {
    margin: 20px 0;
    padding: 16px 24px;
    border-left: 4px solid var(--primary);
    background: var(--bg-light);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body blockquote p {
    margin-bottom: 0;
    color: var(--text-body);
    font-style: italic;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
}

.article-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    transition: gap var(--transition);
}

.article-nav a:hover {
    gap: 12px;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .article-card-thumb {
        height: 130px;
    }

    .article-nav {
        flex-direction: column;
    }
}
