/* ===== 基础变量定义 ===== */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #0099cc;
    --accent-color: #ff6b35;
    --dark-color: #0a0a0a;
    --light-dark: #1a1a1a;
    --white-color: #ffffff;
    --gray-color: #cccccc;
    --light-gray: #f8f9fa;
    --text-color: #333333;
    --text-light: #666666;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    
    /* 科技感渐变 */
    --tech-gradient: linear-gradient(135deg, #00d4ff, #0099cc, #667eea);
    --neon-gradient: linear-gradient(45deg, #00d4ff, #ff6b35, #00d4ff);
    --cyber-gradient: linear-gradient(135deg, #0a0a0a, #1a1a1a, #2a2a2a);
    
    /* 阴影效果 */
    --neon-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    --tech-shadow: 0 10px 30px rgba(0, 153, 204, 0.2);
    --deep-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    /* 动画时间 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== 全局重置和基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--dark-color);
    overflow-x: hidden;
    position: relative;
}

/* 科技感背景动画 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    z-index: -2;
    animation: backgroundPulse 8s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* 动态网格背景 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ===== 容器和布局 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--tech-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.logo:hover::after {
    transform: scaleX(1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    transition: all var(--transition-normal);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--tech-gradient);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* 语言切换按钮样式 */
.lang-switch {
    margin-left: 20px;
}

.lang-switch .lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.lang-switch .lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: left var(--transition-normal);
}

.lang-switch .lang-btn:hover::before {
    left: 100%;
}

.lang-switch .lang-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
    color: var(--white-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.lang-switch .lang-btn i {
    font-size: 1rem;
}

.lang-switch .lang-btn span {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

/* ===== 英雄区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--cyber-gradient);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 107, 53, 0.2) 0%, transparent 50%);
    animation: heroGlow 6s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6)); }
}

.hero p {
    font-size: 1.3rem;
    color: var(--light-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background: var(--tech-gradient);
    color: var(--white-color);
    box-shadow: var(--neon-shadow);
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--neon-shadow);
}

/* ===== 区域标题 ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 15px;
    position: relative;
}

.line {
    width: 80px;
    height: 4px;
    background: var(--tech-gradient);
    margin: 0 auto 20px;
    border-radius: 2px;
    position: relative;
}

.line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.section-header p {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 通用区域样式 ===== */
section {
    padding: 100px 0;
    position: relative;
}

section:nth-child(even) {
    background: var(--light-dark);
}

/* ===== 关于我们 ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.about-text h3::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 4px;
    height: 100%;
    background: var(--tech-gradient);
    transform: translateY(-50%);
}

.about-text p {
    color: var(--light-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-text ul {
    list-style: none;
}

.about-text li {
    color: var(--light-gray);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.about-text li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.about-text span {
    color: var(--primary-color);
    font-weight: 600;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--deep-shadow);
    transition: transform var(--transition-normal);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    background: var(--tech-gradient);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.3;
}

/* ===== 服务网格 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-dark);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left var(--transition-slow);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--neon-shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--tech-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--tech-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover .service-icon::after {
    opacity: 0.3;
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.service-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--white-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* ===== 平台网格 ===== */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.platform-card {
    background: var(--light-dark);
    border-radius: 15px;
    padding: 20px 15px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.1);
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--tech-shadow);
}

.platform-icon {
    width: 60px;
    height: 60px;
    background: var(--tech-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.platform-icon i {
    font-size: 1.8rem;
    color: var(--white-color);
}

.platform-card h3 {
    font-size: 1.3rem;
    color: var(--white-color);
    margin-bottom: 20px;
    text-align: center;
}

.platform-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.platform-services,
.platform-advantages {
    flex: 1;
}

.platform-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.platform-content ul {
    list-style: none;
    margin: 0;
}

.platform-content li {
    color: var(--light-gray);
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
    font-size: 0.85rem;
    line-height: 1.4;
}

.platform-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* 强制四大投流渠道保持4X1布局 - 所有屏幕尺寸 */
@media (max-width: 1400px) {
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        max-width: 100%;
    }
    
    .platform-card {
        padding: 18px 12px;
        min-height: 400px;
    }
}

@media (max-width: 1200px) {
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px;
        max-width: 100%;
    }
    
    .platform-card {
        padding: 15px 10px;
        min-height: 380px;
    }
    
    .platform-content h4 {
        font-size: 0.9rem;
    }
    
    .platform-content li {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
}

@media (max-width: 992px) {
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px;
    }
    
    .platform-card {
        padding: 12px 8px;
        min-height: 350px;
    }
    
    .platform-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .platform-icon i {
        font-size: 1.5rem;
    }
    
    .platform-card h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .platform-content h4 {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .platform-content li {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }
}

@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px;
    }
    
    .platform-card {
        padding: 10px 6px;
        min-height: 320px;
    }
    
    .platform-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .platform-icon i {
        font-size: 1.3rem;
    }
    
    .platform-card h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .platform-content h4 {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .platform-content li {
        font-size: 0.7rem;
        margin-bottom: 3px;
        padding-left: 12px;
    }
    
    .platform-content li::before {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px;
    }
    
    .platform-card {
        padding: 8px 4px;
        min-height: 280px;
    }
    
    .platform-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 10px;
    }
    
    .platform-icon i {
        font-size: 1.1rem;
    }
    
    .platform-card h3 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .platform-content {
        gap: 10px;
    }
    
    .platform-content h4 {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }
    
    .platform-content li {
        font-size: 0.65rem;
        margin-bottom: 2px;
        padding-left: 10px;
        line-height: 1.3;
    }
    
    .platform-content li::before {
        font-size: 0.6rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px;
    }
    
    .platform-card {
        padding: 6px 3px;
        min-height: 250px;
    }
    
    .platform-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 8px;
    }
    
    .platform-icon i {
        font-size: 1rem;
    }
    
    .platform-card h3 {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .platform-content h4 {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    
    .platform-content li {
        font-size: 0.6rem;
        margin-bottom: 1px;
        padding-left: 8px;
        line-height: 1.2;
    }
    
    .platform-content li::before {
        font-size: 0.5rem;
    }
}

/* 覆盖可能冲突的响应式规则 */
@media (max-width: 1200px) {
    /* 确保platforms-grid不被其他规则覆盖 */
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* 覆盖通用的1列布局规则，专门为platforms-grid保持4列 */
    .services-grid,
    .traffic-types-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ===== 成功案例 ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--light-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--tech-shadow);
}

.case-logo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
}

.case-logo i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.case-logo span {
    font-size: 1.2rem;
    font-weight: 600;
}

.case-info {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 107, 53, 0.1));
    padding: 15px;
    color: var(--white-color);
    text-align: center;
    transform: translateY(0);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.case-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
    color: var(--white-color);
}

.case-info p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
    color: var(--light-gray);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .case-info {
        padding: 12px;
    }
    
    .case-info h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .case-info p {
        font-size: 0.75rem;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .case-card {
        height: 280px;
    }
    
    .case-info {
        padding: 10px;
    }
    
    .case-info h3 {
        font-size: 0.85rem;
    }
    
    .case-info p {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
    }
}

/* 品牌特定样式 */
.case-card:nth-child(1) .case-logo { background: linear-gradient(135deg, #ff6b35, #f7931e); }
.case-card:nth-child(2) .case-logo { background: linear-gradient(135deg, #d4af37, #ffd700); }
.case-card:nth-child(3) .case-logo { background: linear-gradient(135deg, #1e90ff, #00bfff); }
.case-card:nth-child(4) .case-logo { background: linear-gradient(135deg, #ffd700, #ffed4e); }
.case-card:nth-child(5) .case-logo { background: linear-gradient(135deg, #4169e1, #6495ed); }
.case-card:nth-child(6) .case-logo { background: linear-gradient(135deg, #daa520, #ffd700); }

/* ===== 联系我们 ===== */
.contact {
    background: var(--light-dark);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-form {
    background: var(--dark-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tech-gradient);
    opacity: 0.8;
}

.contact-form h3 {
    color: var(--white-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--white-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    background: var(--light-dark);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: var(--white-color);
    font-size: 1rem;
    transition: all var(--transition-normal);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-btn {
    background: var(--tech-gradient);
    color: var(--white-color);
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--neon-shadow);
}

.contact-info {
    padding: 40px;
    background: var(--dark-color);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tech-gradient);
    opacity: 0.8;
}

.contact-info h3 {
    color: var(--white-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--light-dark);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--tech-gradient);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.info-item:hover::before {
    transform: scaleY(1);
}

.info-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
}

.info-text p:first-child {
    color: var(--white-color);
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 1rem;
}

.info-text p:last-child {
    color: var(--light-gray);
    margin: 0;
    font-size: 0.95rem;
}

/* 立即咨询按钮区域 */
.instant-consult {
    margin: 30px 0;
    text-align: center;
}

.consult-btn {
    background: var(--tech-gradient);
    color: var(--white-color);
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.consult-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.consult-btn:hover::before {
    left: 100%;
}

.consult-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--neon-shadow);
}

/* ===== 社交媒体链接 ===== */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform var(--transition-normal);
    z-index: 0;
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a i {
    font-size: 1.3rem;
    color: var(--white-color);
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

/* 特定社交媒体样式 */
.social-links a:nth-child(1) { 
    background: linear-gradient(135deg, #0088cc, #00aced);
    border-color: rgba(0, 136, 204, 0.3);
}
.social-links a:nth-child(2) { 
    background: linear-gradient(135deg, #1aad19, #2dc100);
    border-color: rgba(26, 173, 25, 0.3);
}
.social-links a:nth-child(3) { 
    background: linear-gradient(135deg, #1e90ff, #00bfff);
    border-color: rgba(30, 144, 255, 0.3);
}
.social-links a:nth-child(4) { 
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: rgba(37, 211, 102, 0.3);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
    border-color: var(--primary-color);
}

.social-links a:hover i {
    transform: scale(1.2);
}

/* 响应式设计 - 联系我们 */
@media (max-width: 1200px) {
    .contact-content {
        gap: 40px;
    }
    
    .contact-form,
    .contact-info {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form,
    .contact-info {
        padding: 30px 25px;
    }
    
    .contact-form h3,
    .contact-info h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .info-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .info-item i {
        margin-right: 15px;
        font-size: 1.3rem;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
    }
    
    .social-links a i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-form,
    .contact-info {
        padding: 25px 20px;
    }
    
    .contact-form h3,
    .contact-info h3 {
        font-size: 1.4rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .submit-btn,
    .consult-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .info-item i {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 1.5rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .social-links a i {
        font-size: 1.1rem;
    }
}

/* ===== 社交媒体链接 ===== */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform var(--transition-normal);
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a i {
    font-size: 1.3rem;
    color: var(--white-color);
    position: relative;
    z-index: 1;
}

/* 特定社交媒体样式 */
.social-links a:nth-child(1) { background: linear-gradient(135deg, #0088cc, #00aced); }
.social-links a:nth-child(2) { background: linear-gradient(135deg, #1aad19, #2dc100); }
.social-links a:nth-child(3) { background: linear-gradient(135deg, #1e90ff, #00bfff); }
.social-links a:nth-child(4) { background: linear-gradient(135deg, #25d366, #128c7e); }

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* ===== 页脚重新设计 ===== */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    text-align: left;
}

.footer-logo h3 {
    font-size: 2rem;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-logo p {
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.footer-links,
.footer-services {
    text-align: left;
}

.footer-links h4,
.footer-services h4,
.footer-newsletter h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--tech-gradient);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: var(--light-gray);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    padding-left: 15px;
}

.footer-links a::before,
.footer-services a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: all var(--transition-normal);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a:hover::before,
.footer-services a:hover::before {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.footer-newsletter {
    text-align: left;
}

.footer-newsletter p {
    color: var(--light-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-newsletter form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 15px;
    background: var(--light-dark);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.footer-newsletter input::placeholder {
    color: var(--light-gray);
}

.footer-newsletter button {
    padding: 12px 15px;
    background: var(--tech-gradient);
    border: none;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-normal);
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-newsletter button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--neon-shadow);
}

.footer-newsletter button i {
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: var(--light-gray);
    margin: 0;
    font-size: 0.9rem;
    position: relative;
}

.footer-bottom p::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--tech-gradient);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-newsletter {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 20px;
        padding-top: 30px;
        border-top: 1px solid rgba(0, 212, 255, 0.1);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        padding: 40px 0 30px;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-newsletter {
        grid-column: 1 / -1;
        margin-top: 30px;
    }
    
    .footer-newsletter form {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-newsletter button {
        align-self: center;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 0 20px;
        text-align: center;
    }
    
    .footer-links,
    .footer-services {
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-services h4::after,
    .footer-newsletter h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a,
    .footer-services a {
        padding-left: 0;
        display: inline-block;
        margin: 0 10px;
    }
    
    .footer-links a::before,
    .footer-services a::before {
        display: none;
    }
    
    .footer-logo h3 {
        font-size: 1.8rem;
    }
}

/* ===== 动画效果 ===== */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 性能优化样式 */
.lazy-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.lazy-section.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 回到顶部按钮样式 */
.back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.back-to-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4) !important;
}

/* 性能通知样式 */
.performance-notification.warning {
    border-left-color: #ff9800;
}

.performance-notification.error {
    border-left-color: #f44336;
}

.performance-notification.success {
    border-left-color: #4caf50;
}

/* ===== 悬浮TG在线客服 ===== */
.floating-buttons-container {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* ===== 统一的悬浮按钮样式 ===== */
.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* ===== 悬浮TG在线客服优化 ===== */
.floating-tg-chat {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tg-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 50%, #0088cc 100%);
    color: white;
    text-decoration: none;
    border-radius: 50%; /* 改为完全圆形 */
    width: 60px; /* 固定宽度 */
    height: 60px; /* 固定高度 */
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.tg-float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tg-float-btn:hover::before {
    left: 100%;
}

.tg-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.tg-icon-wrapper i {
    font-size: 1.8rem;
    animation: tg-bounce 2s infinite;
    color: white;
}

.tg-float-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 136, 204, 0.6);
}

.tg-float-btn:active {
    transform: translateY(-2px) scale(1.05);
}

/* 光圈特效 */
.tg-pulse-ring,
.tg-pulse-ring-2,
.tg-pulse-ring-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(0, 136, 204, 0.6);
    border-radius: 50%;
    pointer-events: none;
}

.tg-pulse-ring {
    width: 80px;
    height: 80px;
    animation: tg-pulse 2s infinite;
    animation-delay: 0s;
}

.tg-pulse-ring-2 {
    width: 100px;
    height: 100px;
    animation: tg-pulse 2s infinite;
    animation-delay: 0.3s;
    border-color: rgba(34, 158, 217, 0.4);
}

.tg-pulse-ring-3 {
    width: 120px;
    height: 120px;
    animation: tg-pulse 2s infinite;
    animation-delay: 0.6s;
    border-color: rgba(0, 136, 204, 0.2);
}

@keyframes tg-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes tg-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* 额外的光效 */
.floating-tg-chat::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: tg-glow 3s infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes tg-glow {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* 悬停提示文字 */
.tg-float-btn::after {
    content: '在线客服';
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.tg-float-btn:hover::after {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .floating-buttons-container {
        right: 20px;
        bottom: 20px;
        gap: 12px;
    }
    
    .floating-tg-chat {
        right: 20px;
        bottom: 20px;
    }
    
    .floating-btn,
    .tg-float-btn {
        width: 55px;
        height: 55px;
    }
    
    .tg-icon-wrapper i {
        font-size: 1.6rem;
    }
    
    .tg-pulse-ring {
        width: 70px;
        height: 70px;
    }
    
    .tg-pulse-ring-2 {
        width: 85px;
        height: 85px;
    }
    
    .tg-pulse-ring-3 {
        width: 100px;
        height: 100px;
    }
    
    .floating-tg-chat::after {
        width: 120px;
        height: 120px;
    }
    
    /* 移动端隐藏悬停提示 */
    .tg-float-btn::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .floating-buttons-container {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }
    
    .floating-tg-chat {
        right: 15px;
        bottom: 15px;
    }
    
    .floating-btn,
    .tg-float-btn {
        width: 50px;
        height: 50px;
    }
    
    .tg-icon-wrapper i {
        font-size: 1.4rem;
    }
    
    .tg-pulse-ring {
        width: 60px;
        height: 60px;
    }
    
    .tg-pulse-ring-2 {
        width: 75px;
        height: 75px;
    }
    
    .tg-pulse-ring-3 {
        width: 90px;
        height: 90px;
    }
}

/* 减少动画在低性能设备上的影响 */
@media (prefers-reduced-motion: reduce) {
    .tg-pulse-ring,
    .tg-pulse-ring-2,
    .tg-pulse-ring-3,
    .floating-tg-chat::after {
        animation: none;
    }
    
    .tg-icon-wrapper i {
        animation: none;
    }
}

/* 页面切换动画增强 */
.section-transition {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-transition.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 滚动指示器 */
.scroll-indicator {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 4px;
    height: 60px;
    background: var(--tech-gradient);
    border-radius: 2px;
    z-index: 9999;
    opacity: 0.8;
}

/* 元素高亮效果 */
.element-highlight {
    position: relative;
    z-index: 1;
}

.element-highlight::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    z-index: -1;
    animation: highlight-pulse 2s ease-out;
}

@keyframes highlight-pulse {
    0% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* 优化GPU加速 */
.traffic-type-card,/* ===== 精准流量类型 ===== */
.traffic-types {
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.traffic-types::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.traffic-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.traffic-type-card {
    background: var(--light-dark);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.traffic-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--tech-gradient);
    transition: left var(--transition-slow);
}

.traffic-type-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.02), rgba(255, 107, 53, 0.02));
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.traffic-type-card:hover::before {
    left: 0;
}

.traffic-type-card:hover::after {
    opacity: 1;
}

.traffic-type-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--tech-shadow);
    border-color: var(--primary-color);
}

.traffic-type-icon {
    width: 90px;
    height: 90px;
    background: var(--tech-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--neon-shadow);
    animation: pulse 3s infinite;
    position: relative;
    z-index: 2;
}

.traffic-type-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--tech-gradient);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

.traffic-type-icon i {
    font-size: 2.2rem;
    color: var(--white-color);
    z-index: 1;
}

.traffic-type-card h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.traffic-type-card > p {
    color: var(--light-gray);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: center;
}

.traffic-details {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.traffic-details li {
    color: var(--light-gray);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color var(--transition-normal);
}

.traffic-details li:last-child {
    margin-bottom: 0;
}

.traffic-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    width: 18px;
    height: 18px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.traffic-type-card:hover .traffic-details li {
    color: var(--white-color);
}

/* 流量类型特定颜色 */
.traffic-type-card:nth-child(1) .traffic-type-icon { 
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.traffic-type-card:nth-child(2) .traffic-type-icon { 
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.traffic-type-card:nth-child(3) .traffic-type-icon { 
    background: linear-gradient(135deg, #ff6b9d, #ff1744);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.traffic-type-card:nth-child(4) .traffic-type-icon { 
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.traffic-type-card:nth-child(5) .traffic-type-icon { 
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.3);
}

.traffic-type-card:nth-child(6) .traffic-type-icon { 
    background: linear-gradient(135deg, #ff9800, #f57c00);
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.3);
}

/* 响应式设计 - 流量类型 */
@media (max-width: 1200px) {
    .traffic-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .traffic-type-card {
        min-height: 380px;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .traffic-types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .traffic-type-card {
        padding: 25px 20px;
        min-height: 350px;
    }
    
    .traffic-type-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }
    
    .traffic-type-icon i {
        font-size: 2rem;
    }
    
    .traffic-type-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .traffic-type-card > p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .traffic-details {
        padding: 15px;
    }
    
    .traffic-details li {
        font-size: 0.85rem;
        margin-bottom: 8px;
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .traffic-type-card {
        padding: 20px 15px;
        min-height: 320px;
    }
    
    .traffic-type-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }
    
    .traffic-type-icon i {
        font-size: 1.8rem;
    }
    
    .traffic-type-card h3 {
        font-size: 1.2rem;
    }
    
    .traffic-details {
        padding: 12px;
    }
}

// ... existing code ...
/* ===== 精准流量类型 ===== */
.traffic-types {
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.traffic-types::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.traffic-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.traffic-type-card {
    background: var(--light-dark);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.traffic-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--tech-gradient);
    transition: left var(--transition-slow);
}

.traffic-type-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.02), rgba(255, 107, 53, 0.02));
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.traffic-type-card:hover::before {
    left: 0;
}

.traffic-type-card:hover::after {
    opacity: 1;
}

.traffic-type-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--tech-shadow);
    border-color: var(--primary-color);
}

.traffic-type-icon {
    width: 90px;
    height: 90px;
    background: var(--tech-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--neon-shadow);
    animation: pulse 3s infinite;
    position: relative;
    z-index: 2;
}

.traffic-type-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--tech-gradient);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

.traffic-type-icon i {
    font-size: 2.2rem;
    color: var(--white-color);
    z-index: 1;
}

.traffic-type-card h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.traffic-type-card > p {
    color: var(--light-gray);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: center;
}

.traffic-details {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.traffic-details li {
    color: var(--light-gray);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color var(--transition-normal);
}

.traffic-details li:last-child {
    margin-bottom: 0;
}

.traffic-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    width: 18px;
    height: 18px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.traffic-type-card:hover .traffic-details li {
    color: var(--white-color);
}

/* 流量类型特定颜色 */
.traffic-type-card:nth-child(1) .traffic-type-icon { 
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.traffic-type-card:nth-child(2) .traffic-type-icon { 
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.traffic-type-card:nth-child(3) .traffic-type-icon { 
    background: linear-gradient(135deg, #ff6b9d, #ff1744);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.traffic-type-card:nth-child(4) .traffic-type-icon { 
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.traffic-type-card:nth-child(5) .traffic-type-icon { 
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.3);
}

.traffic-type-card:nth-child(6) .traffic-type-icon { 
    background: linear-gradient(135deg, #ff9800, #f57c00);
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.3);
}

/* 响应式设计 - 流量类型 */
@media (max-width: 1200px) {
    .traffic-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .traffic-type-card {
        min-height: 380px;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .traffic-types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .traffic-type-card {
        padding: 25px 20px;
        min-height: 350px;
    }
    
    .traffic-type-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }
    
    .traffic-type-icon i {
        font-size: 2rem;
    }
    
    .traffic-type-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .traffic-type-card > p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .traffic-details {
        padding: 15px;
    }
    
    .traffic-details li {
        font-size: 0.85rem;
        margin-bottom: 8px;
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .traffic-type-card {
        padding: 20px 15px;
        min-height: 320px;
    }
    
    .traffic-type-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }
    
    .traffic-type-icon i {
        font-size: 1.8rem;
    }
    
    .traffic-type-card h3 {
        font-size: 1.2rem;
    }
    
    .traffic-details {
        padding: 12px;
    }
}

.platform-card,
.case-card {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px;
    }
    
    .platform-card {
        min-height: 380px;
        padding: 15px 10px;
    }
    
    .platform-content h4 {
        font-size: 0.9rem;
    }
    
    .platform-content li {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .traffic-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left var(--transition-normal);
    }
    
    .nav-links.active {
        left: 0;
    }

    /* 移动端语言切换按钮样式 */
    .lang-switch {
        margin-left: 0;
        margin-top: 20px;
    }

    .lang-switch .lang-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid,
    .traffic-types-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    /* 确保platforms-grid保持4列布局 */
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px;
    }
    
    .platform-card {
        padding: 10px 6px;
        min-height: 320px;
    }
    
    .platform-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .platform-icon i {
        font-size: 1.3rem;
    }
    
    .platform-card h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .platform-content h4 {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .platform-content li {
        font-size: 0.7rem;
        margin-bottom: 3px;
        padding-left: 12px;
    }
    
    .platform-content li::before {
        font-size: 0.7rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .service-card,
    .platform-card,
    .traffic-type-card {
        padding: 25px 20px;
    }
    
    .contact-form,
    .contact-info {
        padding: 25px;
    }
}

/* 业务展示区域样式 */
.business-showcase {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    text-align: center;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.business-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.business-showcase > * {
    position: relative;
    z-index: 2;
}

.showcase-header {
    margin-bottom: 25px;
}

.showcase-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.showcase-header p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.platforms-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.platform-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.platform-showcase-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
}

.platform-showcase-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.google-color {
    background: linear-gradient(45deg, #4285f4, #34a853);
    color: white;
}

.facebook-color {
    background: linear-gradient(45deg, #1877f2, #42a5f5);
    color: white;
}

.twitter-color {
    background: linear-gradient(45deg, #1da1f2, #0d8bf0);
    color: white;
}

.tiktok-color {
    background: linear-gradient(45deg, #ff0050, #ff4081);
    color: white;
}

.platform-showcase-item span {
    font-size: 12px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.showcase-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 11px;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .business-showcase {
        padding: 20px;
    }
    
    .platforms-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .platform-showcase-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .showcase-header h3 {
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .showcase-stats {
        flex-direction: column;
        gap: 10px;
    }
}

/* TG弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    background: var(--light-dark);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--deep-shadow);
    transform: translateY(-50px);
    transition: transform var(--transition-normal);
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: var(--tech-gradient);
    color: var(--white-color);
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.modal-header h3 i {
    font-size: 1.6rem;
}

.close {
    color: var(--white-color);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px 30px;
    background: var(--light-dark);
}

.tg-info {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--dark-color);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.tg-avatar {
    width: 60px;
    height: 60px;
    background: var(--tech-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: var(--neon-shadow);
}

.tg-avatar i {
    font-size: 1.8rem;
    color: var(--white-color);
}

.tg-details h4 {
    margin: 0 0 5px 0;
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.tg-username {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
}

.tg-description {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.tg-btn {
    background: var(--tech-gradient);
    color: var(--white-color);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--neon-shadow);
    position: relative;
    overflow: hidden;
}

.tg-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.tg-btn:hover::before {
    left: 100%;
}

.tg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--light-gray);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.secondary-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

/* 响应式弹窗 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 20px 25px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 30px 25px;
    }
    
    .tg-info {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .tg-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .tg-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 15% auto;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
}

/* ===== 版面排版优化 ===== */

/* 优化容器间距 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 优化section间距 */
section {
    padding: 80px 0;
}

section:first-of-type {
    padding-top: 120px; /* 为导航栏留出空间 */
}

/* 优化标题间距 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 优化网格布局 */
.services-grid,
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.traffic-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 优化卡片样式 */
.service-card,
.platform-card,
.traffic-type-card,
.case-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card:hover,
.platform-card:hover,
.traffic-type-card:hover,
.case-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

/* 优化图标样式 */
.service-icon,
.platform-icon,
.traffic-icon {
    width: 60px;
    height: 60px;
    background: var(--tech-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--white-color);
}

/* 优化文本排版 */
.service-card h3,
.platform-card h3,
.traffic-type-card h3,
.case-card h3 {
    color: var(--white-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.service-card p,
.platform-card p,
.traffic-type-card p,
.case-card p {
    color: var(--light-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 优化关于我们部分 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-text p {
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    color: var(--light-gray);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.about-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.about-text li span {
    color: var(--primary-color);
    font-weight: 600;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 优化联系表单 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form,
.contact-info {
    background: rgba(26, 26, 26, 0.8);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: var(--white-color);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* 优化按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: var(--tech-gradient);
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

/* 响应式优化 */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .services-grid,
    .platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .platforms-grid,
    .traffic-types-grid,
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card,
    .platform-card,
    .traffic-type-card,
    .case-card {
        padding: 25px;
    }
    
    .contact-form,
    .contact-info {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .platform-card,
    .traffic-type-card,
    .case-card {
        padding: 20px;
    }
    
    .contact-form,
    .contact-info {
        padding: 25px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* ===== 音效控制面板样式 ===== */
.sound-control-panel {
    position: fixed;
    top: 50%;
    right: -300px;
    transform: translateY(-50%);
    width: 280px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* 公告弹窗样式 */
.announcement-modal {
    z-index: 10001; /* 比普通弹窗层级更高 */
}

.announcement-content {
    max-width: 600px;
    background: var(--dark-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.announcement-header {
    background: linear-gradient(135deg, var(--primary-color), #ff6b35);
    position: relative;
    overflow: hidden;
}

.announcement-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.announcement-body {
    padding: 30px;
    background: var(--light-dark);
}

.announcement-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--dark-color);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.announcement-icon {
    width: 60px;
    height: 60px;
    background: var(--tech-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: var(--neon-shadow);
    flex-shrink: 0;
}

.announcement-icon i {
    font-size: 1.8rem;
    color: var(--white-color);
}

.announcement-text h4 {
    margin: 0 0 10px 0;
    color: var(--white-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.announcement-text p {
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.announcement-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--dark-color);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.feature-item span {
    color: var(--white-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.announcement-buttons {
    gap: 20px;
}

.cooperation-btn {
    background: var(--tech-gradient);
    flex: 1;
    justify-content: center;
    font-size: 1.1rem;
    padding: 15px 25px;
}

.close-announcement {
    flex: 0 0 auto;
    min-width: 120px;
}

/* 响应式公告弹窗 */
@media (max-width: 768px) {
    .announcement-content {
        width: 95%;
        max-width: none;
    }
    
    .announcement-info {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .announcement-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .announcement-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .announcement-buttons {
        flex-direction: column;
    }
    
    .cooperation-btn,
    .close-announcement {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .announcement-body {
        padding: 20px 15px;
    }
    
    .announcement-text h4 {
        font-size: 1.1rem;
    }
    
    .announcement-text p {
        font-size: 0.9rem;
    }
    
    .feature-item {
        padding: 10px 12px;
    }
    
    .feature-item span {
        font-size: 0.9rem;
    }
}

.sound-control-panel.open {
    right: 20px;
}

.sound-control-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 212, 255, 0.05) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(255, 107, 53, 0.05) 100%);
    pointer-events: none;
}

.sound-panel-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.sound-panel-title {
    color: var(--white-color);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sound-panel-title i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.sound-panel-close {
    background: none;
    border: none;
    color: var(--light-gray);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all var(--transition-normal);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-panel-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    transform: rotate(90deg);
}

.sound-panel-body {
    padding: 20px;
}

.sound-control-group {
    margin-bottom: 25px;
}

.sound-control-group:last-child {
    margin-bottom: 0;
}

.sound-control-label {
    color: var(--light-gray);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.sound-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all var(--transition-normal);
}

.sound-toggle:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
}

.sound-toggle-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sound-toggle-icon {
    width: 35px;
    height: 35px;
    background: var(--tech-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1rem;
}

.sound-toggle-text {
    color: var(--white-color);
    font-weight: 500;
}

.sound-switch {
    position: relative;
    width: 50px;
    height: 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.sound-switch.active {
    background: var(--tech-gradient);
}

.sound-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: var(--white-color);
    border-radius: 50%;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sound-switch.active::before {
    transform: translateX(25px);
}

.sound-volume-control {
    margin-bottom: 15px;
}

.sound-volume-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.sound-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--tech-gradient);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 212, 255, 0.3);
    transition: all var(--transition-normal);
}

.sound-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 10px rgba(0, 212, 255, 0.5);
}

.sound-volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--tech-gradient);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 212, 255, 0.3);
}

.sound-volume-display {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
}

.sound-test-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.sound-test-btn {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--white-color);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sound-test-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.sound-test-btn i {
    font-size: 0.9rem;
}

.sound-panel-toggle {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--tech-gradient);
    border: none;
    border-radius: 50%;
    color: var(--white-color);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    z-index: 9999;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-panel-toggle:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.sound-panel-toggle.panel-open {
    right: 320px;
}

/* 音效可视化指示器 */
.sound-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 10px;
    height: 20px;
}

.sound-bar {
    width: 3px;
    background: var(--tech-gradient);
    border-radius: 2px;
    animation: soundWave 1s ease-in-out infinite;
}

.sound-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.sound-bar:nth-child(2) { height: 12px; animation-delay: 0.1s; }
.sound-bar:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.sound-bar:nth-child(4) { height: 10px; animation-delay: 0.3s; }
.sound-bar:nth-child(5) { height: 14px; animation-delay: 0.4s; }

@keyframes soundWave {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* 响应式音效控制面板 */
@media (max-width: 768px) {
    .sound-control-panel {
        width: 260px;
        right: -280px;
    }
    
    .sound-control-panel.open {
        right: 10px;
    }
    
    .sound-panel-toggle {
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .sound-panel-toggle.panel-open {
        right: 280px;
    }
    
    .sound-test-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .sound-control-panel {
        width: calc(100vw - 20px);
        right: calc(-100vw + 10px);
    }
    
    .sound-control-panel.open {
        right: 10px;
    }
    
    .sound-panel-toggle.panel-open {
        right: calc(100vw - 40px);
    }
}

/* 音效状态指示器 */
.sound-status-indicator {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(0, 212, 255, 0.9);
    color: var(--white-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sound-status-indicator.show {
    transform: translateX(0);
}

.sound-status-indicator i {
    margin-right: 5px;
}