/* ============================================
   网络科技公司全新视觉风格设计
   主题：深色科技、未来感、专业现代
   版本：1.1 (修复移动端溢出与图标风格)
   ============================================ */

/* --- 1. 设计变量与基础样式 --- */
:root {
    /* 主色调：深色背景搭配科技蓝/青 */
    --primary-gradient: linear-gradient(135deg, #00d4ff 0%, #0088ff 50%, #0011ff 100%);
    --secondary-gradient: linear-gradient(135deg, #8a2be2 0%, #4a00e0 100%);
    --dark-bg: #0a0e17;
    --darker-bg: #050810;
    --card-bg: rgba(16, 22, 36, 0.9);
    --card-border: rgba(0, 212, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --accent-blue: #00d4ff;
    --accent-purple: #8a2be2;
    --accent-green: #00ff9d;
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.5);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 防止移动端点击高亮背景色 */
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background-color: var(--dark-bg);
    /* Firefox 滚动条支持 */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--darker-bg);
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: radial-gradient(circle at 50% 0%, rgba(10, 14, 23, 1) 0%, rgba(5, 8, 16, 1) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    /* iOS 安全区域适配 */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

main {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3; /* 稍微增加行高防止文字被切 */
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* 某些浏览器 fallback */
    text-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    padding-bottom: 10px; /* 防止下沉字母被切 */
}

h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    margin-bottom: 3.5rem;
    color: var(--text-primary);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

h2::before {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
}

h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

section {
    padding: 100px 0;
    position: relative;
}

section:nth-child(even) {
    background-color: rgba(5, 8, 16, 0.5);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 132, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-gradient);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.btn:hover::before {
    opacity: 1;
}

/* --- 2. 头部与导航 --- */
.main-header {
    background-color: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 24px;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    position: relative;
    letter-spacing: 1px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: 15px; /* 增加右侧间距给动画点 */
}

.logo::after {
    content: '◉';
    color: var(--accent-blue);
    font-size: 0.8rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 2s infinite;
    /* 修正：如果 logo 文字是透明的，after 不应继承 text-fill-color */
    -webkit-text-fill-color: var(--accent-blue);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateY(-50%) scale(0.8); }
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 40px;
    position: relative;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-fast);
    padding: 8px 0;
    position: relative;
    display: block;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-smooth);
}

.main-nav ul li a:hover {
    color: white;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a.active {
    color: white;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    padding: 5px;
}

/* --- 3. 英雄区域 --- */
#hero {
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(138, 43, 226, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    width: 100%; /* 确保小屏不溢出 */
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

#hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- 4. 解决方案 --- */
.solutions-grid {
    display: grid;
    /* 修正：从 340px 降低到 280px，防止手机端横向溢出 */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.solution-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(0, 212, 255, 0.5);
}

.solution-card:hover::before {
    opacity: 0.1;
}

.solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--primary-gradient);
}

.solution-icon::before {
    content: '';
    position: absolute;
    width: 76px; /* 稍微留出2px边框 */
    height: 76px;
    background-color: var(--dark-bg);
    border-radius: 50%;
    z-index: 1;
}

/* 图标设计修正：
   使用 filter: grayscale(1) 强制去除 Emoji 自带颜色（如黄脸、蓝云），
   使其变成灰色/白色，更符合科技感。
   使用 z-index: 2 确保位于黑色圆圈之上。
*/
.solution-icon::after {
    position: relative;
    z-index: 2;
    font-size: 2.2rem;
    filter: grayscale(100%) brightness(200%); /* 关键修正：科技感滤镜 */
    text-shadow: 0 0 10px rgba(255,255,255,0.5); /* 增加发光感 */
}

.icon-cloud::after { content: '☁'; }
.icon-data::after { content: '📊'; }
.icon-ai::after { content: '🤖'; }
.icon-security::after { content: '🔒'; }
.icon-iot::after { content: '📶'; }
.icon-consult::after { content: '💡'; }

.solution-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: white;
}

/* --- 5. 关于我们 --- */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.about-visual {
    flex: 1;
    height: 400px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--dark-bg) 0%, rgba(10, 14, 23, 0.7) 100%);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
}

.about-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 212, 255, 0.05) 2px, rgba(0, 212, 255, 0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(138, 43, 226, 0.05) 2px, rgba(138, 43, 226, 0.05) 4px);
    /* 添加 reduce motion 查询，照顾晕动症用户 */
}

@media (prefers-reduced-motion: no-preference) {
    .about-visual::before {
        animation: gridMove 20s linear infinite;
    }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.about-visual span {
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.about-action {
    margin-top: 2.5rem;
}

/* --- 6. 资讯中心 --- */
#news, #content {
    position: relative;
}

.news-grid {
    display: grid;
    /* 修正：从 350px 降低到 280px，适应主流手机屏幕 */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    border: 1px solid var(--card-border);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(0, 212, 255, 0.5);
}

.news-cover {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
    /* 保留背景作为图片加载失败的 Fallback */
    background: var(--primary-gradient);
}

.news-card:nth-child(3n+1) .news-cover { background: var(--primary-gradient); }
.news-card:nth-child(3n+2) .news-cover { background: var(--secondary-gradient); }
.news-card:nth-child(3n+3) .news-cover { background: linear-gradient(135deg, #00ff9d 0%, #00b894 100%); }

.news-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.news-card:hover .news-cover img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content h4 a {
    text-decoration: none;
    color: white;
    transition: var(--transition-fast);
}

.news-content h4 a:hover {
    color: var(--accent-blue);
}

.news-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.news-meta a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-meta a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.news-content p {
    flex-grow: 1;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.read-more-link {
    text-decoration: none;
    color: var(--accent-blue);
    font-weight: 600;
    align-self: flex-start;
    position: relative;
    padding-bottom: 3px;
}

.read-more-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition-smooth);
}

.read-more-link:hover::after {
    width: 100%;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    flex-wrap: wrap; /* 防止小屏分页溢出 */
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--card-border);
    font-size: 1.2rem;
}

.page-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.page-current {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 20px;
    font-weight: 600;
    color: white;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

/* --- 7. FAQ --- */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    color: var(--accent-blue);
    transition: var(--transition-smooth);
    font-weight: 300;
    margin-left: 15px; /* 增加左边距，防止贴文字太近 */
    line-height: 1;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: var(--accent-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    /* 这里需要注意，JS 设置 max-height 后 padding 可能会导致跳动
       保持 padding-bottom 即可 */
    padding: 0 25px 25px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    padding: 15px 0 0;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- 8. 页面样式 --- */
.page-container {
    padding: 80px 0 120px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    word-wrap: break-word; /* 防止长标题撑破移动端 */
}

.center-header h1 {
    text-align: center;
}

.page-meta {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 15px;
}

.page-meta a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.page-meta a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.breadcrumb {
    padding: 20px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    line-height: 1.6;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--accent-blue);
}

.breadcrumb span {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

.markdown-body {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 100%;
    /* 修正：防止代码块或长图溢出 */
    overflow-x: hidden;
}

.markdown-body h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    line-height: 1.3;
}

.markdown-body h2::after {
    display: none;
}

.markdown-body h3 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.markdown-body p {
    margin-bottom: 1.8rem;
}

.markdown-body ul, .markdown-body ol {
    padding-left: 25px;
    margin-bottom: 1.8rem;
}

.markdown-body li {
    margin-bottom: 0.8rem;
}

.markdown-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: var(--shadow-soft);
}

.markdown-body blockquote {
    border-left: 4px solid var(--accent-blue);
    background-color: rgba(0, 212, 255, 0.05);
    padding: 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.markdown-body a {
    color: var(--accent-blue);
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 212, 255, 0.5);
    transition: var(--transition-fast);
}

.markdown-body a:hover {
    border-bottom-style: solid;
}

.markdown-body hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 212, 255, 0.5), transparent);
    margin: 40px 0;
}

.markdown-body pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto; /* 允许代码块横向滚动 */
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: pre-wrap; /* 尽量换行，防止撑开 */
    word-wrap: break-word;
}

.post-tags {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-pill {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    padding: 8px 18px;
    border-radius: 20px;
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition-fast);
}

.tag-pill:hover {
    background: rgba(0, 212, 255, 0.2);
    color: white;
    border-color: var(--accent-blue);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap; /* 小屏换行 */
    gap: 20px;
}

.nav-next, .nav-prev {
    max-width: 45%;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: var(--transition-fast);
}

.nav-next:hover, .nav-prev:hover {
    color: var(--accent-blue);
}

.nav-next span, .nav-prev span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: normal;
    margin-bottom: 5px;
}

/* 404页面 */
.error-page {
    text-align: center;
    padding: 120px 0;
}

.error-page h1 {
    font-size: 8rem;
    margin-bottom: 10px;
    line-height: 1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-page p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.no-content {
    text-align: center;
    padding: 60px;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    grid-column: 1/-1;
    font-size: 1.1rem;
}

/* --- 9. 页脚 --- */
.main-footer {
    background-color: var(--darker-bg);
    color: var(--text-secondary);
    padding: 80px 0 30px;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-gradient);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column {
    flex: 1;
    min-width: 220px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-bottom a {
    color: var(--accent-blue);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* --- 10. 响应式设计 --- */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    #hero h1 {
        font-size: 3.2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-visual {
        height: 300px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        height: 70px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .main-nav.active {
        max-height: 500px; /* 确保足够容纳所有菜单项 */
        border-top: 1px solid rgba(0, 212, 255, 0.1);
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
        width: 100%;
    }
    
    .main-nav ul li {
        margin: 0;
        text-align: center;
        width: 100%;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-nav ul li:last-child a {
        border-bottom: none;
    }
    
    #hero {
        height: 80vh;
        min-height: 500px; /* 降低最小高度，适应横屏手机 */
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .solutions-grid {
        /* 在特小屏下强制单列，利用之前的 minmax 调整已解决大部分问题 */
        gap: 25px;
    }
    
    .news-grid {
        gap: 25px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .pagination {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 16px; /* 减小内边距增加内容宽度 */
    }
    
    .solution-card,
    .news-card {
        padding: 25px 20px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-next, .nav-prev {
        max-width: 100%;
        text-align: left; /* 强制左对齐，阅读更自然 */
    }

    .nav-next {
        margin-top: 10px;
    }
}

/* 滚动条美化 (Chrome/Safari/Edge) */
::-webkit-scrollbar {
    width: 8px; /* 稍微变细一点更精致 */
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3); /* 默认半透明 */
    border-radius: 5px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}