:root {
    --primary: #00a8ff;
    --secondary: #192a56;
    --dark: #0c1427;
    --light: #f5f6fa;
    --accent: #9c88ff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.07);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 基础动画：元素滚动渐入 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 滚动条样式优化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* 鼠标跟随无人机样式 */
 .drone-follower {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    color: var(--primary) !important;
    pointer-events: none !important;
    z-index: 9999 !important;
    opacity: 0.9 !important;
    transition: transform 0.15s ease-out !important;
    transform-origin: center center !important;
    /* animation: droneFloat 3s infinite ease-in-out !important; */
    /* 移除固定 width/height，改为 JS 动态设置 */
}

 /* 无人机自身悬浮动画 */
 @keyframes droneFloat {

     0%,
     100% {
         transform: translateY(0) rotate(15deg) !important;
     }

     50% {
         transform: translateY(-8px) rotate(15deg) !important;
     }
 }

/* 模块一：全屏系统视频 */
.system-video-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.system-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.system-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 20, 39, 0.8) 0%, rgba(25, 42, 86, 0.8) 100%);
    z-index: -1;
}

.system-video-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.system-video-content h2 {
    max-width: 800px;
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.system-video-content p {
    max-width: 800px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}
.system-video-content .btn{
    max-width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--light);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 168, 255, 0.3);
}

.system-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.system-particle {
    position: absolute;
    background: rgba(0, 168, 255, 0.2);
    border-radius: 50%;
    animation: floatSystem 10s infinite ease-in-out;
}

@keyframes floatSystem {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-40px) translateX(20px) rotate(15deg);
        opacity: 0.9;
    }
}

/* 通用section标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 80px;
    color: var(--light);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

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

/* 服务能力板块 */
.service-capability-section {
    background-color: var(--secondary);
    padding: 120px 0;
}

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

.service-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: var(--card-hover);
    box-shadow: 0 15px 35px rgba(0, 168, 255, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--card-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: background 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 15px;
}

.service-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 案例展示板块 */
.case-showcase-section {
    background-color: var(--dark);
    padding: 120px 0;
}

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

.tab-btn {
    background: var(--card-bg);
    color: var(--light);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.2);
}

.case-content {
    position: relative;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.case-grid.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.case-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 168, 255, 0.2);
}

.case-img {
    height: 200px;
    overflow: hidden;
}

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

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

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 1.3rem;
    color: var(--light);
    margin-bottom: 10px;
}

.case-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 响应式：移动端适配 */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .system-video-content h2 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .system-video-content h2 {
        font-size: 2rem;
    }

    .system-video-content p {
        font-size: 1rem;
    }

    .case-tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
}