/* 
* Simop Website Styles
* 深圳佳简人工智能有限公司官网样式
*/

:root {
    /* 主色调 - 基于logo的酒红色 */
    --primary-color: #5E2C2C;
    --primary-dark: #421F1F;
    --primary-light: #7A3E3E;
    
    /* 辅助色 */
    --secondary-color: #2c3e50;
    --accent-color: #F4E9E9;
    
    /* 中性色 */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --gray-light: #e9ecef;
    
    /* 背景色 */
    --bg-primary: #ffffff;
    --bg-secondary: #F8F5F5;
    --bg-dark: #2A1A1A;
    
    /* 文字颜色 */
    --text-primary: #2D3436;
    --text-secondary: #636E72;
    --text-light: #B2BEC3;
    
    /* 边框颜色 */
    --border-color: #E0E0E0;
    
    /* 阴影颜色 */
    --shadow-color: rgba(94, 44, 44, 0.1);
    
    /* 字体 */
    --font-primary: 'Roboto', 'Noto Sans SC', sans-serif;
    --font-size-base: 16px;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    
    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* 边框 */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', 'Noto Sans SC', sans-serif;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* 为固定导航栏预留更多空间 */
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    padding-top: 80px; /* 为固定header留出空间 */
}

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

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(94, 44, 44, 0.3);
}

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

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: #8B0000;
    margin: 0 auto;
}

/* 语言切换器 */
.language-switcher {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-right: var(--spacing-xl);
}

.language-switcher button {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    min-width: 50px;
}

.language-switcher button.active {
    background-color: var(--primary-color);
    color: white;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled .nav-links a {
    color: #333;
}

header.scrolled .nav-links a:hover {
    color: #8B4513;
}

header.scrolled .language-switch button {
    color: #333;
    border-color: #ddd;
}

header.scrolled .language-switch button.active {
    background: #8B4513;
    color: #fff;
    border-color: #8B4513;
}

header.scrolled .language-switch button:hover:not(.active) {
    background: #f5f5f5;
    color: #8B4513;
}

header.header-hidden {
    transform: none; /* 覆盖原来的隐藏效果，确保导航始终可见 */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

header.scrolled .header-content {
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.logo img {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
}

header.scrolled .logo img {
    max-height: 60px;
}

.logo:hover::after {
    animation: shine 1.5s ease;
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.logo img:hover {
    transform: translateY(-5px);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #8B4513;
}

.language-switch {
    margin-left: 20px;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.language-switch button {
    color: #333;
    border: 1px solid #ddd;
    background: transparent;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switch button.active {
    background: #8B4513;
    color: #fff;
    border-color: #8B4513;
}

.language-switch button:hover:not(.active) {
    background: #f5f5f5;
    color: #8B4513;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active {
    transform: rotate(90deg);
}

/* 添加滚动到顶部按钮样式 */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* 加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.loaded .loading-overlay {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(94, 44, 44, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 44, 44, 0.9), rgba(94, 44, 44, 0.7));
    opacity: 0.95;
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff4d4d;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.tech-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.spec-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.spec-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spec-title i {
    font-size: 1.5rem;
    color: #ff4d4d;
}

.spec-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.spec-detail {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-demo {
    margin-top: 40px;
    text-align: center;
}

.demo-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.demo-image {
    width: 100%;
    height: auto;
    display: block;
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-container:hover .demo-overlay {
    opacity: 1;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 5px solid var(--primary-color);
}

/* Unique colors for each feature card */
.feature-card:nth-child(1) {
    border-top-color: #4e73df; /* Blue */
}

.feature-card:nth-child(2) {
    border-top-color: #1cc88a; /* Green */
}

.feature-card:nth-child(3) {
    border-top-color: #f6c23e; /* Yellow */
}

.feature-card:nth-child(4) {
    border-top-color: #e74a3b; /* Red */
}

.feature-card:nth-child(5) {
    border-top-color: #36b9cc; /* Cyan */
}

.feature-card:nth-child(6) {
    border-top-color: #6f42c1; /* Purple */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

/* Match icon background with card border color */
.feature-card:nth-child(1) .feature-icon {
    background: #4e73df;
}

.feature-card:nth-child(2) .feature-icon {
    background: #1cc88a;
}

.feature-card:nth-child(3) .feature-icon {
    background: #f6c23e;
}

.feature-card:nth-child(4) .feature-icon {
    background: #e74a3b;
}

.feature-card:nth-child(5) .feature-icon {
    background: #36b9cc;
}

.feature-card:nth-child(6) .feature-icon {
    background: #6f42c1;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.feature-preview {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* 智能选品分析预览 */
.product-selection-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trend-chart {
    height: 60px;
    position: relative;
    background: linear-gradient(to bottom, rgba(52, 152, 219, 0.1), transparent);
    border-radius: 8px;
    overflow: hidden;
}

.trend-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform-origin: left;
    animation: drawLine 2s ease-out forwards;
}

.trend-points {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 0 10px;
}

.trend-points .point {
    width: 6px;
    height: 6px;
    background: #3498db;
    border-radius: 50%;
    position: relative;
    animation: pointAppear 0.5s ease-out forwards;
    opacity: 0;
}

.trend-points .point:nth-child(1) { animation-delay: 0.2s; }
.trend-points .point:nth-child(2) { animation-delay: 0.4s; }
.trend-points .point:nth-child(3) { animation-delay: 0.6s; }
.trend-points .point:nth-child(4) { animation-delay: 0.8s; }
.trend-points .point:nth-child(5) { animation-delay: 1s; }

.product-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.metric-bar {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.metric-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 3px;
    animation: fillBar 1s ease-out forwards;
}

.metric span {
    font-size: 0.8rem;
    color: #666;
    min-width: 80px;
}

/* 智能运营助手预览 */
.operation-assistant-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.assistant-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 80%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-content {
    padding: 10px 15px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-content i {
    font-size: 1.2rem;
    color: #3498db;
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: #f8f9fa;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

/* 多语言内容生成预览 */
.content-generation-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.language-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.tab {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: #3498db;
    color: #fff;
}

.content-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.content-item {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
}

.content-item .label {
    color: #666;
    min-width: 60px;
}

.content-item .value {
    color: #333;
    flex: 1;
}

/* 数据可视化预览 */
.data-visualization-preview {
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.mini-chart {
    width: 100%;
    height: 120px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chart-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
}

.bar {
    width: 18%;
    background: #e74a3b;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 1s ease;
}

.bar::after {
    content: attr(data-value);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.data-metrics {
    display: flex;
    gap: 15px;
    align-items: center;
    background: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.metric-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-progress {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    background: conic-gradient(
        #e74a3b calc(var(--progress) * 1%),
        #f8f9fa calc(var(--progress) * 1%)
    );
    mask: radial-gradient(transparent 55%, black 55%);
    -webkit-mask: radial-gradient(transparent 55%, black 55%);
}

.metric-circle span {
    position: relative;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.metric-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metric-info .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.trend {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 3px;
}

.trend.positive {
    color: #1cc88a;
}

.trend.negative {
    color: #e74a3b;
}

/* 跨平台数据同步预览 */
.platform-sync-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.platform-icons {
    display: flex;
    gap: 20px;
}

.platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.platform-icon i {
    font-size: 1.5rem;
}

.platform-icon.amazon { color: #ff9900; }
.platform-icon.ebay { color: #0064c8; }
.platform-icon.shopify { color: #95bf47; }

.platform-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sync-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 200px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #666;
}

.status-item i {
    color: #2ecc71;
}

/* 智能风控预警预览 */
.risk-control-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.risk-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.risk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.risk-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.risk-icon.warning {
    background: #fff3cd;
    color: #856404;
}

.risk-icon.danger {
    background: #f8d7da;
    color: #721c24;
}

.risk-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.risk-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.risk-detail {
    font-size: 0.8rem;
    color: #666;
}

.risk-chart {
    height: 60px;
    position: relative;
    background: linear-gradient(to bottom, rgba(52, 152, 219, 0.1), transparent);
    border-radius: 8px;
    overflow: hidden;
}

.risk-chart .chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #dc3545, #ffc107);
    transform-origin: left;
    animation: drawLine 2s ease-out forwards;
}

.risk-chart .chart-points {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 0 10px;
}

.risk-chart .point {
    width: 6px;
    height: 6px;
    background: #dc3545;
    border-radius: 50%;
    position: relative;
    animation: pointAppear 0.5s ease-out forwards;
    opacity: 0;
}

.risk-chart .point:nth-child(1) { animation-delay: 0.2s; }
.risk-chart .point:nth-child(2) { animation-delay: 0.4s; }
.risk-chart .point:nth-child(3) { animation-delay: 0.6s; }

@keyframes drawLine {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes pointAppear {
    from { 
        transform: scale(0);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fillBar {
    from { width: 0; }
    to { width: var(--width); }
}

@media (max-width: 768px) {
    .data-visualization-preview {
        flex-direction: column;
        padding: 10px;
    }
    
    .mini-chart {
        width: 100%;
        height: 100px;
        padding: 10px;
    }
    
    .metric-circle {
        width: 60px;
        height: 60px;
    }
    
    .metric-circle span {
        font-size: 1rem;
    }
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    background: #fff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.solution-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    scroll-margin-top: 100px; /* 确保足够的空间，防止内容被导航栏遮挡 */
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.solution-icon-bg {
    width: 100%;
    height: 160px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.platform-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.platform-icon i {
    font-size: 48px;
    transition: all 0.3s ease;
}

/* 为不同平台设置特定的图标颜色 */
.platform-icon i.fa-amazon {
    color: #FF9900;
}

.platform-icon i.fa-ebay {
    color: #E53238;
}

.platform-icon i.fa-shopify {
    color: #95BF47;
}

.solution-card:hover .platform-icon {
    transform: scale(1.1);
}

.solution-card:hover .platform-icon i {
    transform: scale(1.1);
}

.solution-card:hover .solution-icon-bg {
    background: #fff;
}

/* 移除之前可能影响颜色的样式 */
.solution-icon-bg i {
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon-bg i {
    transform: translateY(-5px);
}

.solution-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: #fff;
}

.solution-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.solution-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    flex: 1;
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: auto;
}

.solution-stats .stat {
    text-align: center;
    padding: 15px 10px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.solution-stats .stat:hover {
    background: #f0f2f5;
    transform: translateY(-3px);
}

.solution-stats .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
}

.solution-stats .stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .solution-icon-bg {
        height: 140px;
    }
    
    .platform-icon {
        width: 60px;
        height: 60px;
    }
    
    .platform-icon i {
        font-size: 36px;
    }
    
    .solution-content {
        padding: 25px;
    }
    
    .solution-content h3 {
        font-size: 20px;
    }
    
    .solution-stats .stat-number {
        font-size: 24px;
    }
}

/* Success Stories */
.success-stories {
    margin-top: 60px;
}

.section-subtitle {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.story-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.story-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.story-avatar {
    margin-right: 1rem;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(94, 44, 44, 0.2);
    transition: all 0.3s ease;
}

.story-card:hover .avatar-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(94, 44, 44, 0.3);
}

.story-info h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.story-info p {
    font-size: 0.9rem;
    color: #666;
}

.story-quote {
    position: relative;
    margin-bottom: 1.5rem;
}

.story-quote i {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.story-quote p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-left: 1rem;
}

.story-metrics {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.metric {
    text-align: center;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.metric:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-5px);
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.metric:hover .metric-value {
    transform: scale(1.1);
    text-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

@media (max-width: 768px) {
    .metric-value {
        font-size: 2rem;
    }
    
    .metric-label {
        font-size: 0.8rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .features-grid,
    .solutions-grid,
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-stats,
    .tech-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid,
    .solutions-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats,
    .tech-specs {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-500 {
    transition-delay: 500ms;
}

.delay-700 {
    transition-delay: 700ms;
}

.delay-900 {
    transition-delay: 900ms;
}

.delay-1100 {
    transition-delay: 1100ms;
}

/* 页脚 */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.footer-links-column {
    flex: 1;
    min-width: 150px;
}

.footer-links-column h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-links-column ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
    
    header .container {
        padding: 0 var(--spacing-sm);
    }
    
    nav ul {
        margin-right: 130px;
    }
    
    nav ul li {
        margin-left: var(--spacing-md);
    }
    
    nav ul li a {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    nav ul {
        margin-right: 100px;
    }
    
    nav ul li {
        margin-left: var(--spacing-sm);
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        height: 70px;
    }
    
    .language-switcher {
        position: fixed;
        top: var(--spacing-xs);
        right: var(--spacing-xs);
        transform: none;
        margin-right: 0;
    }
    
    .language-switcher button {
        padding: var(--spacing-xs) var(--spacing-xs);
        min-width: 40px;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-normal);
        z-index: 99;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    nav ul {
        flex-direction: column;
        padding: var(--spacing-md) 0;
        margin-right: 0;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .logo img {
        max-height: 60px;
    }
    
    .scrolled .logo img {
        max-height: 60px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .slide-content h1 {
        font-size: 1.75rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .language-switcher button {
        min-width: 35px;
        font-size: 0.75rem;
    }
}

.solution-content h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    overflow: visible !important; /* 确保不会裁剪内容 */
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.logo-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: auto;
    border-radius: 0 !important; /* 强制移除圆角 */
    background: white;
    box-shadow: none !important; /* 移除阴影 */
    overflow: visible !important; /* 确保不会裁剪内容 */
    padding: 0 !important; /* 移除内边距 */
    transition: all 0.3s ease;
}

.about-image:hover .logo-container {
    transform: translateY(-5px);
    box-shadow: none !important;
    border-radius: 0 !important;
}

.pulse-effect {
    max-width: 200px;
    border-radius: 0 !important; /* 移除圆角 */
    transition: all 0.3s ease;
}

.about-image-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    display: inline-block;
}

.about-image-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    transform: scaleX(0.7);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.about-image:hover .about-image-title::after {
    transform: scaleX(1);
}

.about-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    margin-top: 20px;
    text-align: center;
    font-style: italic;
    transition: all 0.3s ease;
}

.about-image:hover .about-tagline {
    color: var(--primary-color);
}

/* 右侧文本卡片样式 */
.about-text {
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
    padding: 30px;
    transition: all 0.3s ease;
}

.about-text:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
    margin-top: 30px;
    padding-left: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.about-text h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: justify;
}

/* API集成部分 */
.api-integration {
    padding: 80px 0;
    background-color: white;
}

.platforms {
    margin-top: 40px;
}

.platform-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.platform-card {
    flex: 1;
    min-width: 280px;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.platform-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.platform-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply; /* 去除logo白色背景 */
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-tag {
    background-color: rgba(94, 44, 44, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.platform-stats {
    margin-top: 20px;
}

.platform-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.platform-stats .stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.api-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    background-color: rgba(245, 247, 250, 0.7);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.api-info {
    flex: 1;
    min-width: 280px;
}

.api-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.api-info p {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.api-benefits {
    margin-bottom: 30px;
}

.api-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.api-benefits i {
    color: var(--primary-color);
    margin-right: 10px;
}

.code-sample {
    flex: 1;
    min-width: 280px;
    background-color: #1f2430;
    border-radius: 10px;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #2a2f3b;
}

.code-language {
    color: #e0e0e0;
    font-size: 0.9rem;
}

.code-actions {
    display: flex;
    gap: 10px;
}

.code-copy {
    color: #e0e0e0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.code-copy:hover {
    color: white;
}

.code-sample pre {
    margin: 0;
    padding: 15px;
    overflow-x: auto;
}

.code-sample code {
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* 页脚样式 */
.site-footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo-img {
    height: 60px;
    margin-bottom: 15px;
    border-radius: 5px; /* 添加一点圆角 */
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    min-width: 150px;
}

.footer-col h4 {
    font-size: 18px;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-option {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 14px;
}

.language-option:hover,
.language-option.active {
    color: white;
}

.language-option.active {
    font-weight: bold;
    position: relative;
}

.language-option.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
}

.divider {
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-stats, .tech-specs {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item, .spec-item {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo img {
        max-height: 60px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        flex-direction: column;
        z-index: 100;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        margin: 10px 0;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .contact-container, 
    .platform-row,
    .api-cta,
    .footer-content,
    .footer-bottom {
        flex-direction: column;
    }
    
    .contact-form,
    .contact-info,
    .platform-card,
    .api-info,
    .code-sample {
        width: 100%;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .language-selector {
        margin-top: 15px;
        justify-content: center;
    }
    
    .footer-logo-img {
        height: 50px;
    }
}

/* 语言切换的过渡动画 */
[data-lang-zh], [data-lang-en] {
    transition: opacity 0.3s ease;
}

body.language-initialized [data-lang-zh], 
body.language-initialized [data-lang-en] {
    transition: opacity 0.3s ease;
}

/* 增强卡片悬停动态效果 */
.feature-card,
.solution-card,
.platform-card,
.spec-item,
.stat-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                background-color 0.3s ease;
    z-index: 1;
}

.feature-card::before,
.solution-card::before,
.platform-card::before,
.spec-item::before,
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 44, 44, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover,
.solution-card:hover,
.platform-card:hover,
.spec-item:hover,
.stat-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before,
.solution-card:hover::before,
.platform-card:hover::before,
.spec-item:hover::before,
.stat-item:hover::before {
    opacity: 1;
}

/* 特别为解决方案卡片添加更丰富的效果 */
.solution-card {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.solution-card .solution-image {
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.solution-card:hover .solution-image {
    transform: scale(1.1);
}

.solution-card .solution-content {
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.solution-card:hover .solution-content {
    background-color: rgba(255, 255, 255, 0.98);
}

.solution-card .solution-icon {
    display: none;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.solution-features .feature-bullet {
    background-color: rgba(94, 44, 44, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.solution-card:hover .feature-bullet {
    background-color: rgba(94, 44, 44, 0.2);
    transform: scale(1.05);
}

.about-image-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    display: inline-block;
}

.about-image-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    transform: scaleX(0.7);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.about-image:hover .about-image-title::after {
    transform: scaleX(1);
}

.logo-container {
    position: relative;
    width: auto;
    margin: 25px auto;
    border-radius: 5px;
    overflow: hidden;
    padding: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

.about-image:hover .logo-container {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.logo-container::before {
    display: none;
}

.logo-container::after {
    display: none;
}

.pulse-effect {
    position: relative;
    z-index: 2;
    border-radius: 0;
    max-width: 100%;
    transition: all 0.5s ease;
}

.about-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    margin-top: 20px;
    text-align: center;
    font-style: italic;
    transition: all 0.3s ease;
}

.about-image:hover .about-tagline {
    color: var(--primary-color);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 解决方案图标背景样式 */
.solution-icon-bg {
    width: 100%;
    height: 160px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.platform-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.platform-icon i {
    font-size: 48px;
    transition: all 0.3s ease;
}

/* 为不同平台设置特定的图标颜色 */
.platform-icon i.fa-amazon {
    color: #FF9900;
}

.platform-icon i.fa-ebay {
    color: #E53238;
}

.platform-icon i.fa-shopify {
    color: #95BF47;
}

.solution-card:hover .platform-icon {
    transform: scale(1.1);
}

.solution-card:hover .platform-icon i {
    transform: scale(1.1);
}

.solution-card:hover .solution-icon-bg {
    background: #fff;
}

/* 移除之前可能影响颜色的样式 */
.solution-icon-bg i {
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon-bg i {
    transform: translateY(-5px);
}

@media (max-width: 1024px) {
    .solution-card {
        flex-direction: column;
        padding: 30px;
    }

    .solution-image {
        margin-bottom: 30px;
    }

    .solution-features {
        grid-template-columns: 1fr;
    }
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 100px; /* 确保足够的空间，防止内容被导航栏遮挡 */
}

.team-member {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #f8f9fa;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
}

.member-placeholder i {
    font-size: 64px;
    color: #dee2e6;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 30px;
    background: #fff;
}

.member-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.member-title {
    font-size: 18px;
    color: #8B0000;
    margin-bottom: 20px;
    font-weight: 500;
}

.member-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.member-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #666;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #8B0000;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .member-image {
        height: 280px;
    }
    
    .member-info {
        padding: 25px;
    }
    
    .member-info h3 {
        font-size: 22px;
    }
    
    .member-title {
        font-size: 16px;
    }
    
    .member-bio {
        font-size: 15px;
    }
}

.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Info Section */
.contact-info-section {
    margin-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 24px;
    color: #8B0000;
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.info-item p {
    color: #666;
    line-height: 1.6;
}

.info-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #8B0000;
}

/* Visual Content Section */
.contact-visual-section {
    margin-bottom: 60px;
}

.visual-item {
    margin-bottom: 40px;
}

.visual-item h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* License Container */
.license-container .image-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-top: 0; /* Remove aspect ratio constraint */
    position: relative;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.license-container .image-wrapper img {
    position: relative; /* Change from absolute to relative */
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.license-container .image-wrapper:hover img {
    transform: scale(1.02);
}

/* General image wrapper styles */
.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect ratio for office photos */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

/* Map Section */
.map-section {
    margin-bottom: 0;
}

.map-section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .office-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .image-wrapper {
        padding-top: 75%;
    }
}

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

    .image-wrapper {
        padding-top: 66.67%; /* 3:2 Aspect Ratio for mobile */
    }

    .info-item {
        padding: 20px;
    }

    .map-container {
        height: 350px;
    }
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.office-grid .image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.office-grid .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.office-grid .image-wrapper:hover img {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .office-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* 分割图片容器样式 */
.split-image {
    grid-column: span 1;
}

.split-image-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.split-image-container img {
    position: relative;
    height: 100%;
    border-radius: 8px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .office-grid {
        grid-template-columns: 1fr;
    }
    
    .split-image-container {
        gap: 8px;
    }
}

.static-map {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.static-map:hover {
    transform: translateY(-5px);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.static-map:hover .map-overlay {
    opacity: 1;
}

.map-overlay span {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 20px;
    color: #8B0000;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-overlay i {
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .static-map {
        margin-bottom: 20px;
    }
    
    .map-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.05);
    }
}

/* 价格表样式 */
.pricing-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow: hidden; /* 防止动画溢出 */
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-column {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px);
    animation: priceColumnAppear 0.8s forwards;
}

/* 为每个价格列设置不同的动画延迟 */
.pricing-column:nth-child(1) { animation-delay: 0.1s; }
.pricing-column:nth-child(2) { animation-delay: 0.3s; }
.pricing-column:nth-child(3) { animation-delay: 0.5s; }
.pricing-column:nth-child(4) { animation-delay: 0.7s; }

@keyframes priceColumnAppear {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-column:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.pricing-header {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.pricing-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pricing-column:hover .pricing-header::before {
    opacity: 1;
    animation: headerGlow 2s infinite;
}

@keyframes headerGlow {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.pricing-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.price {
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.price .amount {
    font-size: 2rem;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.3s ease;
}

.pricing-column:hover .price .amount {
    transform: scale(1.1);
    animation: pricePulse 1s infinite;
}

@keyframes pricePulse {
    0%, 100% { transform: scale(1.1); }
    50% { transform: scale(1.15); }
}

.price .period {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-features {
    padding: 30px 20px;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    transform: translateX(-10px);
    opacity: 0;
    animation: featureAppear 0.5s forwards;
}

/* 为每个特性项设置不同的动画延迟 */
.feature-item:nth-child(1) { animation-delay: 0.8s; }
.feature-item:nth-child(2) { animation-delay: 0.9s; }
.feature-item:nth-child(3) { animation-delay: 1.0s; }
.feature-item:nth-child(4) { animation-delay: 1.1s; }
.feature-item:nth-child(5) { animation-delay: 1.2s; }
.feature-item:nth-child(6) { animation-delay: 1.3s; }
.feature-item:nth-child(7) { animation-delay: 1.4s; }

@keyframes featureAppear {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-item:hover {
    background: rgba(139, 0, 0, 0.03);
    padding-left: 10px;
    padding-right: 10px;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-label {
    color: #666;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.feature-value {
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-value {
    color: #8B0000;
    transform: scale(1.05);
}

/* 高亮企业版 */
.pricing-header.highlight {
    background: linear-gradient(135deg, #8B0000 0%, #800000 100%);
    position: relative;
    overflow: hidden;
}

.pricing-header.highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .pricing-table {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    .pricing-column {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* 图片放大查看 */
.zoomable-image {
    cursor: pointer;
}

.zoomable-image.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1000;
    object-fit: contain;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

/* 业务介绍部分样式 */
.business-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.business-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 246, 246, 0.9), rgba(240, 240, 240, 0.7));
    z-index: -1;
}

.business-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.business-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    scroll-margin-top: 100px; /* 稍微多一点空间，因为卡片较大 */
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.business-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.business-icon i {
    font-size: 32px;
    color: #fff;
    transition: transform 0.3s ease;
}

.business-card:hover .business-icon {
    transform: scale(1.1);
}

.business-content-wrapper {
    flex: 1;
    width: 100%;
}

.business-card h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.business-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

.business-card:hover h3::after {
    width: 60px;
}

.business-content {
    margin-top: 20px;
}

.business-module {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.business-module:last-child {
    margin-bottom: 0;
}

.business-module h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    font-weight: 500;
}

.business-module h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

.business-module ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.business-module li {
    color: #555;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
    font-size: 16px;
}

.business-module li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.business-module li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.business-module li:hover::before {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .business-card {
        padding: 30px;
        flex-direction: column;
        gap: 25px;
    }
    
    .business-icon {
        width: 64px;
        height: 64px;
    }
    
    .business-icon i {
        font-size: 28px;
    }
    
    .business-card h3 {
        font-size: 22px;
    }
    
    .business-module h4 {
        font-size: 18px;
    }
    
    .business-module ul {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .business-module li {
        font-size: 15px;
    }
}

.pricing-action {
    padding: 0 20px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-column:hover .pricing-action {
    transform: translateY(-5px);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #5E2C2C;
    border: 2px solid #5E2C2C;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.btn-outline:hover {
    background-color: #5E2C2C;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(94, 44, 44, 0.15);
}

.pricing-action.highlight {
    padding-bottom: 35px;
}

.pricing-action.highlight .btn {
    transform: scale(1.05);
}

/* 底部导航中的数据政策链接 */
.footer-links-bottom {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.footer-links-bottom a {
    color: #777;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links-bottom a:hover {
    color: #5E2C2C;
}

.footer-links-bottom a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #5E2C2C;
    transition: width 0.3s ease;
}

.footer-links-bottom a:hover::after {
    width: 100%;
}

/* 数据政策模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.open {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 30px auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal.open .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 30px;
    background-color: #5E2C2C;
    color: white;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.close-modal {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: #f1f1f1;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.policy-section {
    margin-bottom: 30px;
}

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

.policy-section h4 {
    color: #5E2C2C;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.policy-section p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

.policy-section ul {
    margin: 0;
    padding-left: 20px;
}

.policy-section ul ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

.policy-section li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

.policy-section a {
    color: #5E2C2C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: #A52626;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .policy-section h4 {
        font-size: 16px;
    }
    
    .policy-section p, 
    .policy-section li {
        font-size: 14px;
    }
}

/* 底部语言选择器样式 */
.language-selector {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.language-selector .language-option {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 8px;
    transition: all 0.3s ease;
}

.language-selector .language-option.active {
    color: #e74c3c;
    font-weight: 500;
}

.language-selector .divider {
    color: #ddd;
    margin: 0 5px;
}

/* 数据政策模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
    border-radius: 8px 8px 0 0;
}

.modal-header h3 {
    font-size: 22px;
    color: #333;
    margin: 0;
}

.close-modal {
    font-size: 26px;
    color: #777;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 20px;
}

.policy-section {
    margin-bottom: 25px;
}

.policy-section h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.policy-section p,
.policy-section li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 15px;
}

.policy-section ul {
    padding-left: 20px;
    list-style-type: disc;
}

.policy-section ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
}