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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #0ea5e9;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

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

/* 头部样式 */
.header {
    background: var(--gradient-blue);
    color: white;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin: 20px 0 15px 0;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 300;
}

/* 主要内容区域 */
.main-content {
    padding: 20px 0;
}

.section {
    margin-bottom: 15px;
}

.section-content {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

/* 公司简介 */
.intro-section {
    margin-top: 0;
}

.intro-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 30px;
    border-left: 4px solid var(--primary-color);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: justify;
}

/* 核心业务 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.service-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 公司优势 */
.advantages-list {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: white;
    box-shadow: var(--shadow-sm);
    transform: translateX(10px);
}

.advantage-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.advantage-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.advantage-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 联系方式 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 100px;
}

.contact-value {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-value a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* 页脚 */
.footer {
    background: var(--gradient-blue);
    color: white;
    padding: 30px 40px;
    text-align: center;
    margin: 15px 0 20px 0;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    position: relative;
    z-index: 1;
}


.copyright {
    font-size: 0.95rem;
    opacity: 0.9;
}

.icp {
    font-size: 0.9rem;
    opacity: 0.8;
}

.icp a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.icp a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .header {
        padding: 40px 20px;
        margin: 15px 0 10px 0;
        border-radius: 12px;
    }

    .footer {
        padding: 25px 20px;
        margin: 10px 0 15px 0;
        border-radius: 12px;
    }

    .main-content {
        padding: 15px 0;
    }

    .section {
        margin-bottom: 10px;
    }

    .section-content {
        padding: 25px 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intro-text {
        font-size: 1rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .contact-label {
        min-width: auto;
    }

    .main-content {
        padding: 40px 0;
    }

    .section {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .header {
        padding: 30px 15px;
        margin: 10px 0 8px 0;
        border-radius: 12px;
    }

    .footer {
        padding: 20px 15px;
        margin: 8px 0 10px 0;
        border-radius: 12px;
    }

    .main-content {
        padding: 10px 0;
    }

    .section {
        margin-bottom: 8px;
    }

    .section-content {
        padding: 20px 15px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .service-card {
        padding: 25px 15px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .advantage-item {
        padding: 15px;
    }

    .container {
        padding: 0 15px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content {
    animation: fadeInUp 0.6s ease-out;
}

