/* ===== 全局样式 ===== */
:root {
    --primary: #1565c0;
    --primary-dark: #0d47a1;
    --primary-light: #1976d2;
    --secondary: #42a5f5;
    --accent: #ff6b00;
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
    
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --bg-dark: #1a1a2e;
    
    --text-primary: #1a1a2e;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-light: #ffffff;
    
    --border-color: #e0e0e0;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s ease;
    
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== 顶部公告栏 ===== */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: var(--text-light);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .hotline strong {
    color: var(--accent);
    font-size: 15px;
}

/* ===== 头部导航 ===== */
.header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 2px;
}

/* 页脚 logo 文字颜色 */
.footer-brand .logo-main {
    color: #fff;
}

.logo-sub {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

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

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}

.phone-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.phone-btn svg {
    width: 18px;
    height: 18px;
}

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.98);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-light);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--secondary);
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

.mobile-phone {
    background: var(--primary);
    padding: 15px 30px;
    border-radius: var(--radius);
    font-size: 18px !important;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

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

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

/* ===== 区块标题 ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.section-header.light h2,
.section-header.light p {
    color: var(--text-light);
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 20px;
}

/* 页脚 logo 文字颜色 */
.footer-brand .logo-text {
    color: #fff;
}

/* 页脚 logo 图标 */
.footer-brand .logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list svg {
    width: 16px;
    height: 16px;
    stroke: var(--secondary);
    flex-shrink: 0;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ===== 返回顶部 ===== */
.back-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-top svg {
    width: 24px;
    height: 24px;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .phone-btn span {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .page-banner {
        margin-top: 60px;
        height: auto;
        padding: 40px 20px;
    }
    
    .page-banner-content {
        padding-top: 0;
    }
    
    .page-banner-content h1 {
        font-size: 26px;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .footer-col ul li {
        margin-bottom: 8px;
    }
    
    .footer-col ul li a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header .container {
        height: 60px;
    }
    
    .logo-main {
        font-size: 18px;
    }
    
    .logo-sub {
        display: none;
    }
    
    .phone-btn {
        padding: 8px 12px;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .back-top {
        right: 15px;
        bottom: 15px;
        width: 44px;
        height: 44px;
    }
}

/ ===== 滚动动画类 ===== /
[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

[data-animate].fadeInUp {
    transform: translateY(30px);
}

[data-animate].fadeInLeft {
    transform: translateX(-30px);
}

[data-animate].scaleIn {
    transform: scale(0.95);
}

/ ===== 下拉菜单 ===== /
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 10px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px !important;
    color: #333 !important;
    font-size: 14px !important;
}

.dropdown-menu a:hover {
    background: #f5f7fa;
    color: #1565c0 !important;
}

.dropdown-menu a::after {
    display: none !important;
}

@media (max-width: 992px) {
    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        background: transparent;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        color: rgba(255,255,255,0.8) !important;
        padding: 8px 15px !important;
    }
    
    .dropdown-menu a:hover {
        color: #fff !important;
        background: transparent !important;
    }
}/* ===== 閫氱敤椤甸潰鏍峰紡锛坅bout/contact/products椤碉級 ===== */

/* 椤甸潰Banner */
.page-banner {
    position: relative;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 46px;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
    overflow: hidden;
}

.page-banner-bg .geo-shape {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 4px;
}

.page-banner-bg .bg1 {
    width: 400px;
    height: 400px;
    right: -100px;
    top: -100px;
    transform: rotate(15deg);
}

.page-banner-bg .bg2 {
    width: 200px;
    height: 200px;
    left: -50px;
    bottom: -50px;
    transform: rotate(-20deg);
    background: rgba(255,255,255,0.03);
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding-top: 40px;
}

.page-banner-content .breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.page-banner-content .breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.page-banner-content .breadcrumb a:hover {
    color: #fff;
}

.page-banner-content h1 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.page-banner-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

/* 閫氱敤 section-header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.section-header p {
    color: #888;
    font-size: 16px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #1565c0, #1976d2);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* 閫氱敤 back-top */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1565c0, #1976d2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(21,101,192,0.3);
}

.back-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-top svg { width: 22px; height: 22px; color: #fff; }

/* 閫氱敤 btn-white / btn-outline-white (about CTA鐢? */
.btn-white {
    background: #fff;
    color: #1565c0;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
}

.btn-white:hover {
    background: #f0f0f0;
    color: #0d47a1;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

