/* ===== 全局与变量 ===== */
:root {
    --bg-dark: #1c3d5c;       /* 首屏背景深蓝 */
    --bg-darker: #112740;     /* 导航栏深蓝 */
    --accent-gold: #f2c144;   /* 数据金色 */
    --accent-orange: #e65c00; /* 强调橙 */
    --primary-blue: #1a5b92;  /* 主题蓝 */
    --text-main: #333;
    --text-sub: #666;
    --bg-light: #f8f9fa;
    --border-color: #eef0f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* 开启平滑滚动 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft Yahei", sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 处理固定导航栏遮挡锚点的问题 */
section {
    scroll-margin-top: 70px;
}

/* ===== 顶部导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(17, 39, 64, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}
.logo-tag {
    font-size: 12px;
    background: rgba(255,255,255,0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: normal;
    color: #ccc;
}
.nav-menu {
    display: flex;
    gap: 30px;
}
.nav-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: #fff;
}
.nav-tel {
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.3s;
}
.nav-tel:hover { background: rgba(255,255,255,0.2); }

/* ===== 首屏 Hero 区域 ===== */
.hero {
    background-color: var(--bg-dark);
    background-image:
            radial-gradient(circle at 50% 40%, rgba(255,255,255,0.08) 0%, transparent 50%),
            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: 100% 100%, 40px 40px, 40px 40px;
    padding: 160px 0 100px;
    text-align: center;
    color: #fff;
    position: relative;
}
.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.hero h2 {
    font-size: 46px;
    font-weight: 800;
    color: #a1c4e6;
    margin-bottom: 24px;
    letter-spacing: 2px;
}
.hero p.subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.hero-data {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0 60px;
}
.data-item .num {
    font-size: 36px;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 8px;
    line-height: 1;
}
.data-item .txt {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.btn-consult {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.btn-consult:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #111;
    margin-bottom: 45px;
}
.section-title::after {
    content: "";
    width: 50px;
    height: 3px;
    background: var(--bg-dark);
    display: block;
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== 关于我们 ===== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.9;
    text-align: justify;
}
.about-content p { margin-bottom: 20px; }

/* ===== 产品中心 (选项卡) ===== */
.product-section { background: var(--bg-light); }
.product-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}
.product-tab {
    padding: 12px 30px;
    font-size: 16px;
    color: #555;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.product-tab:hover { background: #f0f0f0; }
.product-tab.active {
    color: #fff;
    background: var(--bg-dark);
    border-color: var(--bg-dark);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(28, 61, 92, 0.3);
}
.product-panel { display: none; animation: fadeUp 0.4s ease; }
.product-panel.active { display: block; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}
.product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}
.product-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    padding: 16px 10px;
}

/* ===== 核心优势 (高度还原截图) ===== */
.advantages-section {
    background: #fafbfc;
}
.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.adv-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* 轻微卡片阴影 */
    border-bottom: 4px solid var(--primary-blue); /* 底部蓝色横条 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.adv-icon {
    width: 56px;
    height: 56px;
    background: #eaf1f8; /* 浅蓝背景 */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.adv-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-blue); /* 深蓝色图标 */
}
.adv-card h3 {
    font-size: 22px;
    color: #1c3d5c;
    margin-bottom: 16px;
    font-weight: 700;
}
.adv-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* ===== 底部页脚 (高度还原截图) ===== */
/* ===== 全新底部 Footer (对标截图) ===== */
.site-footer {
    background: #11253d; /* 深蓝底色，与截图一致 */
    color: #fff;
    padding-top: 50px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft Yahei", sans-serif;
}

/* 顶部 CTA 区域 */
.footer-cta {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-cta h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.footer-cta p {
    font-size: 15px;
    color: #b0c4de;
    margin-bottom: 25px;
}
.footer-cta .phone-box {
    font-size: 24px;
    font-weight: bold;
    color: #f2c144; /* 截图中的黄色/金色 */
    display: inline-block;
}
.footer-cta .phone-box span {
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    margin-right: 10px;
}

/* 中部 矩阵链接区 */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 45px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.link-col h4 {
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}
.link-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px; /* 控制每行之间的间距 */
}
.link-col ul li a {
    color: #a0aec0;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}
.link-col ul li a:hover {
    color: #f2c144;
}

/* 底部 备案区 */
.footer-copyright {
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
    color: #8898aa;
}
.footer-copyright a {
    color: #8898aa;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-copyright a:hover {
    color: #fff;
}

/* 响应式优化 */
@media (max-width: 992px) {
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .footer-cta h2 { font-size: 22px; }
    .footer-cta p { font-size: 14px; padding: 0 15px; }
    .footer-cta .phone-box { font-size: 22px; }
    .footer-links-grid { grid-template-columns: 1fr; gap: 30px; }
}
/* 中部：版权 */
.footer-copyright {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
    color: #888;
}

/* 下部：友情链接 */
/* ===== 底部页脚增强版 ===== */
.site-footer {
    background: #0d1a2b;
    color: #fff;
    padding-top: 60px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-brand .name {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
}
.footer-brand .tag {
    font-size: 13px;
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    color: #a1c4e6;
}
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #e0e0e0;
}
.info-item svg {
    width: 18px;
    height: 18px;
    fill: #60a5fa;
}

/* 新的友链矩阵布局 */
.footer-links-wrap {
    padding: 35px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.link-group {
    display: flex;
    align-items: flex-start;
}
.link-group .label {
    color: #60a5fa; /* 亮蓝色标签，醒目 */
    font-weight: bold;
    font-size: 15px;
    margin-right: 20px;
    white-space: nowrap;
    line-height: 28px;
}
.link-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}
.link-items a {
    color: #a0aec0;
    font-size: 14px;
    text-decoration: none;
    line-height: 28px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}
.link-items a:hover {
    color: #fff;
    transform: translateX(2px); /* 鼠标悬浮时轻微右移，增加交互感 */
}

/* 版权区 */
.footer-copyright {
    text-align: center;
    padding: 24px 0 40px;
    font-size: 14px;
    color: #888;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; }
    .link-group { flex-direction: column; } /* 手机端：标签在上，链接在下 */
    .link-group .label { margin-bottom: 10px; }
    .link-items { gap: 10px 15px; }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 46px; }
    .hero h2 { font-size: 38px; }
}
@media (max-width: 768px) {
    .nav-menu, .nav-tel { display: none; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 32px; }
    .hero h2 { font-size: 28px; }
    .hero-data { flex-wrap: wrap; gap: 30px; }
    .hero-data .data-item { width: 40%; }
    .btn-consult { padding: 14px 30px; font-size: 16px; }

    .product-tabs {
        flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
        padding-bottom: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .product-tabs::-webkit-scrollbar { display: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card h4 { font-size: 14px; padding: 12px 5px; }

    .adv-grid { grid-template-columns: 1fr; }

    .footer-top { flex-direction: column; align-items: flex-start; gap: 30px; }
    .footer-links { line-height: 2.5; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
}
/* ===== 全新 FAQ 常见问题样式 ===== */
.faq-section {
    background-color: #f4f7fa; /* 浅灰蓝背景，让区域更立体 */
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border-radius: 8px;
    padding: 24px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}
.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-left-color: var(--primary-blue); /* 悬浮时左侧出现蓝色高亮边 */
    transform: translateY(-2px);
}
.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.faq-icon-q {
    background: var(--primary-blue); /* 主题蓝背景 */
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.faq-question h3 {
    font-size: 18px;
    color: #1c3d5c;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}
.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.faq-icon-a {
    background: #eaf1f8; /* 浅蓝背景 */
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.faq-answer p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .faq-item {
        padding: 20px;
    }
    .faq-question h3 { font-size: 16px; }
    .faq-answer p { font-size: 14px; }
}