/* ========================================
   九方财齐官网 - 全新设计 v2.0
   主题色：品牌紫红色 #C41E7F
   ======================================== */

/* 动画定义 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* CSS变量定义 */
:root {
    /* 品牌主色 */
    --primary: #C41E7F;
    --primary-light: #E84A9F;
    --primary-dark: #9A185F;
    --primary-gradient: linear-gradient(135deg, #C41E7F 0%, #E84A9F 100%);
    
    /* 辅助色 */
    --secondary: #FF6B9D;
    --accent: #FFD700;
    
    /* 中性色 */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E8E8E8;
    
    /* 功能色 */
    --success: #52C41A;
    --warning: #FAAD14;
    --error: #F5222D;
    --info: #1890FF;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-primary: 0 4px 16px rgba(196,30,127,0.25);
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* 过渡 */
    --transition: all 0.3s ease;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* 强制文章内图片不溢出 */
.article-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

/* nav-inner 容器（文章详情页使用） */
.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

/* nav-links 导航链接组（文章详情页用） */
.nav-links {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(196,30,127,0.08);
}

.nav-phone {
    color: var(--primary) !important;
    font-weight: 700 !important;
    background: rgba(196,30,127,0.06) !important;
}

.logo-img {
    height: 36px;
    width: auto;
}

/* mobile-menu-btn 汉堡按钮（文章详情页用） */
.mobile-menu-btn {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(196,30,127,0.08);
}

/* 税务体检导航高亮 */
.nav-link.nav-highlight {
    color: #FF6B35;
    font-weight: 700;
    background: rgba(255,107,53,0.08);
    border-radius: 20px;
}
.nav-link.nav-highlight:hover {
    color: #FF6B35;
    background: rgba(255,107,53,0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-cta {
    margin-left: 20px;
}

/* 汉堡菜单 - 默认隐藏 */
.hamburger {
    display: none;
}

/* 移动端菜单遮罩 */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,30,127,0.35);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ========================================
   主内容区
   ======================================== */
.main-content {
    padding-top: 70px;
    min-height: calc(100vh - 300px);
    overflow-x: hidden;
    max-width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   Hero区域
   ======================================== */
.hero {
    background: linear-gradient(135deg, #FFF5F9 0%, #FFFFFF 50%, #FFF0F5 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(196,30,127,0.08) 0%, transparent 70%);
    pointer-events: none;
    max-width: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(196,30,127,0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(196,30,127,0.15);
    z-index: -1;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-stats .stat-item {
    background: rgba(255,255,255,0.8);
    padding: 20px 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196,30,127,0.15);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(196,30,127,0.3);
}

.hero-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(196,30,127,0.2);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   栏目区块
   ======================================== */
.section {
    padding: 80px 0;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(196,30,127,0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   文章卡片
   ======================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.article-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

.article-content {
    padding: 20px;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.article-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-views {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========================================
   分类标签
   ======================================== */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

/* ========================================
   热辣点评特殊样式
   ======================================== */
.hot-comment-card {
    background: linear-gradient(135deg, #FFF5F9 0%, #FFFFFF 100%);
    border: 1px solid rgba(196,30,127,0.1);
}

.hot-comment-card .article-category {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
}

.hot-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 8px;
}

/* ========================================
   税案解读特殊样式
   ======================================== */
.case-card {
    background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
    border: 1px solid rgba(24,144,255,0.1);
}

.case-card .article-category {
    background: linear-gradient(135deg, #1890FF 0%, #40A9FF 100%);
}

.case-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(24,144,255,0.1);
    color: var(--info);
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    margin-right: 8px;
}



.footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero区域移动端适配 */
    .hero-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 30px;
    }
    
    .hero-image img {
        width: 100%;
        height: auto;
        min-height: 200px;
        object-fit: cover;
    }
    
    .hero-image .hero-decoration {
        display: none;
    }
    
    .navbar-container {
        padding: 0 20px;
    }

    .nav-inner {
        padding: 0 16px;
    }

    /* nav-inner 下的移动端菜单 */
    .nav-inner .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        padding: 12px 0;
        gap: 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-inner .nav-menu.active {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
    }

    .nav-inner .nav-item {
        width: 100%;
    }

    .nav-inner .nav-link {
        padding: 14px 20px;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        font-size: 15px;
    }

    .nav-inner .nav-cta {
        display: none;
    }

    /* 汉堡菜单按钮（nav-inner用） */
    .nav-hamburger {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        border-radius: 8px;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-hamburger:active {
        background: rgba(196,30,127,0.08);
    }

    .nav-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ===== 文章详情页 nav-links 移动端适配（最关键！）===== */
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        padding: 8px 0;
        gap: 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        z-index: 999;
    }

    .nav-links.open {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 24px;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        font-size: 15px;
        text-align: left;
    }

    .nav-phone {
        display: block !important;
        padding: 16px 24px !important;
        background: var(--primary-gradient) !important;
        color: white !important;
        font-size: 16px !important;
        text-align: center !important;
        border-bottom: none !important;
    }

    /* 汉堡按钮显示 */
    .mobile-menu-btn {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        z-index: 999;
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 14px 16px;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
    }

    .nav-cta {
        display: none;
    }

    /* 汉堡菜单按钮 */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 36px;
        height: 36px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        border-radius: 6px;
        transition: background 0.2s;
    }

    .hamburger:hover {
        background: rgba(196,30,127,0.08);
    }

    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-container,
    .container {
        padding: 0 20px;
    }
    
    /* 移动端隐藏 hero 装饰背景圆 */
    .hero::before {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    /* Hero区域改为单栏布局 */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        animation: none; /* 移动端禁用动画 */
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .hero-stats .stat-item {
        width: 100%;
        max-width: 280px;
        padding: 16px 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ========================================
   加载动画
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   悬浮客服按钮
   ======================================== */
.float-contact {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--shadow-primary);
    cursor: pointer;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.float-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(196,30,127,0.25);
    }
    50% {
        box-shadow: 0 4px 30px rgba(196,30,127,0.5);
    }
}

/* 统一悬浮客服按钮（带文字标签版） */
.wx-float-btn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 12px 16px;
    background: var(--primary-gradient);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(196,30,127,0.35);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.wx-float-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(196,30,127,0.45);
}
.wx-float-icon {
    font-size: 22px;
    line-height: 1;
}
.wx-float-label {
    font-size: 13px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    line-height: 1.2;
}
.wx-float-phone {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}

/* 悬浮按钮容器（主页面版） */
.wx-float-cta {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.wx-float-cta .wx-float-btn {
    position: static;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 12px 16px;
    border-radius: 12px;
    min-width: 72px;
}
.wx-float-cta .wx-float-text {
    font-size: 14px;
    font-weight: 700;
    color: white;
}
.wx-float-cta .wx-float-label {
    background: none;
    padding: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    border-radius: 0;
    box-shadow: none;
}
.wx-float-cta .wx-float-label:hover {
    transform: none;
}
.wx-back-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    color: var(--primary);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.wx-back-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    color: var(--primary);
}

/* ========================================
   面包屑导航
   ======================================== */
.breadcrumb {
    background: var(--bg-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--text-muted);
}

.breadcrumb strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================================
   分页
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   关于我们页面专用样式
   ======================================== */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-hero {
    background: var(--primary-gradient);
    padding: 140px 24px 80px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-label {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
}

.about-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.about-hero-desc {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
}

.company-intro {
    margin-bottom: 40px;
}

.company-intro p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}



/* 核心优势 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 服务项目 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 联系方式 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-item label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item span {
    display: block;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

/* CTA按钮 */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 48px;
    background: var(--primary-gradient);
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,30,127,0.35);
}

/* ========================================
   关于我们 - 两栏布局
   ======================================== */
.about-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(196,30,127,0.06), rgba(88,28,135,0.06));
    border: 1px solid rgba(196,30,127,0.12);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-unit {
    font-size: 20px;
    font-weight: 600;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   文章列表页（articles-page 布局）
   ======================================== */
.articles-page {
    padding: 120px 24px 60px;
    background: var(--bg-light);
    min-height: 100vh;
    overflow-x: hidden;
}

.articles-header {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.platform-entry-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.platform-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-width: 80px;
    text-decoration: none;
}

.platform-entry:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.platform-name {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.filter-bar {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 文章网格布局 - PC端3列 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 文章卡片 */
.article-card-link {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card-link:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-cover {
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
    position: relative;
}

.cover-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 12px;
    border-radius: 12px;
}

.cover-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.article-info {
    padding: 20px;
    flex: 1;
}

.article-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.meta-date, .meta-platform {
    padding: 2px 8px;
    background: var(--bg-light);
    border-radius: 10px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .about-two-col { gap: 40px; }
}

@media (max-width: 768px) {
    .about-hero-title { font-size: 32px; }
    .features-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-two-col { grid-template-columns: 1fr; gap: 32px; }
    .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-card { padding: 20px 16px; }
    .stat-num { font-size: 28px; }
    .articles-page { padding: 100px 16px 40px; }
    .article-grid { grid-template-columns: 1fr !important; }
    .filter-bar { 
        justify-content: flex-start; 
        overflow-x: auto; 
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        padding-bottom: 4px;
    }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-bar { -ms-overflow-style: none; scrollbar-width: none; }
    .filter-btn { flex-shrink: 0; font-size: 13px; padding: 6px 16px; }
    
    /* 导航栏logo适配 */
    .navbar .logo img { height: 32px; }
    
    /* Section标题适配 */
    .section-title { font-size: 24px; }
    .section-header { margin-bottom: 30px; }
    
    /* 文章卡片适配 */
    .article-card { margin-bottom: 20px; }
    .article-title { font-size: 16px; }
    
    /* Footer适配 */
    .footer { padding: 40px 0 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { padding-top: 20px; }
    
    /* 悬浮按钮适配 */
    .wx-float-cta { right: 10px; bottom: 80px; }
    .wx-float-cta .wx-float-text { display: none; }
    
    /* 联系方式卡片适配 */
    .company-info { padding: 20px; }
    .info-item { flex-direction: column; align-items: flex-start; gap: 8px; }

    /* 文章详情页移动端适配 */
    .article-detail { padding: 84px 16px 40px; overflow-x: hidden; }
    .article-detail-inner { max-width: 100%; padding: 0; overflow: hidden; }
    .article-content { 
        padding: 20px 16px; 
        font-size: 15px; 
        overflow: hidden;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .article-content h1 { font-size: 22px !important; }
    .article-content h2 { font-size: 18px !important; }
    
    /* 文章详情页列表项防溢出 */
    .article-content ul,
    .article-content ol {
        padding-left: 20px;
        margin-left: 0;
        max-width: 100%;
        overflow: hidden;
    }
    .article-content li {
        max-width: 100%;
        overflow: hidden;
        word-break: break-word;
    }
    .article-content img {
        max-width: 100%;
        height: auto;
    }
}

/* ========================================
   文章详情页样式（缺失补全）
   ======================================== */

.article-detail {
    min-height: 100vh;
    background: var(--bg-light);
    padding: 90px 20px 60px;
}

.article-detail-inner {
    max-width: 780px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    max-width: 100%;
}

.article-breadcrumb {
    padding: 16px 24px;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    background: #fafafa;
}

.article-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.article-breadcrumb a:hover {
    color: var(--primary);
}

.article-actions {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: white;
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.action-btn:hover,
.action-btn:active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(196,30,127,0.04);
}

.action-hint {
    font-size: 12px;
    color: var(--success);
    padding: 4px 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.action-hint.show {
    opacity: 1;
}

/* 文章正文内容区 */
.article-content {
    padding: 32px 40px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-primary);
}

.article-content h1 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 14px;
    color: #1a1a1a;
    border-left: 4px solid var(--primary);
    padding-left: 14px;
}

.article-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 10px;
    color: #333;
}

.article-content p {
    margin-bottom: 16px;
    text-align: justify;
}

.article-content strong {
    color: #c0392b;
}

.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
    max-width: 100%;
    overflow-x: hidden;
}

.article-content li {
    margin-bottom: 6px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 16px 0;
}

.article-content hr {
    border: none;
    border-top: 2px solid #f0f0f0;
    margin: 32px 0;
}

/* 品牌信息框（公司介绍） */
.brand-box {
    margin-top: 32px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(196,30,127,0.07), rgba(196,30,127,0.03));
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.brand-box p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.brand-name {
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 15px !important;
}

.brand-phone {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin-top: 8px;
}

/* ========================================
   往期推荐区域
   ======================================== */
.related-articles {
    margin-top: 32px;
    padding: 24px;
    border-top: 2px solid #f0f0f0;
    background: #fafafa;
}

.related-heading {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.related-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    gap: 16px;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.related-card {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    width: calc(33.333% - 11px);
    min-width: 200px;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

.related-card:hover {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.related-card-cover {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    background-size: cover;
    background-position: center;
}

.related-card-info {
    padding: 12px 14px;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 4px;
}

.related-card-platform {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-flex: 1;
    flex: 1;
}

.related-card-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 往期推荐移动端适配 */
@media (max-width: 768px) {
    .related-articles {
        padding: 20px 16px;
    }
    .related-list {
        -webkit-flex-direction: column;
        flex-direction: column;
        gap: 12px;
    }
    .related-card {
        width: 100%;
        min-width: unset;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        flex-direction: row;
    }
    .related-card-cover {
        width: 120px;
        min-width: 120px;
        height: auto;
        padding-bottom: 0;
        aspect-ratio: 16/9;
    }
    .related-card-info {
        padding: 10px 12px;
    }
    .related-card-title {
        font-size: 13px;
    }
}
