/**
 * 深圳市瑛利豪实业有限公司网站样式表
 * 主色调: 工业蓝 #1e3a8a / 科技蓝 #3b82f6
 * 辅助色: 金属灰 #6b7280 / 银灰 #9ca3af
 * 点缀色: 橙色 #f97316 / 红色 #ef4444 (CTA按钮)
 */

/* ==================== 基础重置 ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    background-color: #f8fafc;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul, ol {
    list-style: none;
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 变量定义 ==================== */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --accent-orange: #f97316;
    --accent-red: #ef4444;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

.header-top {
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

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

.header-top-left span {
    margin-right: 20px;
}

.header-top-left i {
    margin-right: 5px;
}

.header-top-right a {
    margin-left: 15px;
    color: var(--white);
}

.header-top-right a:hover {
    color: var(--accent-orange);
}

.header-main {
    padding: 12px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    margin-right: 12px;
}

.logo-text h1 {
    font-size: 18px;
    color: var(--primary-blue);
    font-weight: 700;
}

.logo-text p {
    font-size: 12px;
    color: var(--gray-500);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 3px;
    flex-wrap: nowrap;
}

.nav-menu li {
    position: relative;
    white-space: nowrap;
}

.nav-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-blue);
    background: var(--light-blue);
}

.nav-menu .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
}

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

.dropdown a {
    padding: 10px 20px;
    border-radius: 0;
}

.dropdown a:hover {
    background: var(--gray-100);
}

.header-cta {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 6px;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background: #1e40af;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-white:hover {
    background: var(--gray-100);
}

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

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==================== Banner轮播 ==================== */
.banner {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.banner-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 58, 138, 0), rgba(30, 58, 138, 0));
}

.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-text {
    max-width: 600px;
    color: var(--white);
}

.banner-text h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-text p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-orange);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.banner-buttons {
    display: flex;
    gap: 15px;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: var(--accent-orange);
    width: 30px;
    border-radius: 6px;
}

/* ==================== 区块标题 ==================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    margin-top: 20px;
}

/* ==================== 核心优势 ==================== */
.advantages {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-blue);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon i {
    font-size: 36px;
    color: var(--secondary-blue);
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ==================== 产品展示 ==================== */
.products {
    background: var(--gray-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.product-badge.new {
    background: var(--secondary-blue);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-red);
}

.product-price span {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 400;
}

.product-link {
    font-size: 14px;
    color: var(--secondary-blue);
    font-weight: 500;
}

.product-link:hover {
    color: var(--primary-blue);
}

.product-link i {
    margin-left: 5px;
}

/* ==================== 工厂实力 ==================== */
.factory {
    background: var(--white);
}

.factory-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.factory-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.factory-text p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 20px;
}

.factory-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.factory-stat-item {
    background: var(--gray-100);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
}

.factory-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-blue);
}

.factory-stat-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 5px;
}

.factory-image {
    position: relative;
}

.factory-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.factory-features {
    margin-top: 20px;
}

.factory-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--gray-700);
}

.factory-features i {
    color: #10b981;
    font-size: 18px;
}

/* ==================== 应用方案 ==================== */
.solutions {
    background: var(--gray-100);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-blue);
}

.solution-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--light-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon i {
    font-size: 32px;
    color: var(--secondary-blue);
}

.solution-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.solution-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 15px;
}

.solution-link {
    font-size: 14px;
    color: var(--secondary-blue);
    font-weight: 500;
}

.solution-link:hover {
    color: var(--primary-blue);
}

/* ==================== 合作客户 ==================== */
.clients {
    background: var(--white);
    padding: 60px 0;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.client-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-height: 50px;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ==================== CTA区块 ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==================== 友情链接 ==================== */
.friend-links-section {
    background: #f3f4f6;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
}
.friend-links-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.friend-links-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}
.friend-links-label i {
    color: #1e3a8a;
}
.friend-links-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.friend-link-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 14px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 13px;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s;
}
.friend-link-item:hover {
    border-color: #3b82f6;
    color: #1e3a8a;
    background: #eff6ff;
}
.friend-link-logo {
    height: 16px;
    width: auto;
    vertical-align: middle;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-links a {
    font-size: 14px;
    color: var(--gray-300);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-blue);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-300);
}

.footer-contact i {
    color: var(--secondary-blue);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ==================== 悬浮工具栏 ==================== */
.float-tools {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-tool {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.float-tool:hover {
    transform: scale(1.1);
}

.float-tool i {
    font-size: 24px;
}

.float-tool.phone {
    background: var(--secondary-blue);
    color: var(--white);
}

.float-tool.whatsapp {
    background: #25d366;
    color: var(--white);
}

.float-tool.wechat {
    background: #07c160;
    color: var(--white);
}

.float-tool.top {
    background: var(--gray-700);
    color: var(--white);
}

.float-tool:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.float-tooltip {
    position: absolute;
    right: 60px;
    background: var(--gray-900);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--gray-900);
}

/* ==================== 内页通用样式 ==================== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb {
    background: var(--gray-100);
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-700);
}

.breadcrumb a:hover {
    color: var(--secondary-blue);
}

.breadcrumb i {
    font-size: 12px;
}

.page-content {
    padding: 60px 0;
}

/* ==================== 产品列表页 ==================== */
.product-filter {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: var(--gray-700);
}

.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-option {
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.filter-option:hover,
.filter-option.active {
    background: var(--secondary-blue);
    color: var(--white);
}

/* ==================== 产品详情页 ==================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid var(--gray-200);
}

.product-main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.product-thumbs {
    display: flex;
    gap: 10px;
}

.product-thumb {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--secondary-blue);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.product-info-detail .subtitle {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.product-price-detail {
    background: var(--gray-100);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.price-label {
    font-size: 14px;
    color: var(--gray-500);
}

.price-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-red);
}

.price-value span {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 400;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.product-meta-detail {
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
}

.product-meta-detail h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-meta-detail ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.product-meta-detail li {
    font-size: 14px;
    color: var(--gray-600);
}

.product-meta-detail li strong {
    color: var(--gray-900);
}

/* 产品参数表 */
.product-tabs {
    margin-top: 50px;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 30px;
}

.tab-nav a {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-500);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.tab-nav a.active,
.tab-nav a:hover {
    color: var(--secondary-blue);
    border-bottom-color: var(--secondary-blue);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.parameters-table {
    width: 100%;
    border-collapse: collapse;
}

.parameters-table th,
.parameters-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.parameters-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-700);
    width: 200px;
}

/* ==================== 新闻列表 ==================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: var(--shadow-md);
}

.news-image {
    height: 100%;
    min-height: 180px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--gray-500);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-category {
    background: var(--light-blue);
    color: var(--secondary-blue);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
}

.news-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content h3 a:hover {
    color: var(--secondary-blue);
}

.news-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ==================== 新闻详情 ==================== */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.article-header {
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.article-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--gray-500);
}

.article-meta .news-category {
    background: var(--primary-color);
    color: #fff;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 13px;
}

.article-cover {
    margin: 0 0 30px;
    border-radius: 8px;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.article-summary {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 0 0 30px;
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
    border-radius: 0 8px 8px 0;
}

.article-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--gray-700);
}

.article-content p {
    margin-bottom: 18px;
}

.article-content h2,
.article-content h3 {
    margin: 25px 0 15px;
    color: var(--gray-800);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.article-content th,
.article-content td {
    border: 1px solid var(--gray-200);
    padding: 10px 14px;
    text-align: left;
    line-height: 1.6;
}

.article-content th {
    background: #f8fafc;
    color: var(--gray-800);
    font-weight: 600;
}

.article-content ul {
    margin: 0 0 18px;
    padding-left: 22px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content h4 {
    margin: 20px 0 12px;
    color: var(--gray-800);
    font-size: 17px;
}

.article-content .flow-arrow {
    text-align: center;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin: 4px 0;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--gray-200);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
}

.article-share a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.article-share a:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-back:hover {
    background: var(--primary-dark, #1e40af);
    color: #fff;
}

.related-news {
    margin-top: 60px;
}

.related-title {
    font-size: 22px;
    color: var(--gray-800);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.related-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-item:hover .related-image img {
    transform: scale(1.05);
}

.related-info {
    padding: 12px 15px;
}

.related-info h3 {
    font-size: 14px;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 12px;
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .article-detail {
        padding: 20px;
    }

    .article-title {
        font-size: 22px;
    }

    .related-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== 联系我们 ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon i {
    font-size: 20px;
    color: var(--white);
}

.contact-method-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.contact-method-info p {
    font-size: 15px;
    color: var(--gray-600);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--accent-red);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ==================== 分页 ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
    color: var(--white);
}

.pagination span.disabled {
    color: var(--gray-400);
    cursor: not-allowed;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .advantages-grid,
    .products-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1001;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-menu .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }
    
    .nav-menu li:hover .dropdown {
        display: block;
    }
    
    .header-cta {
        display: none;
    }
    
    .banner {
        height: 500px;
    }
    
    .banner-text h2 {
        font-size: 32px;
    }
    
    .factory-content,
    .product-detail,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        grid-template-columns: 1fr;
    }
    
    .news-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .advantages-grid,
    .products-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .banner {
        height: 450px;
    }
    
    .banner-text h2 {
        font-size: 26px;
    }
    
    .banner-text p {
        font-size: 16px;
    }
    
    .banner-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .float-tools {
        right: 10px;
        bottom: 80px;
    }
    
    .float-tool {
        width: 45px;
        height: 45px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .page-banner h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .banner-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .factory-stats {
        grid-template-columns: 1fr;
    }
}

/* ==================== 动画效果 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 滚动显示动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}
