/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --secondary-color: #42a5f5;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

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

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 首页横幅 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 150px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* 通用区块 */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* 关于我们 */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-card ul {
    list-style: none;
    padding-left: 0;
}

.about-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.about-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.team-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.feature h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* 业务范围 */
.business-pie {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

.pie-item {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) calc(var(--percent) * 1%), var(--bg-light) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.pie-content {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pie-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
}

.pie-label {
    font-size: 14px;
    color: var(--text-light);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.business-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.business-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 资质荣誉 */
.qual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.qual-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.qual-card:hover {
    transform: translateY(-5px);
}

.qual-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.qual-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* 服务网络 */
.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.network-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.network-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.network-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.network-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.network-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 解决方案 */
.solution-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.tab-pane {
    display: none;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.feature-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* 合作案例 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.case-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.case-desc {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
}

/* 联系我们 */
.contact-grid {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    margin-bottom: 10px;
}

.beian a {
    color: var(--secondary-color);
    text-decoration: none;
}

.beian a:hover {
    text-decoration: underline;
}

/* 动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

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

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-brand {
        font-size: 20px;
    }

    .nav-logo {
        height: 32px;
    }

    .hero-logo {
        width: 100px;
        margin-bottom: 20px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .business-pie {
        flex-direction: column;
        align-items: center;
    }

    .solution-tabs {
        flex-direction: column;
    }
}
