/* 首页样式 - 合并优化版 */

/* ========================================================================== */
/* CSS Reset and Base Styles                                                  */
/* ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* 基础样式设置 */
body {
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* 首页特定优化 */
.index-page {
    overflow-x: hidden;
}

/* 链接样式 */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 焦点样式 */
:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* 图片自适应 */
.img-responsive,
.img-fluid {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 滚动优化 */
html {
    scroll-behavior: smooth;
}

/* ========================================================================== */
/* 头部样式                                                                  */
/* ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.nav {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    list-style: none;
}

.nav li {
    margin-left: 20px;
}

.nav a {
    color: #333;
    padding: 5px 10px;
}

.nav a:hover {
    color: #007bff;
    text-decoration: none;
}

/* ========================================================================== */
/* 按钮样式                                                                  */
/* ========================================================================== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    margin: 8px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(100, 100);
        opacity: 0;
    }
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* 按钮颜色变体 */
.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0056b3;
    border-color: #004085;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    color: #fff;
    background-color: #1e7e34;
    border-color: #1c7430;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-outline-primary {
    color: #007bff;
    background-color: transparent;
    border-color: #007bff;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

/* ========================================================================== */
/* 通用区域样式                                                              */
/* ========================================================================== */
.section {
    padding: 80px 0;
    position: relative;
}

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

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

.section-divider {
    width: 80px;
    height: 3px;
    background: #1e3c72;
    margin: 0 auto 20px;
    border-radius: 3px;
}

.section-divider.light {
    background: white;
}

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

/* 背景颜色变体 */
.bg-light {
    background-color: #f8f9fa;
}

.bg-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -webkit-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -moz-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -o-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

/* ========================================================================== */
/* 顶部英雄区域                                                              */
/* ========================================================================== */
.hero-section {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -webkit-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -moz-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -o-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../assets/images/hero-bg.jpg) center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-content .highlight {
    color: #ffd700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-actions .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================================================== */
/* 特色轮播区域                                                              */
/* ========================================================================== */
.featured-carousel {
    position: relative;
    margin-top: -50px;
    z-index: 10;
}

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

#main-carousel {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.carousel-image-container {
    height: 400px;
    overflow: hidden;
}

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

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

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    bottom: 0;
    left: 0;
    right: 0;
}

.carousel-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    margin: auto 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ========================================================================== */
/* 作品分类区域                                                              */
/* ========================================================================== */
.category-grid {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
}

.category-item {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    padding: 20px;
    margin: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 10px;
    min-height: 120px;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #1e3c72;
    transition: all 0.3s ease;
}

.category-icon.bg-primary {
    background: #1e3c72;
    color: white;
}

.category-item:hover .category-icon {
    transform: scale(1.1);
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* 分类列表样式 - 合并自common.css */
.category-list {
    text-align: center;
    margin-top: 30px;
}

.category-list ul {
    display: inline-flex;
    display: -webkit-inline-flex;
    display: -moz-inline-flex;
    display: -ms-inline-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    background-color: #fff;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.category-list li {
    margin: 4px;
}

.category-list a {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: transparent;
}

.category-list a:hover {
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
}

.category-list .active a {
    background-color: #007bff;
    color: #fff;
}

/* ========================================================================== */
/* 作品卡片样式                                                              */
/* ========================================================================== */
.works-grid {
    margin-top: 30px;
}

.work-item {
    margin-bottom: 30px;
    padding: 0 15px;
}

.work-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.work-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #17a2b8);
    background: -webkit-linear-gradient(90deg, #007bff, #17a2b8);
    background: -moz-linear-gradient(90deg, #007bff, #17a2b8);
    background: -o-linear-gradient(90deg, #007bff, #17a2b8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-card:hover::after {
    opacity: 1;
}

.work-thumbnail {
    position: relative;
    overflow: hidden;
    padding-bottom: 66.67%; /* 3:2 比例 */
}

.work-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

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

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    background: -webkit-linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    background: -moz-linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    background: -o-linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    align-items: flex-end;
    -webkit-align-items: flex-end;
    -moz-align-items: flex-end;
    -ms-align-items: flex-end;
    padding: 20px;
}

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

.work-overlay-content {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.work-card:hover .work-overlay-content {
    transform: translateY(0);
    opacity: 1;
}

.work-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    gap: 5px;
}

.work-badges .badge {
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 15px;
}

.work-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #007bff;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.work-view-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 2;
}

.work-info {
    padding: 20px;
    flex: 1;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
}

.work-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.work-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.work-title a:hover {
    color: #1e3c72;
    text-decoration: none;
}

.work-description {
    color: #666;
    margin-bottom: 15px;
    flex: 1;
    line-height: 1.6;
}

.work-meta {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    font-size: 0.9rem;
    color: #999;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.no-works {
    padding: 60px 20px;
    text-align: center;
    color: #999;
}

.no-works-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

/* ========================================================================== */
/* 核心优势区域                                                              */
/* ========================================================================== */
.advantages-grid {
    margin-top: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.advantage-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================================================== */
/* 行业解决方案                                                              */
/* ========================================================================== */
.solutions-grid {
    margin-top: 40px;
}

.solution-item {
    margin-bottom: 30px;
}

.solution-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.solution-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

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

.solution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.solution-link {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}

.solution-info {
    padding: 20px;
}

.solution-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.solution-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ========================================================================== */
/* 客户评价区域                                                              */
/* ========================================================================== */
.testimonials-slider {
    margin-top: 40px;
}

.testimonial-item {
    margin-bottom: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    color: #f0f0f0;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding-left: 40px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    margin-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
}

/* ========================================================================== */
/* 行动号召区域                                                              */
/* ========================================================================== */
.section-cta {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -webkit-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -moz-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -o-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.cta-content {
    text-align: center;
    padding: 60px 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.cta-actions .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================================================== */
/* 页脚样式                                                                  */
/* ========================================================================== */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    background: -webkit-linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    background: -moz-linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    background: -o-linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #007bff, #17a2b8, #28a745, #ffc107, #dc3545);
    background: -webkit-linear-gradient(90deg, #007bff, #17a2b8, #28a745, #ffc107, #dc3545);
    background: -moz-linear-gradient(90deg, #007bff, #17a2b8, #28a745, #ffc107, #dc3545);
    background: -o-linear-gradient(90deg, #007bff, #17a2b8, #28a745, #ffc107, #dc3545);
}

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

.footer-logo {
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo img {
    max-width: 160px;
    transition: transform 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

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

.footer-about,
.footer-contact,
.footer-nav,
.footer-social {
    margin-bottom: 40px;
}

.footer-copyright {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #17a2b8);
    background: -webkit-linear-gradient(90deg, #007bff, #17a2b8);
    background: -moz-linear-gradient(90deg, #007bff, #17a2b8);
    background: -o-linear-gradient(90deg, #007bff, #17a2b8);
}

.footer ul {
    padding-left: 0;
    list-style: none;
}

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

.footer-nav a {
    color: #bdc3c7;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 18px;
}

.footer-nav a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateX(-10px);
    color: #007bff;
}

.footer-nav a:hover {
    color: #007bff;
    text-decoration: none;
    transform: translateX(5px);
}

.footer-nav a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact li {
    position: relative;
    padding-left: 30px;
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-contact li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: #007bff;
    font-size: 18px;
}

.social-links {
    margin-top: 20px;
    text-align: center;
}

.social-links ul {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}

.social-links li {
    margin: 0 8px 16px;
}

.social-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.4s ease;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #17a2b8);
    background: -webkit-linear-gradient(135deg, #007bff, #17a2b8);
    background: -moz-linear-gradient(135deg, #007bff, #17a2b8);
    background: -o-linear-gradient(135deg, #007bff, #17a2b8);
    transition: all 0.4s ease;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.social-link:hover::before {
    top: 0;
}

/* ========================================================================== */
/* 通用工具类                                                                */
/* ========================================================================== */
/* 文字对齐 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* 文字颜色 */
.text-primary { color: #007bff; }
.text-success { color: #28a745; }
.text-danger { color: #dc3545; }
.text-warning { color: #ffc107; }
.text-info { color: #17a2b8; }

/* 背景颜色 */
.bg-success { background-color: #28a745; }
.bg-danger { background-color: #dc3545; }
.bg-warning { background-color: #ffc107; }
.bg-info { background-color: #17a2b8; }

/* 间距工具 */
.mt-1 { margin-top: 5px; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 20px; }
.mt-5 { margin-top: 30px; }

.mb-1 { margin-bottom: 5px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 15px; }
.mb-4 { margin-bottom: 20px; }
.mb-5 { margin-bottom: 30px; }

.ml-1 { margin-left: 5px; }
.ml-2 { margin-left: 10px; }
.ml-3 { margin-left: 15px; }
.ml-4 { margin-left: 20px; }
.ml-5 { margin-left: 30px; }

.mr-1 { margin-right: 5px; }
.mr-2 { margin-right: 10px; }
.mr-3 { margin-right: 15px; }
.mr-4 { margin-right: 20px; }
.mr-5 { margin-right: 30px; }

/* 显示/隐藏工具 */
.hidden { display: none !important; }
.invisible { visibility: hidden; }
.visible { display: block !important; }

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ========================================================================== */
/* 加载动画                                                                  */
/* ========================================================================== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,.3);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

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

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

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ========================================================================== */
/* 表单样式                                                                  */
/* ========================================================================== */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

/* ========================================================================== */
/* 分页样式                                                                  */
/* ========================================================================== */
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination li {
    display: inline;
}

.pagination li a {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #007bff;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination li a:hover {
    z-index: 2;
    color: #0056b3;
    background-color: #eee;
    border-color: #ddd;
}

.pagination .active a {
    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    cursor: default;
}

/* ========================================================================== */
/* 卡片样式                                                                  */
/* ========================================================================== */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    -webkit-box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    -moz-box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    -moz-box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

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

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

.card-header {
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.card-body {
    padding: 15px;
}

.card-footer {
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* ========================================================================== */
/* 列表样式                                                                  */
/* ========================================================================== */
.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.list-group-item {
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
}

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

/* ========================================================================== */
/* 模态框样式                                                                */
/* ========================================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.modal-header {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.modal-title {
    margin: 0;
    font-size: 18px;
}

.modal-body {
    padding: 15px 0;
}

.modal-footer {
    padding: 10px 0;
    border-top: 1px solid #e9ecef;
    margin-top: 15px;
    text-align: right;
}

/* ========================================================================== */
/* 返回顶部按钮                                                              */
/* ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #17a2b8);
    background: -webkit-linear-gradient(135deg, #007bff, #17a2b8);
    background: -moz-linear-gradient(135deg, #007bff, #17a2b8);
    background: -o-linear-gradient(135deg, #007bff, #17a2b8);
    color: #fff;
    border-radius: 50%;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    justify-content: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    -webkit-box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    -moz-box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
    -webkit-box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
    -moz-box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* ========================================================================== */
/* 登录页面样式                                                              */
/* ========================================================================== */
body.login-page {
    /* 为登录页面添加背景 */
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: -moz-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: -o-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    /* 兼容360浏览器的背景样式 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#667eea', endColorstr='#764ba2', GradientType=1);
}

body.login-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23ffffff" stroke-width="0.2"/></svg>');
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.login-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.login-container:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.login-header {
    background: linear-gradient(90deg, #007bff, #17a2b8);
    background: -webkit-linear-gradient(90deg, #007bff, #17a2b8);
    background: -moz-linear-gradient(90deg, #007bff, #17a2b8);
    background: -o-linear-gradient(90deg, #007bff, #17a2b8);
    color: #fff;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="5" fill="%23ffffff" fill-opacity="0.1"/><circle cx="50" cy="70" r="5" fill="%23ffffff" fill-opacity="0.1"/><circle cx="80" cy="30" r="5" fill="%23ffffff" fill-opacity="0.1"/></svg>');
    background-size: 150px;
}

.login-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.login-type-tabs {
    margin-bottom: 0;
}

.login-type-tabs .nav-tabs {
    border-bottom: none;
    background-color: #f8f9fa;
    padding: 0;
}

.login-type-tabs .nav-tabs > li {
    margin-bottom: 0;
    width: 33.333%;
    text-align: center;
}

.login-type-tabs .nav-tabs > li > a {
    display: block;
    padding: 15px 10px;
    color: #666;
    font-weight: 500;
    border: none;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-type-tabs .nav-tabs > li > a:hover {
    background-color: #e9ecef;
    color: #007bff;
}

.login-type-tabs .nav-tabs > li.active > a {
    color: #007bff;
    background-color: #fff;
    border: none;
    border-bottom: 3px solid #007bff;
}

.login-type-tabs .nav-tabs > li.active > a:hover {
    border: none;
    border-bottom: 3px solid #007bff;
}

.tab-content {
    padding: 30px;
}

.login-form {
    width: 100%;
}

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

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

.login-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.login-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    -webkit-box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    -moz-box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

.login-form .checkbox {
    margin-top: 5px;
}

.login-form .checkbox label {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    align-items: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.login-form .checkbox input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.login-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #007bff, #17a2b8);
    background: -webkit-linear-gradient(90deg, #007bff, #17a2b8);
    background: -moz-linear-gradient(90deg, #007bff, #17a2b8);
    background: -o-linear-gradient(90deg, #007bff, #17a2b8);
    border: none;
    border-radius: 8px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.login-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background: -webkit-linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background: -moz-linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background: -o-linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.login-form .btn:hover::before {
    left: 100%;
}

.login-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    -webkit-box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    -moz-box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.login-form .btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
    -webkit-box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
    -moz-box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.login-links {
    text-align: center;
    margin-top: 20px;
}

.login-links a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.login-links span {
    margin: 0 10px;
    color: #666;
}

/* ========================================================================== */
/* 打印样式                                                                  */
/* ========================================================================== */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a, a:visited {
        text-decoration: underline;
    }
    
    img {
        max-width: 100% !important;
    }
    
    .no-print {
        display: none !important;
    }
}

/* ========================================================================== */
/* 响应式设计                                                                */
/* ========================================================================== */
/* 大屏设备（1200px以上） */
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

/* 中屏设备（992px-1199px） */
@media (max-width: 1199px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .work-thumbnail {
        padding-bottom: 66.67%;
    }
}

/* 小屏设备（768px-991px） */
@media (max-width: 991px) {
    .header {
        padding: 15px 0;
    }
    
    .nav li {
        margin-left: 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .carousel-image-container {
        height: 350px;
    }
    
    .category-item {
        margin: 8px;
    }
}

/* 平板设备（576px-767px） */
@media (max-width: 767px) {
    .header .container {
        flex-direction: column;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav {
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        justify-content: center;
        -webkit-justify-content: center;
        -moz-justify-content: center;
        -ms-justify-content: center;
    }
    
    .nav li {
        margin: 5px 10px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .carousel-image-container {
        height: 300px;
    }
    
    .category-grid {
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .social-links ul {
        justify-content: center;
        -webkit-justify-content: center;
        -moz-justify-content: center;
        -ms-justify-content: center;
    }
    
    .login-container {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .login-header {
        padding: 25px;
    }
    
    .tab-content {
        padding: 25px;
    }
}

/* 移动端设备（575px以下） */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .hero-section {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .carousel-image-container {
        height: 250px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .work-item {
        padding: 0 10px;
    }
    
    .solution-image {
        height: 180px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer h4 {
        font-size: 18px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .login-container {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .login-header {
        padding: 20px;
    }
    
    .login-header h2 {
        font-size: 20px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .login-form .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .login-form .btn {
        padding: 10px;
        font-size: 14px;
    }
}

/* ========================================================================== */
/* 浏览器兼容性优化                                                          */
/* ========================================================================== */

/* 针对360浏览器的特殊优化 */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    /* 强制WebKit渲染引擎应用样式 */
    .hero-section,
    .section-cta,
    .footer {
        background-attachment: scroll !important;
        position: relative;
    }
    
    /* 确保渐变背景在360浏览器中正常显示 */
    .btn-primary,
    .btn-success,
    .btn-danger {
        background-image: none !important;
    }
    
    /* 修复360浏览器中Flex布局问题 */
    .header .container,
    .nav,
    .category-grid,
    .advantages-grid,
    .solutions-grid,
    .testimonial-author,
    .social-links ul {
        display: -webkit-box !important;
        display: -webkit-flex !important;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -webkit-justify-content: space-between;
        -webkit-align-items: center;
    }
    
    /* 修复360浏览器中阴影效果 */
    .card,
    .work-card,
    .solution-card,
    .testimonial-card {
        -webkit-box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    
    /* 修复360浏览器中图片渲染问题 */
    .work-img,
    .solution-img,
    .carousel-img {
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
    }
    
    /* 修复360浏览器中过渡动画 */
    * {
        -webkit-transition: all 0.3s ease;
    }
    
    /* 修复360浏览器极速模式下的hover效果 */
    .work-card:hover,
    .solution-card:hover,
    .testimonial-card:hover {
        -webkit-transform: translateY(-8px);
    }
    
    /* 修复360浏览器中渐变背景 */
    .hero-section,
    .section-cta,
    .footer {
        background-image: -webkit-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    }
}

/* 针对IE浏览器的特殊优化 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ 兼容性 */
    .hero-section,
    .section-cta,
    .footer {
        background: #1e3c72;
    }
    
    .btn-primary {
        background: #007bff;
    }
    
    .btn-success {
        background: #28a745;
    }
    
    .btn-danger {
        background: #dc3545;
    }
    
    .container {
        max-width: 100%;
    }
}

/* Edge浏览器修复 */
@supports (-ms-accelerator:true) {
    .card,
    .work-card,
    .solution-card {
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
}

/* 确保渐变背景在所有浏览器中正常显示 */
.gradient-bg {
    background: #1e3c72;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -webkit-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -moz-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background: -o-linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    /* IE渐变支持 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e3c72', endColorstr='#2a5298', GradientType=1);
}

/* 确保阴影效果在所有浏览器中正常显示 */
.shadow-card {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* 修复360浏览器极速模式下的样式优先级问题 */
[class^="btn-"]:not(.btn-outline-*),
[class*=" btn-"]:not(.btn-outline-*) {
    background-image: none !important;
    filter: none !important;
}

/* 确保Flexbox布局在360浏览器中正常工作 */
.flex-container {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}

/* 用户后台侧边栏和模态框层级设置 */
.user-sidebar {
    position: relative;
    z-index: 1001;
}

/* 确保模态框在最高层级 */
.modal {
    position: fixed;
    z-index: 1500;
}