/* 全局样式设置 */
:root {
    /* 颜色变量 */
    --primary: #3a86ff;
    --secondary: #8338ec;
    --accent: #ff006e;
    --bg-primary: #0a0e17;
    --bg-secondary: #141928;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    
    /* 阴影 */
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --btn-shadow: 0 4px 12px rgba(58, 134, 255, 0.4);
    
    /* 边框 */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* 基础字体大小 - 移动设备上的基准 */
    font-size: 16px;
    
    /* 响应式间距单位 */
    --spacing-xs: clamp(0.5rem, 0.7vw, 0.75rem);
    --spacing-sm: clamp(0.75rem, 1.5vw, 1rem);
    --spacing-md: clamp(1rem, 3vw, 1.5rem);
    --spacing-lg: clamp(1.5rem, 5vw, 2.5rem);
    --spacing-xl: clamp(2rem, 7vw, 3.5rem);
    
    /* 响应式字体大小 */
    --font-size-xs: clamp(0.75rem, 1vw, 0.875rem);  
    --font-size-sm: clamp(0.875rem, 1.2vw, 1rem);
    --font-size-base: clamp(1rem, 1.5vw, 1.125rem);
    --font-size-md: clamp(1.125rem, 2vw, 1.25rem);
    --font-size-lg: clamp(1.25rem, 2.5vw, 1.5rem);
    --font-size-xl: clamp(1.5rem, 3vw, 2rem);
    --font-size-xxl: clamp(2rem, 4vw, 2.5rem);
    --font-size-heading: clamp(2.25rem, 5vw, 3rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-size: var(--font-size-base);
}

.main-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

/* 加载动画 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: loader-spin 1s infinite linear;
}

.loader-text {
    font-size: 1.2rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

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

body.loaded .loader {
    opacity: 0;
    visibility: hidden;
}

/* 导航栏样式 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.main-nav.scrolled {
    background: rgba(10, 14, 23, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    padding: var(--spacing-xs) var(--spacing-sm);
}

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

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

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

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 2px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text);
    padding: 5px 12px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(58, 134, 255, 0.5);
}

/* 通用区域样式 */
section {
    padding: var(--spacing-xl) 0;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: var(--font-size-heading);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* 首屏区样式 */
.landing-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#particles-canvas,
#collision-canvas,
#repulsion-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

#repulsion-canvas {
    pointer-events: auto; /* 允许鼠标交互 */
}

.landing-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    padding: 0 var(--spacing-md);
}

.earth-container {
    position: relative;
    width: 100%;
    height: 35vh;
    margin: 2rem 0;
    z-index: 2;
}

#earth-model {
    width: 100%;
    height: 100%;
}

.landing-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    pointer-events: none;
}

.landing-content > * {
    pointer-events: auto;
    width: 100%;
}

.glitch-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 0.7rem;
    line-height: 1.2;
    letter-spacing: 1px;
    font-weight: 700;
    text-align: center;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

.cta-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 30px;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(58, 134, 255, 0.4);
    display: inline-block;
    max-width: max-content;
}

.cta-button:hover {
    box-shadow: 0 6px 25px rgba(58, 134, 255, 0.5);
    transform: translateY(-3px);
}

/* 向下滚动指示器增强样式 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 10;
    cursor: pointer;
    text-align: center;
    transform: none;
}

.scroll-indicator:hover {
    opacity: 1 !important;
}

.scroll-indicator span {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-align: center;
    display: block;
    width: 100%;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    margin: 0 auto;
    display: block;
}

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

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 20px;
        width: 100px;
    }
    
    .scroll-arrow {
        width: 15px;
        height: 15px;
    }
}

/* 机构弹出层样式 */
.institution-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(20, 25, 40, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    box-shadow: var(--card-shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    border: var(--glass-border);
}

.popup-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.institution-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: contain;
    background: white;
    padding: 5px;
}

.institution-name {
    flex: 1;
    font-size: 1.3rem;
}

.close-popup {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: var(--accent);
}

.popup-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.institution-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.institution-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.badge-icon {
    margin-right: 5px;
    width: 16px;
    height: 16px;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-tag {
    background: rgba(131, 56, 236, 0.2);
    color: #b392f0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* 价值主张区样式 */
.value-section {
    background: var(--bg-secondary);
    color: var(--text);
}

.value-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
    padding: 20px 0;
}

.value-card {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(20, 25, 40, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: var(--glass-border);
    transform: perspective(1000px) rotateX(10deg);
    transform-origin: bottom center;
    will-change: transform;
}

.value-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.value-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.value-card:hover:before {
    opacity: 1;
}

.card-inner {
    padding: 30px;
    background: rgba(20, 25, 40, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.value-card:hover .card-inner {
    transform: translateZ(10px);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.teacher-model-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
    text-align: center;
}

.value-card p {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
}

.timeline-trigger {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    font-weight: 500;
    transition: all 0.3s ease;
}

.timeline-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(131, 56, 236, 0.3);
}

.teacher-timeline {
    margin-top: 20px;
    display: none;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    position: relative;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .value-container {
        flex-direction: column;
    }
    
    .glitch-title {
        font-size: 2.5rem;
    }
    
    .value-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 1rem 5%;
        flex-wrap: wrap;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .glitch-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
}

/* 无障碍控制面板 */
.accessibility-panel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.a11y-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.a11y-icon {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-11h2v6h-2zm0-4h2v2h-2z"/></svg>');
    background-repeat: no-repeat;
}

.a11y-options {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: rgba(20, 25, 40, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px;
    width: 200px;
    display: none;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--card-shadow);
    border: var(--glass-border);
}

.toggle-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.toggle-slider {
    position: relative;
    width: 40px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    background: white;
    transition: all 0.3s ease;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked + .toggle-slider {
    background: var(--primary);
}

input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(20px);
}

/* 课程体验区样式 */
.courses-section {
    background: var(--bg-secondary);
    padding-top: 150px;  /* 增加上方间距，使整个区域更靠下 */
}

.courses-section .section-title {
    margin-bottom: 4rem;  /* 增加标题下方间距 */
}

.section-divider {
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 0 auto 50px;
}

.vr-classroom {
    text-align: center;
    margin-bottom: 70px;  /* 增加与下方轮播的间距 */
    margin-top: 50px;     /* 增加与上方标题的间距 */
}

.panorama-sphere {
    margin: 0 auto 30px;  /* 调整球体位置 */
}

.vr-intro h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text);
}

.vr-intro p {
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

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

.slider-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.slider-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.swiper-container {
    padding: 30px 10px;
    overflow: visible;
}

.course-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 确保内容立即显示，无需动画 */
.landing-content > *,
.earth-container,
.main-nav,
.scroll-indicator {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* 禁用可能的入场动画 */
.fade-in,
.slide-in,
.scale-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* 修复页脚背景问题 */
.main-footer {
    margin-top: auto;
    width: 100%;
    background-color: #1a1a2e;
    color: #fff;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: var(--spacing-lg) 0;
    gap: 2rem;
}

.footer-logo {
    flex: 0 0 25%;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-links {
    flex: 0 0 70%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.link-group {
    flex: 1 0 20%;
    margin-bottom: var(--spacing-md);
    min-width: 150px;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
    position: relative;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    flex: 1;
    font-size: 0.9rem;
    opacity: 0.7;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: #fff;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links {
        flex: 0 0 100%;
    }
    
    .link-group {
        flex: 0 0 45%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 1rem;
    }
}

/* 合作伙伴区样式 */
.credibility-section {
    background: var(--bg-primary);
    padding-top: 120px;
}

.partner-wall {
    max-width: 1200px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.partner-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 2rem auto;
    max-width: 1000px;
}

.partner-icon {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-icon:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.partner-icon .icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 20px;
}

.partner-icon:hover .icon-glow {
    opacity: 0.2;
}

.partner-icon svg {
    height: 60px;
    width: 60px;
    fill: var(--text);
    margin-bottom: 15px;
    transition: fill 0.3s ease;
}

.partner-icon:hover svg {
    fill: var(--primary);
}

.partner-icon .icon-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    transition: color 0.3s ease;
}

.partner-icon:hover .icon-title {
    color: var(--primary);
}

.partner-icon .icon-desc {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background: rgba(20, 25, 40, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    border: var(--glass-border);
    z-index: 10;
}

.partner-icon:hover .icon-desc {
    opacity: 1;
    visibility: visible;
    bottom: -70px;
}

@media (max-width: 768px) {
    .partner-icons {
        gap: 20px;
    }
    
    .partner-icon {
        width: 120px;
        height: 120px;
    }
    
    .partner-icon svg {
        height: 40px;
        width: 40px;
    }
    
    .partner-icon .icon-title {
        font-size: 0.9rem;
    }
}

.data-visualization {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.growth-chart, .satisfaction-dashboard {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    border: var(--glass-border);
    margin-bottom: 20px;
}

.growth-chart h3, .satisfaction-dashboard h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text);
}

#growth-chart-3d, #satisfaction-gauge {
    width: 100%;
    height: 250px;
    position: relative;
}

/* 服务内容区域 */
.service-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.service-carousel {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: relative;
}

.service-carousel::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 280px;
    height: 320px;
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    background: rgba(30, 30, 40, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.3);
}

.service-icon svg {
    width: 50px;
    height: 50px;
    fill: white;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
    color: white;
}

.service-card p {
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-secondary);
    flex-grow: 1;
}

.learn-more {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 添加滚动动画 */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 添加旋转动画 */
@keyframes card-float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.service-card {
    animation: card-float 6s ease-in-out infinite;
}

.service-card:nth-child(2) {
    animation-delay: 0.5s;
}

.service-card:nth-child(3) {
    animation-delay: 1s;
}

.service-card:nth-child(4) {
    animation-delay: 1.5s;
}

.service-card:nth-child(5) {
    animation-delay: 2s;
}

.service-card:nth-child(6) {
    animation-delay: 2.5s;
}

/* 修复页脚背景问题 */
.main-footer {
    margin-top: auto;
    width: 100%;
    background-color: #1a1a2e;
    color: #fff;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: var(--spacing-lg) 0;
    gap: 2rem;
}

.footer-logo {
    flex: 0 0 25%;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-links {
    flex: 0 0 70%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.link-group {
    flex: 1 0 20%;
    margin-bottom: var(--spacing-md);
    min-width: 150px;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
    position: relative;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    flex: 1;
    font-size: 0.9rem;
    opacity: 0.7;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: #fff;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links {
        flex: 0 0 100%;
    }
    
    .link-group {
        flex: 0 0 45%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: var(--primary);
}

.prev-btn svg, .next-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

@media (max-width: 768px) {
    .service-carousel {
        justify-content: flex-start;
        padding: 20px 10px;
        gap: 15px;
    }
    
    .service-card {
        flex: 0 0 260px;
    }
}

/* 媒体查询 - 响应式设计 */

/* 大屏幕设备 (1200px以上) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }
    
    .landing-content {
        max-width: 800px;
    }
}

/* 中等屏幕设备 (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
        margin: 0 auto;
    }
    
    .landing-content {
        max-width: 700px;
    }
    
    .value-card {
        width: 30%;
    }
    
    .service-card {
        width: 280px;
    }
}

/* 平板设备 (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
        margin: 0 auto;
    }
    
    section {
        padding: 60px 4%;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .value-container {
        flex-direction: column;
        align-items: center;
    }
    
    .value-card {
        width: 80%;
        max-width: 400px;
        margin-bottom: 30px;
        transform: perspective(1000px) rotateX(7deg);
    }
    
    .value-card:hover {
        transform: perspective(1000px) rotateX(0deg) translateY(-5px);
    }
    
    .earth-container {
        height: 30vh;
    }
    
    .partner-icons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .data-visualization {
        flex-direction: column;
    }
    
    .growth-chart, .satisfaction-dashboard {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* 手机设备 (576px - 767px) */
@media (max-width: 767px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    section {
        padding: 50px 3%;
        min-height: auto;
    }
    
    .main-nav {
        padding: 15px 4%;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        order: 1;
        flex: 0 0 auto;
        font-size: 1rem;
    }
    
    .nav-toggle {
        display: block;
        order: 2;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        z-index: 102;
    }
    
    .nav-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--text);
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }
    
    .nav-toggle span:nth-child(1) {
        top: 0px;
    }
    
    .nav-toggle span:nth-child(2) {
        top: 10px;
    }
    
    .nav-toggle span:nth-child(3) {
        top: 20px;
    }
    
    .nav-toggle.open span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }
    
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }
    
    .nav-toggle.open span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 101;
        padding: 80px 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
    
    .lang-switch {
        order: 3;
        flex: 0 0 auto;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .glitch-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .value-card {
        width: 90%;
        transform: perspective(1000px) rotateX(5deg);
        margin-bottom: 40px;
    }
    
    .partner-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-carousel {
        padding: 10px;
    }
    
    .service-card {
        width: 280px;
        margin: 0 10px;
        padding: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, .footer-links {
        width: 100%;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
    }
    
    .link-group {
        width: 45%;
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* 小型手机设备 (小于576px) */
@media (max-width: 575px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .glitch-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .value-card {
        width: 100%;
    }
    
    .partner-icons {
        grid-template-columns: 1fr;
    }
    
    .link-group {
        width: 100%;
    }
    
    .earth-container {
        height: 25vh;
    }
    
    .service-card {
        width: 250px;
    }
    
    .carousel-controls {
        bottom: 5px;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .landing-section {
        height: auto;
        padding: 100px 0;
    }
    
    .earth-container {
        height: 50vh;
    }
    
    .value-card {
        width: 45%;
    }
    
    section {
        min-height: auto;
        padding: 40px 3%;
    }
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

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

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* 基本文本样式使用响应式字体变量 */
h1, .h1 {
    font-size: var(--font-size-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h2, .h2 {
    font-size: var(--font-size-xxl);
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h3, .h3 {
    font-size: var(--font-size-xl);
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}

h4, .h4 {
    font-size: var(--font-size-lg);
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
}

p {
    margin-bottom: var(--spacing-md);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 确保在小屏幕上首屏内容正确显示 */
@media (max-width: 768px) {
    .landing-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }
    
    .landing-section .container {
        padding: 0 var(--spacing-sm);
    }
    
    .landing-content {
        max-width: 100%;
    }
    
    .glitch-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .subtitle {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }
    
    .earth-container {
        height: 30vh;
    }
}

@media (max-width: 480px) {
    .landing-section {
        padding: 80px 0 40px;
    }
    
    .glitch-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    
    .subtitle {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .earth-container {
        height: 25vh;
    }
}

.svg-path-container {
    height: 20px;
    width: 100%;
    overflow: hidden;
}

.path-svg {
    width: 100%;
    height: 100%;
}

.grow-path {
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease;
}

.card-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0.7;
}

.effect-switcher {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.effect-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.effect-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.effect-btn.active {
    background: rgba(58, 134, 255, 0.4);
    box-shadow: 0 0 20px rgba(58, 134, 255, 0.4);
    border: 1px solid rgba(58, 134, 255, 0.6);
}

#collision-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
} 