/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0e17;
    background-image: linear-gradient(135deg, #0a0e17 0%, #131a2e 100%);
    min-height: 100vh;
}

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

/* 顶部导航栏 */
.header {
    background-color: rgba(10, 14, 23, 0.95);
    border-bottom: 1px solid #1e2a4a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 40px;
    width: auto;
}

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

.navbar li {
    margin: 0 15px;
}

.navbar a {
    color: #b0b8d0;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.navbar a:hover {
    color: #4fc3f7;
    background-color: rgba(79, 195, 247, 0.1);
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn-register, .btn-download {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-register {
    background-color: #4fc3f7;
    color: #0a0e17;
}

.btn-register:hover {
    background-color: #29b6f6;
}

.btn-download {
    background-color: transparent;
    color: #4fc3f7;
    border: 2px solid #4fc3f7;
}

.btn-download:hover {
    background-color: #4fc3f7;
    color: #0a0e17;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #b0b8d0;
    font-size: 24px;
    cursor: pointer;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #8a9bb8;
}

.breadcrumb a {
    color: #4fc3f7;
    text-decoration: none;
}

.breadcrumb span {
    color: #b0b8d0;
}

/* 主横幅 */
.hero {
    background: linear-gradient(90deg, #0a0e17 0%, #1a237e 50%, #0a0e17 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #1e2a4a;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(79, 195, 247, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #b0b8d0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #4fc3f7;
    color: #0a0e17;
}

.btn-primary:hover {
    background-color: #29b6f6;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 195, 247, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #4fc3f7;
    border: 2px solid #4fc3f7;
}

.btn-secondary:hover {
    background-color: #4fc3f7;
    color: #0a0e17;
    transform: translateY(-3px);
}

/* 主要内容区域 */
.main-content {
    display: flex;
    gap: 40px;
    padding: 40px 0;
}

.content-wrapper {
    flex: 3;
}

.sidebar {
    flex: 1;
    min-width: 300px;
}

section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: rgba(19, 26, 46, 0.7);
    border-radius: 12px;
    border: 1px solid #1e2a4a;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4fc3f7;
    border-left: 4px solid #4fc3f7;
    padding-left: 15px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #b0b8d0;
}

p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* 核心优势 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    padding: 25px;
    background-color: rgba(30, 42, 74, 0.5);
    border-radius: 10px;
    border-left: 4px solid #4fc3f7;
    transition: transform 0.3s;
    text-align: center;
}

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

.feature-icon {
    margin-bottom: 15px;
}

.feature-icon img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.5));
}

/* 新闻预览 */
.news-list {
    margin-top: 25px;
}

.news-item {
    padding: 20px;
    margin-bottom: 20px;
    background-color: rgba(30, 42, 74, 0.5);
    border-radius: 10px;
    border-left: 4px solid #ff9800;
}

.news-item h3 a {
    color: #ffffff;
    text-decoration: none;
}

.news-item h3 a:hover {
    color: #4fc3f7;
}

.meta {
    color: #8a9bb8;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.btn-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background-color: transparent;
    color: #4fc3f7;
    border: 2px solid #4fc3f7;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-more:hover {
    background-color: #4fc3f7;
    color: #0a0e17;
}

/* 产品预览 */
ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* 侧边栏 */
.widget {
    padding: 25px;
    margin-bottom: 25px;
    background-color: rgba(19, 26, 46, 0.9);
    border-radius: 10px;
    border: 1px solid #1e2a4a;
}

.btn-sidebar {
    display: block;
    margin: 15px 0;
    padding: 12px 20px;
    background-color: #4fc3f7;
    color: #0a0e17;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-sidebar.secondary {
    background-color: transparent;
    color: #4fc3f7;
    border: 2px solid #4fc3f7;
}

.btn-sidebar:hover {
    background-color: #29b6f6;
    color: #0a0e17;
}

.btn-sidebar.secondary:hover {
    background-color: #4fc3f7;
    color: #0a0e17;
}

/* 页脚 */
.footer {
    background-color: #080c14;
    border-top: 1px solid #1e2a4a;
    padding: 50px 0 30px;
    margin-top: 50px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #4fc3f7;
}

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

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

.footer-col a {
    color: #b0b8d0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #4fc3f7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1e2a4a;
    color: #8a9bb8;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #b0b8d0;
    margin: 0 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        min-width: 100%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .navbar {
        order: 3;
        width: 100%;
        margin-top: 20px;
        display: none;
    }
    
    .navbar.active {
        display: block;
    }
    
    .navbar ul {
        flex-direction: column;
    }
    
    .navbar li {
        margin: 5px 0;
    }
    
    .header-buttons {
        order: 2;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 1;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 20px;
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #b0b8d0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #1e2a4a;
    border-radius: 6px;
    background-color: rgba(19, 26, 46, 0.8);
    color: #e0e0e0;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.2);
}

/* 分页样式 */
.pagination {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    padding: 8px 15px;
    background-color: rgba(30, 42, 74, 0.5);
    color: #b0b8d0;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .page-active {
    background-color: #4fc3f7;
    color: #0a0e17;
}

/* 新闻详情页样式 */
.news-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1e2a4a;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    color: #8a9bb8;
    font-size: 0.9rem;
}

.news-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #4fc3f7;
}

.news-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.news-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1e2a4a;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.tags a,
.share a {
    margin-right: 10px;
    color: #4fc3f7;
    text-decoration: none;
}

.tags a:hover,
.share a:hover {
    text-decoration: underline;
}

/* 移动端表单优化 */
@media (max-width: 768px) {
    .news-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-footer {
        flex-direction: column;
    }
}