/* 本地字体定义 */
@font-face {
    font-family: 'Source Han Serif';
    src: url('./思源宋体.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 真实页面加载动画 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    width: 90%;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-logo-img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    animation: logoFloat 2s ease-in-out infinite;
    filter: brightness(0) invert(1);
}

.loading-text {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.9;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-progress {
    width: 100%;
    margin: 0 auto 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-bar::after {
    content: '';
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #fff, #e0e7ff);
    border-radius: 4px;
    width: var(--progress, 0%);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-text {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-weight: 500;
}

.loading-tip {
    font-size: 1rem;
    opacity: 0.8;
    animation: tipFade 2s ease-in-out infinite;
    font-style: italic;
}

.loading-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    text-align: left;
    max-height: 120px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-details::-webkit-scrollbar {
    width: 4px;
}

.loading-details::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.loading-details::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.loading-details div {
    margin: 3px 0;
    opacity: 0.8;
    word-break: break-all;
}

.loading-details div::before {
    content: '• ';
    color: #a5b4fc;
    font-weight: bold;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes tipFade {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* 多语言选择器 */
.language-selector {
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.language-selector:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* 访问统计显示 */
.stats-display {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.stats-display:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.stats-display .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.stats-display .stat-item:last-child {
    margin-bottom: 0;
}

.stats-display .stat-item i {
    color: var(--primary-color);
    width: 16px;
}

.stats-display .stat-label {
    color: var(--text-secondary);
    flex: 1;
}

.stats-display .stat-value {
    color: var(--text-primary);
    font-weight: 600;
}

/* 首页动态光晕效果 */
.hero-glow-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: glowFloat 8s ease-in-out infinite;
}

.glow-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, rgba(102, 126, 234, 0.1) 50%, transparent 100%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.4) 0%, rgba(118, 75, 162, 0.1) 50%, transparent 100%);
    top: 60%;
    right: 15%;
    animation-delay: -3s;
}

.glow-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.3) 0%, rgba(240, 147, 251, 0.1) 50%, transparent 100%);
    bottom: 30%;
    left: 50%;
    animation-delay: -6s;
}

@keyframes glowFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.4;
    }
    75% { 
        transform: translate(20px, -30px) scale(1.05);
        opacity: 0.7;
    }
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-chinese: 'Microsoft YaHei', '微软雅黑', 'SimSun', sans-serif;
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* 明亮主题（默认） */
:root,
body:not([data-theme="dark"]) {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --border-color: rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* 暗色主题 */
body[data-theme="dark"],
[data-theme="dark"] {
    --bg-primary: #0f172a !important;
    --bg-secondary: #1e293b !important;
    --bg-tertiary: #334155 !important;
    --text-primary: #f8fafc !important;
    --text-secondary: #cbd5e1 !important;
    --text-tertiary: #94a3b8 !important;
    --border-color: rgba(255, 255, 255, 0.1) !important;
    --card-bg: #1e293b !important;
    --nav-bg: rgba(15, 23, 42, 0.95) !important;
    --shadow-color: rgba(0, 0, 0, 0.3) !important;
}

/* 暗色主题适配 */
[data-theme="dark"] .language-selector,
[data-theme="dark"] .stats-display {
    background: rgba(31, 41, 55, 0.9);
}

[data-theme="dark"] .lang-btn {
    color: var(--text-secondary);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary), var(--font-chinese);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo-img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

/* Logo主题切换 */
.logo-light {
    display: inline-block;
}

.logo-dark {
    display: none;
}

/* 暗色主题下的logo切换 */
body[data-theme="dark"] .logo-light {
    display: none;
}

body[data-theme="dark"] .logo-dark {
    display: inline-block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* 主题切换按钮 */
.theme-toggle {
    margin-left: 1rem;
}

.theme-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.theme-btn:hover {
    background: var(--bg-secondary);
    transform: scale(1.1);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

/* 明亮主题背景 */
body:not([data-theme="dark"]) .hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9)), url('示例图片/1.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

/* 暗色主题背景 */
body[data-theme="dark"] .hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%) !important;
}

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

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

.philosophy-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    height: 300px;
}

.philosophy-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.philosophy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.philosophy-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.philosophy-card:hover .philosophy-text {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.philosophy-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Source Han Serif', '思源宋体', '宋体', serif;
}

.philosophy-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
    font-family: 'Source Han Serif', '思源宋体', '宋体', serif;
}

.philosophy-text .quote {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-family: 'Source Han Serif', '思源宋体', '宋体', serif;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

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

.subtitle {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.btn-primary, .btn-secondary {
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* 浮动元素动画 */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.6;
    animation: float 4s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 50%;
    right: 20%;
    animation-delay: 1s;
}

.element-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 40%;
    animation-delay: 2s;
}

.element-4 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 40%;
    animation-delay: 3s;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(-45deg); }
    40% { transform: translateY(-10px) rotate(-45deg); }
    60% { transform: translateY(-5px) rotate(-45deg); }
}

/* 通用section样式 */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-color);
    font-weight: 300;
}

/* About Section */
.about {
    background: var(--bg-primary);
    color: var(--text-primary);
}

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

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mirror-animation {
    width: 300px;
    height: 300px;
    position: relative;
}

.mirror-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    position: relative;
    animation: rotate 10s linear infinite;
}

.mirror-effect {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
}

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

/* Services Section */
.services {
    background: var(--bg-secondary);
}

/* 服务网格布局 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Team Section */
.team {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.team-description {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.value-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.value-item h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 团队成员展示 - 堆叠卡片效果 */
.team-scroll-container {
    margin: 4rem 0;
    overflow-x: auto;
    padding: 2rem 0;
}

.team-cards-container {
    display: flex;
    gap: 5rem;
    min-width: fit-content;
    justify-content: center;
    padding: 0 2rem;
}

.team-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 350px;
    position: relative;
}

/* 团队组水印 */
.team-column::before {
    content: attr(data-group);
    position: absolute;
    right: -50px;
    top: 30%;
    transform: translateY(-50%);
    font-family: '楷体', 'KaiTi', serif;
    font-size: 6rem;
    font-weight: bold;
    color: rgba(255, 0, 0, 0.5);
    z-index: 15;
    pointer-events: none;
    letter-spacing: 0.2em;
    white-space: nowrap;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 暗色主题下的组水印 */
body[data-theme="dark"] .team-column::before {
    color: rgba(255, 0, 0, 0.5);
}

/* 悬浮时组水印变淡 */
.team-column:hover::before {
    opacity: 0.1;
}

/* 卡片堆叠容器 */
.member-cards {
    position: relative;
    width: 410px;
    height: 270px;
    cursor: pointer;
}

.member-card {
    position: absolute;
    width: 330px;
    height: 240px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                z-index 0s;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform;
}

.member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* 移除单个卡片的水印 */
.member-card::before {
    display: none;
}

/* 堆叠效果 - 从底部往上叠，1.jpg在最上面 */
.member-card:nth-child(1) {
    z-index: 3;
    left: 0px;
    top: 0px;
    transform: translateY(30px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.member-card:nth-child(2) {
    z-index: 2;
    left: 40px;
    top: 15px;
    transform: translateY(30px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.member-card:nth-child(3) {
    z-index: 1;
    left: 80px;
    top: 30px;
    transform: translateY(30px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.member-card:nth-child(4) {
    z-index: 0;
    left: 120px;
    top: 45px;
    transform: translateY(30px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

/* 从底部浮现动画 */
@keyframes slideUpStack {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-card.animate:nth-child(1) {
    animation: slideUpStack 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.member-card.animate:nth-child(2) {
    animation: slideUpStack 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.member-card.animate:nth-child(3) {
    animation: slideUpStack 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.member-card.animate:nth-child(4) {
    animation: slideUpStack 0.8s ease-out forwards;
    animation-delay: 0s;
}

/* 鼠标悬浮到被折叠的卡片时浮上来 */
.member-card:nth-child(1):hover {
    transform: translateY(-15px) !important;
    z-index: 10 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}

.member-card:nth-child(2):hover {
    transform: translateY(-15px) !important;
    z-index: 10 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}

.member-card:nth-child(3):hover {
    transform: translateY(-15px) !important;
    z-index: 10 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}

.member-card:nth-child(4):hover {
    transform: translateY(-15px) !important;
    z-index: 10 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}

/* 悬浮时水印效果 */
.member-card:hover::before {
    opacity: 0.6;
}

/* 团队成员提示 */
.team-note {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.team-note i {
    font-size: 0.8rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.team-note:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.team-note:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* 滚动条样式 */
.team-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.team-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.team-scroll-container::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

.team-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 图片预览模态框 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 光晕效果改用after伪元素 */
.member-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        transparent, 
        var(--primary-color)
    );
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-card:hover::after {
    opacity: 0.2;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 90%;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

#modalImage {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
}

.contact-method {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    min-width: 300px;
    flex: 1;
    max-width: 400px;
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.contact-method i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-method span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.qr-code {
    width: 140px;
    height: 140px;
    margin: 0.5rem auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* QQ号码样式 */
.qq-number {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px dashed var(--primary-color);
    margin: 1rem 0;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    user-select: all;
    cursor: pointer;
}

.qq-number:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* 客服URL样式 */
.service-url {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.08);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    margin: 1rem 0;
    transition: all 0.3s ease;
    user-select: all;
    cursor: pointer;
}

.service-url:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

/* 社交媒体部分 */
.social-media {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.social-content {
    margin-top: 3rem;
}

.social-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.social-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.social-card > i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.social-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.social-link i {
    font-size: 1.1rem;
}

/* 客服按钮优化 */
.floating-customer-service {
    position: fixed;
    bottom: 80px;
    right: 40px;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.floating-customer-service:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.customer-service-btn {
    width: auto;
    height: 50px;
    border-radius: 25px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    color: #666666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.customer-service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    color: #333333;
    border-color: #cccccc;
}

.customer-service-btn i {
    font-size: 16px;
}

/* 返回顶部按钮优化 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 0.8;
    visibility: visible;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .language-selector {
        top: 80px;
        left: 15px;
        right: auto;
        padding: 0.4rem;
        opacity: 0.8;
        z-index: 999;
    }
    
    .stats-display {
        top: 140px;
        left: 15px;
        right: auto;
        bottom: auto;
        padding: 0.8rem;
        min-width: 100px;
        opacity: 0.8;
        z-index: 999;
    }
    
    .floating-customer-service {
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        z-index: 999;
    }
    
    .customer-service-btn {
        height: 45px;
        padding: 0 20px;
        font-size: 14px;
        min-width: 25px;
    }
    
    .customer-service-btn i {
        font-size: 14px;
        z-index: 999;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
        z-index: 999;
    }
    
    /* 在移动端滚动时自动隐藏部分按钮 */
    .language-selector.scrolling,
    .stats-display.scrolling {
        opacity: 0.2;
        pointer-events: none;
        transform: translateY(-5px);
    }
    
    .language-selector.scrolling:hover,
    .stats-display.scrolling:hover {
        opacity: 0.8;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* 添加按钮隐藏功能 */
.floating-buttons-hidden .language-selector,
.floating-buttons-hidden .stats-display {
    opacity: 0.1;
    pointer-events: none;
    transform: translateX(10px);
}

.floating-buttons-hidden .language-selector:hover,
.floating-buttons-hidden .stats-display:hover {
    opacity: 0.8;
    pointer-events: auto;
    transform: translateX(0);
}

/* 添加双击隐藏功能提示 */
.language-selector::after {
    content: '双击隐藏';
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 10px;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.language-selector:hover::after {
    opacity: 0.6;
}

/* 二维码放大模态框 */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.qr-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.qr-modal-container {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 576px;
    width: 90%;
    min-height: 624px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--border-color);
}

.qr-modal.show .qr-modal-container {
    transform: scale(1);
}

body[data-theme="dark"] .qr-modal-container {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.qr-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body[data-theme="dark"] .qr-modal-header {
    border-bottom-color: var(--border-color);
}

.qr-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.qr-modal-body {
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.qr-large {
    width: 360px;
    height: 360px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin: 0 auto 1.5rem auto;
    display: block;
    object-fit: cover;
}

.qr-modal-body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.qr-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.qr-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 30px;
    width: auto;
    transition: opacity 0.3s ease;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-text p:first-child {
    color: var(--accent-color);
    font-weight: 500;
}

/* 友情链接样式 */
.footer-links {
    margin: 0.75rem 0;
    font-size: 0.9rem;
}

.footer-links span {
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.friend-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.friend-link:hover {
    color: var(--secondary-color);
    background: var(--bg-secondary);
    border-color: var(--border-color);
    text-decoration: none;
    transform: translateY(-1px);
}

.apply-friend-link {
    border: 1px solid rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.05);
}

.apply-friend-link:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.15);
    color: var(--primary-color);
}

.join-us-link {
    border: 1px solid rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.join-us-link:hover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.friend-link i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.friend-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.footer-links-column {
    margin: 1rem 0;
}

.footer-links-column h3 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-links-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links-column a:hover {
    color: var(--primary-color);
}

/* 友链申请模态框 */
.friend-link-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.friend-link-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.friend-link-modal.show .modal-container {
    transform: scale(1);
}

/* 暗色主题下的模态框 */
body[data-theme="dark"] .modal-container {
    background: rgba(30, 30, 30, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    transform: scale(1.1);
}

body[data-theme="dark"] .modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-icon {
    margin-bottom: 1rem;
}

.modal-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.modal-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.message-template {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .message-template {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .message-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.message-header span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.copy-btn {
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.copy-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
}

.message-content {
    padding: 1.5rem;
    text-align: left;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre-line;
    background: rgba(255, 255, 255, 0.5);
}

body[data-theme="dark"] .message-content {
    background: rgba(0, 0, 0, 0.2);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.modal-actions .btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.modal-actions .btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.modal-actions .btn-secondary:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px var(--shadow-color);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }
    
    .theme-toggle {
        margin-left: 0.5rem;
    }
    
    .theme-btn {
        width: 35px;
        height: 35px;
    }
    
    .nav-menu.active {
        left: 0;
        transform: translateX(0);
    }
    
    .hero-container {
        padding-top: 80px;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-text {
        order: 2;
    }
    
    .stats {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card,
    .philosophy-card {
        padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 80%;
        max-width: 280px;
    }
}

/* 平滑滚动和页面进入动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 平滑过渡动画 */
*, *::before, *::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 强制主题背景应用 */
body[data-theme="dark"] .about,
body[data-theme="dark"] .team {
    background: var(--bg-primary) !important;
}

body[data-theme="dark"] .services,
body[data-theme="dark"] .philosophy,
body[data-theme="dark"] .contact {
    background: var(--bg-secondary) !important;
}

/* 返回顶部按钮优化 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 0.8;
    visibility: visible;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
}

/* 卡片悬浮效果增强 */
.philosophy-card:hover,
.service-card:hover,
.value-item:hover,
.contact-method:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px var(--shadow-color);
}

/* 平铺卡片样式优化 */
.contact-methods {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
}

.contact-method {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    min-width: 300px;
    flex: 1;
    max-width: 400px;
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.contact-method i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-method span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* 明亮主题时的文本对比度优化 */
body:not([data-theme="dark"]) .hero-content h1,
body:not([data-theme="dark"]) .hero-content p {
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* 暗色主题时移除文本阴影 */
body[data-theme="dark"] .hero-content h1,
body[data-theme="dark"] .hero-content p {
    text-shadow: none;
}

/* 移动端响应式优化 */
@media (max-width: 768px) {
    .philosophy-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .philosophy-card {
        height: 250px;
    }
    
    .philosophy-text {
        padding: 1.5rem;
    }
    
    .philosophy-text h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        font-family: 'Source Han Serif', '思源宋体', '宋体', serif;
    }
    
    .philosophy-text p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        font-family: 'Source Han Serif', '思源宋体', '宋体', serif;
    }
    
    .philosophy-text .quote {
        font-size: 0.75rem;
        margin-top: 0.4rem;
        font-family: 'Source Han Serif', '思源宋体', '宋体', serif;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .contact-method {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 320px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .hero {
        background-attachment: scroll !important;
    }
}

@media (max-width: 480px) {
    .philosophy-cards {
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .contact-methods {
        gap: 1rem;
        flex-direction: column;
    }
    
    .philosophy-card {
        height: 220px;
    }
    
    .philosophy-text {
        padding: 1rem;
    }
    
    .philosophy-text h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        font-family: 'Source Han Serif', '思源宋体', '宋体', serif;
    }
    
    .philosophy-text p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        font-family: 'Source Han Serif', '思源宋体', '宋体', serif;
    }
    
    .philosophy-text .quote {
        font-size: 0.7rem;
        margin-top: 0.3rem;
        font-family: 'Source Han Serif', '思源宋体', '宋体', serif;
    }
    
    .service-card {
        padding: 0.8rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .qq-number {
        font-size: 1.2rem;
        padding: 0.8rem 1rem;
        letter-spacing: 1px;
    }
    
    .service-url {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
        margin: 0.5rem auto;
        display: block;
    }
    
    .social-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-card {
        padding: 2rem;
    }
    
    .theme-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .footer-links {
        text-align: center;
        margin: 1rem 0;
    }
    
    .footer-links span {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .friend-link {
        display: inline-block;
        margin: 0.25rem;
    }
    
    /* 团队展示移动端适配 */
    .team-scroll-container {
        margin: 2rem 0;
        padding: 1rem 0;
    }
    
    .team-cards-container {
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .team-column {
        min-width: 260px;
    }
    
    .member-cards {
        width: 240px;
        height: 180px;
    }
    
    .member-card {
        width: 220px;
        height: 150px;
    }
    
    .member-card::before {
        font-size: 2rem;
    }
    
    /* 移动端堆叠调整 */
    .member-card:nth-child(1) {
        left: 0px;
        top: 0px;
    }
    
    .member-card:nth-child(2) {
        left: 8px;
        top: 15px;
    }
    
    .member-card:nth-child(3) {
        left: 15px;
        top: 30px;
    }
    
    .member-card:nth-child(4) {
        left: 22px;
        top: 45px;
    }
    
    /* 移动端悬浮效果调整 */
    .member-card:nth-child(1):hover {
        transform: translateY(-15px) scale(1.03) !important;
    }
    
    .member-card:nth-child(2):hover {
        transform: translateY(-15px) scale(1.03) !important;
    }
    
    .member-card:nth-child(3):hover {
        transform: translateY(-15px) scale(1.03) !important;
    }
    
    .member-card:nth-child(4):hover {
        transform: translateY(-15px) scale(1.03) !important;
    }
    
    /* 移动端团队提示调整 */
    .team-note {
        margin-top: 1.5rem;
        font-size: 0.8rem;
    }
    
    /* 二维码模态框移动端适配 */
    .qr-modal-container {
        width: 95%;
        max-width: 420px;
        min-height: 480px;
    }
    
    .qr-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .qr-modal-body {
        padding: 1.5rem;
    }
    
    .qr-large {
        width: 240px;
        height: 240px;
    }

    /* 友链申请模态框移动端适配 */
    .modal-container {
        width: 95%;
        max-height: 90vh;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-actions .btn-primary,
    .modal-actions .btn-secondary {
        width: 100%;
        min-width: auto;
    }
    
    .message-content {
        font-size: 0.8rem;
        padding: 1rem;
    }
    
    /* 移动端新功能适配 */
    .language-selector {
        top: 80px;
        left: 10px;
        padding: 0.3rem;
        z-index: 999;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .stats-display {
        bottom: 140px;
        left: 10px;
        padding: 0.8rem;
        min-width: 100px;
        z-index: 999;
    }
    
    .stats-display .stat-item {
        font-size: 0.75rem;
    }
    
    .loading-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .loading-text {
        font-size: 1.5rem;
    }
    
    .loading-progress {
        width: 250px;
    }
}

/* Cookie提示条样式 */
.cookie-consent {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 9999;
    transition: bottom 0.5s ease;
    border-top: 2px solid var(--primary-color);
    opacity: 0;
    visibility: hidden;
}

.cookie-consent.show {
    bottom: 0;
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.cookie-btn.accept:hover {
    background: var(--primary-dark, #5a67d8);
    transform: translateY(-1px);
}

.cookie-btn.decline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.cookie-btn.decline:hover {
    background: var(--bg-hover);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .cookie-content p {
        min-width: auto;
        text-align: left;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
    }
} 

/* 修复联系方式卡片高度不一致问题 */
.contact-method {
    min-height: 420px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* 确保卡片内容垂直分布 */
.contact-method > * {
    flex-shrink: 0;
}

.contact-method .contact-link {
    margin-top: auto;
    margin-bottom: 0;
}

/* 移动端联系方式卡片高度调整 */
@media (max-width: 768px) {
    .contact-method {
        min-height: 380px !important;
    }
}

@media (max-width: 480px) {
    .contact-method {
        min-height: 360px !important;
    }
}