/* ==========================================
   DLsite - 全局样式
   白色日间主题 / 蓝色强调色
   ========================================== */

:root {
    --primary: #0077b6;
    --primary-light: #00b4d8;
    --primary-dark: #005f8a;
    --accent: #0077b6;
    --accent-light: #00b4d8;
    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    --bg-section: #f0f4f8;
    --text-heading: #1a202c;
    --text-body: #4a5568;
    --text-muted: #8896a6;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-hover-border: #00b4d8;
    --gradient-accent: linear-gradient(135deg, #00b4d8, #0077b6);
    --gradient-hero: linear-gradient(135deg, #eef6fb 0%, #dbeafe 50%, #e0f2fe 100%);
    --gradient-cta: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.07);
    --shadow-card-hover: 0 12px 40px rgba(0, 119, 182, 0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==========================================
   Reset & Base
   ========================================== */

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

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

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

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

ul {
    list-style: none;
}

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

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

/* ==========================================
   Header
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    transition: opacity var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

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

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

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

.nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition);
    white-space: nowrap;
}

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

.nav-link i {
    margin-right: 5px;
    font-size: 0.82rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition);
}

.menu-toggle:hover {
    background: rgba(0, 119, 182, 0.06);
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.25);
}

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

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    padding: 10px 24px;
    font-size: 0.88rem;
}

.btn-outline:hover {
    background: rgba(0, 119, 182, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.12);
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================
   Hero Section (紧凑布局)
   ========================================== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    padding: 100px 0 56px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
}

.hero-orb-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.3), transparent);
    top: -120px;
    right: -80px;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.25), transparent);
    bottom: -80px;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15), transparent);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.15; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.3; transform: translate(-50%, -50%) scale(1.08); }
}

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

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 14px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    color: var(--text-body);
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.75;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

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

.stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ==========================================
   Sections Common
   ========================================== */

.section {
    padding: 80px 0;
    position: relative;
}

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

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

.section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ==========================================
   Grid
   ========================================== */

.grid {
    display: grid;
    gap: 24px;
}

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

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

/* ==========================================
   Cards
   ========================================== */

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition);
}

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

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

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 119, 182, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
    color: var(--accent);
    transition: all var(--transition);
}

.card:hover .card-icon {
    background: rgba(0, 119, 182, 0.14);
    transform: scale(1.06);
}

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

.card-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 18px;
}

.card-features {
    list-style: none;
    margin-bottom: 22px;
}

.card-features li {
    font-size: 0.86rem;
    color: var(--text-body);
    padding: 4px 0;
}

.card-features li i {
    color: var(--accent);
    margin-right: 8px;
    font-size: 0.78rem;
}

.category-card {
    display: flex;
    flex-direction: column;
}

.category-card .btn-outline {
    margin-top: auto;
    align-self: flex-start;
}

.feature-card .card-icon {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
}

/* ==========================================
   Steps / How it works
   ========================================== */

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.step-item:hover {
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-card-hover);
    transform: translateX(5px);
}

.step-number {
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    width: 56px;
}

.step-content {
    flex: 1;
}

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

.step-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 10px;
    line-height: 1.7;
}

.step-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(0, 119, 182, 0.06);
    padding: 5px 14px;
    border-radius: 20px;
}

.step-tag i {
    margin-right: 6px;
}

.step-icon {
    font-size: 1.8rem;
    color: rgba(0, 119, 182, 0.15);
    flex-shrink: 0;
}

.step-connector {
    width: 3px;
    height: 32px;
    background: linear-gradient(to bottom, var(--accent-light), transparent);
    margin: 0 auto;
    opacity: 0.3;
}

/* ==========================================
   CTA Banner
   ========================================== */

.cta-banner {
    position: relative;
    padding: 70px 0;
    background: var(--gradient-cta);
    overflow: hidden;
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    top: -200px;
    right: -100px;
}

.cta-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    bottom: -150px;
    left: -50px;
}

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

.cta-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.cta-banner .btn-primary {
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.cta-banner .btn-primary:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

/* ==========================================
   Trending Cards
   ========================================== */

.trending-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
}

.trending-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 119, 182, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
    color: var(--accent);
    transition: all var(--transition);
}

.trending-card:hover .trending-icon {
    background: rgba(0, 119, 182, 0.14);
    transform: scale(1.1);
}

.trending-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(0, 119, 182, 0.06);
    padding: 5px 13px;
    border-radius: 20px;
    margin-top: auto;
}

.trending-tag i {
    margin-right: 6px;
}

/* ==========================================
   Testimonial
   ========================================== */

.testimonial {
    background: var(--bg-light);
}

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

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.25;
    margin-bottom: 16px;
}

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

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

.testimonial-avatar {
    font-size: 2.2rem;
    color: var(--accent);
}

.testimonial-name {
    display: block;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.95rem;
}

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

/* ==========================================
   Guarantee Cards
   ========================================== */

.guarantee-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.guarantee-tags span {
    font-size: 0.76rem;
    color: var(--accent);
    background: rgba(0, 119, 182, 0.06);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 119, 182, 0.12);
}

/* ==========================================
   FAQ
   ========================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--card-bg);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover {
    border-color: var(--card-hover-border);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 2px 12px rgba(0, 119, 182, 0.08);
}

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

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

.faq-arrow {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

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

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

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

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: #1a202c;
    padding: 52px 0 0;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer .logo-text {
    -webkit-text-fill-color: #ffffff;
    background: none;
}

.footer-about {
    font-size: 0.86rem;
    color: #94a3b8;
    line-height: 1.7;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-links ul li {
    margin-bottom: 9px;
}

.footer-links ul li a {
    font-size: 0.86rem;
    color: #94a3b8;
    transition: color var(--transition), padding-left var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.83rem;
    color: #64748b;
}

/* ==========================================
   Back to Top
   ========================================== */

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.25);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 119, 182, 0.35);
}

/* ==========================================
   Responsive
   ========================================== */

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

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

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

    .hero-stats {
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        gap: 2px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.95rem;
    }

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

    .hero {
        padding: 88px 0 44px;
    }

    .hero-stats {
        gap: 16px;
    }

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

    .stat-suffix {
        font-size: 1.1rem;
    }

    .section {
        padding: 60px 0;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        width: auto;
    }

    .step-icon {
        display: none;
    }

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

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

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

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

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .card {
        padding: 24px 18px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================
   子页面通用样式
   ========================================== */

.page-hero {
    background: var(--gradient-hero);
    padding: 100px 0 40px;
    text-align: center;
}

.page-hero .page-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.page-hero .page-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.page-content {
    padding: 60px 0 80px;
    background: var(--bg-white);
}

.page-content .content-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 119, 182, 0.1);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin: 24px 0 10px;
}

.page-content p {
    font-size: 0.94rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 14px;
}

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

.page-content li {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 6px;
}

.page-content .info-card {
    background: var(--bg-section);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 20px 0;
}

.page-content .info-card p {
    margin-bottom: 0;
}

.page-content .highlight {
    color: var(--accent);
    font-weight: 600;
}

.page-content .update-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
}

.page-content .page-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.page-content .page-nav a {
    color: var(--accent);
}

.page-content .page-nav a:hover {
    text-decoration: underline;
}

.page-content .page-nav .sep {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 88px 0 32px;
    }

    .page-content {
        padding: 40px 0 60px;
    }

    .page-content h2 {
        font-size: 1.2rem;
        margin: 30px 0 12px;
    }
}

/* ==========================================
   文章列表模块（首页）
   ========================================== */

.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    display: flex;
    gap: 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.article-item:hover {
    border-color: var(--card-hover-border);
    transform: translateX(5px);
    box-shadow: var(--shadow-card-hover);
}

.article-item-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
}

.article-item-day {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-item-month {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.article-item-body {
    flex: 1;
    min-width: 0;
}

.article-item-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
    line-height: 1.4;
    transition: color var(--transition);
}

.article-item:hover .article-item-title {
    color: var(--accent);
}

.article-item-summary {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-item-tag {
    flex-shrink: 0;
    font-size: 0.76rem;
    color: var(--accent);
    background: rgba(0, 119, 182, 0.06);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.article-more {
    text-align: center;
    margin-top: 30px;
}

/* ==========================================
   文章内页
   ========================================== */

.article-hero {
    background: var(--gradient-hero);
    padding: 100px 0 36px;
    text-align: center;
}

.article-hero .article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.article-hero .article-tag {
    font-size: 0.82rem;
    color: #ffffff;
    background: var(--gradient-accent);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 500;
}

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

.article-hero .article-title {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
    line-height: 1.35;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero .article-subtitle {
    font-size: 0.96rem;
    color: var(--text-body);
    max-width: 620px;
    margin: 0 auto;
}

.article-body {
    padding: 50px 0 80px;
    background: var(--bg-white);
}

.article-body .content-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 36px 0 14px;
    padding-left: 14px;
    border-left: 3px solid var(--accent);
}

.article-body h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-heading);
    margin: 24px 0 10px;
}

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

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

.article-body li {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 6px;
}

.article-body blockquote {
    background: var(--bg-section);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 24px;
    margin: 24px 0;
}

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

.article-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
    gap: 16px;
}

.article-nav a {
    font-size: 0.9rem;
    color: var(--accent);
    transition: opacity var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-nav a:hover {
    opacity: 0.75;
}

.article-nav .nav-prev {
    margin-right: auto;
}

.article-nav .nav-next {
    margin-left: auto;
}

@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .article-item-date {
        display: flex;
        align-items: baseline;
        gap: 6px;
        width: auto;
    }

    .article-item-day {
        font-size: 1.3rem;
    }

    .article-item-tag {
        align-self: flex-start;
    }

    .article-hero {
        padding: 88px 0 28px;
    }

    .article-body {
        padding: 36px 0 60px;
    }

    .article-nav {
        flex-direction: column;
        align-items: flex-start;
    }
}
