* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Arial', sans-serif;
}

/* 动态海洋科技风背景 */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a192f, #112940, #0f3460);
    overflow: hidden;
    z-index: -1;
}
.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 45%;
    background: rgba(30, 136, 229, 0.1);
    animation: wave 20s linear infinite;
}
.wave:nth-child(1) {
    top: -150%;
    left: -50%;
    animation-duration: 15s;
}
.wave:nth-child(2) {
    top: -140%;
    left: -50%;
    animation-duration: 25s;
    animation-delay: 2s;
}
.wave:nth-child(3) {
    top: -130%;
    left: -50%;
    animation-duration: 20s;
    animation-delay: 5s;
}
.glow-point {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(100, 181, 246, 0.8);
    border-radius: 50%;
    animation: glow 3s infinite alternate;
}
@keyframes wave {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(100, 181, 246, 0.5); }
    100% { box-shadow: 0 0 15px rgba(100, 181, 246, 0.9); }
}

/* 头部导航 */
header {
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(66, 165, 245, 0.3);
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.logo-text {
    color: #e3f2fd;
    font-size: 24px;
    font-weight: 700;
}
.nav-menu {
    display: flex;
    gap: 30px;
}
.nav-item {
    color: #bbdefb;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}
.nav-item:hover {
    color: #e3f2fd;
    background: rgba(66, 165, 245, 0.2);
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #42a5f5;
    transition: width 0.3s ease;
}
.nav-item:hover::after {
    width: 100%;
}
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #e3f2fd;
    background: none;
    border: none;
    cursor: pointer;
}

/* 中央轮播区 */
.carousel-container {
    width: 80%;
    height: 500px;
    margin: 50px auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 30px rgba(30, 136, 229, 0.3);
    border: 1px solid rgba(66, 165, 245, 0.5);
}
.carousel {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}
.carousel-item {
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}
.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}
.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.8), rgba(255, 255, 255, 0));
}
.carousel-title {
    color: #e3f2fd;
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(30, 136, 229, 0.5);
}
.carousel-desc {
    color: #bbdefb;
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 30px;
}
.carousel-btn {
    width: 180px;
    height: 50px;
    background: #2196f3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}
.carousel-btn:hover {
    background: #1976d2;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5);
}
.carousel-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
.indicator-dot.active {
    background: #2196f3;
    width: 30px;
    border-radius: 6px;
}
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(10, 25, 47, 0.5);
    color: #e3f2fd;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-control.prev {
    left: 20px;
}
.carousel-control.next {
    right: 20px;
}
.carousel-control:hover {
    background: #2196f3;
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.5);
}

/* 功能入口区 */
.functions-section {
    width: 90%;
    margin: 50px auto;
    padding: 30px 0;
}
.section-title {
    color: #e3f2fd;
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #2196f3;
    border-radius: 3px;
}
.functions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.function-card {
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(66, 165, 245, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}
.function-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(30, 136, 229, 0.3);
    border-color: #42a5f5;
}
.function-icon {
    width: 60px;
    height: 60px;
    background: rgba(66, 165, 245, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.function-icon i {
    font-size: 28px;
    color: #42a5f5;
}
.function-title {
    color: #e3f2fd;
    font-size: 20px;
    margin-bottom: 15px;
}
.function-desc {
    color: #bbdefb;
    font-size: 14px;
    line-height: 1.5;
}

/* 底部 */
footer {
    width: 100%;
    padding: 40px 5%;
    background: rgba(10, 25, 47, 0.8);
    border-top: 1px solid rgba(66, 165, 245, 0.3);
    margin-top: 80px;
}
.footer-content {
    color: #bbdefb;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .carousel-container {
        width: 90%;
        height: 400px;
    }
    .carousel-title {
        font-size: 30px;
    }
    .carousel-desc {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100px;
        right: 5%;
        background: rgba(10, 25, 47, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        padding: 20px;
        border: 1px solid rgba(66, 165, 245, 0.3);
        z-index: 999;
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .carousel-container {
        height: 300px;
        margin: 30px auto;
    }
    .carousel-content {
        padding: 30px;
    }
    .carousel-title {
        font-size: 24px;
    }
    .carousel-desc {
        font-size: 14px;
        max-width: 100%;
    }
    .carousel-btn {
        width: 140px;
        height: 40px;
        font-size: 14px;
    }
    .logo-text {
        font-size: 20px;
    }
    .logo-img {
        width: 50px;
        height: 50px;
    }
}
@media (max-width: 480px) {
    .carousel-container {
        height: 250px;
    }
    .carousel-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .carousel-desc {
        margin-bottom: 20px;
    }
    .functions-grid {
        gap: 20px;
    }
    .function-card {
        padding: 20px;
    }
}