:root {
    --primary-color: #0062cc;
    --primary-light: #e7f1ff;
    --text-main: #2c3e50;
    --text-muted: #5a6772;
    --white: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    background-color: var(--white);
}

/* 导航栏美化 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    height: 70px;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.4rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.links {
    display: flex;
    gap: 35px;
}

.links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

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

.links a:hover::after {
    width: 100%;
}

/* Hero 紧凑化 */
.hero {
    background: linear-gradient(135deg, #0056b3 0%, #00aaff 100%);
    color: var(--white);
    padding: 60px 10%; /* 减小了上下边距 */
    text-align: center;
}

.hero h1 { font-size: 2.2rem; margin-bottom: 15px; letter-spacing: 2px; }
.hero p { font-size: 1.1rem; opacity: 0.9; margin: 0; }

/* 容器与间距控制 */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 50px 0; /* 统一下调间距 */
}

/* 模块标题 */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

/* 简介模块升级 */
.intro-section { 
    background: #fff; 
    padding: 80px 0; /* 适当增加留白更透气 */
}

.intro-flex {
    display: flex;
    align-items: center;
    gap: 60px; /* 左右间距 */
}

.intro-text {
    flex: 1;
    text-align: left; /* 改为左对齐 */
}

.intro-text h2 { 
    color: var(--primary-color); 
    margin-bottom: 15px; 
    font-size: 2rem; 
    font-weight: 700;
}

/* 标题下方的精致装饰线 */
.accent-line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-bottom: 25px;
    border-radius: 2px;
}

.intro-text p { 
    color: var(--text-muted); 
    margin-bottom: 20px; 
    font-size: 1.1rem; 
    line-height: 1.8;
}

.intro-text strong {
    color: var(--text-main);
    border-bottom: 2px solid var(--primary-light); /* 给重点词汇加个淡色背景或下划线 */
}

/* 右侧图片样式 */
.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--primary-light); /* 增加一个偏移阴影装饰 */
    object-fit: cover;
}

/* 移动端适配：屏幕小时恢复堆叠 */
@media (max-width: 768px) {
    .intro-flex {
        flex-direction: column;
        gap: 30px;
    }
    .intro-text {
        text-align: center;
    }
    .accent-line {
        margin-left: auto;
        margin-right: auto;
    }
}

/* 价值卡片网格 */
.values-section { background-color: #f9fbff; }
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
}

.card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #eee;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card .icon { font-size: 2.5rem; margin-bottom: 15px; display: block; }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--primary-color); }
.card p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* 页脚收紧 */
footer {
    background: #1a1c1e;
    color: #aeb5bc;
    padding: 40px 8% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-info h3 { color: #fff; margin-bottom: 15px; font-size: 1.1rem; }
.footer-info p { margin: 5px 0; font-size: 0.9rem; }

.qr-code { 
    width: 100px; 
    height: 100px; 
    border-radius: 4px; 
    padding: 5px; 
    background: #fff; 
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
}

/* --- 基础样式与变量 (保留原有的) --- */
:root {
    --primary-color: #0062cc;
    --primary-light: #e7f1ff;
    --text-main: #2c3e50;
    --text-muted: #5a6772;
    --white: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
}

/* 确保移动端不出现横向滚动条 */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* --- (保留您原有的 PC 端 CSS 代码) --- */
/* 这里省略您现有的 PC 样式，直接添加下方的移动端媒体查询 */


/* =========================================
   === 移动端适配 (Media Queries) ===
   ========================================= */

/* 针对大多数手机设备 (屏幕宽度小于 768px) */
@media (max-width: 768px) {
    
    /* 1. 导航栏：Logo 居中，菜单堆叠 */
    nav {
        flex-direction: column; /* 垂直堆叠 */
        height: auto; /* 高度自适应 */
        padding: 15px 5%;
        gap: 10px;
    }

    .logo {
        margin-bottom: 5px;
        text-align: center;
    }

    .links {
        gap: 15px; /* 减小菜单项间距 */
        flex-wrap: wrap; /* 允许换行，防止手机横屏时拥挤 */
        justify-content: center;
        width: 100%;
    }

    .links a {
        font-size: 0.95rem;
        padding: 8px 0;
    }

    /* 2. Hero 区域：减小字体和 Padding */
    .hero {
        padding: 40px 5%;
    }

    .hero h1 {
        font-size: 1.6rem; /* 显著缩小标题字体 */
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 0.95rem;
    }

    /* 3. Intro 简介模块：左文右图变上下堆叠 */
    .intro-section {
        padding: 40px 0;
    }

    .intro-flex {
        flex-direction: column; /* 变为上下结构 */
        gap: 20px; /* 减小间距 */
    }

    .intro-text {
        text-align: center; /* 文字改为居中对齐，移动端更协调 */
        padding: 0 5%;
    }

    .intro-text h2 {
        font-size: 1.5rem;
    }

    .accent-line {
        margin: 0 auto 20px auto; /* 装饰线居中 */
    }

    .intro-text p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .intro-image {
        width: 100%;
        max-width: 400px; /* 限制图片最大宽度 */
        margin: 0 auto; /* 居中 */
    }

    .intro-image img {
        box-shadow: 10px 10px 0px var(--primary-light); /* 减小装饰阴影偏移量 */
    }

    /* 4. 核心价值网格：3列变1列 */
    .values-section {
        padding: 40px 0;
    }

    .grid {
        grid-template-columns: 1fr; /* 强制单列 */
        gap: 20px;
        padding: 0 5%;
    }

    .card {
        padding: 25px 20px;
    }

    .card .icon {
        font-size: 2rem;
    }

    /* 5. 页脚：上下堆叠 */
    footer {
        padding: 30px 5% 15px;
    }

    .footer-content {
        flex-direction: column; /* 上下堆叠 */
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-info {
        order: 2; /* 调整顺序，让文字在二维码下方（可选） */
    }

    .footer-qr {
        order: 1; /* 让二维码在文字上方 */
    }

    .copyright {
        font-size: 0.75rem;
        margin-top: 15px;
    }
}