/* ==========================================================================
   基础样式
   ========================================================================== */

:root {
    /* 字体大小变量 */
    --font-size-xs: 0.7rem;
    --font-size-sm: 0.8rem;
    --font-size-base: 0.9rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.2rem;
    --font-size-2xl: 1.6rem;
    --font-size-3xl: 2.2rem;
    --font-size-4xl: 3rem;
    
    /* 圆角变量 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* 颜色变量 */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-color: #333;
    --text-muted: #6c757d;
    --bg-color: #ffffff;
    
    /* 断点变量 */
    --breakpoint-sm: 480px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1200px;
}

/* 基本重置和全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px; /* 明确设置基础字体大小 */
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ==========================================================================
   布局组件
   ========================================================================== */

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

/* 头部样式 - 模仿JDChain排版 */
.header {
    background: #ffffff;
    color: #333;
    padding: 0.8rem 0;  /* 减少内边距使头部更紧凑 */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);  /* 更轻的阴影 */
    border-bottom: 1px solid #e9ecef;
    position: relative;
    font-size: 16px; /* 确保头部基础字体大小统一 */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;  /* 稍微增加最大宽度 */
}

.logo {
    display: flex;
    align-items: center;
    padding-top: 6px;
    gap: 0.8rem;  /* 减少logo和文字间距 */
}

.logo-img {
    height: 28px;  /* 稍微减小logo尺寸 */
    width: auto;
  
    object-fit: contain;
}

.logo-divider {
    color: #858484;
    font-size: 1.6rem;
    font-weight: 100;
    margin: 0 0.6rem;
    line-height: 0.2;
}

.logo h1 {
    font-size: 1.5rem;  /* 调整字体大小 */
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
    color: #333;
}

.nav {
    display: flex;
    gap: 1.5rem;  /* 调整导航间距 */
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    margin-right: 0;
}

/* 导航操作按钮区域 */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 0;  /* 移除左边距，让登录按钮与其他导航项间距一致 */
}

/* 登录按钮样式 */
.login-btn {
    background: transparent; /* 透明背景 */
    color: #000000; /* 黑色文字 */
    border: 1px solid transparent; /* 透明边框 */
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.login-btn i {
    font-size: 0.875rem;
}

/* 选中状态 */
.login-btn.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* 选中动画效果 */
.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover::before {
    left: 100%;
}

/* 移动端登录按钮 */
.mobile-nav-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.mobile-login-btn {
    background: transparent; /* 透明背景 */
    color: #000000; /* 黑色文字 */
    border: 1px solid transparent; /* 透明边框 */
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.mobile-login-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-login-btn i {
    font-size: 1rem;
}

/* 移动端选中状态 */
.mobile-login-btn.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* 移动端选中动画效果 */
.mobile-login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.mobile-login-btn:hover::before {
    left: 100%;
}

.nav a {
    color: #292828;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    position: relative;
}

.nav a:hover {
    color: #3e38f9;
    
}

.nav a.active {
    color: #333;
    font-weight: 500;
}

/* 如果需要添加特殊标签样式（类似参考图片中的红色标签） */
.nav a.special-tag {
    background: #2100f8;
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-weight: 500;
}

.nav a.special-tag:hover {
    background: #4441f7;
    color: white;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: #666;
    font-weight: 400;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    position: relative;
    cursor: pointer;
}

.dropdown-toggle:hover {
    color: #333;
    
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 500px;
    padding: 20px;
    display: none;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-section {
    flex: 1;
    padding: 0 12px;
}

.dropdown-section:first-child {
    border-right: 1px solid #e0e0e0;
    padding-left: 0;
}

.dropdown-section:last-child {
    padding-right: 0;
}

.dropdown-section h4 {
    font-size: 0.9rem;
    font-weight: 400;
    color: #242424;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #667eea;
}

.dropdown-section a {
    display: block;
    color: #666;
    font-size: 0.85rem;
    padding: 6px 0;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.dropdown-section a:hover {
    color: #667eea;
    padding-left: 5px;
    transition: all 0.2s ease;
}

/* 页脚样式 */
.footer {
    background: #1a1a2e;
    color: #ffffff;
    margin-top: 4rem;
}

.footer a {
    color: #4fc3f7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #81d4fa;
    text-decoration: underline;
}

.footer .contact-section {
    background: #16213e;
    padding: 1rem 0;
    border-bottom: 1px solid #2a2a3e;
}

.footer .contact-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 0;
}

.footer .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    transition: none;
}

.footer .contact-item:hover {
    transform: none;
}

.footer .contact-icon {
    font-size: 1rem;
}

.footer-top {
    background: #16213e;
    padding: 1rem 0;
    border-bottom: 1px solid #2a2a3e;
}

.footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-main {
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-logo h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.brand-info {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1;
}

.brand-info p {
    margin: 0.1rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background: #f7f7fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #f3f3f3;
    transform: translateY(-2px);
}

/* 为X图标的链接添加特殊样式 */
.social-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.social-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.link-column h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-column li {
    margin-bottom: 0.8rem;
}

.link-column a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.link-column a:hover {
    color: #667eea;
}

.footer-bottom {
    background: #0f0f1e;
    padding: 1.5rem 0;
    border-top: 1px solid #2a2a3e;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    margin: 0;
    color: #888;
    font-size: 0.7rem;
    line-height: 1.4;
}

.footer-links-bottom {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #667eea;
}

/* ==========================================================================
   UI 组件
   ========================================================================== */

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid #667eea;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    background: #5a6fd8;
    border-color: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* 卡片组件 */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #495057;
    font-weight: 600;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: #6c757d;
    position: relative;
    padding-left: 1.5rem;
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* 标题组件 */
.section-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.5;
}

/* 标签页组件 */
.app-tab {
    background: white;
    border: 2px solid #e9ecef;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #495057;
}

.app-tab:hover {
    border-color: #667eea;
    color: #667eea;
}

.app-tab.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 联系信息组件 */
.contact-item {
    background: white;
    padding: 1.6rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-item h3 {
    font-size: 1.2rem;
    color: #343434;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #888787;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   公告栏样式
   ========================================================================== */

.announcement-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.announcement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.announcement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.announcement-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.announcement-title i {
    color: #667eea;
    font-size: 1.1rem;
}

.announcement-more {
    color: #667eea;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.announcement-more:hover {
    color: #764ba2;
}

.announcement-list {
    position: relative;
    overflow: hidden;
}

.announcement-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.announcement-item:last-child {
    margin-bottom: 0;
}


.announcement-type {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.announcement-type.important {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.announcement-type.system {
    background: rgba(239, 68, 68, 0.1);
    color: #03a737;
}

.announcement-type.activity {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.announcement-type.maintenance {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.announcement-time {
    font-size: 0.8rem;
    color: #6c757d;
}

.announcement-content {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.announcement-title-text {
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.announcement-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    white-space: nowrap;
}

.announcement-type-badge.important {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.announcement-type-badge.system {
    background: rgba(0, 50, 12, 0.1);
    color: #02b426;
}

.announcement-type-badge.activity {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.announcement-type-badge.maintenance {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.announcement-type-badge i {
    font-size: 0.7rem;
}

.announcement-summary {
    color: #6c757d;
    font-size: 0.85rem;
}

.announcement-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.announcement-expand {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #667eea;
}

.announcement-expand i {
    transition: transform 0.3s ease;
}

.announcement-item.expanded .announcement-expand i {
    transform: rotate(180deg);
}

.announcement-time {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: auto;
}

/* 展开更多按钮 */
.announcement-more-container {
    text-align: center;
    margin-top: 2rem;
}

.announcement-more-btn {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-more-btn:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.announcement-more-btn i {
    transition: transform 0.3s ease;
}

.announcement-more-btn.expanded i {
    transform: rotate(180deg);
}

/* 加载状态 */
.announcement-loading {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.announcement-loading i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 错误状态 */
.announcement-error {
    text-align: center;
    padding: 2rem;
    color: #dc2626;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* 空状态 */
.announcement-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.announcement-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .announcement-section {
        padding: 1.5rem 0;
    }

    .announcement-container {
        padding: 0 15px;
    }

    .announcement-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .announcement-item {
        padding: 1rem;
    }

    .announcement-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .announcement-time {
        align-self: flex-end;
    }

    .announcement-more-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* 动画效果 */
.announcement-item {
    animation: slideInUp 0.5s ease-out;
}

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

/* ==========================================================================
   页面特定样式
   ========================================================================== */

/* 主要介绍区域 */
.hero {
    background: #ffffff;
    color: #333;
    padding: 4rem 0;
    border-bottom: 1px solid #e9ecef;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 600px;
}

.hero-text {
    text-align: center;
    order: 1;
}

.hero-visual {
    order: 2;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 0.9rem;
    line-height: 2;
    font-weight: 400;
    color: #7e7d7d;
    opacity: 0.95;
}

/* Hero按钮样式 */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 3.2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 0.6rem 0.8rem;
    background: #ffffff;
    color: #667eea;
    border: 1px solid #667eea;
    border-radius: 6px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
}

.hero-btn:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.hero-btn:active {
    transform: translateY(0);
}

/* 小程序二维码弹窗样式 */
.miniprogram-qr-popup {
    display: none;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 20px;
    z-index: 1000;
    min-width: 180px;
    text-align: center;
    margin-left: 15px;
    border: 1px solid #e0e0e0;
}

.miniprogram-qr-popup::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #fff;
}

.miniprogram-qr-popup img {
    width: 140px;
    height: 140px;
    display: block;
    margin: 0 auto 12px;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.miniprogram-qr-popup p {
    font-size: 0.9rem;
    color: #333;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.miniprogram-qr-popup.show {
    display: block;
    animation: fadeInRight 0.3s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* 为小程序按钮添加相对定位 */
.hero-btn.qr-trigger {
    position: relative;
}

/* 主页视觉区域 */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 15px;
    
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
}



/* 技术特性区域 */
.features {
    padding: 4rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

/* 移动端折叠列表样式 */
.features-accordion {
    display: none;
}

/* PC端显示网格布局 */
@media (min-width: 769px) {
    .features-grid {
        display: grid;
    }
    
    .features-accordion {
        display: none;
    }
}

.accordion-item {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background: #f5f5f5;
}

.accordion-icon {
    width: 40px;
    height: 40px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.accordion-icon img {
    width: 36px;
    height: 36px;
    
}

.accordion-header h3 {
    flex: 1;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.accordion-toggle {
    font-size: 18px;
    color: #666;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.accordion-content.active {
    max-height: 200px;
}

.accordion-content ul {
    margin: 0;
    padding: 16px 20px 20px 76px;
    list-style: none;
}

.accordion-content li {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 8px;
    position: relative;
}

.accordion-content li:last-child {
    margin-bottom: 0;
}

.accordion-content li::before {
    content: "•";
    color: #4285f4;
    font-weight: bold;
    position: absolute;
    left: -12px;
}

/* 应用场景区域 */
.applications {
    padding: 20px 0;
    background: #f8f9fa;
    color: #333;
}

.applications .section-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.applications-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.applications-nav {
    display: flex;
    justify-content: flex-start;
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.app-tab {
    background: transparent;
    border: none;
    color: #666;
    padding: 18px 26px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 400;
    border-right: 1px solid #e0e0e0;
    border-radius: 0;
    position: relative;
}

.app-tab:hover {
    background: #f0f0f0;
    color: #333;
}

.app-tab.active {
    background: #4285f4;
    color: white;
}

.app-tab:last-child {
    border-right: none;
}

.applications-content {
    padding: 20px;
    min-height: 300px;
    background: #fff;
    border: none;
}

.app-card {
    display: none;
    animation: fadeIn 0.5s ease;
}

.app-card.active {
    display: flex;
    align-items: center;
    gap: 40px;
}

.app-card-content {
    flex: 0 0 66%;
    max-width: 500px;
    padding-left: 20px;
}

.app-card-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #4285f4;
    padding-bottom: 10px;
    display: inline-block;
}

.app-card-content p {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
    text-align: justify;
}

.learn-more {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    font-size: 11px;
    transition: all 0.3s ease;
    border: 1px solid #4285f4;
    padding: 6px 14px;
    border-radius: 4px;
    display: inline-block;
}

.learn-more:hover {
    background: #4285f4;
    color: white;
}

.app-card-image {
    flex: 0 0 56%;
    height: 220px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
}

.app-card-image img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 12px;
}

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

/* 数据统计展示区域 */
.data-stats {
    background: url('pic/sglshuju.png') center/cover no-repeat;
    padding: 3rem 0;
  
    position: relative;
    overflow: hidden;
}

.data-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(228, 227, 227, 0.1);
}

.stats-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 4rem auto;
    color: #333;
    position: relative;
    z-index: 1;
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: auto;
    height: auto;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.stat-icon svg {
    width: 36px;
    height: 36px;
}

.stat-content {
    color: rgb(138, 138, 138);
}

.stat-label {
    font-size: 1rem;
    color: rgba(83, 83, 83, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 关于我们页面样式 */
.about-hero {
    background: url('pic/banner-about.png') center/cover no-repeat;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    min-height: 40vh;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
}

.about-banner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.about-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-image {
    display: none;
}

.about-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.about-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

.about-content {
    padding: 1rem 0;
    background: white;
}

.about-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    border-left: 4px solid #e74c3c;
    padding-left: 1rem;
    line-height: 1.2;
}

.about-text {
    margin-bottom: 3rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-indent: 2em;
}

.architecture-section {
    margin-top: 2rem;
}

.about-section {
    margin-bottom: 1rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 16px;
    border-left: 3px solid #667eea;
}

.about-section h2 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.architecture-image {
    text-align: center;
    margin-top: 1rem;
}

.architecture-diagram {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-section {
    
    padding: 1.2rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.contact-section h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* ==========================================================================
   响应式设计
   ========================================================================== */

/* 使用 mixin 概念统一响应式规则 */

/* 汉堡菜单样式 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 33vw;
    min-width: 180px;
    max-width: 260px;
    height: 100vh;
    background: #fff !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    border-radius: 12px;
    z-index: 1000;
    padding: 20px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    transition: opacity 0.2s, transform 0.2s;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.mobile-nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 0 20px 0;
}

.mobile-nav a {
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 0;
    background: none;
    text-align: left;
    transition: background 0.2s;
    margin: 2px 0;
    width: auto;
    max-width: none;
}

.mobile-nav a:hover {
    background: #f5f5f5;
    color: #2100f8;
}

.mobile-nav a.special-tag {
    background: #2100f8;
    color: #fff;
    border-radius: 8px;
    margin: 6px 16px;
    padding: 12px 0;
    text-align: center;
    font-size: 0.9rem;
}

.mobile-nav a.special-tag:hover {
    background: #4441f7;
    color: white;
}

/* 移动端导航页脚样式 */
.mobile-nav-footer {
    flex-shrink: 0;
    padding: 20px 32px;
    border-top: 1px solid #f0f0f0;
    border-radius: 0 0 12px 12px;
    background: #f8f9fa;
    margin-top: auto;
}

.mobile-nav-footer p {
    font-size: 0.65rem;
    color: #999;
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

.mobile-nav-footer p:first-child {
    margin-bottom: 4px;
}

/* 移动端下拉菜单样式 */
.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-toggle {
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    width: 80%;
    max-width: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mobile-dropdown-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.mobile-dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    width: 80%;
    max-width: 300px;
    background: rgba(248, 249, 250, 0.9);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-section {
    margin-bottom: 1.5rem;
}

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

.mobile-dropdown-section h4 {
    font-size: 1rem;
    font-weight: 400;
    color: #1d1d1d;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #667eea;
    text-align: left;
}

.mobile-dropdown-section a {
    display: block;
    color: #666;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.2s ease;
    text-align: left;
    width: 100%;
    max-width: none;
}

.mobile-dropdown-section a:hover {
    color: #667eea;
    background: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.8rem;
        --font-size-2xl: 1.4rem;
    }
    
    .nav {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        height: 300px;
    }
    
    .blockchain-network {
        width: 300px;
        height: 300px;
    }
    
    .central-node {
        width: 90px;
        height: 90px;
    }
    
    .network-node {
        width: 60px;
        height: 60px;
    }
    
    .node-icon {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.75rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        margin-top: 1rem;
        gap: 0.9rem;
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .hero-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        min-width: auto;
        flex: 0 1 auto;
        max-width: none;
        white-space: nowrap;
        text-align: center;
        border-width: 1px;
    }
    
    .miniprogram-qr-popup {
        min-width: 160px;
        padding: 15px;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        margin-left: 0;
        margin-top: 15px;
    }
    
    .miniprogram-qr-popup::before {
        left: 50%;
        top: -8px;
        transform: translateX(-50%);
        border-top: none;
        border-bottom: 8px solid #fff;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
    }
    
    .miniprogram-qr-popup img {
        width: 120px;
        height: 120px;
    }
    
    .miniprogram-qr-popup p {
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        display: none;
    }
    
    .features-accordion {
        display: block;
        margin-top: 2rem;
    }
    
    .accordion-item {
        margin-bottom: 12px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    .accordion-header {
        padding: 18px 20px;
        background: #fff;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .accordion-icon {
        width: 36px;
        height: 36px;
        margin-right: 14px;
    }
    
    .accordion-icon img {
        width: 20px;
        height: 20px;
    }
    
    .accordion-header h3 {
        font-size: 15px;
        font-weight: 600;
    }
    
    .accordion-toggle {
        font-size: 16px;
        color: #999;
    }
    
    .accordion-content {
        background: #fafafa;
    }
    
    .accordion-content ul {
        padding: 16px 20px 20px 70px;
    }
    
    .accordion-content li {
        font-size: 13px;
        line-height: 1.5;
        color: #666;
        margin-bottom: 6px;
    }
    
    .data-stats {
        padding: 2rem 0;
    }
    
    .stats-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .stat-icon img {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .applications {
        padding: 20px 0;
    }

    .applications-content {
        padding: 15px 10px;
    }
    
    .applications .section-title {
        font-size: 22px;
        margin-bottom: 40px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .applications-nav {
        gap: 8px;
        margin-bottom: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .app-tab {
        padding: 8px 14px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 18px;
        background: #f4f6fa;
        color: #333;
        border: none;
        margin-bottom: 6px;
        box-shadow: none;
        transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    }
    
    .app-tab.active {
        background: #3e5fff;
        color: #fff;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(62,95,255,0.10);
    }
    
    .app-tab:active {
        background: #e0e7ff;
        color: #3e5fff;
    }
    
    .app-card {
        flex-direction: column;
        margin-bottom: 15px;
        border-width: 1px;
        border-radius: 8px;
        overflow: hidden;
    }

    .app-card-content {
        padding: 10px 10px;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        max-width: 100%;
        padding-right: 10px;
    }
    
    .app-card-content h3 {
        font-size: 17px;
        margin-bottom: 4px; 
        border-bottom-width: 1px;
        transform: translateY(-5px);
        position: relative;
        top: -10px;
    }
    
    .app-card-content p {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.7;
    }
    
    .learn-more {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .app-card-image {
        flex: none;
        height: 150px;
        width: calc(100% - 15px);
        transform: translateY(-10px);
        margin: 2px;
        border-width: 1px;
        border-radius: 8px;
    }
    
    .about-hero {
        min-height: 30vh;
        padding: 2rem 0;
    }
    
    .about-banner h1 {
        font-size: 2rem;
    }
    
    .about-main {
        padding: 1rem;
    }
    
    .about-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        text-indent: 1.5em;
        margin-bottom: 0.6rem;
    }
    

    
    .about-title {
        font-size: 2.2rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-contact {
        flex-direction: column;
        padding-top: 14px;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-copyright {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links-bottom {
        justify-content: center;
    }
  /* 隐藏移动端下拉菜单相关 */
  .mobile-dropdown,
  .mobile-dropdown-toggle,
  .mobile-dropdown-menu {
    display: none !important;
  }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: 400px;
    }
    
    .hero-text {
        text-align: center;
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-top: -12px;
    }
    
    .hero-buttons {
        margin-top: 1rem;
        gap: 1rem;
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .hero-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        min-width: auto;
        flex: 0 1 auto;
        max-width: none;
        white-space: nowrap;
        text-align: center;
        border-width: 1px;
    }
    
    .hero-visual {
        height: 180px;
    }
    
    .main-image {
        max-height: 360px;
    }
    
    .features {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    .features-accordion {
        margin-top: 1.5rem;
    }
    
    .accordion-item {
        margin-bottom: 8px;
        border-radius: 8px;
    }
    
    .accordion-header {
        padding: 14px 16px;
    }
    
    .accordion-icon {
        width: 32px;
        height: 32px;
        margin-right: 12px;
    }
    
    .accordion-icon img {
        width: 28px;
        height: 28px;
    }
    
    .accordion-header h3 {
        font-size: 14px;
        font-weight: 600;
    }
    
    .accordion-toggle {
        font-size: 12px;
    }
    
    .accordion-content ul {
        padding: 12px 16px 16px 60px;
    }
    
    .accordion-content li {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 5px;
    }
    
    .applications {
        padding: 2rem 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* 更小屏幕的按钮样式 */
@media (max-width: 390px) {
    .hero-buttons {
        gap: 0.9rem;
    }
    
    .hero-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.65rem;
        min-width: auto;
        flex: 0 1 auto;
        max-width: none;
        text-align: center;
        border-width: 1px;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
        padding: 0 8px;
    }
    
    .features-accordion {
        margin-top: 1.2rem;
    }
    
    .accordion-item {
        margin-bottom: 6px;
        border-radius: 6px;
    }
    
    .accordion-header {
        padding: 12px 14px;
    }
    
    .accordion-icon {
        width: 28px;
        height: 28px;
        margin-right: 10px;
    }
    
    .accordion-icon img {
        width: 24px;
        height: 24px;
    }
    
    .accordion-header h3 {
        font-size: 12px;
        font-weight: 600;
    }
    
    .accordion-toggle {
        font-size: 12px;
    }
    
    .accordion-content ul {
        padding: 10px 14px 14px 52px;
    }
    
    .accordion-content li {
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 4px;
    }
}

@media (max-width: 300px) {
    .hero-buttons {
        gap: 0.7rem;
    }
    
    .hero-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.6rem;
        min-width: auto;
        flex: 0 1 auto;
        max-width: none;
        text-align: center;
        border-width: 1px;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
        margin-bottom: 1rem;
        padding: 0 6px;
    }
    
    .features-accordion {
        margin-top: 1rem;
    }
    
    .accordion-item {
        margin-bottom: 4px;
        border-radius: 4px;
    }
    
    .accordion-header {
        padding: 10px 12px;
    }
    
    .accordion-icon {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
    
    .accordion-icon img {
        width: 20px;
        height: 20px;
    }
    
    .accordion-header h3 {
        font-size: 11px;
        font-weight: 600;
    }
    
    .accordion-toggle {
        font-size: 11px;
    }
    
    .accordion-content ul {
        padding: 8px 12px 12px 44px;
    }
    
    .accordion-content li {
        font-size: 10px;
        line-height: 1.4;
        margin-bottom: 3px;
    }
}

/* ==========================================================================
   合作伙伴区域样式
   ========================================================================== */

.partners {
    padding: 30px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, #667eea 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

.partners .section-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.partners-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.partner-tab {
    background: transparent;
    border: none;
    color: #666;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 300;
    position: relative;
    border-radius: 0;
}

.partner-tab:hover {
    color: #333;
}

.partner-tab.active {
    color: #667eea;
    font-weight: 400;
}

.partner-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.partner-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 140px;
    justify-content: center;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #9faff8;
}

.partner-card.hidden {
    display: none;
}

.partner-logo {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
}

.partner-logo img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo img {
    transform: scale(1.05);
}

.partner-name {
    width: 100%;
}

.partner-name-cn {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
}

.partner-name-en {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
    font-weight: 300;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .partners {
        padding: 60px 0;
    }
    
    .partners .section-title {
        font-size: 1.5rem;
        margin-top: -36px;
        margin-bottom: 20px;
    }
    
    .partners-nav {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .partner-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 8px;
    }
    
    .partner-card {
        padding: 20px;
        min-height: 140px;
    }
    
    .partner-logo {
        height: 50px;
        margin-bottom: 12px;
    }
    
    .partner-logo img {
        max-height: 50px;
    }
    
    .partner-name-cn {
        font-size: 13px;
    }
    
    .partner-name-en {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .partner-card {
        padding: 16px;
        min-height: 120px;
    }
    
    .partner-logo {
        height: 40px;
        margin-bottom: 10px;
    }
    
    .partner-logo img {
        max-height: 40px;
    }
    
    .partner-name-cn {
        font-size: 12px;
    }
    
    .partner-name-en {
        font-size: 10px;
    }
}

@media (min-width: 381px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    padding: 0 8px;
  }
}
@media (max-width: 380px) {
  .partners-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 391px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }
}
@media (max-width: 390px) {
  .features-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    padding: 0 4px;
  }
  .feature-card {
    padding: 14px 8px 12px 8px;
    border-radius: 10px;
    min-height: unset;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  .feature-card h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
  }
  .feature-card ul {
    margin: 0;
    padding: 0;
  }
  .feature-card li {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 6px;
    padding: 0 0 0 1.2em;
  }
  .feature-card li:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .footer {
    margin-top: 2px !important;
  }
  .footer-top,
  .footer-main {
    padding-top: 0 !important;
  }
  /* 不再全局清零section、main、container的margin-bottom */
  .footer .brand-logo h3 {
    margin-top: 12px;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
  }
}

@media (min-width: 769px) {
  .brand-logo-img {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 2100;
  }
}

@media (max-width: 768px) {
  .applications-nav {
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
    background: #f5f6fa;
    border-radius: 12px;
    padding: 10px 0 6px 0;
  }
  .app-tab {
    background: #f0f1f5;
    color: #696868;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    margin: 0 4px 6px 4px;
    box-shadow: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 1;
  }
  .app-tab.active {
    background: #fff;
    color: #3e5fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(62,95,255,0.10);
    z-index: 2;
  }
  .app-tab:active {
    background: #e0e7ff;
    color: #3e5fff;
  }
}

.social-link.qr-trigger { position: relative; }
.qr-popup {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 110%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 10px;
  z-index: 10;
  min-width: 120px;
}
.qr-popup img {
  width: 120px;
  height: 120px;
  display: block;
}
.social-link.active .qr-popup {
  display: block;
}

@media (max-width: 768px) {
  .about-hero {
    background: url('pic/banner-about.png') center/cover no-repeat;
    padding: 0;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    min-height: 200px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
  }
  .about-banner {
    width: 100%;
    height: auto;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
  }
  .about-banner h1 {
    font-size: 2rem;
    margin: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 480px) {
  .about-hero {
    min-height: 150px;
  }
  .about-banner {
    min-height: 150px;
    padding: 30px 15px;
  }
  .about-banner h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 320px) {
  .about-hero {
    min-height: 120px;
  }
  .about-banner {
    min-height: 120px;
    padding: 20px 10px;
  }
  .about-banner h1 {
    font-size: 1.2rem;
  }
}

/* 微信支付接入流程模块样式 */
.wechatpay-section {
    padding: 30px 0 10px 0;
    background: #fff;
    text-align: center;
    
}
.wechatpay-title {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    color: #333;
}
.wechatpay-title {
    position: relative;
    display: inline-block;
}
.wechatpay-title::after {
    content: '';
    display: block;
    margin: 0 auto;
    margin-top: 10px;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #2303f8 0%, #667eea 100%);
    border-radius: 2px;
}
@media (max-width: 768px) {
    .wechatpay-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
}
@media (max-width: 480px) {
    .wechatpay-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
}
.wechatpay-steps {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.wechatpay-step {
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 32px 24px 24px 24px;
    min-width: 220px;
    max-width: 320px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
    margin: 0 8px;
}
.wechatpay-step:hover {
    box-shadow: 0 8px 24px rgba(98, 161, 249, 0.1);
}
.wechatpay-step-icon {
    width: 46px;
    height: 46px;
    background: #ebeffd;
    color: #2303f8;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 2px solid #2303f8;
}
.wechatpay-step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}
.wechatpay-step-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}
.wechatpay-step-arrow {
    display: flex;
    align-items: center;
    font-size: 2.5rem;
    color: #d0d0d0;
    font-weight: 700;
    margin: 0 8px;
    user-select: none;
}
.wechatpay-btn-wrap {
    margin-top: 10px;
}
@media (min-width: 481px) {
  .wechatpay-btn-wrap {
    margin-top: 0.5rem;
  }
}
.wechatpay-btn {
    display: inline-block;
    background: #2303f8;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,200,83,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
    margin: 0 auto;
}
.wechatpay-btn:hover {
    background: #1600a2;
    box-shadow: 0 4px 16px rgba(0,200,83,0.18);
}
@media (max-width: 480px) {
    .wechatpay-btn {
        width: 90%;
        font-size: 0.95rem;
        padding: 10px 0;
        border-radius: 7px;
        display: block;
    }
}

/* 移动端适配 */
@media (max-width: 900px) {
    .wechatpay-steps {
        gap: 16px;
    }
    .wechatpay-step {
        min-width: 160px;
        padding: 24px 10px 18px 10px;
    }
}
@media (max-width: 768px) {
    .wechatpay-section {
        padding: 48px 0 32px 0;
        padding-bottom: 6px;
    }
    .wechatpay-title {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }
    .wechatpay-steps {
        flex-direction: row !important;
        justify-content: center;
        align-items: stretch;
        gap: 8px;
    }
    .wechatpay-step {
        min-width: 90px;
        max-width: 120px;
        flex: 0 1 100px;
        padding: 10px 2px 8px 2px;
        border-radius: 10px;
        margin: 0 2px;
    }
    .wechatpay-step-arrow {
        font-size: 2rem;
        margin: 8px 0;
        justify-content: center;
    }
    .wechatpay-btn {
        font-size: 1rem;
        padding: 12px 0;
    }
}
@media (max-width: 480px) {
    .wechatpay-section {
        padding: 22px 0 16px 0;
    }
    .wechatpay-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 16px;
    }
    .wechatpay-steps {
        gap: 4px;
    }
    .wechatpay-step {
        min-width: 80px;
        max-width: 100px;
        flex: 0 1 80px;
        padding: 6px 1px 4px 1px;
        border-radius: 8px;
    }
    .wechatpay-step-icon {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
        margin-bottom: 2px;
        border-width: 1px;
    }
    .wechatpay-step-title {
        font-size: 0.7rem;
        font-weight: 600;
        margin-bottom: 1px;
    }
    .wechatpay-step-desc {
        font-size: 0.55rem;
        line-height: 1.2;
    }
}
@media (min-width: 380px) {
    .wechatpay-steps {
        flex-direction: row !important;
        gap: 8px;
    }
    .wechatpay-step {
        min-width: 0;
        max-width: 100%;
        padding: 14px 4px 10px 4px;
        border-radius: 12px;
    }
    .wechatpay-step-icon {
        width: 24px;
        height: 24px;
        font-size: 1rem;
        margin-bottom: 8px;
        border-width: 1.5px;
    }
    .wechatpay-step-title {
        font-size: 1rem;
        margin-bottom: 14px;
    }
    .wechatpay-step-desc {
        font-size: 0.7rem;
    }
    .wechatpay-step-arrow {
        font-size: 1.5rem;
        margin: 0 4px;
    }
    .wechatpay-btn {
        font-size: 0.95rem;
        padding: 10px 0;
        border-radius: 7px;
    }
}

@media (min-width: 481px) {
  .wechatpay-btn {
    font-size: 1rem !important;
    padding: 12px 40px !important;
    border-radius: 8px !important;
    width: auto !important;
    display: inline-block !important;
    margin: 0 auto;
  }
}