
/* 粒子背景容器 */
#particle-canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1; /* 确保在内容下方 */
pointer-events: none; /* 允许用户与页面内容交互 */
}

        
/* 粒子背景 */
        
#particles-js {           
 position: fixed;          
 width: 100%;          
 height: 100%;         
 z-index: -1;
 }

:root {
--primary: #2A5BDB;
--accent: #C678DD;
--dark: #0F0F15;
--light: #f8f9fa;
--gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 头部导航 */
.service-header {
    background: rgba(15, 15, 21, 0.95);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(42, 91, 219, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.service-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary);
    margin-left: 5px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 2rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover:after {
    width: 100%;
}

/* 服务介绍区 */
.service-intro {
    padding: 6rem 5% 4rem;
    background: linear-gradient(135deg, rgba(15,15,21,0.9), rgba(42,91,219,0.2));
    position: relative;
    overflow: hidden;
}

.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.intro-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(42, 91, 219, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(198, 120, 221, 0.3);
}

.feature-card h3 {
    color: var(--accent);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.company-intro {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(42, 91, 219, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.company-intro h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.company-intro p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.intro-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    height: 100%;
}

.intro-image img {
    width: 50%;
    height: 50%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 幻灯片样式 */
.swiper {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 5px;
    max-width: 80%;
}

.slide-caption h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: white;
    transform: scale(1.1);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* 作品展示区 - 视频专用 */
.video-gallery {
    padding: 4rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(42, 91, 219, 0.2);
    color: var(--light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(198, 120, 221, 0.4);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    opacity: 0.9;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-item:hover .play-icon {
    background: rgba(42, 91, 219, 0.8);
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon:before {
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent white;
    margin-left: 3px;
}

.video-info {
    padding: 1.5rem;
    background: rgba(15, 15, 21, 0.8);
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.video-info .category {
    display: inline-block;
    background: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.video-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.8rem;
}

/* 服务流程 */
.process-section {
    padding: 5rem 5%;
    background: rgba(15, 15, 21, 0.7);
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 3rem;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(42, 91, 219, 0.4);
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--light);
}

.step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* 技术能力 */
.tech-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, rgba(15,15,21,0.9), rgba(198,120,221,0.1));
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(42, 91, 219, 0.2);
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.tech-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* 联系方式部分 */
.contact-section {
    padding: 5rem 5%;
    background: rgba(15, 15, 21, 0.8);
    text-align: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background: rgba(42, 91, 219, 0.1);
    border-radius: 10px;
    margin: 1rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-item {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    margin-right: 10px;
    color: var(--accent);
}

.qrcode-container {
    margin-top: 2rem;
}

.qrcode-image {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px;
    background: white;
}

.qrcode-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--accent);
}

/* 视频播放模态框 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 21, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 900px;
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.video-modal.active .modal-content {
    transform: scale(1);
}

.video-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 长宽比 */
}

.video-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.modal-header {
    padding: 1.5rem;
    background: rgba(15, 15, 21, 0.9);
    border-bottom: 1px solid rgba(42, 91, 219, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--light);
}

.close-modal {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.8rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
}

/* 页脚 */
footer {
    padding: 3rem 5%;
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid rgba(42, 91, 219, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-about {
    padding-right: 1rem;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-item {
    margin-bottom: 1rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .step {
        width: 50%;
        margin-bottom: 3rem;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .step {
        width: 100%;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .service-intro {
        padding: 4rem 5% 3rem;
    }
    
    .intro-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* 动画效果 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}
