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

:root {
    --primary-color: #1a5cff;
    --primary-dark: #0d3ed9;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    line-height: 1;
}

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

.nav-links a {
    font-size: 15px;
    color: var(--text-gray);
    transition: var(--transition);
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* 页面内容 */
.page-content {
    padding-top: 72px;
}

/* Hero 区域 */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #f0f7ff 0%, var(--bg-white) 100%);
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-desc {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 92, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* 页面标题区 */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, #f0f7ff 0%, var(--bg-white) 100%);
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.page-desc {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 服务卡片 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 40px 0 80px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e8f0ff 0%, #d4e4ff 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 关于我们内容区 */
.about-content {
    padding: 60px 0 80px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 16px;
    color: var(--text-gray);
    line-height: 2;
    text-align: center;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.value-item {
    background: var(--bg-light);
    padding: 28px 32px;
    border-radius: 12px;
    text-align: center;
}

.value-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.value-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

/* 联系信息 */
.contact-section {
    padding: 60px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.contact-value {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-cta {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.contact-cta-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-cta-desc {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: #9ca3af;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    font-size: 14px;
    line-height: 1.8;
}

.footer-content p {
    margin-bottom: 6px;
}

.footer-bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

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

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 60px 0 50px;
    }

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

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-desc {
        font-size: 15px;
    }

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

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

    .about-values {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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