/* MultiSite 多站点系统公共样式表 */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 导航栏 */
.navbar {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
    text-align: center;
}

.nav-menu a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-menu a.active {
    color: #667eea;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #667eea;
}

/* 移动端菜单 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #555;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.mobile-menu-btn.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.15);
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 100px;
    text-align: center;
    margin-top: 70px; /* 默认：导航栏高度约70px (15px*2 + 40px logo高度) */
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.breadcrumb-nav a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

/* 内容区域 */
.content-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 300;
}

.section-title p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.8), rgba(155, 89, 182, 0.8));
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover .card-image::before {
    opacity: 1;
}

.card-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-overlay i.fa-2x {
    margin-bottom: 10px;
}

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

.case-card {
    cursor: pointer;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-summary {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #999;
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 30px;
    margin-bottom: 60px;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

/* 产品网格 - 一行多个卡片，适合产品展示 */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* 横排新闻卡片样式 */
.news-horizontal-card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    min-height: 180px;
}

.news-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.news-image {
    flex: 0 0 200px;
    position: relative;
    overflow: hidden;
}

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

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

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.8), rgba(155, 89, 182, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.news-overlay .iconfont {
    color: white;
    font-size: 2rem;
}

.news-horizontal-card:hover .news-overlay {
    opacity: 1;
}

.news-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-summary {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #999;
    margin-top: auto;
}

.news-meta .iconfont {
    margin-right: 5px;
    font-size: 0.8rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .news-horizontal-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .news-image {
        flex: 0 0 200px;
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-summary {
        -webkit-line-clamp: 3;
    }
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #bdc3c7;
}

.btn-hero {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: linear-gradient(45deg, #5a67d8, #6b46c1);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

/* 筛选器 */
.filter-section {
    background: white;
    padding: 30px 0;
    margin-bottom: 40px;
}

.filter-tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-tab {
    padding: 10px 25px;
    border: 2px solid #ddd;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}

.filter-tab:hover,
.filter-tab.active {
    border-color: #3498db;
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

/* 移除分页列表的小黑点 */
.pagination ul {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

/* 确保所有分页列表项都没有小黑点 */
.pagination ul li {
    list-style: none !important;
    list-style-type: none !important;
}

.pagination ul li::before {
    content: none !important;
}

.pagination ul li::marker {
    content: none !important;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 12px 18px;
    margin: 0 5px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .current,
.pagination .active a {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ddd;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #999;
}

/* 详情页面 */
.detail-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.detail-header {
    padding: 40px;
    border-bottom: 1px solid #eee;
}

.detail-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.detail-meta {
    display: flex;
    gap: 30px;
    color: #666;
    font-size: 0.95rem;
}

.detail-content {
    padding: 40px;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.detail-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.detail-content h2,
.detail-content h3,
.detail-content h4 {
    margin: 30px 0 20px;
    color: #2c3e50;
}

/* 图片画廊 */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.image-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

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

/* 相关内容 */
.related-section {
    margin-top: 60px;
}

/* 相关新闻网格布局 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;  /* 两列布局 */
    gap: 20px;
}

/* 确保相关新闻水平卡片样式 */
.related-news .news-horizontal-card {
    width: 100% !important;
    max-width: none !important;
}

/* 底部 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    color: #3498db;
}
.footer-content p{
    font-size: 15px;
}
.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 30px;
    text-align: center;
    color: #bdc3c7;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

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

.back-to-top:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

/* 响应式设计 */
/* 中等屏幕适配 - 处理导航菜单项过多的问题 */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px; /* 减少菜单间距 */
    }
    
    .nav-menu a {
        font-size: 14px; /* 减小字体 */
        padding: 6px 12px; /* 减小内边距 */
    }
    
    .logo {
        font-size: 20px; /* 减小logo字体 */
    }
    
    .nav-container {
        padding: 12px 15px; /* 减小容器内边距 */
        position: relative; /* 为移动端菜单提供定位基准 */
    }
    
    .page-header {
        margin-top: 64px; /* 调整：导航栏高度约64px (12px*2 + 40px logo高度) */
    }
}

/* 平板屏幕适配 - 进一步压缩或隐藏菜单 */
@media (max-width: 900px) {
    .nav-menu {
        gap: 10px;
    }
    
    .nav-menu a {
        font-size: 13px;
        padding: 5px 8px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .page-header {
        margin-top: 62px; /* 调整：导航栏高度约62px (12px*2 + 38px 调整后的logo高度) */
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 8px;
        margin: 10px;
        z-index: 1000;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        list-style: none;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
        color: #333;
        text-decoration: none;
        font-size: 16px;
        transition: color 0.3s;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        color: #007bff;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-btn.active {
        color: #007bff;
    }
    
    .page-header {
        margin-top: 58px; /* 移动端：导航栏高度约58px (12px*2 + 34px 移动端logo高度) */
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .detail-title {
        font-size: 1.8rem;
    }
    
    .detail-header,
    .detail-content {
        padding: 20px;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filter-tab {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-grid {
        grid-template-columns: 1fr !important;
    }
    
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 0 15px;
    }
    
    .breadcrumb {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 60px;
        margin-top: 56px; /* 小屏幕：导航栏高度约56px (12px*2 + 32px 小屏幕logo高度) */
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb {
        margin-bottom: 15px;
    }
}

/* 新闻列表页面特定样式 */
.news-card {
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
}

.card-overlay .iconfont {
    margin-bottom: 10px;
}

.card-overlay .iconfont.fa-2x {
    font-size: 2em;
}

/* 面包屑导航图标 */
.breadcrumb-nav .iconfont {
    color: #999;
}

/* 移动端菜单按钮图标 */
.mobile-menu-btn .iconfont {
    font-size: 18px;
    color: #555;
}

/* 卡片元信息图标 */
.card-meta .iconfont {
    margin-right: 5px;
    color: #999;
}

/* 底部联系信息图标 */
.footer-section .iconfont {
    margin-right: 8px;
    color: #bdc3c7;
}

/* 空状态图标 */
.empty-state .iconfont {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ddd;
}

/* 灯箱样式 */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox.show {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: #ddd;
}

/* ========== 案例详情页面样式 ========== */

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
}

/* 案例详情容器 */
.case-detail {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

/* 案例标题区域 */
.case-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.case-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.case-meta {
    color: #666;
    font-size: 14px;
}

.case-meta span {
    margin-right: 20px;
}

.case-meta i {
    margin-right: 5px;
}

/* 案例内容区域 */
.case-content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.case-image {
    text-align: center;
    margin-bottom: 30px;
}

.case-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 项目概述 */
.case-overview {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #3498db;
}

.case-overview h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.case-overview h3 i {
    margin-right: 8px;
}

.case-overview p {
    margin: 0;
    line-height: 1.6;
}

/* 项目特点 */
.case-features {
    background: #fff8e1;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #ffc107;
}

.case-features h3 {
    color: #f57c00;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.case-features h3 i {
    margin-right: 8px;
}

.case-features div {
    line-height: 1.6;
}

/* 技术实现 */
.case-technology {
    background: #e8f5e8;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #4caf50;
}

.case-technology h3 {
    color: #2e7d32;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.case-technology h3 i {
    margin-right: 8px;
}

.case-technology div {
    line-height: 1.6;
}

/* 案例操作区域 */
.case-actions {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.action-buttons a {
    margin-right: 15px;
}

/* 相关案例区域 */
.related-cases {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.related-cases h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

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

.case-card {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.case-card .case-image {
    height: 200px;
    overflow: hidden;
    margin-bottom: 0;
}

.case-card .case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    box-shadow: none;
    border-radius: 0;
}

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

.case-info {
    padding: 20px;
}

.case-info h4 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.case-info h4 a {
    color: #333;
    text-decoration: none;
}

.case-info h4 a:hover {
    color: #3498db;
}

.case-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.case-meta-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 12px;
}

/* 联系我们CTA区域 */
.contact-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
}

.contact-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons a {
    margin-right: 20px;
}

/* 按钮样式扩展 */
.btn-secondary {
    background: #666;
    color: white;
}

.btn-secondary:hover {
    background: #555;
    color: white;
}

.btn-outline-white {
    border-color: white;
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: #667eea;
}

/* 工具类 */
.text-center {
    text-align: center;
    margin-top: 30px;
}

/* ========== 关于我们页面样式 ========== */

/* 关于我们详情容器 - 参考case-detail样式 */
.about-detail {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

/* 关于我们页面标题区域 - 参考case-header样式 */
.about-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.about-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.about-subtitle {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* 关于我们区块标题 - 参考case-overview样式 */
.about-section-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.about-section-header h3 {
    color: #3498db;
    margin-bottom: 10px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.about-section-header h3 i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.about-section-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 公司简介区域 */
.about-intro {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: start;
}

.intro-image {
    text-align: center;
}

.intro-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.company-avatar {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.company-avatar i {
    font-size: 4rem;
    color: white;
}

.intro-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.intro-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 联系信息 */
.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #555;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: #3498db;
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.contact-item strong {
    margin-right: 8px;
    min-width: 80px;
}

/* 企业实力数据网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

/* 团队成员网格 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.member-avatar i {
    font-size: 2rem;
    color: white;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.member-position {
    color: #3498db;
    font-size: 14px;
    margin-bottom: 10px;
}

.member-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 企业文化网格 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.culture-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-top: 3px solid #3498db;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: white;
}

.culture-card:nth-child(2) {
    border-top-color: #e74c3c;
}

.culture-card:nth-child(3) {
    border-top-color: #f39c12;
}

.culture-card:nth-child(4) {
    border-top-color: #27ae60;
}

.culture-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.culture-card:nth-child(1) .culture-icon {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.culture-card:nth-child(2) .culture-icon {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.culture-card:nth-child(3) .culture-icon {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

.culture-card:nth-child(4) .culture-icon {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.culture-card:hover .culture-icon {
    transform: scale(1.1);
}

.culture-icon i {
    font-size: 1.5rem;
}

.culture-card h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.culture-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-detail {
        padding: 25px 20px;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-title {
        font-size: 1.5rem;
    }
    
    .about-section-header h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
} 

/* ==========================================================================
   产品详情页样式
   ========================================================================== */

/* 产品详情区域 */
.product-detail {
  
}

.product-main {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 40px;
}

.product-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px;
}

/* 产品图片展示 */
.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.main-image .placeholder {
    font-size: 4rem;
    color: #ddd;
}

.image-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.thumb-item {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumb-item.active,
.thumb-item:hover {
    border-color: #3498db;
}

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

/* 产品信息 */
.product-info h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-summary {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

.product-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 25px;
}

.product-specs {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #2c3e50;
}

.spec-value {
    color: #666;
}

/* 产品操作按钮 */
.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-contact-large {
    flex: 1;
    padding: 15px 25px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-contact-large:hover {
    background: #2980b9;
    transform: translateY(-2px);
    color: white;
}

.btn-share {
    padding: 15px 20px;
    background: white;
    color: #3498db;
    text-decoration: none;
    border: 2px solid #3498db;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-share:hover {
    background: #3498db;
    color: white;
}

/* 联系信息 */
.contact-info {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.contact-info h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.contact-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

/* 产品标签页 */
.product-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 40px;
}

.tab-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.tab-item {
    padding: 20px 30px;
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-item.active {
    color: #3498db;
    background: white;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #3498db;
}

.tab-content {
    padding: 40px;
    display: none;
}

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

/* 售后服务特色 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}
.feature-icon i{
    font-size: 1.5rem;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* 相关产品 */
.related-products {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    padding: 40px;
}

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

.related-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.related-item:hover {
    border-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    color: inherit;
}

.related-image {
    width: 100%;
    height: 150px;
    background: #f0f0f0;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.related-image i {
    font-size: 2rem;
    color: #ddd;
}

.related-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-price {
    color: #e74c3c;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-header {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .tab-nav {
        overflow-x: auto;
    }
    
    .tab-item {
        white-space: nowrap;
        padding: 15px 20px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .related-products {
        padding: 20px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
} 

/* 首页关于我们模块样式 */
.about-intro-home {
    margin-bottom: 50px;
}

.intro-grid-home {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
}

.intro-image-home {
    text-align: center;
}

.intro-image-home img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.company-avatar-home {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.company-avatar-home i {
    font-size: 4rem;
    color: white;
}

.intro-content-home h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.intro-content-home p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.stat-item-home {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-item-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-number-home {
    font-size: 2rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label-home {
    color: #666;
    font-size: 0.9rem;
}

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

.culture-card-home {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.culture-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.culture-icon-home {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.culture-icon-home i.iconfont{
    font-size: 1.5rem;
}

.culture-card-home h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.culture-card-home p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 首页联系我们模块样式 */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="smallGrid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="20" fill="url(%23smallGrid)"/></svg>');
    opacity: 0.1;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-grid-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info-home h3 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-home h3 i {
    color: #667eea;
}

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

.contact-item-home {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.contact-item-home:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-item-home i {
    font-size: 1.3rem;
    color: #667eea;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-text-home {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-text-home strong {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-text-home span {
    color: #555;
    font-size: 1rem;
    font-weight: 500;
}

.contact-text-home a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text-home a:hover {
    color: #764ba2;
}

.contact-form-home {
    background: rgba(255, 255, 255, 0.9);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-home h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-home h3 i {
    color: #667eea;
}

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

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

.form-group-home label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group-home input,
.form-group-home textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.8);
}

.form-group-home input:focus,
.form-group-home textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.form-group-home textarea {
    height: 100px;
    resize: vertical;
}

.contact-form-home button {
    width: 100%;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .intro-grid-home {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .stats-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .culture-grid-home {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .contact-grid-home {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row-home {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-home {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .stats-grid-home {
        grid-template-columns: 1fr;
    }
    
    .culture-card-home {
        padding: 25px 15px;
    }
    
    .stat-number-home {
        font-size: 1.5rem;
    }
}

/* 通用工具类 */
.text-center-mt40 {
    text-align: center;
    margin-top: 40px;
}

.section-gray-bg {
    background: #f8f9fa;
}

/* 首页特定样式 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 68px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-hero {
    display: inline-block;
    padding: 15px 30px;
    margin: 0 10px;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.btn-hero.primary {
    background: rgba(255,255,255,0.9);
    color: #667eea;
    border-color: transparent;
}

.btn-hero.primary:hover {
    background: white;
    transform: translateY(-2px);
}

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

.section {
    padding: 40px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Hero区域响应式设计 */
@media (max-width: 1024px) {
    .hero {
        margin-top: 65px;
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 60px;
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-hero {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 55px;
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn-hero {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   商家后台登录页面样式
   ========================================================================== */

/* 登录页面专用样式 - 覆盖body默认样式 */
.login-page-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.login-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 0;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 40px 30px;
}

.login-header h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}

.login-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.login-form {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    color: #555;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control.error {
    border-color: #e74c3c;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-links {
    text-align: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.login-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

.login-links a:hover {
    text-decoration: underline;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.tips-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.tips-box h4 {
    color: #495057;
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
}

.tips-box p {
    color: #6c757d;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}



/* 登录页面响应式设计 */
@media (max-width: 480px) {
    .login-container {
        margin: 20px;
        max-width: none;
    }
    
    .login-header,
    .login-form {
        padding: 30px 20px;
    }
}