/* 基础样式设置 */
:root {
    --primary-color: #0066FF;
    --secondary-color: #00A67E;
    --text-color: #FFFFFF;
    --light-text: #AAAAAA;
    --background: #121212;
    --light-bg: #1E1E1E;
    --border-color: #333333;
    --card-bg: #1E1E1E;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

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

/* 现代头部样式 */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.modern-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.contact-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background: #0052cc;
}

/* 英雄区域样式 */
.hero-section {
    padding: 12rem 0 6rem;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.company-name {
    font-size: 3.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

/* 按钮样式 */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.primary-btn, .secondary-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.secondary-btn {
    background: var(--light-bg);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* 服务区域样式 */
.services-section {
    padding: 6rem 0;
    background: var(--background);
    min-height: 100vh;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    width: 100%;
}

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

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 服务卡片图标样式增强 */
.service-card i {
    font-size: 3.5rem; /* 增大图标尺寸 */
    color: #3399ff; /* 更鲜亮的蓝色 */
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1); /* 悬停时图标稍微放大 */
    color: #66ccff; /* 悬停时颜色更亮 */
}

/* 为每个服务卡片设置不同的图标颜色 */
.service-card:nth-child(1) i {
    color: #ff6b6b; /* 新闻图标 - 红色调 */
}

.service-card:nth-child(2) i {
    color: #4ecdc4; /* 企业图标 - 青色调 */
}

.service-card:nth-child(3) i {
    color: #ffd166; /* 工具图标 - 黄色调 */
}

/* 悬停效果 */
.service-card:nth-child(1):hover i {
    color: #ff8a8a; /* 更亮的红色 */
}

.service-card:nth-child(2):hover i {
    color: #76e8e0; /* 更亮的青色 */
}

.service-card:nth-child(3):hover i {
    color: #ffe066; /* 更亮的黄色 */
}

/* 关于我们区域 */
.about-section {
    padding: 6rem 0;
    background: var(--background);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 0 2rem;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--light-text);
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* 联系我们区域 */
.contact-section {
    padding: 6rem 0;
    background: var(--background);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-section .container {
    width: 100%;
}

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

.contact-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

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

/* 社交媒体链接容器 */
.social-links-container {
    margin-top: 3rem;
    text-align: center;
}

/* 页脚样式 */
.modern-footer {
    background: var(--background);
    color: var(--text-color);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .modern-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 0.3rem 0.5rem;
    }
    
    .hero-section {
        padding: 8rem 0 4rem;
        min-height: 60vh;
    }
    
    .gradient-text {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-section,
    .services-section,
    .contact-section {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .service-card,
    .contact-card {
        padding: 1.8rem;
    }
    
    .service-card i {
        font-size: 3rem;
    }
    
    .about-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .gradient-text {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-section {
        padding: 6rem 0 3rem;
        min-height: 50vh;
    }
    
    nav a {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 320px) {
    .gradient-text {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 5rem 0 2rem;
        min-height: 40vh;
    }
    
    .service-card,
    .contact-card {
        padding: 1rem;
    }
    
    .service-card i {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .about-text {
        font-size: 0.9rem;
    }
}

.hero-link {
    color: #66a3ff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1.4rem;
    border-bottom: 2px solid #66a3ff;
    padding-bottom: 4px;
}

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

.hero-link::after {
    content: none;
}

/* Hero链接移动端优化 */
@media (max-width: 768px) {
    .hero-link {
        font-size: 1.2rem;
        padding-bottom: 3px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-link {
        font-size: 1rem;
        padding-bottom: 2px;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
}

@media (max-width: 320px) {
    .hero-link {
        font-size: 0.9rem;
        padding-bottom: 1px;
    }
}

/* 移除微信公众号图标样式 */
/* .wechat-official-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 10px;
    object-fit: cover;
} */

.service-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
} 