/* --- 1. 全局与基础样式 --- */
:root {
    /* 化工设备品牌色体系 */
    --primary-color: #0F3460; /* 工业深蓝（主色）- 稳重、专业 */
    --secondary-color: #E64A19; /* 工业橙（辅助色）- 警示、安全、活力 */
    --dark-color: #1A1A1A; /* 工业深灰 - 背景/文字 */
    --light-color: #F5F7FA; /* 浅灰背景 - 柔和对比 */
    --text-color: #2D3748; /* 正文色 */
    --border-color: #E0E4E8; /* 边框色 */
    --white-color: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 更沉稳的阴影 */
    --shadow-hover: 0 8px 24px rgba(15, 52, 96, 0.15);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html { 
    scroll-behavior: smooth; 
    font-size: 16px;
}

body {
    font-family: "Inter", "Microsoft Yahei", "PingFang SC", sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    display: flex; 
    flex-direction: column; 
    min-height: 100vh;
    -webkit-font-smoothing: antialiased; /* 字体抗锯齿，提升质感 */
    -moz-osx-font-smoothing: grayscale;
}

main { flex: 1; }

.container { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 24px; 
    width: 100%;
}

/* 标题样式重定义 - 工业风硬朗感 */
h1, h2, h3, h4 { 
    color: var(--dark-color); 
    margin-bottom: 1.2rem; 
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 { 
    font-size: 2.2rem; 
    text-align: center; 
    margin-bottom: 3.5rem; 
    position: relative;
    text-transform: uppercase; 
    letter-spacing: 1px;
}

h2::after { 
    content: ''; 
    position: absolute; 
    bottom: -15px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 60px; 
    height: 4px; 
    background-color: var(--secondary-color); 
}

section { padding: 90px 0; }
section:nth-of-type(odd) { background-color: var(--white-color); }
section:nth-of-type(even) { background-color: var(--light-color); }

/* 按钮重定义 - 工业风 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px; 
    background-color: var(--primary-color);
    color: var(--white-color); 
    text-decoration: none; 
    border-radius: 2px; /* 极小圆角 */
    font-weight: 600;
    transition: all 0.3s ease; 
    border: none; 
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(15, 52, 96, 0.2);
}

.btn:hover { 
    background-color: var(--secondary-color); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 15px rgba(230, 74, 25, 0.3);
    color: var(--white-color); 
}

/* --- 2. 头部与导航 --- */
.main-header { 
    background-color: var(--white-color); 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

.main-header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 80px; 
}

.logo { 
    font-size: 1.8rem; 
    font-weight: 800; 
    color: var(--primary-color); 
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}
/* 在Logo旁加一个小方块点缀，增加设计感 */
.logo::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 24px;
    background-color: var(--secondary-color);
    margin-right: 12px;
}

.main-nav ul { 
    display: flex; 
    list-style: none; 
    gap: 40px; 
}

.main-nav ul li a { 
    text-decoration: none; 
    color: var(--dark-color); 
    font-weight: 600; 
    position: relative; 
    padding: 28px 0; /* 增加点击区域高度，也为了下划线定位 */
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

/* 导航下划线动画 */
.main-nav ul li a::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0; 
    height: 3px; 
    background-color: var(--secondary-color); 
    transition: width 0.3s ease; 
}

.main-nav ul li a:hover, 
.main-nav ul li a.active { 
    color: var(--primary-color); 
}

.main-nav ul li a:hover::after, 
.main-nav ul li a.active::after { 
    width: 100%; 
}

/* 移动端菜单按钮 */
.menu-toggle { 
    display: none; 
    cursor: pointer; 
    background: none; 
    border: none; 
    font-size: 1.8rem; 
    color: var(--primary-color); 
    padding: 10px;
}

/* --- 3. 英雄区域 (工业风) --- */
#hero {
    background: linear-gradient(135deg, #1a202c 0%, var(--primary-color) 100%);
    color: var(--white-color); 
    height: 85vh; 
    min-height: 600px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 0 24px;
    position: relative;
    overflow: hidden;
}

/* 工业网格背景纹理 */
#hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

/* 增加一个深色遮罩，确保文字在任何背景下清晰 */
#hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

#hero .hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#hero h1 { 
    font-size: 3.8rem; 
    color: var(--white-color); 
    margin-bottom: 1.5rem; 
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

#hero p { 
    font-size: 1.25rem; 
    max-width: 700px; 
    margin: 0 auto 3rem; 
    opacity: 0.9;
    line-height: 1.8;
}

/* --- 4. 解决方案 (利用CSS绘制工业图标) --- */
.solutions-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
}

.solution-card { 
    background-color: var(--white-color); 
    padding: 40px 30px; 
    border-radius: 4px; 
    box-shadow: var(--shadow); 
    text-align: center; 
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-top: 4px solid var(--border-color); /* 顶部装饰线 */
    position: relative;
    top: 0;
}

.solution-card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color); /* 显示边框 */
    border-top-color: var(--secondary-color); /* 顶部变橙 */
}

/* 图标容器基础 */
.solution-icon { 
    width: 80px; 
    height: 80px; 
    margin: 0 auto 28px; 
    background-color: var(--light-color); /* 浅底色 */
    border-radius: 50%; /* 圆形底座 */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative;
    color: var(--primary-color);
    transition: background 0.3s;
}

.solution-card:hover .solution-icon {
    background-color: var(--primary-color);
    color: #fff;
}

/* 使用伪元素绘制化工设备图形 (覆盖原有的Tech类名) */
.solution-icon::before, .solution-icon::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
    transition: border-color 0.3s, background-color 0.3s;
}

/* 1. icon-cloud -> 反应釜/储罐 */
.icon-cloud::before {
    width: 32px; height: 36px;
    border: 2px solid currentColor;
    border-radius: 12px 12px 4px 4px; /* 罐体形状 */
    top: 24px;
}
.icon-cloud::after {
    width: 16px; height: 6px;
    background: currentColor;
    top: 16px; /* 搅拌电机 */
    border-radius: 2px;
}

/* 2. icon-data -> 工业泵/阀门 */
.icon-data::before {
    width: 28px; height: 28px;
    border: 3px solid currentColor;
    border-radius: 50%; /* 泵体 */
    left: 26px; top: 26px;
}
.icon-data::after {
    width: 44px; height: 6px;
    background: currentColor; /* 管道 */
    top: 37px; left: 18px;
}

/* 3. icon-ai -> 智能中控/芯片 */
.icon-ai::before {
    width: 36px; height: 36px;
    border: 2px solid currentColor;
    transform: rotate(45deg); /* 菱形控制单元 */
}
.icon-ai::after {
    width: 10px; height: 10px;
    background: currentColor;
}

/* 4. icon-security -> 安全盾牌 */
.icon-security::before {
    width: 30px; height: 36px;
    border: 2px solid currentColor;
    border-radius: 0 0 15px 15px; /* 盾牌下半部 */
    border-top: 0;
    top: 24px;
}
.icon-security::after {
    width: 30px; height: 10px;
    border: 2px solid currentColor;
    border-bottom: 0;
    top: 18px; /* 盾牌顶部 */
    border-radius: 4px 4px 0 0;
}

/* 5. icon-iot -> 传感器/连接 */
.icon-iot::before {
    width: 12px; height: 12px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: -18px 0 0 currentColor, 18px 0 0 currentColor; /* 三个点 */
}
.icon-iot::after {
    width: 44px; height: 20px;
    border-top: 2px solid currentColor; /* 信号弧线 */
    border-radius: 50% 50% 0 0;
    top: 22px;
}

/* 6. icon-consult -> 规划图纸/文档 */
.icon-consult::before {
    width: 30px; height: 38px;
    border: 2px solid currentColor;
    border-radius: 2px;
}
.icon-consult::after {
    width: 16px; height: 2px;
    background: currentColor;
    top: 30px;
    box-shadow: 0 -6px 0 currentColor, 0 -12px 0 currentColor; /* 文档线条 */
}

.solution-card h3 { 
    font-size: 1.35rem; 
    color: var(--primary-color); 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.solution-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- 5. 关于我们 --- */
#about .about-content { 
    display: flex; 
    align-items: center; 
    gap: 80px; 
}

.about-text { flex: 1; }

.about-text p { 
    margin-bottom: 1.5rem; 
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.about-visual {
    flex: 1; 
    height: 360px; 
    background: linear-gradient(135deg, var(--primary-color), #0a2545); 
    border-radius: 4px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: var(--white-color); 
    font-size: 1.5rem; 
    font-weight: 700; 
    box-shadow: 20px 20px 0 rgba(230, 74, 25, 0.1); /* 橙色装饰块 */
    position: relative; 
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 简单的动态光效 */
.about-visual::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 40%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 60%);
    transform: rotate(30deg);
    animation: shine 6s infinite;
}
@keyframes shine {
    0% { transform: translateY(-100%) rotate(30deg); }
    100% { transform: translateY(100%) rotate(30deg); }
}

.about-action { margin-top: 2.5rem; }

/* --- 6. 资讯中心 (News) --- */
.news-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 40px; 
}

.news-card {
    background-color: var(--white-color); 
    border-radius: 4px; 
    box-shadow: var(--shadow);
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.news-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.news-cover {
    height: 220px; 
    width: 100%; 
    overflow: hidden; 
    position: relative;
    background-color: var(--primary-color);
}

/* 当没有图片时显示的默认渐变背景 */
.news-cover { 
    background: linear-gradient(to bottom right, var(--primary-color), #2D3748); 
}
.news-card:nth-child(even) .news-cover {
    background: linear-gradient(to bottom right, #2D3748, var(--secondary-color));
}

.news-cover img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* 强制填满容器 */
    display: block;
    transition: transform 0.6s ease;
}

.news-card:hover .news-cover img { 
    transform: scale(1.08); 
}

.news-content { 
    padding: 28px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

.news-content h4 { 
    font-size: 1.25rem; 
    margin-bottom: 1rem; 
    line-height: 1.4;
    min-height: 3.5rem; /* 保证两行高度对齐 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content h4 a { 
    text-decoration: none; 
    color: var(--dark-color); 
    transition: color 0.3s; 
}
.news-content h4 a:hover { color: var(--secondary-color); }

.news-meta { 
    font-size: 0.85rem; 
    color: #888; 
    margin-bottom: 1.2rem; 
    display: flex; 
    align-items: center;
    gap: 10px; 
    padding-bottom: 12px;
    border-bottom: 1px solid var(--light-color);
}

.news-meta a { 
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.news-content p { 
    flex-grow: 1; 
    margin-bottom: 1.5rem; 
    font-size: 0.95rem; 
    color: #666; 
    line-height: 1.6; 
}

.read-more-link { 
    text-decoration: none; 
    color: var(--primary-color); 
    font-weight: 700; 
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}
.read-more-link:hover { 
    color: var(--secondary-color); 
}

/* --- 7. FAQ 区域 --- */
.faq-accordion { 
    max-width: 900px; 
    margin: 0 auto; 
}

.faq-item { 
    border: 1px solid var(--border-color); 
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--white-color);
}

.faq-question {
    width: 100%; 
    background: var(--white-color); 
    border: none; 
    text-align: left; 
    padding: 20px 24px;
    font-size: 1.05rem; 
    font-weight: 600; 
    cursor: pointer; 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    color: var(--dark-color);
    transition: all 0.3s;
}

.faq-question:hover {
    background-color: #fafafa;
    color: var(--primary-color);
}

/* 修正箭头：使用CSS绘制三角形，比字符更兼容 */
.faq-question::after { 
    content: ''; 
    width: 0; 
    height: 0; 
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #ccc; /* 默认向下指的倒三角 */
    transition: transform 0.3s ease, border-top-color 0.3s; 
}

.faq-item.active .faq-question {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* 激活时旋转箭头 */
.faq-item.active .faq-question::after { 
    transform: rotate(180deg); 
    border-top-color: var(--secondary-color);
}

.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1); /* 平滑展开 */
    background: var(--white-color);
}

.faq-answer p {
    padding: 24px;
    color: #555;
    line-height: 1.8;
    border-top: 1px solid var(--border-color);
    margin: 0;
}

/* --- 8. 页脚 --- */
.main-footer { 
    background-color: #111; 
    color: #bbb; 
    padding: 80px 0 30px; 
    margin-top: auto; 
    font-size: 0.95rem;
}

.footer-content { 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 40px; 
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-column { 
    flex: 1; 
    min-width: 200px; 
}

.footer-column h4 { 
    color: var(--white-color); 
    margin-bottom: 1.5rem; 
    font-size: 1.1rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }

.footer-column ul li a { 
    color: #bbb; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    display: inline-block;
}

.footer-column ul li a:hover { 
    color: var(--secondary-color); 
    transform: translateX(5px);
}

.footer-bottom { 
    text-align: center; 
    padding-top: 30px; 
    font-size: 0.85rem; 
    color: #666;
}

.footer-bottom a { color: #888; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--secondary-color); }


/* --- 9. 内页与CMS样式 --- */
.page-container { padding: 60px 0 100px; }

/* 面包屑导航 */
.breadcrumb { 
    padding: 0 0 24px; 
    font-size: 0.9rem; 
    color: #888; 
    margin-bottom: 30px; 
    border-bottom: 1px solid var(--border-color);
}
.breadcrumb a { 
    color: var(--text-color); 
    text-decoration: none; 
    font-weight: 500;
}
.breadcrumb a:hover { color: var(--secondary-color); }
.breadcrumb span { margin: 0 10px; color: #ccc; }

.page-header { margin-bottom: 40px; text-align: left; }
.center-header { text-align: center; margin-bottom: 60px; }

.page-header h1 { 
    font-size: 2.4rem; 
    color: var(--dark-color); 
}

.page-meta { 
    color: #777; 
    font-size: 0.95rem; 
    margin-top: 15px; 
}
.page-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

/* 分页 */
.pagination { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    margin-top: 80px; 
}

.page-btn, .page-current { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 44px; 
    height: 44px; 
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: 600;
    transition: all 0.3s;
}

.page-btn {
    border: 1px solid var(--border-color);
    color: var(--text-color);
    background: var(--white-color);
}
.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-current {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

/* Markdown 文章详情 */
.markdown-body { 
    font-size: 1.05rem; 
    line-height: 1.85; 
    color: #333;
    max-width: 100%;
    overflow-x: hidden;
}

.markdown-body h2 { 
    text-align: left; 
    font-size: 1.8rem; 
    margin-top: 3.5rem; 
    margin-bottom: 1.5rem; 
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
    text-transform: none;
    letter-spacing: 0;
}
.markdown-body h2::after { display: none; } /* 移除通用H2的下划线 */

.markdown-body h3 { 
    font-size: 1.4rem; 
    margin-top: 2.5rem; 
    margin-bottom: 1rem; 
    color: var(--primary-color);
}

.markdown-body p { margin-bottom: 1.8rem; }

.markdown-body ul, .markdown-body ol { 
    padding-left: 20px; 
    margin-bottom: 1.8rem; 
    color: #444;
}
.markdown-body li { margin-bottom: 0.5rem; }

.markdown-body img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 4px; 
    margin: 30px 0; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.markdown-body blockquote { 
    border-left: 4px solid var(--primary-color); 
    background-color: #f8f9fa; 
    padding: 20px 24px; 
    margin: 30px 0; 
    color: #555;
    font-style: italic;
}

.markdown-body pre { 
    background: #282c34; 
    color: #abb2bf; 
    padding: 20px; 
    border-radius: 4px; 
    overflow-x: auto; 
    margin-bottom: 30px; 
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
}

.markdown-body a { 
    color: var(--primary-color); 
    text-decoration: underline; 
    text-underline-offset: 4px;
}
.markdown-body a:hover { color: var(--secondary-color); }

/* 标签云 */
.post-tags { 
    margin-top: 60px; 
    padding-top: 30px; 
    border-top: 1px solid var(--border-color); 
}
.tag-pill { 
    display: inline-block; 
    background: #f1f1f1; 
    padding: 6px 16px; 
    border-radius: 20px; 
    color: #666; 
    text-decoration: none; 
    font-size: 0.85rem; 
    margin-right: 10px; 
    margin-bottom: 10px; 
    transition: all 0.2s; 
}
.tag-pill:hover { 
    background: var(--primary-color); 
    color: #fff; 
}

/* 上下篇导航 */
.post-navigation { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 40px; 
    padding-top: 30px; 
    border-top: 1px dashed var(--border-color); 
}
.nav-next, .nav-prev { 
    max-width: 48%; 
    text-decoration: none; 
    color: var(--dark-color); 
    font-weight: 600; 
    display: flex;
    flex-direction: column;
}
.nav-next:hover, .nav-prev:hover { color: var(--secondary-color); }

.nav-next span, .nav-prev span { 
    font-size: 0.8rem; 
    color: #999; 
    text-transform: uppercase; 
    margin-bottom: 5px;
}

/* 404 */
.error-page { 
    text-align: center; 
    padding: 100px 0; 
}
.error-page h1 { 
    font-size: 8rem; 
    color: var(--border-color); 
    line-height: 1;
    margin-bottom: 20px;
}
.no-content { 
    text-align: center; 
    padding: 80px; 
    color: #999; 
    border: 2px dashed var(--border-color);
    border-radius: 4px;
    grid-column: 1 / -1;
}

/* --- 响应式适配 --- */
@media (max-width: 1024px) {
    h2 { font-size: 2rem; }
    #hero h1 { font-size: 3.2rem; }
    .about-content { gap: 40px; }
}

@media (max-width: 768px) {
    .logo { font-size: 1.4rem; }
    .menu-toggle { display: block; }

    /* 移动端导航重构 */
    .main-nav { 
        position: absolute; 
        top: 100%; /* 修正：紧贴header底部，不受header高度变化影响 */
        left: 0; 
        width: 100%; 
        background-color: var(--white-color); 
        flex-direction: column; 
        max-height: 0; 
        overflow: hidden; 
        transition: max-height 0.4s ease-in-out; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .main-nav.active { max-height: 500px; }
    
    .main-nav ul { 
        flex-direction: column; 
        gap: 0;
        padding: 0;
    }
    .main-nav ul li { 
        width: 100%;
        border-bottom: 1px solid var(--light-color);
    }
    .main-nav ul li a { 
        display: block; 
        padding: 16px 24px; 
        width: 100%;
    }
    .main-nav ul li a::after { display: none; } /* 移动端移除下划线 */

    #hero { height: auto; padding: 120px 24px 80px; }
    #hero h1 { font-size: 2.5rem; }
    
    .about-content { flex-direction: column; }
    .about-visual { width: 100%; height: 280px; }
    
    .news-grid { grid-template-columns: 1fr; }
    
    .footer-content { flex-direction: column; }
    .footer-column { margin-bottom: 30px; }
}

@media (max-width: 480px) {
    h2 { font-size: 1.8rem; }
    #hero h1 { font-size: 2rem; }
    .solution-card { padding: 30px 20px; }
    .btn { width: 100%; }
    .pagination { gap: 5px; }
    .page-btn, .page-current { width: 36px; height: 36px; font-size: 0.9rem; }
}