/**
 * Qi Ling - Main CSS
 * 使用系统字体
 */

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #3b82f6;
    --color-dark: #1f2937;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-900: #111827;

    /* Typography - 系统字体和基础字体大小 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --base-font-size: 20px; /* 16px * 1.25 = 20px */

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Spacing */
    --section-padding: 80px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 20px; /* 设置根字体大小为20px，这样1rem = 20px，比默认16px大25% */
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem; /* 现在1rem = 20px，相当于原来16px的1.25倍 */
    line-height: 1.6;
    color: var(--color-dark);
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
}

/* ===== Global Heading Styles ===== */
/* 全局标题样式 - H2/H3 缩小 15% */
h2 {
    font-size: 1.7rem; /* 原本 2rem，缩小 15% = 1.7rem */
    font-weight: 600;
    line-height: 1.3;
    margin: 1.5em 0 0.75em 0;
}

h3 {
    font-size: 1.36rem; /* 原本 1.6rem，缩小 15% = 1.36rem */
    font-weight: 600;
    line-height: 1.4;
    margin: 1.25em 0 0.5em 0;
}

/* ===== Layout ===== */
.container {
    max-width: 100%; /* 改为全宽 */
    margin: 0 auto;
    padding: 0 20px;
}

/* 全宽布局增强 */
.fullwidth-layout,
.page-template .container,
.archive-content .container,
.search-results .container,
.single-post .container {
    max-width: 100%;
    width: 100%;
}

/* 确保内容区域也是全宽 */
.site-main,
.page-content,
.archive-content,
.search-results,
.single-post {
    width: 100%;
}

/* 模块全宽布局 */
.module {
    width: 100%;
    max-width: 100%;
}

.module .container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
}

/* 特殊模块的全宽处理 */
.module-banner,
.module-services,
.module-features,
.module-clients,
.module-stats,
.module-cta,
.module-image-text,
.module-columns,
.module-timeline,
.module-faq,
.module-contact,
.module-news,
.module-products,
.module-cases,
.module-downloads,
.module-process,
.module-pricing,
.module-video,
.module-testimonials,
.module-countdown,
.module-multi-image-text,
.module-features-list,
.module-team,
.module-gallery,
.module-branches,
.module-tabs,
.module-accordion,
.module-comparison,
.module-blog,
.module-featured-posts {
    width: 100%;
    max-width: 100%;
}

/* 确保模块内的容器也是全宽 */
.module-banner .container,
.module-services .container,
.module-features .container,
.module-clients .container,
.module-stats .container,
.module-cta .container,
.module-image-text .container,
.module-columns .container,
.module-timeline .container,
.module-faq .container,
.module-contact .container,
.module-news .container,
.module-products .container,
.module-cases .container,
.module-downloads .container,
.module-process .container,
.module-pricing .container,
.module-video .container,
.module-testimonials .container,
.module-countdown .container,
.module-multi-image-text .container,
.module-features-list .container,
.module-team .container,
.module-gallery .container,
.module-branches .container,
.module-tabs .container,
.module-accordion .container,
.module-comparison .container,
.module-blog .container,
.module-featured-posts .container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
}

/* 模块内部网格和布局的全宽优化 */
.services-grid,
.features-grid,
.clients-grid,
.stats-grid,
.news-grid,
.products-grid,
.cases-grid,
.team-grid,
.gallery-grid,
.pricing-grid,
.testimonials-grid,
.image-text-grid,
.columns-grid,
.timeline-container,
.faq-list,
.contact-grid,
.downloads-grid,
.process-grid,
.video-container,
.countdown-container,
.multi-image-text-grid,
.features-list-grid,
.branches-grid,
.tabs-container,
.accordion-container,
.comparison-table,
.blog-grid {
    width: 100%;
    max-width: 100%;
}

/* 确保所有网格布局都能充分利用全宽空间 */
.grid-cols-2,
.grid-cols-3,
.grid-cols-4,
.grid-cols-6 {
    width: 100%;
    max-width: 100%;
}

/* Banner模块特殊处理 */
.banner-content {
    max-width: 100%;
    width: 100%;
}

/* 图文模块特殊处理 */
.image-text-grid {
    max-width: 100%;
    width: 100%;
}

/* 联系模块特殊处理 */
.contact-grid {
    max-width: 100%;
    width: 100%;
}

/* FAQ模块特殊处理 */
.faq-list {
    max-width: 100%;
    width: 100%;
}

/* 时间轴模块特殊处理 */
.timeline-container {
    max-width: 100%;
    width: 100%;
}

/* 价格方案模块特殊处理 */
.pricing-grid {
    max-width: 100%;
    width: 100%;
}

/* 团队成员模块特殊处理 */
.team-grid {
    max-width: 100%;
    width: 100%;
}

/* 画廊相册模块特殊处理 */
.gallery-grid {
    max-width: 100%;
    width: 100%;
}

/* 移动端全宽优化 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .module .container {
        padding: 0 15px;
    }
    
    /* 确保所有模块在移动端也是全宽 */
    .module-banner .container,
    .module-services .container,
    .module-features .container,
    .module-clients .container,
    .module-stats .container,
    .module-cta .container,
    .module-image-text .container,
    .module-columns .container,
    .module-timeline .container,
    .module-faq .container,
    .module-contact .container,
    .module-news .container,
    .module-products .container,
    .module-cases .container,
    .module-downloads .container,
    .module-process .container,
    .module-pricing .container,
    .module-video .container,
    .module-testimonials .container,
    .module-countdown .container,
    .module-multi-image-text .container,
    .module-features-list .container,
    .module-team .container,
    .module-gallery .container,
    .module-branches .container,
    .module-tabs .container,
    .module-accordion .container,
    .module-comparison .container,
    .module-blog .container,
    .module-featured-posts .container {
        padding: 0 15px;
    }
}

.section-padding {
    padding: var(--section-padding) 0;
}

.bg-light {
    background: var(--color-gray-100);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-gray-500);
}

/* ===== Grid System ===== */
.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-cols-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-cols-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4,
    .grid-cols-6 {
        grid-template-columns: 1fr;
    }

    :root {
        --section-padding: 50px;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.25rem; /* 1rem * 1.25 = 1.25rem */
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--color-primary);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.40625rem; /* 1.125rem * 1.25 = 1.40625rem */
}

.btn-sm {
    padding: 8px 16px;
    font-size: 1.09375rem; /* 0.875rem * 1.25 = 1.09375rem */
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Transparent Header for Homepage */
.site-header.header-transparent {
    position: fixed;
    width: 100%;
    background: transparent;
    box-shadow: none;
}

.site-header.header-transparent .primary-navigation>ul>li>a,
.site-header.header-transparent .site-title-link,
.site-header.header-transparent .search-toggle,
.site-header.header-transparent .header-phone {
    color: #fff;
}

.site-header.header-transparent .mobile-menu-toggle span {
    background: #fff;
}

.site-header.header-transparent.header-scrolled {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header.header-transparent.header-scrolled .primary-navigation>ul>li>a,
.site-header.header-transparent.header-scrolled .site-title-link,
.site-header.header-transparent.header-scrolled .search-toggle {
    color: #334155;
}

.site-header.header-transparent.header-scrolled .header-phone {
    color: var(--color-primary);
}

.site-header.header-transparent.header-scrolled .mobile-menu-toggle span {
    background: #334155;
}

/* Add padding to body when transparent header */
body.home .site-header.header-transparent+main {
    margin-top: -80px;
    padding-top: 0;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-branding img {
    max-height: 45px;
    width: auto;
}

.site-title-link {
    font-size: 2.1875rem; /* 1.75rem * 1.25 = 2.1875rem */
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.primary-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-navigation>ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
}

.primary-navigation li {
    position: relative;
}

.primary-navigation>ul>li>a {
    position: relative;
    color: #334155;
    font-weight: 600;
    font-size: 1.1875rem; /* 0.95rem * 1.25 = 1.1875rem */
    padding: 10px 20px;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 1;
}

.primary-navigation>ul>li>a:hover,
.primary-navigation li.current-menu-item>a,
.primary-navigation li.current_page_item>a {
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
}

/* Dropdown Menu - Premium Style */
.primary-navigation li ul {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-navigation li ul::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: #fff;
}

.primary-navigation li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.primary-navigation li ul li a {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    color: #475569;
    font-size: 1.125rem; /* 0.9rem * 1.25 = 1.125rem */
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.primary-navigation li ul li a:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.08) 100%);
    color: var(--color-primary);
    transform: translateX(5px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-search .search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-dark);
    border-radius: 50%;
    transition: all 0.2s;
}

.header-search .search-toggle:hover {
    background: var(--color-gray-100);
    color: var(--color-primary);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 1.1875rem; /* 0.95rem * 1.25 = 1.1875rem */
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
    border-radius: 20px;
}

.header-phone svg {
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
    .primary-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .btn-header {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid var(--color-gray-200);
    padding: 20px 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    border-bottom: 1px solid var(--color-gray-100);
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--color-dark);
}

/* ===== Section Header ===== */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem; /* 2rem * 1.25 = 2.5rem */
    font-weight: 700;
    margin: 0 0 15px;
    color: var(--color-dark);
}

.section-subtitle {
    font-size: 1.40625rem; /* 1.125rem * 1.25 = 1.40625rem */
    color: var(--color-gray-600);
    margin: 0;
}

/* ===== Banner ===== */
.module-banner {
    position: relative;
}

.banner-height-full {
    min-height: 100vh;
}

.banner-height-large {
    min-height: 80vh;
}

.banner-height-medium {
    min-height: 60vh;
}

.banner-single,
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: inherit;
    position: relative;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 100%; /* 改为全宽 */
    padding: 40px 20px;
}

.banner-title {
    font-size: 3.75rem; /* 3rem * 1.25 = 3.75rem */
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 1.5625rem; /* 1.25rem * 1.25 = 1.5625rem */
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px;
}

.banner-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5rem; /* 2rem * 1.25 = 2.5rem */
    }

    .banner-subtitle {
        font-size: 1.25rem; /* 1rem * 1.25 = 1.25rem */
    }

    .banner-flex {
        flex-direction: column !important;
        text-align: center;
    }
}

/* ===== Swiper ===== */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

/* ===== News/Products/Cases Cards ===== */
.news-card,
.product-card,
.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover,
.product-card:hover,
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-thumb,
.product-thumb,
.case-thumb {
    display: block;
    position: relative;
    overflow: hidden;
}

.news-thumb img,
.product-thumb img,
.case-thumb img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover img,
.product-card:hover img,
.case-card:hover img {
    transform: scale(1.05);
}

.news-content,
.product-info {
    padding: 20px;
}

.news-date {
    font-size: 1.09375rem; /* 0.875rem * 1.25 = 1.09375rem */
    color: var(--color-gray-500);
}

.news-title,
.product-title,
.case-title {
    font-size: 1.40625rem; /* 1.125rem * 1.25 = 1.40625rem */
    margin: 10px 0;
}

.news-title a,
.product-title a,
.case-title a {
    color: var(--color-dark);
}

.news-title a:hover,
.product-title a:hover,
.case-title a:hover {
    color: var(--color-primary);
}

.news-excerpt,
.product-excerpt,
.case-excerpt {
    color: var(--color-gray-600);
    font-size: 1.125rem; /* 0.9rem * 1.25 = 1.125rem */
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Case Overlay */
.case-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-view {
    color: #fff;
    font-weight: 500;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--color-gray-900);
    color: #fff;
}

.footer-widgets {
    padding: 60px 0;
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .footer-widgets-grid {
        grid-template-columns: 1fr;
    }
}

.footer-widget-area h3 {
    font-size: 1.40625rem; /* 1.125rem * 1.25 = 1.40625rem */
    margin: 0 0 20px;
}

.footer-widget-area ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget-area li {
    margin-bottom: 10px;
}

.footer-widget-area a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-widget-area a:hover {
    color: #fff;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.09375rem; /* 0.875rem * 1.25 = 1.09375rem */
}

.footer-filing {
    display: flex;
    gap: 20px;
    font-size: 1.09375rem; /* 0.875rem * 1.25 = 1.09375rem */
}

.footer-filing a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-filing a:hover {
    color: #fff;
}

.footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.09375rem; /* 0.875rem * 1.25 = 1.09375rem */
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Float Widgets ===== */
.float-widgets {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-widget {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.float-widget:hover {
    transform: scale(1.1);
}

.widget-icon {
    color: #fff;
    font-size: 1.5625rem; /* 1.25rem * 1.25 = 1.5625rem */
    text-decoration: none;
}

.widget-popup {
    display: none;
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    min-width: 150px;
}

/* 添加透明连接区域让鼠标能从图标移到弹出层 */
.widget-popup::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 25px;
    height: 100%;
    background: transparent;
}

/* 鼠标悬停时显示弹出层 */
.float-widget:hover .widget-popup {
    display: block;
}

.widget-popup-qr {
    text-align: center;
}

.widget-popup-qr img {
    max-width: 150px;
    display: block;
    margin-bottom: 10px;
}

.popup-label {
    display: block;
    font-size: 0.9375rem; /* 0.75rem * 1.25 = 0.9375rem */
    color: var(--color-gray-500);
    margin-bottom: 5px;
}

.popup-content {
    font-weight: 600;
    color: var(--color-dark);
}

.widget-totop {
    background: var(--color-gray-600);
}

/* ===== Forms ===== */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    font-size: 1.25rem; /* 1rem * 1.25 = 1.25rem */
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-row {
    margin-bottom: 15px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

/* ===== Contact Grid ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-grid.info-only {
    grid-template-columns: 1fr;
    max-width: 100%; /* 改为全宽 */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--color-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail strong {
    display: block;
    font-size: 1.09375rem; /* 0.875rem * 1.25 = 1.09375rem */
    color: var(--color-gray-500);
    margin-bottom: 3px;
}

.contact-detail a,
.contact-detail span {
    color: var(--color-dark);
    font-weight: 500;
}

/* ===== Pagination ===== */
.pagination-nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-nav .page-numbers {
    padding: 8px 14px;
    background: var(--color-gray-100);
    border-radius: 6px;
    color: var(--color-dark);
}

.pagination-nav .page-numbers.current {
    background: var(--color-primary);
    color: #fff;
}

/* ===== Entry Content ===== */
.entry-content {
    font-size: 1.328125rem; /* 1.0625rem * 1.25 = 1.328125rem */
    line-height: 1.8;
}

.entry-content h2 {
    margin-top: 40px;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content img {
    border-radius: 8px;
}

/* ===== Utilities ===== */
.mt-lg {
    margin-top: 40px;
}

.mb-lg {
    margin-bottom: 40px;
}

/* ===== Tab Buttons ===== */
.tab-btn {
    transition: all 0.3s;
}

.tab-btn:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
}

/* ===== Responsive Typography ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.875rem; /* 1.5rem * 1.25 = 1.875rem */
    }

    .section-subtitle {
        font-size: 1.25rem; /* 1rem * 1.25 = 1.25rem */
    }
}

/* ===== Simple Fade Animation (替代 AOS) ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== Screen Reader Text ===== */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Header Search ===== */
.header-search {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.search-toggle:hover {
    background: var(--color-gray-100);
}

.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-inner {
    width: 90%;
    max-width: 100%; /* 改为全宽 */
    position: relative;
}

.search-overlay .search-form {
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-overlay .search-form input {
    flex: 1;
    border: none;
    padding: 18px 24px;
    font-size: 1.125rem;
    outline: none;
}

.search-overlay .search-form button {
    background: var(--color-primary);
    border: none;
    padding: 0 24px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-overlay .search-form button:hover {
    background: var(--color-primary-dark);
}

.search-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 10px;
}

/* Header Phone styles defined above */

@media (max-width: 768px) {
    .header-phone span {
        display: none;
    }

    .header-phone {
        padding: 8px;
        border-radius: 50%;
    }
}

/* ===== Site Title ===== */
.site-title-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

.site-title-link:hover {
    color: var(--color-primary);
}

/* ===== Search Overlay ===== */
.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-inner {
    width: 100%;
    max-width: 100%; /* 改为全宽 */
    padding: 20px;
    position: relative;
}

.search-overlay .search-form {
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-overlay .search-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    font-size: 1.375rem; /* 1.1rem * 1.25 = 1.375rem */
    outline: none;
    min-width: 0;
}

.search-overlay .search-form button {
    padding: 18px 25px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.search-overlay .search-form button:hover {
    opacity: 0.9;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 992px) {
    .primary-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-phone span {
        display: none;
    }

    .header-phone {
        padding: 10px;
        border-radius: 50%;
    }

    .header-flex {
        gap: 15px;
    }
}

@media (max-width: 768px) {

    /* Header Mobile */
    .site-header {
        padding: 0;
    }

    .header-inner {
        padding: 10px 0;
    }

    .header-actions {
        gap: 10px;
    }

    .custom-logo {
        max-height: 40px !important;
    }

    /* Search Mobile */
    .search-overlay .search-form {
        flex-direction: column;
        border-radius: 16px;
    }

    .search-overlay .search-form input {
        padding: 15px 20px;
        font-size: 1rem;
        border-bottom: 1px solid #eee;
    }

    .search-overlay .search-form button {
        padding: 15px 20px;
        border-radius: 0 0 16px 16px;
    }

    .search-close {
        top: -50px;
        font-size: 32px;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 80px 0 40px !important;
    }

    .page-header h1 {
        font-size: 2.1875rem !important; /* 1.75rem * 1.25 = 2.1875rem */
    }

    /* Container Mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Section Padding Mobile */
    .section-padding {
        padding: 40px 0;
    }

    /* Footer Mobile */
    .footer-widgets-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    /* Float Widget Mobile */
    .float-widget {
        transform: translateY(-50%) scale(0.9);
        right: -5px;
    }

    /* Banner Mobile */
    .banner-content h2 {
        font-size: 1.75rem !important;
    }

    .banner-content p {
        font-size: 1rem !important;
    }

    /* Cards Mobile */
    .service-card,
    .feature-card,
    .product-card,
    .news-item {
        padding: 20px;
    }

    /* News Item Mobile */
    .news-item {
        flex-direction: column !important;
    }

    .news-item .news-image {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.875rem !important; /* 1.5rem * 1.25 = 1.875rem */
    }

    .section-title {
        font-size: 1.875rem; /* 1.5rem * 1.25 = 1.875rem */
    }

    .btn {
        padding: 12px 24px;
        font-size: 1.125rem; /* 0.9rem * 1.25 = 1.125rem */
    }

    /* Form Mobile */
    .contact-form {
        padding: 20px !important;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px 14px !important;
    }
}

/* ===== Header Login Button ===== */
.header-login,
.header-user-menu {
    margin-left: 15px;
}

.header-login-btn,
.header-user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.header-login-btn:hover,
.header-user-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.header-user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
    overflow: hidden;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 12px 16px;
    color: #334155;
    text-decoration: none;
    transition: background 0.2s;
}

.user-dropdown a:hover {
    background: #f1f5f9;
}

/* ===== Login Modal ===== */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9998;
}

.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9999;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.login-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
}

.login-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.login-modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s;
}

.login-modal-close:hover {
    color: #64748b;
}

.login-modal-body {
    padding: 25px;
}

.login-modal-form .modal-form-group {
    margin-bottom: 16px;
}

.login-modal-form input[type="text"],
.login-modal-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
}

.login-modal-form input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.modal-form-message {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: none;
}

.modal-form-message:not(:empty) {
    display: block;
}

.modal-form-message.success {
    background: #ecfdf5;
    color: #059669;
}

.modal-form-message.error {
    background: #fef2f2;
    color: #dc2626;
}

.login-modal-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.login-modal-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-modal-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.login-modal-footer a {
    color: #0ea5e9;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.login-modal-footer a:hover {
    opacity: 0.8;
}

.modal-captcha .captcha-track {
    height: 44px;
}

.modal-captcha .captcha-slider {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.modal-captcha .captcha-progress {
    width: 44px;
    background: linear-gradient(to right, rgba(14, 165, 233, 0.3), rgba(16, 185, 129, 0.3));
}

@media (max-width: 768px) {
    .header-login-btn span,
    .header-user-btn span {
        display: none;
    }
    
    .header-login-btn,
    .header-user-btn {
        padding: 8px 10px;
    }
}

/* ===== Modal Slider Captcha (for login modal) ===== */
.slider-captcha {
    user-select: none;
    -webkit-user-select: none;
}

.captcha-track {
    position: relative;
    height: 48px;
    background: linear-gradient(to right, #e2e8f0, #f1f5f9);
    border-radius: 24px;
    overflow: hidden;
}

.captcha-slider {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: grab;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    transition: left 0.3s, background 0.3s;
}

.captcha-slider:active {
    cursor: grabbing;
}

.captcha-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 48px;
    background: linear-gradient(to right, rgba(14, 165, 233, 0.3), rgba(16, 185, 129, 0.3));
    border-radius: 24px;
    transition: width 0.3s;
}

.captcha-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #64748b;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 1;
}

.slider-captcha.verified .captcha-track {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
}

.slider-captcha.verified .captcha-slider {
    background: linear-gradient(135deg, #10b981, #059669);
}

.slider-captcha.verified .captcha-progress {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.2));
}

.slider-captcha.verified .captcha-text {
    color: #10b981;
    font-weight: 600;
}
/**
 * 功能清单列表模块样式
 * 
 * Tab标签切换的功能卡片展示，现代化科技感设�?
 */

/* ========================================
   模块容器
   ======================================== */
.module-features-list {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* ========================================
   Tab 导航
   ======================================== */
.features-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding: 8px;
    background: rgba(241, 245, 249, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.features-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.features-tab-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary, #2563eb) 0%, rgba(37, 99, 235, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 10px;
}

.features-tab-btn .tab-icon,
.features-tab-btn .tab-text {
    position: relative;
    z-index: 1;
}

.features-tab-btn .tab-icon {
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.features-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.features-tab-btn:hover .tab-icon {
    transform: scale(1.1);
}

.features-tab-btn.active {
    color: #fff;
    border-color: var(--color-primary, #2563eb);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

.features-tab-btn.active::before {
    opacity: 1;
}

/* ========================================
   Tab 内容
   ======================================== */
.features-tabs-content {
    position: relative;
}

.features-tab-pane {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.features-tab-pane.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   功能卡片网格
   ======================================== */
.features-grid {
    display: grid;
    gap: 24px;
}

.features-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ========================================
   功能卡片
   ======================================== */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary, #2563eb), var(--color-primary-light, #60a5fa));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary, #2563eb);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 16px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(16, 185, 129, 0.2));
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.feature-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   暗黑模式
   ======================================== */
html.dark-mode .features-tabs {
    background: rgba(30, 41, 59, 0.5);
}

html.dark-mode .features-tab-btn {
    color: #94a3b8;
}

html.dark-mode .features-tab-btn.active {
    color: #fff;
}

html.dark-mode .feature-card {
    background: var(--dm-bg-card, #1e293b);
    border-color: var(--dm-border, #334155);
}

html.dark-mode .feature-card:hover {
    border-color: var(--color-primary, #2563eb);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
}

html.dark-mode .feature-title {
    color: var(--dm-text, #e2e8f0);
}

html.dark-mode .feature-desc {
    color: var(--dm-text-muted, #94a3b8);
}

/* ========================================
   响应�?
   ======================================== */
@media (max-width: 1024px) {
    .features-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .module-features-list {
        padding: 60px 0;
    }

    .features-tabs {
        margin-bottom: 30px;
        padding: 6px;
        gap: 8px;
    }

    .features-tab-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .features-tab-btn .tab-icon {
        font-size: 1.375rem; /* 1.1rem * 1.25 = 1.375rem */
    }

    .features-grid-3,
    .features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .feature-title {
        font-size: 1.375rem; /* 1.1rem * 1.25 = 1.375rem */
    }

    .feature-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .features-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .features-tab-btn {
        justify-content: center;
    }

    .features-grid-3,
    .features-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ===== 自动文章目录 (Auto TOC) ===== */
.post-layout.with-auto-toc {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.auto-toc-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.auto-toc-sidebar::-webkit-scrollbar {
    width: 4px;
}

.auto-toc-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.auto-toc-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.auto-toc-container {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    position: relative;
}

.auto-toc-container:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auto-toc-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.auto-toc-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auto-toc-title::before {
    content: "📋";
    font-size: 1rem;
}

.auto-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.auto-toc-item {
    margin: 0;
    padding: 0;
}

.auto-toc-link {
    display: block;
    padding: 8px 0;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    border-left: 3px solid transparent;
    padding-left: 12px;
    transition: all 0.2s ease;
    position: relative;
}

.auto-toc-link:hover {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    background: rgba(37, 99, 235, 0.05);
    padding-left: 16px;
    transform: translateX(2px);
}

.auto-toc-link.active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    background: rgba(37, 99, 235, 0.1);
    font-weight: 500;
}

.auto-toc-link.active::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* H2和H3的缩进区别 */
.auto-toc-item.toc-level-2 .auto-toc-link {
    font-weight: 500;
    font-size: 0.95rem;
}

.auto-toc-item.toc-level-3 .auto-toc-link {
    padding-left: 24px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.auto-toc-item.toc-level-3 .auto-toc-link:hover {
    padding-left: 28px;
}

/* 侧边栏小工具间距 */
.sidebar-widgets {
    margin-top: 20px;
}

.sidebar-widgets .widget {
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widgets .widget-title {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .post-layout.with-auto-toc {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .post-layout.with-auto-toc {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .auto-toc-sidebar {
        position: static;
        max-height: none;
        order: -1;
    }
    
    .auto-toc-container {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .auto-toc-container {
        padding: 15px;
    }
    
    .auto-toc-title {
        font-size: 1rem;
    }
    
    .auto-toc-link {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .auto-toc-item.toc-level-3 .auto-toc-link {
        padding-left: 20px;
        font-size: 0.8rem;
    }
    
    .auto-toc-item.toc-level-3 .auto-toc-link:hover {
        padding-left: 24px;
    }
}

/* 暗黑模式支持 */
html.dark-mode .auto-toc-container {
    background: var(--dm-bg-card);
    border-color: var(--dm-border);
}

html.dark-mode .auto-toc-container:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

html.dark-mode .auto-toc-header {
    border-bottom-color: var(--dm-border);
}

html.dark-mode .auto-toc-title {
    color: var(--dm-text);
}

html.dark-mode .auto-toc-link {
    color: var(--dm-text-muted);
}

html.dark-mode .auto-toc-link:hover,
html.dark-mode .auto-toc-link.active {
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.1);
}

html.dark-mode .sidebar-widgets .widget {
    background: var(--dm-bg-card);
    border-color: var(--dm-border);
}

html.dark-mode .sidebar-widgets .widget-title {
    color: var(--dm-text);
    border-bottom-color: var(--dm-border);
}

/* TOC 动画效果 */
@keyframes tocFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auto-toc-container {
    animation: tocFadeIn 0.5s ease-out;
}

/* 滚动指示器 */
.auto-toc-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auto-toc-container:hover::before {
    opacity: 1;
}
/* ===== 文章内容区域标题字体大小调整 ===== */
.entry-content h2 {
    font-size: 1.75rem !important; /* 28px，比默认的2rem小一些 */
    font-weight: 600;
    line-height: 1.3;
    margin: 2rem 0 1rem 0;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.entry-content h3 {
    font-size: 1.5rem !important; /* 24px，比默认的1.75rem小一些 */
    font-weight: 600;
    line-height: 1.4;
    margin: 1.5rem 0 0.75rem 0;
    color: #334155;
}

.entry-content h4 {
    font-size: 1.25rem !important; /* 20px */
    font-weight: 600;
    line-height: 1.4;
    margin: 1.25rem 0 0.5rem 0;
    color: #475569;
}

.entry-content h5 {
    font-size: 1.125rem !important; /* 18px */
    font-weight: 600;
    line-height: 1.4;
    margin: 1rem 0 0.5rem 0;
    color: #64748b;
}

.entry-content h6 {
    font-size: 1rem !important; /* 16px */
    font-weight: 600;
    line-height: 1.4;
    margin: 1rem 0 0.5rem 0;
    color: #64748b;
}

/* 移动端进一步调整 */
@media (max-width: 768px) {
    .entry-content h2 {
        font-size: 1.5rem !important; /* 24px */
        margin: 1.5rem 0 0.75rem 0;
    }
    
    .entry-content h3 {
        font-size: 1.25rem !important; /* 20px */
        margin: 1.25rem 0 0.5rem 0;
    }
    
    .entry-content h4 {
        font-size: 1.125rem !important; /* 18px */
        margin: 1rem 0 0.5rem 0;
    }
    
    .entry-content h5,
    .entry-content h6 {
        font-size: 1rem !important; /* 16px */
        margin: 0.75rem 0 0.5rem 0;
    }
}

/* 暗黑模式下的标题颜色 */
html.dark-mode .entry-content h2 {
    color: var(--dm-text);
    border-bottom-color: var(--dm-border);
}

html.dark-mode .entry-content h3 {
    color: var(--dm-text);
}

html.dark-mode .entry-content h4,
html.dark-mode .entry-content h5,
html.dark-mode .entry-content h6 {
    color: var(--dm-text-muted);
}

/* 标题悬停效果 */
.entry-content h2:hover,
.entry-content h3:hover {
    color: var(--color-primary);
    transition: color 0.2s ease;
}

/* 标题锚点链接样式（如果有的话） */
.entry-content h2[id]:hover::after,
.entry-content h3[id]:hover::after {
    content: " #";
    color: var(--color-primary);
    font-weight: normal;
    opacity: 0.6;
    font-size: 0.8em;
    margin-left: 0.5rem;
}
/* ===== 文章页面顶部间距调整 ===== */
.single-post {
    padding-top: 20px !important;
    padding-bottom: 80px;
}

/* 确保文章页面紧靠顶部菜单栏 */
body.single .site-main {
    padding-top: 0 !important;
}

/* 文章标题区域顶部间距调整 */
.single-post .post-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 移动端调整 */
@media (max-width: 768px) {
    .single-post {
        padding-top: 15px !important;
        padding-bottom: 60px;
    }
}
/* ===== 文章页面布局优化 ===== */
/* 移除文章页面的默认顶部间距 */
body.single-post .site-main,
body.single .site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 确保文章容器紧靠顶部 */
.single-post article {
    margin-top: 0 !important;
}

/* 移除可能存在的页面头部区域 */
.single .page-header {
    display: none !important;
}

/* 文章标题区域优化 */
.single-post .post-header h1 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 确保透明头部时文章内容不被遮挡 */
body.single .site-header.header-transparent + main {
    margin-top: 0 !important;
    padding-top: 80px !important; /* 头部高度 */
}

/* 非透明头部时的正常间距 */
body.single .site-header:not(.header-transparent) + main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 移动端调整 */
@media (max-width: 768px) {
    body.single .site-header.header-transparent + main {
        padding-top: 70px !important; /* 移动端头部高度 */
    }
}
/* ===== 顶部内联搜索框样式 ===== */
.header-search-inline {
    margin-left: 20px;
}

.inline-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.inline-search-form:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.inline-search-form:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.inline-search-input {
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #333;
    width: 200px;
    outline: none;
    transition: all 0.3s ease;
}

.inline-search-input::placeholder {
    color: rgba(51, 51, 51, 0.6);
}

.inline-search-input:focus {
    width: 250px;
}

.inline-search-button {
    background: transparent;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.inline-search-button:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
}

/* 透明头部时的搜索框样式 */
.header-transparent:not(.header-scrolled) .inline-search-form {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.header-transparent:not(.header-scrolled) .inline-search-form:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.header-transparent:not(.header-scrolled) .inline-search-form:focus-within {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
}

.header-transparent:not(.header-scrolled) .inline-search-input {
    color: #fff;
}

.header-transparent:not(.header-scrolled) .inline-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-transparent:not(.header-scrolled) .inline-search-button {
    color: #fff;
}

.header-transparent:not(.header-scrolled) .inline-search-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 滚动后的搜索框样式 */
.header-transparent.header-scrolled .inline-search-form,
.site-header:not(.header-transparent) .inline-search-form {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.header-transparent.header-scrolled .inline-search-form:hover,
.site-header:not(.header-transparent) .inline-search-form:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.header-transparent.header-scrolled .inline-search-form:focus-within,
.site-header:not(.header-transparent) .inline-search-form:focus-within {
    background: #fff;
    border-color: var(--color-primary);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .inline-search-input {
        width: 150px;
    }
    
    .inline-search-input:focus {
        width: 200px;
    }
}

@media (max-width: 992px) {
    .header-search-inline {
        display: none;
    }
}

/* 移动端搜索 - 在移动菜单中显示 */
@media (max-width: 992px) {
    .mobile-menu-search {
        padding: 20px;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .mobile-search-form {
        display: flex;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .mobile-search-input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 12px 15px;
        font-size: 1rem;
        outline: none;
    }
    
    .mobile-search-button {
        background: var(--color-primary);
        border: none;
        padding: 12px 15px;
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-search-button:hover {
        background: var(--color-primary-dark);
    }
}

/* 暗黑模式支持 */
html.dark-mode .inline-search-form {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--dm-border);
}

html.dark-mode .inline-search-form:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--color-primary);
}

html.dark-mode .inline-search-input {
    color: var(--dm-text);
}

html.dark-mode .inline-search-input::placeholder {
    color: var(--dm-text-muted);
}

html.dark-mode .inline-search-button {
    color: var(--dm-text);
}

html.dark-mode .mobile-search-form {
    background: var(--dm-bg-card);
    border-color: var(--dm-border);
}

html.dark-mode .mobile-search-input {
    color: var(--dm-text);
}

/* 搜索框动画效果 */
@keyframes searchPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.inline-search-button:active {
    animation: searchPulse 0.6s;
}
/* ===== 搜索框焦点状态增强 ===== */
.inline-search-form.focused {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

/* 搜索框占位符动画 */
.inline-search-input:focus::placeholder {
    opacity: 0.5;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* 搜索按钮激活状态 */
.inline-search-button:active {
    transform: scale(0.95);
}

/* 键盘快捷键提示 */
.inline-search-form::after {
    content: 'Ctrl+K';
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: rgba(51, 51, 51, 0.4);
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.inline-search-form:not(:focus-within):hover::after {
    opacity: 1;
}

/* 透明头部时的快捷键提示 */
.header-transparent:not(.header-scrolled) .inline-search-form::after {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
}

/* 移动端隐藏快捷键提示 */
@media (max-width: 992px) {
    .inline-search-form::after {
        display: none;
    }
}

/* 搜索结果页面的搜索框高亮 */
body.search .inline-search-form {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

body.search .inline-search-input {
    font-weight: 500;
}

/* 无搜索结果时的样式 */
.no-results .inline-search-form {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* 搜索加载状态 */
.inline-search-form.searching .inline-search-button svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 搜索建议下拉框（如果需要的话） */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-suggestion-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-suggestion-item:hover {
    background: #f8fafc;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

/* 暗黑模式下的搜索建议 */
html.dark-mode .search-suggestions {
    background: var(--dm-bg-card);
    border-color: var(--dm-border);
}

html.dark-mode .search-suggestion-item {
    color: var(--dm-text);
    border-bottom-color: var(--dm-border);
}

html.dark-mode .search-suggestion-item:hover {
    background: rgba(255, 255, 255, 0.05);
}
/* ===== 页脚底部空白区域修复 ===== */
/* 确保页面最小高度占满整个视口 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.site-footer {
    margin-top: auto;
    margin-bottom: 0 !important;
}

/* 移除页脚底部可能的边距和填充 */
.footer-bottom {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-bottom .container {
    margin-bottom: 0 !important;
}

.footer-bottom-content {
    margin-bottom: 0 !important;
    padding-bottom: 15px !important; /* 减少底部内边距 */
    padding-top: 15px !important; /* 减少顶部内边距 */
}

/* ===== 页脚菜单字体大小调整 ===== */
/* 页脚快速链接字体缩小 */
.footer-widget-area ul li a,
.footer-links li a {
    font-size: 0.8rem !important; /* 从默认大小缩小到0.8rem */
    line-height: 1.5 !important;
}

/* 页脚导航菜单字体缩小 */
.footer-navigation a,
.footer-menu a {
    font-size: 0.8rem !important;
}

/* 页脚小工具标题字体调整 */
.footer-widget-area h3 {
    font-size: 1.1rem !important; /* 稍微缩小标题 */
    margin-bottom: 15px !important; /* 减少底部间距 */
}

/* ===== 页脚菜单与底色间距调整 ===== */
/* 减少页脚小工具区域的内边距 */
.footer-widgets {
    padding: 50px 0 40px 0 !important; /* 减少顶部和底部内边距 */
}

/* 减少页脚小工具之间的间距 */
.footer-widget-area {
    margin-bottom: 0 !important;
}

.footer-widget-area ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.footer-widget-area ul li {
    margin-bottom: 6px !important; /* 减少列表项间距 */
}

.footer-widget-area ul li:last-child {
    margin-bottom: 0 !important;
}

/* 页脚联系信息间距调整 */
.footer-widget-area p {
    margin-bottom: 8px !important; /* 减少段落间距 */
}

.footer-widget-area p:last-child {
    margin-bottom: 0 !important;
}

/* ===== 友情链接区域调整 ===== */
.footer-friend-links {
    padding: 15px 0 !important; /* 减少内边距 */
}

.footer-friend-links .container {
    padding: 15px 0 !important; /* 减少内边距 */
}

.footer-friend-links a {
    font-size: 0.8rem !important; /* 缩小友情链接字体 */
}

/* ===== 页脚版权信息调整 ===== */
.footer-copyright {
    font-size: 0.8rem !important; /* 缩小版权信息字体 */
    line-height: 1.4 !important;
}

.footer-filing a {
    font-size: 0.8rem !important; /* 缩小备案信息字体 */
}

/* ===== 二维码区域调整 ===== */
.qrcode-item p {
    font-size: 0.7rem !important; /* 缩小二维码说明文字 */
    margin-top: 6px !important;
}

/* ===== 移动端页脚优化 ===== */
@media (max-width: 768px) {
    .footer-widgets {
        padding: 40px 0 30px 0 !important;
    }
    
    .footer-bottom-content {
        padding: 12px 0 !important;
        flex-direction: column;
        text-align: center;
        gap: 10px !important;
    }
    
    .footer-widget-area h3 {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }
    
    .footer-widget-area ul li a,
    .footer-links li a {
        font-size: 0.75rem !important;
    }
    
    .footer-copyright,
    .footer-filing a {
        font-size: 0.75rem !important;
    }
    
    .footer-friend-links {
        padding: 12px 0 !important;
    }
    
    .footer-friend-links .container {
        padding: 12px 0 !important;
    }
}

/* ===== 确保页脚始终在底部 ===== */
/* 针对内容较少的页面 */
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex-grow: 1;
}

/* 移除可能导致底部空白的样式 */
body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 确保页脚紧贴底部 */
.site-footer {
    margin-top: auto;
    position: relative;
}

/* 移除页脚可能的底部边距 */
.site-footer * {
    margin-bottom: 0;
}

.site-footer *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

/* ===== 页脚悬停效果优化 ===== */
.footer-widget-area ul li a:hover,
.footer-links li a:hover {
    color: #fff !important;
    transform: translateX(3px);
    transition: all 0.2s ease;
}

.footer-navigation a:hover,
.footer-menu a:hover {
    color: #fff !important;
    transition: all 0.2s ease;
}

/* ===== 页脚网格布局优化 ===== */
.footer-widgets-grid {
    gap: 30px !important; /* 减少网格间距 */
}

@media (max-width: 768px) {
    .footer-widgets-grid {
        gap: 25px !important;
    }
}

/* ===== 浮动小工具位置调整（避免遮挡页脚） ===== */
.float-widget {
    bottom: 20px !important; /* 确保不会遮挡页脚 */
}

@media (max-width: 768px) {
    .float-widget {
        bottom: 15px !important;
        right: 15px !important;
    }
}
/* ===== 页脚底部完全贴合修复 ===== */
/* 确保页面容器占满整个视口高度 */
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 主内容区域自动扩展 */
.site-main {
    flex: 1 0 auto;
}

/* 页脚固定在底部 */
.site-footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* 移除所有可能导致底部空白的边距 */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* 确保页脚底部没有任何间距 */
.footer-bottom {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-bottom .container {
    margin-bottom: 0 !important;
}

.footer-bottom-content {
    margin-bottom: 0 !important;
}

/* 移除页脚最后一个元素的底部边距 */
.site-footer > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-bottom-content > *:last-child {
    margin-bottom: 0 !important;
}

/* 特殊情况：确保隐私横幅不影响页脚位置 */
.privacy-banner {
    position: fixed !important;
    bottom: 0 !important;
    z-index: 9999 !important;
}

/* 当隐私横幅显示时，给页脚添加底部边距 */
body.privacy-banner-visible .site-footer {
    margin-bottom: 80px;
}

/* ===== 页脚内容间距精细调整 ===== */
/* 页脚小工具区域 */
.footer-widgets .container {
    padding-top: 0;
    padding-bottom: 0;
}

/* 页脚小工具标题 */
.footer-widget-area h3 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
}

/* 页脚链接列表 */
.footer-widget-area ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.footer-widget-area ul li {
    margin-bottom: 5px !important;
    line-height: 1.4;
}

.footer-widget-area ul li:last-child {
    margin-bottom: 0 !important;
}

.footer-widget-area ul li a {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-widget-area ul li a:hover {
    color: #fff !important;
    transform: translateX(2px);
}

/* 页脚联系信息 */
.footer-widget-area p {
    margin: 0 0 6px 0 !important;
    font-size: 0.8rem !important;
    line-height: 1.5;
}

.footer-widget-area p:last-child {
    margin-bottom: 0 !important;
}

/* 二维码区域 */
.qrcode-grid {
    margin-top: 8px !important;
}

.qrcode-item img {
    width: 100px !important;
    height: 100px !important;
}

.qrcode-item p {
    font-size: 0.65rem !important;
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    max-width: 100px;
}

/* ===== 响应式页脚优化 ===== */
@media (max-width: 992px) {
    .footer-widgets-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .footer-widgets {
        padding: 35px 0 25px 0 !important;
    }
    
    .footer-widgets-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .footer-widget-area h3 {
        font-size: 1rem !important;
        margin-bottom: 10px !important;
    }
    
    .footer-widget-area ul li a,
    .footer-widget-area p {
        font-size: 0.75rem !important;
    }
    
    .footer-bottom-content {
        padding: 12px 0 !important;
        flex-direction: column;
        text-align: center;
        gap: 8px !important;
    }
    
    .footer-copyright,
    .footer-filing a {
        font-size: 0.7rem !important;
    }
    
    .qrcode-grid {
        justify-content: center;
        gap: 15px !important;
    }
    
    .qrcode-item img {
        width: 90px !important;
        height: 90px !important;
    }
}

@media (max-width: 480px) {
    .footer-widgets {
        padding: 30px 0 20px 0 !important;
    }
    
    .footer-bottom-content {
        padding: 10px 0 !important;
    }
    
    .footer-filing {
        flex-direction: column !important;
        gap: 5px !important;
        align-items: center !important;
    }
}

/* ===== 页脚动画效果 ===== */
.footer-widget-area {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.footer-widget-area:nth-child(1) { animation-delay: 0.1s; }
.footer-widget-area:nth-child(2) { animation-delay: 0.2s; }
.footer-widget-area:nth-child(3) { animation-delay: 0.3s; }
.footer-widget-area:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 减少动画在移动端的使用 */
@media (max-width: 768px) {
    .footer-widget-area {
        animation: none;
        opacity: 1;
        transform: none;
    }
}