/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 
                 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
}

.btn-detail {
    padding: 10px 24px;
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
}

/* ==================== 顶部栏 ==================== */
.header {
    position: relative;
}

.top-bar {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    z-index: 999;
}

.top-contact span {
    margin-right: 30px;
}

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

/* ==================== 导航栏 ==================== */
/*.navbar {*/
/*    background: #ffffff;*/
/*    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);*/
/*    position: sticky;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    z-index: 1000;*/
/*    transition: var(--transition);*/
/*    border-bottom: 1px solid #e5e7eb;*/
/*}*/

/*.navbar.scrolled {*/
/*    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);*/
/*    position: fixed;*/
/*    animation: slideDown 0.3s ease;*/
/*    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);*/
/*    backdrop-filter: blur(10px);*/
/*}*/
.navbar {
    /* 替换原background：浅灰(#f5f7fa)从上到下渐变到白色，高级感浅灰调 */
    background: linear-gradient(to bottom, #cbcbcb 20%, #ffffff 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03); /* 弱化阴影，更显高级 */
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid #f0f2f5; /* 浅灰边框，匹配渐变风格 */
}

.navbar.scrolled {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06); /* 滚动后阴影更柔和 */
    position: fixed;
    animation: slideDown 0.3s ease;
    /* 滚动后渐变更细腻，保留高级感 */
    background: linear-gradient(to bottom, #cbcbcb 0%, #ffffff 95%);
    backdrop-filter: blur(12px); /* 轻微模糊，提升质感 */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;  /* 减小上下内边距 */
    position: relative;
    min-height: 70px;  /* 设置最小高度，防止被擑大 */
}

/* Logo 装饰 */
.logo {
    position: relative;
    padding-left: 0;
    height: 50px;  /* 限制logo区域高度 */
    display: flex;
    align-items: center;
}

.logo::before {
    display: none; /* 隐藏左侧装饰条，因为已有Logo图片 */
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;  /* 充满父容器 */
}

/* Logo 图片样式 */
.logo-img {
    height: 100px;      /* 高度自适应 */
    width: auto;       /* 宽度自适应，保持图片比例 */
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-bottom: 10px;
}

.logo a:hover .logo-img {
    transform: scale(1.05);
}

/* Logo 文字部分 */
.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo h1 {
    font-size: 32px;
    color: #1e293b;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 0;
    letter-spacing: 1px;
    font-family: 'Arial Black', 'Microsoft YaHei UI', 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    position: relative;
    text-transform: uppercase;
}

/* 添加阴影效果 - 简化 */
.logo h1::after {
    display: none;
}

.logo .tagline {
    font-size: 13px;
    color: #1e293b;
    margin-top: 0;
    letter-spacing: 3px;
    font-weight: 700;
    font-style: italic;
    padding-left: 0;
    font-family: 'Arial Black', 'Arial', sans-serif;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 28px;
    position: relative;
}

/* 下拉菜单父元素 */
.nav-item-dropdown {
    position: relative;
}

/* 下拉菜单容器 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 15px;
}

/* 鼠标悬停时显示下拉菜单 */
.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉菜单项 */
.dropdown-item {
    display: block;
    padding: 12px 24px;
    color: #334155;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
    color: #ffffff;
    border-left-color: #ea580c;
    padding-left: 28px;
}

/* 电脑端：产品中心不显示箭头，但保留下划线 */
.nav-item-dropdown > .nav-link::after {
    /* 下划线由通用 .nav-link::after 控制 */
    /* 不需要额外设置，让它继承通用样式 */
}

.nav-link {
    color: #334155;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #334155, #64748b);
    transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: #1e293b;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* 汉堡菜单打开状态动画 */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== 轮播图 ==================== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--bg-white);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s ease-out;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 3;
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--bg-white);
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--bg-white);
    width: 40px;
    border-radius: 6px;
}

/* ==================== 通用标题样式 ==================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title.left {
    text-align: left;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title.left h2::after {
    left: 0;
    transform: translateX(0);
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 20px;
}

/* ==================== 优势模块 ==================== */
.advantages {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.advantage-item {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.advantage-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.advantage-item p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ==================== 产品中心 ==================== */
.products {
    padding: 80px 0;
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 28px;
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 99, 235, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-info p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== 服务流程 ==================== */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--bg-white);
}

.services .section-title h2,
.services .section-title p {
    color: var(--bg-white);
}

.service-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 40px auto 25px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.step-item:hover .step-icon {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.3);
}

.step-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.step-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.step-item p {
    font-size: 14px;
    opacity: 0.9;
}

.step-arrow {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* ==================== 关于我们 ==================== */
.about {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

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

.about-text {
    margin: 30px 0;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* ==================== 案例展示 ==================== */
.cases {
    padding: 80px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.case-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 300px;
}

.case-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover img {
    transform: scale(1.1);
}

.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--bg-white);
    transform: translateY(100%);
    transition: var(--transition);
}

.case-item:hover .case-info {
    transform: translateY(0);
}

.case-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.case-info p {
    font-size: 14px;
    opacity: 0.9;
}

/* ==================== 联系我们 ==================== */
.contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact-form,
.contact-info {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-form h3,
.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    font-size: 14px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 2;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* ==================== 返回顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 992px) {
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .service-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ==================== 图标字体（简化版） ==================== */
.icon-phone::before { content: "📞"; margin-right: 8px; }
.icon-email::before { content: "📧"; margin-right: 8px; }
.icon-location::before { content: "📍"; font-size: 24px; }
.icon-time::before { content: "🕐"; font-size: 24px; }

/* ==================== 页面标题样式 ==================== */
.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /*background-image: url('../images/page-header-bg.svg');*/
    background-image: url('../images/横幅-1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 0;
    overflow: hidden;
}

/* 添加叠加层增强文字可读性 */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* 页面头部内容布局 */
.page-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

/* 页面头部Logo */
.page-header-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: fadeInLeft 0.8s ease-out;
}

/* 页面头部文字 */
.page-header-text {
    text-align: center;
}

.page-header h1 {
    font-size: 56px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Logo动画 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 添加副标题 */
.page-header .subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 25px;
    opacity: 0.95;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out;
}

.breadcrumb {
    font-size: 15px;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease-out;
}

.breadcrumb a {
    color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
    border-bottom-color: var(--bg-white);
}

.breadcrumb span {
    color: var(--bg-white);
    margin: 0 10px;
}

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

/* ==================== 产品特性列表 ==================== */
.product-features {
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.product-features li {
    color: var(--text-light);
    font-size: 13px;
    line-height: 2;
}

/* ==================== 服务承诺样式 ==================== */
.service-promise {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.promise-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background-color: var(--bg-light);
    transition: var(--transition);
}

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

.promise-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.promise-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.promise-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* ==================== FAQ样式 ==================== */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.faq-item h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* ==================== 企业文化样式 ==================== */
.company-culture {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.culture-item {
    padding: 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.culture-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.culture-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.culture-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* ==================== 时间轴样式 ==================== */
.timeline-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.timeline {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    width: 100px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    flex-shrink: 0;
}

.timeline-content {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    flex: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 20px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* ==================== 荣誉资质样式 ==================== */
.honors-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.honor-item {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border-radius: 8px;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
}

.honor-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.honor-item h3 {
    font-size: 16px;
    color: var(--text-dark);
}

/* ==================== 案例详情样式 ==================== */
.case-details {
    padding-top: 10px;
    font-size: 13px;
}

.case-details p {
    margin: 8px 0;
    line-height: 1.6;
}

.case-details strong {
    color: var(--text-dark);
}

/* ==================== 客户见证样式 ==================== */
.testimonials {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author h4 {
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 13px;
}

/* ==================== 联系表单增强样式 ==================== */
.form-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 25px;
}

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

.required {
    color: #ef4444;
}

.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
    background-color: var(--bg-white);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.info-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

.contact-qr {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.contact-qr h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-light);
}

/* ==================== 地图样式 ==================== */
.map-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.map-placeholder {
    width: 100%;
    height: 450px;
    background-color: var(--bg-white);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 16px;
}

.map-note {
    margin-top: 15px;
    font-size: 13px;
}

.map-placeholder code {
    display: block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: var(--bg-light);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-dark);
}

/* ==================== 步骤详情样式 ==================== */
.step-details {
    margin-top: 20px;
    text-align: left;
}

.step-details ul {
    list-style: none;
    padding: 0;
}

.step-details li {
    font-size: 13px;
    line-height: 2;
    opacity: 0.9;
}

/* ==================== 响应式优化 ====================  */

/* 平板设备 (768px - 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .service-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 产品页面 - 平板 */
    .products-layout {
        gap: 20px;
    }
    
    .products-sidebar {
        width: 240px;
    }
    
    .products-page .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* 手机设备 (< 768px) */
@media (max-width: 768px) {
    /* 导航栏 */
    .top-bar {
        display: none; /* 移动端隐藏顶部栏 */
    }
    
    /* Logo 移动端优化 */
    .logo {
        padding-left: 0;
    }
    
    .logo a {
        gap: 10px;
    }
    
    .logo-img {
        height: 70px;  /* 移动端适当减小高度 */
        width: auto;   /* 宽度自适应 */
    }
    
    .logo::before {
        display: none;
    }
    
    .logo h1 {
        font-size: 22px;
        letter-spacing: 0.8px;
        font-weight: 900;
        font-style: italic;
    }
    
    .logo .tagline {
        font-size: 11px;
        letter-spacing: 1.5px;
        font-weight: 700;
        font-style: italic;
    }
    
    .nav-wrapper {
        padding: 12px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* 移动端：所有导航链接统一样式 */
    .nav-menu .nav-link {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid #f0f2f5;
    }
    
    /* 移动端下拉菜单样式 */
    .nav-item-dropdown {
        width: 100%;
    }
    
    /* 移动端：产品中心链接样式优化 */
    .nav-item-dropdown > .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        /* padding 已经在通用 .nav-link 中设置 */
    }
    
    /* 移动端：移除产品中心的下划线，改为右侧箭头 */
    .nav-item-dropdown > .nav-link::after {
        content: '›';  /* 右箭头符号，收缩时朝右 > */
        position: static;
        margin-left: auto;
        margin-right: 0;
        width: auto;
        height: auto;
        background: none;
        border: none;
        font-size: 24px;
        font-weight: 300;
        color: #64748b;
        transition: transform 0.3s ease;
        transform: rotate(0deg);  /* 默认朝右 > */
    }
    
    /* 移动端：展开时箭头向下旋转 */
    .nav-item-dropdown.active > .nav-link::after {
        transform: rotate(90deg);  /* 向下 ⌄ */
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0;  /* 移除上边距，消除空白行 */
        background: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item-dropdown.active .dropdown-menu {
        max-height: 600px;
    }
    
    .dropdown-item {
        padding: 10px 20px;
        font-size: 13px;
        background: #f8f9fa;
        margin-bottom: 5px;
        border-radius: 6px;
        border-left: 3px solid transparent;
    }
    
    .dropdown-item:hover {
        padding-left: 24px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .logo .tagline {
        font-size: 10px;
    }
    
    /* 轮播图 */
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    /* 标题 */
    .section-title h2 {
        font-size: 28px;
    }
    
    .page-header {
        padding: 80px 0 50px;
    }
    
    .page-header h1 {
        font-size: 36px;
        letter-spacing: 1px;
    }
    
    .page-header .subtitle {
        font-size: 16px;
    }
    
    /* 页面头部Logo移动端 */
    .page-header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-header-logo {
        width: 60px;
        height: 60px;
    }
    
    .page-header-text {
        text-align: center;
    }
    
    /* 产品网格 */
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* 优势 */
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* 时间轴 */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        gap: 20px;
    }
    
    .timeline-year {
        width: 60px;
        font-size: 18px;
    }
    
    .service-steps {
        padding: 0 20px;
    }
    
    /* ==================== 产品页面移动端优化 ==================== */
    
    /* 左右布局改为上下布局 */
    .products-layout {
        flex-direction: column;
        gap: 0;  /* 移除间距 */
    }
    
    /* 移动端：隐藏左侧边栏，改为顶部标签 */
    .products-sidebar {
        display: none !important;  /* 完全隐藏原有侧边栏，!important 确保优先级 */
    }
    
    /* 移动端：创建顶部分类标签样式 */
    .products-content {
        width: 100%;
        position: relative;
    }
    
    /* 移动端：分类标签容器 */
    .mobile-category-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 15px;
    }
    
    /* 移动端：分类标签按钮 */
    .mobile-category-tab {
        padding: 8px 16px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 20px;
        font-size: 13px;
        color: #64748b;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
    }
    
    .mobile-category-tab:hover {
        border-color: #f97316;
        color: #f97316;
    }
    
    .mobile-category-tab.active {
        background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
        border-color: #f97316;
        color: #ffffff;
        font-weight: 600;
    }
    
    /* 产品头部 */
    .products-header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .products-header h3 {
        font-size: 20px;
    }
    
    .products-count {
        font-size: 13px;
    }
    
    /* 产品网格 - 移动端双列 */
    .products-page .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;  /* 改为双列 */
        gap: 12px;
    }
    
    .products-page .product-image {
        height: 160px;  /* 减小高度 */
    }
    
    .products-page .product-info {
        padding: 10px;
    }
    
    .products-page .product-info h3 {
        font-size: 14px;
    }
    
    .products-page .product-info p {
        font-size: 11px;
        display: none;  /* 隐藏描述文字节省空间 */
    }
    
    /* 分页 */
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 30px;
    }
    
    .page-btn,
    .page-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .page-numbers {
        gap: 6px;
    }
    
    /* 图片模态框 */
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .modal-content img {
        max-height: 70vh;
    }
    
    .modal-close {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
    
    .modal-title {
        font-size: 14px;
        margin-top: 10px;
    }
}

/* 小屏手机 (< 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    /* Logo 小屏优化 */
    .logo-img {
        height: 35px;  /* 小屏幕进一步减小高度 */
        width: auto;   /* 宽度自适应 */
    }
    
    .logo h1 {
        font-size: 20px;
        font-weight: 900;
        font-style: italic;
    }
    
    .logo .tagline {
        font-size: 10px;
        letter-spacing: 1px;
        font-weight: 700;
        font-style: italic;
    }
    
    /* 页面头部小屏 */
    .page-header-logo {
        width: 50px;
        height: 50px;
    }
    
    .page-header h1 {
        font-size: 28px;
        letter-spacing: 0.5px;
    }
    
    .page-header .subtitle {
        font-size: 14px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    /* 产品页面 - 小屏 */
    .products-page {
        padding: 40px 0;
    }
    
    .products-header {
        padding: 12px 15px;
    }
    
    .products-header h3 {
        font-size: 18px;
    }
    
    .products-page .product-image {
        height: 200px;
    }
    
    .category-item {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .sidebar-title {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .page-btn,
    .page-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    /* 隐藏部分页码 - 滚动查看 */
    .page-numbers {
        max-width: 200px;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    
    .page-numbers::-webkit-scrollbar {
        height: 4px;
    }
    
    .page-numbers::-webkit-scrollbar-thumb {
        background-color: var(--border-color);
        border-radius: 2px;
    }
}

/* ==================== 产品页面布局 ==================== */
.products-page {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.products-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ==================== 左侧分类菜单 ==================== */
.products-sidebar {
    width: 280px;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    flex-shrink: 0;
    display: block;  /* 桌面端默认显示 */
}

.sidebar-title {
    padding: 25px;
    font-size: 20px;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    margin: 0;
}

.category-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.category-item:hover {
    background-color: var(--bg-light);
    padding-left: 30px;
}

.category-item.active {
    background: linear-gradient(90deg, var(--accent-color), #ff9800);
    color: var(--bg-white);
    font-weight: 600;
}

.category-item.active .category-arrow {
    color: var(--bg-white);
}

.category-name {
    font-size: 15px;
}

.category-arrow {
    font-size: 20px;
    color: var(--text-light);
    transition: var(--transition);
}

.category-item:hover .category-arrow {
    transform: translateX(5px);
}

/* ==================== 右侧产品展示区 ==================== */
.products-content {
    flex: 1;
    min-width: 0;
}

.products-header {
    background-color: var(--bg-white);
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products-header h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0;
}

.products-count {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.products-count span {
    color: var(--primary-color);
    font-weight: 600;
}

/* 产品网格布局 */
.products-page .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.products-page .product-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.products-page .product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-color: var(--bg-light);
}

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

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

.products-page .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.products-page .product-card:hover .product-overlay {
    opacity: 1;
}

.products-page .btn-detail {
    padding: 12px 28px;
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.products-page .btn-detail:hover {
    background-color: var(--accent-color);
    color: var(--bg-white);
    transform: scale(1.05);
}

.products-page .product-info {
    padding: 20px;
}

.products-page .product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.products-page .product-info p {
    color: var(--text-light);
    font-size: 13px;
}

/* ==================== 分页样式 ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
    font-weight: 500;
}

.page-number:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

.page-number.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

/* ==================== 图片模态框 ==================== */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 1;
    animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--bg-white);
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-title {
    text-align: center;
    color: var(--bg-white);
    margin-top: 15px;
    font-size: 16px;
}
