/* ============================================
   武汉大盈科技有限公司 - 企业网站样式表
   ============================================ */

/* ---------- 基础重置与变量 ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a5fb4;
    --primary-dark: #0d3b7a;
    --primary-light: #3584e4;
    --accent: #e5a00d;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f5f7fa;
    --bg-dark: #1e2a3a;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 6px 24px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
    --max-width: 1400px;
    --header-height: 90px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.75;
    font-size: 15px;
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 70px 0;
}

.bg-light { background: var(--bg-light); }

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,95,180,0.3);
}

.btn-block {
    width: 100%;
}

/* ---------- 标题样式 ---------- */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 30px;
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 700;
}

.section-title.text-left h2 {
    text-align: left;
}

.title-divider {
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

.title-divider-left {
    margin: 0;
}

.section-subtitle {
    color: var(--text-light);
    margin-top: 10px;
    font-size: 15px;
}

/* ==================== 页头 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

/* 导航 */
.nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 8px 18px;
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    border-radius: 4px;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    transition: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-item {
    position: relative;
}

.nav-item.has-dropdown .nav-link {
    padding-right: 24px;
}

.nav-item.has-dropdown .nav-link::before {
    content: '▼';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.nav-item.has-dropdown:hover .nav-link::before {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: 8px 0;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown.mega-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    background: var(--white);
    border: none;
    border-radius: 0;
    border-top: 2px solid var(--primary);
    padding: 30px 0;
}

.nav-item:hover .nav-dropdown.mega-menu {
    transform: none;
}

.nav-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-dropdown li {
    margin: 0;
}

.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown a:hover {
    color: var(--primary);
    background: rgba(26,95,180,0.06);
}

.mega-menu-content {
    display: flex;
    gap: 40px;
}

.mega-column {
    flex: 1;
}

.mega-column h4 {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-column li {
    margin-bottom: 8px;
}

.mega-column li:last-child {
    margin-bottom: 0;
}

.mega-column a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: var(--text-light);
    font-size: 15px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    gap: 12px;
}

.mega-column a:hover {
    color: var(--primary);
    background: rgba(26,95,180,0.06);
}

.mega-column a img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.08);
}

/* ==================== 语言切换 ==================== */
.lang-switch {
    position: relative;
    flex-shrink: 0;
    margin-left: 16px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text);
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.lang-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 120px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow-hover);
    list-style: none;
    padding: 4px 0;
    display: none;
    z-index: 1001;
}

.lang-switch.open .lang-dropdown {
    display: block;
}

.lang-item {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
    -webkit-user-select: none;
}

.lang-item:hover,
.lang-item.active {
    color: var(--primary);
    background: rgba(26,95,180,0.06);
}

/* ==================== 淡入动画 ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== 轮播图 ==================== */
.banner-slider {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    margin-top: var(--header-height);
    background: #1a1a2e;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}

.slide-caption h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slide-caption p {
    font-size: 16px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* 轮播箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.4);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* 轮播圆点 */
.slider-dots {
    position: absolute;
    bottom: 16px;
    right: 24px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--white);
    transform: scale(1.3);
}

/* ==================== 首页 - 公司简介 ==================== */
.intro-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-company-name {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.intro-text p {
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 2;
}

.intro-text strong {
    color: var(--primary);
}

.intro-text .btn {
    margin-top: 10px;
}

.intro-images {
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-images img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    object-fit: cover;
}

.intro-images img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* ==================== 首页 - 产品卡片 ==================== */
.product-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    height: 220px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== 首页 - 应用领域 ==================== */
.fields-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.field-item {
    text-align: center;
    padding: 28px 16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.field-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.field-icon {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary);
}

.field-item h4 {
    font-size: 15px;
    color: var(--text);
}

/* ==================== 首页 - 合作伙伴 ==================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.partner-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.partner-logo {
    width: 80px;
    height: 40px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 4px;
    padding: 6px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-card h4 {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

/* ==================== 页面横幅 ==================== */
.page-banner {
    height: 380px;
    background-size: cover;
    background-position: center;
    margin-top: var(--header-height);
    position: relative;
}

.page-banner-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.page-banner-overlay h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.page-banner-overlay p {
    font-size: 16px;
    opacity: 0.85;
}

/* ==================== 关于我们 ==================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-main p {
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 2;
    text-indent: 2em;
}

.about-main strong {
    color: var(--primary);
}

.about-sidebar {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-sidebar img {
    width: 90%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* 企业文化 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.culture-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 24px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.culture-card:hover {
    border-top-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.culture-card-wide {
    grid-column: span 2;
}

.culture-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: var(--primary);
}

.culture-icon svg {
    width: 100%;
    height: 100%;
}

.culture-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.culture-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 销售网络 */
.sales-network-img {
    max-width: 900px;
    margin: 0 auto;
}

.sales-network-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* 售后服务 */
.service-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    margin-top: 20px;
}

.service-content h3:first-child {
    margin-top: 0;
}

.service-content ol {
    padding-left: 20px;
    color: var(--text-light);
    line-height: 2;
    font-size: 14px;
}

.service-content ol li {
    margin-bottom: 6px;
}

.service-content ol li:last-child {
    margin-bottom: 0;
}

.service-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 2;
    text-indent: 2em;
}

/* ==================== 产品中心 ==================== */
/* 产品分类筛选 */
.product-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.product-tab {
    padding: 10px 24px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-size: 15px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.product-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.product-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* 产品列表 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: block;
    text-decoration: none;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-item h4 {
    padding: 16px;
    font-size: 16px;
    color: var(--text);
}

/* 产品详情页 */
.breadcrumb-bar {
    background: var(--bg-light);
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb-bar a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb-bar a:hover {
    color: var(--primary);
}

.product-detail-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

.product-detail-gallery img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-detail-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.product-detail-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 30px;
}

.product-detail-actions .btn-lg {
    padding: 14px 48px;
    font-size: 17px;
}

.product-detail-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-detail-content h2 {
    font-size: 24px;
    margin-bottom: 0;
}

.product-detail-text h3 {
    font-size: 18px;
    color: var(--primary);
    margin: 28px 0 14px;
}

.product-detail-text h3:first-of-type {
    margin-top: 20px;
}

.product-detail-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    text-indent: 2em;
}

.product-detail-text ul {
    padding-left: 20px;
    line-height: 2;
    color: var(--text-light);
    font-size: 15px;
}

.product-detail-text ul li {
    margin-bottom: 4px;
}

.spec-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
}

.spec-table td:first-child {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text);
    width: 160px;
}

.spec-table td:last-child {
    color: var(--text-light);
}

/* legacy */
.product-category {
    margin-bottom: 20px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.product-detail-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.product-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-detail-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-detail-item h4 {
    padding: 16px;
    font-size: 16px;
    color: var(--text);
}

/* ==================== 解决方案 ==================== */
.solution-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.solution-img {
    height: 200px;
    overflow: hidden;
}

.solution-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-img img {
    transform: scale(1.08);
}

.solution-info {
    padding: 24px;
}

.solution-info h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
}

.solution-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 应用场景 */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.scenario-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.scenario-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.scenario-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.scenario-item h4 {
    padding: 16px;
    font-size: 16px;
    color: var(--text);
}

/* ==================== 新闻中心 ==================== */
.news-grid {
    display: grid;
    gap: 24px;
}

.news-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.news-img {
    flex-shrink: 0;
    width: 260px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.06);
}

.news-content {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.news-category {
    display: inline-block;
    padding: 3px 12px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
}

.news-date {
    font-size: 13px;
    color: var(--text-muted);
}

.news-content h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.news-card:hover .news-content h3 {
    color: var(--primary);
}

.news-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
    flex: 1;
}

.news-more {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    align-self: flex-start;
}

.news-more:hover {
    color: var(--primary-dark);
}

/* ==================== 联系我们 ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-list {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-info-item:hover {
    background: #e8edf5;
}

.contact-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* 联系表单 */
.contact-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
    outline: none;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,95,180,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 表单提交反馈消息 */
.form-message {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    animation: fadeInDown 0.3s ease;
}

.form-success {
    background: #edf7ee;
    border: 1px solid #a3d9a5;
    color: #2b7a2f;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 地图 */
.map-section {
    margin-top: 60px;
}

.map-img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

/* ==================== 页脚 ==================== */
.footer {
    background: #404143;
    color: #b0bec5;
    padding-top: 50px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    width: 75%;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
    text-align: left;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 6px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,.6);
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-qr {
    text-align: center;
}

.qr-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.qr-code {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    background: var(--white);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 16px 0;
    font-size: 13px;
    color: #ffffff;
}

.footer-bottom p {
    margin: 0;
}

/* ==================== Toast 提示框 ==================== */
.toast-container {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 8px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.18);
    font-size: 15px;
    color: #fff;
    pointer-events: auto;
    animation: toastSlideIn 0.4s cubic-bezier(0.21, 1.02, 0.73, 1);
    max-width: 520px;
    min-width: 200px;
    backdrop-filter: blur(10px);
}

.toast.toast-out {
    animation: toastSlideOut 0.3s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
}

.toast-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.toast-msg {
    flex: 1;
    line-height: 1.5;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 18px;
    padding: 0 0 0 8px;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.2s;
}

.toast-close:hover { color: #fff; }

.toast-success { background: linear-gradient(135deg, #2ecc71, #1abc9c); }
.toast-error   { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.toast-warning { background: linear-gradient(135deg, #f39c12, #e67e22); }
.toast-info    { background: linear-gradient(135deg, #3498db, #2980b9); }

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(-28px) scale(0.92); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastSlideOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to   { opacity: 0; transform: translateY(-16px) scale(0.94); }
}

@media (max-width: 768px) {
    .toast-container { top: 85px; left: 16px; right: 16px; transform: none; }
    .toast { max-width: 100%; padding: 12px 18px; font-size: 14px; }
}

/* ==================== 返回顶部 ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26,95,180,0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26,95,180,0.4);
}

/* ==================== 分页器（腾讯大厂风格） ==================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(26,95,180,0.04);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26,95,180,0.25);
}

.page-btn.active:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.page-arrow {
    padding: 0 16px;
    font-size: 13px;
}

.page-arrow svg {
    flex-shrink: 0;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-num {
    min-width: 40px;
    padding: 0 8px;
}

/* 分页器响应式 */
@media (max-width: 768px) {
    .pagination {
        gap: 4px;
    }
    .page-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
    .page-num {
        min-width: 36px;
        padding: 0 6px;
    }
    .page-arrow span {
        display: none;
    }
    .page-arrow {
        padding: 0 10px;
    }
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .product-cards { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .product-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .fields-grid { grid-template-columns: repeat(3, 1fr); }
    .scenario-grid { grid-template-columns: repeat(2, 1fr); }
    .solution-grid { grid-template-columns: 1fr; }
    .footer-grid { flex-direction: column; }
    .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }

    .container { padding: 0 24px; }

    .logo img { height: 20px; }

    .menu-toggle { display: flex; }

    .nav-dropdown {
        display: none !important;
    }
    .nav-item.has-dropdown .nav-link::before {
        display: none;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--white);
        box-shadow: -2px 0 20px rgba(0,0,0,0.1);
        padding: 80px 24px 24px;
        transition: right 0.35s ease;
        z-index: 1000;
        margin-left: 0;
    }

    .nav.active { right: 0; }

    .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 16px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .banner-slider { height: 200px; }
    .slide-caption { padding: 14px 20px; }
    .slide-caption h2 { font-size: 19px; }
    .slide-caption p { font-size: 13px; }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-cards { grid-template-columns: 1fr 1fr; }
    .solution-cards { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-grid { grid-template-columns: 1fr 1fr; }
    .product-detail-wrap { grid-template-columns: 1fr; margin-bottom: 28px; }
    .product-detail-content { padding: 24px 20px; }
    .service-content { padding: 24px 20px; }
    .culture-card { padding: 24px 16px 20px; }
    .fields-grid { grid-template-columns: repeat(2, 1fr); }
    .scenario-grid { grid-template-columns: repeat(2, 1fr); }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        margin-bottom: 16px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 20px;
    }
    .footer-nav {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 0;
    }
    .footer-nav .footer-col h4 {
        cursor: pointer;
        position: relative;
        padding-right: 30px;
        margin-bottom: 0;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .footer-nav .footer-col h4::after {
        content: '+';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        transition: transform 0.3s ease;
    }
    .footer-nav .footer-col h4.active::after {
        transform: translateY(-50%) rotate(45deg);
    }
    .footer-nav .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin: 0;
        padding-left: 0;
    }
    .footer-nav .footer-links.open {
        max-height: 200px;
        padding: 10px 0;
    }
    .footer-qr {
        display: block !important;
    }
    .footer-qr h4 {
        cursor: default !important;
        pointer-events: none !important;
        padding: 0 !important;
        border-bottom: none !important;
    }
    .footer-qr h4::after {
        display: none !important;
    }

    .news-card {
        flex-direction: column;
    }

    .news-img {
        width: 100%;
        height: 200px;
    }

    .news-content {
        padding: 18px 20px;
    }

    .page-banner { height: 200px; }
    .page-banner-overlay h1 { font-size: 26px; }
    .page-banner-overlay p { font-size: 14px; }

    /* page-banner 与后续内容的间距 */
    .page-banner + .section-padding { padding-top: 50px; }
    .page-banner + .breadcrumb-bar { margin-top: 8px; }
    .culture-grid { grid-template-columns: repeat(2, 1fr); }
    .culture-card-wide { grid-column: span 2; }
    .section-padding { padding: 40px 0; }
    .section-title h2 { font-size: 24px; }

    .form-row { grid-template-columns: 1fr; }

    .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }

    .banner-slider { height: 160px; }
    .slide-caption { padding: 10px 14px; }
    .slide-caption h2 { font-size: 16px; }
    .slide-caption p { font-size: 12px; }

    .page-banner { height: 160px; }
    .page-banner-overlay h1 { font-size: 20px; }
    .page-banner-overlay p { font-size: 13px; }

    /* page-banner 与后续内容的间距 */
    .page-banner + .section-padding { padding-top: 44px; }

    .product-cards { grid-template-columns: 1fr; }
    .solution-cards { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-detail-wrap { margin-bottom: 22px; }
    .fields-grid { grid-template-columns: repeat(2, 1fr); }
    .scenario-grid { grid-template-columns: 1fr; }
}

/* ==================== 企业资质轮播 ==================== */
.qual-wrapper {
    position: relative;
    overflow: hidden;
}
.qual-track {
    display: flex;
    gap: 20px;
    min-height: 380px;
    transition: transform 1s ease;
}
.qual-card {
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.qual-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.qual-card img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    padding: 12px;
    background: #f8f9fa;
}
.qual-card h4 {
    font-size: 14px;
    color: var(--text);
    padding: 10px 8px;
    line-height: 1.4;
}

/* 箭头 */
.qual-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
}
.qual-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.qual-prev { left: -12px; }
.qual-next { right: -12px; }

/* 响应式 */
@media (max-width: 1024px) {
    .qual-card img { height: 360px; }
}
@media (max-width: 768px) {
    .qual-card img { height: 340px; }
    .qual-card h4 { font-size: 13px; }
    .qual-prev { left: 4px; }
    .qual-next { right: 4px; }
}
@media (max-width: 480px) {
    .qual-card img { height: 320px; }
    .qual-track { gap: 12px; }
}

/* ==================== 资料下载页 ==================== */
.download-section { position: relative; }

/* 搜索区 */
.download-search-bar {
    max-width: 680px;
    margin: 0 auto 40px;
    position: relative;
}
.download-search-bar .search-inner {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e8edf2;
    border-radius: 50px;
    padding: 6px 6px 6px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 53, 165, 0.04);
}
.download-search-bar .search-inner:focus-within {
    border-color: #0035a5;
    box-shadow: 0 4px 24px rgba(0, 53, 165, 0.1);
    transform: translateY(-1px);
}
.download-search-bar .search-icon {
    font-size: 20px;
    color: #94a3b8;
    margin-right: 12px;
    flex-shrink: 0;
    transition: color 0.3s;
}
.download-search-bar .search-inner:focus-within .search-icon {
    color: #0035a5;
}
.download-search-bar .search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #1a2a3a;
    background: transparent;
    padding: 10px 0;
}
.download-search-bar .search-input::placeholder { color: #b0bec5; }
.download-search-bar .search-clear {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 14px;
    transition: all 0.2s;
    flex-shrink: 0;
}
.download-search-bar .search-clear:hover { background: #e2e8f0; color: #1a2a3a; }
.download-search-bar .search-clear.visible { display: flex; }
.download-search-bar .search-btn {
    padding: 10px 32px;
    background: linear-gradient(135deg, #0035a5, #0a6bff);
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0, 53, 165, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
}
.download-search-bar .search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(0, 53, 165, 0.4);
}

/* 分类标签 */
.download-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 36px;
    padding: 0 16px;
}
.download-tab {
    padding: 10px 28px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.25s;
    position: relative;
}
.download-tab::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: #0035a5;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.download-tab:hover { color: #0035a5; background: rgba(0, 53, 165, 0.04); }
.download-tab.active { color: #0035a5; font-weight: 600; }
.download-tab.active::after { width: 28px; }

/* 卡片网格 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}
.download-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #edf2f7;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.download-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: #0035a5;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    border-color: #d4dde8;
}
.download-card:hover::before { opacity: 1; }

/* 文件图标 */
.download-card .file-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.file-icon-pdf  { background: #fef2f2; color: #ef4444; }
.file-icon-doc  { background: #eff6ff; color: #2563eb; }
.file-icon-xls  { background: #f0fdf4; color: #16a34a; }
.file-icon-zip  { background: #fffbeb; color: #d97706; }
.file-icon-img  { background: #fdf2f8; color: #db2777; }
.file-icon-other{ background: #f8fafc; color: #64748b; }

/* 文件信息 */
.download-card .file-info { flex: 1; min-width: 0; }
.download-card .file-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.download-card .file-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
}
.download-card .file-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.download-card .file-cat-badge {
    display: inline-block;
    padding: 2px 10px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 20px;
    font-size: 12px;
}

/* 下载按钮 */
.download-card .dl-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #0035a5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s;
    text-decoration: none;
}
.download-card .dl-btn:hover {
    background: #0035a5;
    color: #fff;
    border-color: #0035a5;
    box-shadow: 0 4px 16px rgba(0, 53, 165, 0.3);
    transform: scale(1.08);
}

/* 无数据 */
.download-empty {
    text-align: center;
    padding: 80px 20px;
    color: #b0bec5;
}
.download-empty .empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.download-empty .empty-text { font-size: 16px; }

/* 结果统计 */
.download-result-info {
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 24px;
}
.download-result-info strong { color: #0035a5; }

/* Tablet */
@media (max-width: 768px) {
    .download-grid { grid-template-columns: 1fr; gap: 14px; }
    .download-card { padding: 18px 20px; }
    .download-card .file-icon { width: 46px; height: 46px; font-size: 24px; border-radius: 12px; }
    .download-card .file-title { font-size: 14px; }
    .download-card .dl-btn { width: 38px; height: 38px; font-size: 16px; }
    .download-tab { padding: 8px 18px; font-size: 14px; }
    .download-search-bar .search-inner { padding: 4px 4px 4px 18px; }
    .download-search-bar .search-btn { padding: 9px 22px; font-size: 14px; }
    .download-search-bar .search-input { font-size: 14px; }
}
