/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    background-color: #0a1124;
    color: #8a96b3;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #e6eefc;
    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-color: #1e88e5;
}

/* 按钮样式 */
.primary-btn {
    background-color: #1e88e5;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.primary-btn:hover {
    background-color: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: #1e88e5;
    border: 1px solid #1e88e5;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.secondary-btn:hover {
    background-color: rgba(30, 136, 229, 0.1);
    transform: translateY(-2px);
}

.function-btn {
    background-color: rgba(30, 136, 229, 0.1);
    color: #1e88e5;
    border: 1px solid #1e88e5;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.function-btn:hover {
    background-color: rgba(30, 136, 229, 0.2);
}

.mini-btn {
    background-color: transparent;
    color: #1e88e5;
    border: 1px solid #1e88e5;
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 8px;
    margin-top: 8px;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.mini-btn:hover {
    background-color: rgba(30, 136, 229, 0.1);
}

/* 下拉菜单文字颜色样式 */
select {
    color: #b0c4de; /* 淡蓝色文字，与网站风格匹配 */
}

/* 下拉菜单选项的文字颜色 */
select option {
    color: #b0c4de; /* 选项文字颜色 */
    background-color: #0a1120; /* 选项背景色，深蓝色偏黑 */
}

/* 下拉菜单聚焦状态文字颜色 */
select:focus {
    color: #e6eeff; /* 聚焦时文字稍亮 */
    outline: 1px solid #3b82f6; /* 聚焦时边框高亮 */
}

/* 移动端下拉菜单适配 */
@media (max-width: 768px) {
    select,
    select option {
        color: #b0c4de; /* 保持移动端文字颜色一致 */
    }
}
    

/* 导航栏样式 */
.navbar {
    background-color: #0a1124;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 17, 36, 0.95);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    color: #e6eefc;
    font-size: 1.4rem;
    margin-left: 5px;
    font-weight: 500;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 30px;
}

.desktop-nav ul li a {
    color: #8a96b3;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.desktop-nav ul li a:hover {
    color: #1e88e5;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.login-btn, .register-btn {
    background: none;
    border: none;
    color: #8a96b3;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.login-btn {
    margin-right: 20px;
}

.register-btn {
    color: #1e88e5;
}

.login-btn:hover, .register-btn:hover {
    color: #e6eefc;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #141e38;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    margin-top: 10px;
}

.dropdown-content a {
    color: #8a96b3;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #1e2a48;
    color: #1e88e5;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #8a96b3;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background-color: #141e38;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav ul li a {
    display: block;
    color: #8a96b3;
    text-decoration: none;
    padding: 15px 20px;
    transition: background-color 0.3s ease;
}

.mobile-nav ul li a:hover {
    background-color: #1e2a48;
    color: #1e88e5;
}

.mobile-auth {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
}

.mobile-login, .mobile-register {
    padding: 8px 20px !important;
    border-radius: 4px;
}

.mobile-login {
    background-color: transparent;
    border: 1px solid #1e88e5;
}

.mobile-register {
    background-color: #1e88e5;
    color: #fff !important;
}

/* Banner区域样式 */
.banner {
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.banner-container {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 600px;
}

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

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.banner-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.banner-content h1 {
    color: #e6eefc;
    font-size: 2.5rem;
    max-width: 800px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-content .subtitle {
    color: #b0bdd8;
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 40px;
}

.banner-buttons {
    margin-bottom: 60px;
}

.banner-buttons button {
    margin: 0 10px;
}

.banner-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

.banner-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    max-height: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.banner-img:hover {
    transform: translateY(-5px);
}

/* 核心价值区样式 */
.core-values {
    padding: 100px 0;
    background-color: #0f1a31;
}

.value-category {
    margin-bottom: 60px;
}

.value-category h3 {
    color: #e6eefc;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.value-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.value-item {
    background-color: #141e38;
    border-radius: 8px;
    padding: 30px;
    width: 200px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.value-item i {
    color: #1e88e5;
    font-size: 2rem;
    margin-bottom: 15px;
}

.value-item span {
    color: #e6eefc;
    font-size: 1.1rem;
}

/* 功能入口区样式 */
.function-entrance {
    padding: 100px 0;
    background-color: #0a1124;
}

.function-card {
    background-color: #141e38;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.function-title {
    color: #e6eefc;
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.function-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.function-item {
    flex: 1;
    min-width: 250px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.function-item h4 {
    color: #1e88e5;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.partner-logos {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-logos h4 {
    color: #e6eefc;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.partner-logo {
    height: 60px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* 关于IPIDS区样式 */
.about-ipids {
    padding: 100px 0;
    background-color: #0f1a31;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background-color: #141e38;
    color: #e6eefc;
    padding: 15px 20px;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    padding: 20px;
    max-height: 1000px;
}

.info-item {
    margin-bottom: 20px;
}

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

.info-item h4 {
    color: #1e88e5;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-item ul, .info-item ol {
    margin-left: 20px;
    margin-top: 10px;
}

.info-item li {
    margin-bottom: 5px;
}

/* 第三方生态区样式 */
.third-party-ecology {
    padding: 100px 0;
    background-color: #0a1124;
}

.ecology-card {
    background-color: #141e38;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ecology-title {
    color: #e6eefc;
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ecology-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.ecology-item {
    flex: 1;
    min-width: 250px;
}

.ecology-item h4 {
    color: #1e88e5;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.ecology-item ul, .ecology-item ol {
    margin-left: 20px;
}

.ecology-item li {
    margin-bottom: 8px;
}

.apply-btn {
    display: block;
    margin: 0 auto;
}

.partner-category {
    margin-bottom: 30px;
}

.partner-category:last-child {
    margin-bottom: 0;
}

.partner-category h4 {
    color: #e6eefc;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* 资源支持区样式 */
.resources-support {
    padding: 100px 0;
    background-color: #0f1a31;
}

.resource-card {
    background-color: #141e38;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.resource-title {
    color: #e6eefc;
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resource-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.resource-item {
    flex: 1;
    min-width: 250px;
}

.resource-item h4 {
    color: #1e88e5;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.resource-item ul {
    margin-left: 20px;
}

.resource-item li {
    margin-bottom: 8px;
}

.resource-function {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 联系合作区样式 */
.contact-cooperation {
    padding: 100px 0;
    background-color: #0a1124;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #141e38;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
    color: #e6eefc;
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    color: #1e88e5;
    margin-right: 15px;
    margin-top: 3px;
    font-size: 1.2rem;
}

.contact-item a {
    color: #8a96b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1e88e5;
}

.online-service {
    background-color: #1e88e5;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.online-service i {
    margin-right: 10px;
}

.online-service:hover {
    background-color: #1976d2;
}

.cooperation-form {
    flex: 1;
    min-width: 300px;
    background-color: #141e38;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cooperation-form h3 {
    color: #e6eefc;
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e6eefc;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e6eefc;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: 1rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #1e88e5;
}

.submit-btn {
    width: 100%;
}

/* 底部信息区样式 */
.footer {
    background-color: #0f1a31;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    color: #e6eefc;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

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

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

.footer-section ul li a:hover {
    color: #1e88e5;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #8a96b3;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #1e88e5;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1e88e5;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
    border: none;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #1976d2;
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    .value-item {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .desktop-nav, .auth-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .banner-container {
        height: auto;
        min-height: auto;
        padding: 60px 0;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .banner-content .subtitle {
        font-size: 1rem;
    }
    
    .banner-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .banner-buttons button {
        margin: 0;
        width: 100%;
    }
    
    .banner-images {
        flex-wrap: wrap;
    }
    
    .banner-img {
        width: 45%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .value-items {
        gap: 20px;
    }
    
    .value-item {
        width: 150px;
        padding: 20px;
    }
    
    .function-content, .ecology-content, .resource-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .banner-content h1 {
        font-size: 1.5rem;
    }
    
    .banner-img {
        width: 100%;
        max-height: none;
    }
    
    .value-item {
        width: 100%;
        max-width: 250px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}
    