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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 标题样式 */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0b0e11;
}

h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    color: #0b0e11;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #f0b90b;
    transform: translateX(-50%);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #f0b90b;
    color: #0b0e11;
    border: 2px solid #f0b90b;
}

.primary-btn:hover {
    background-color: #e6b00a;
    border-color: #e6b00a;
}

.outline-btn {
    background-color: transparent;
    color: #0b0e11;
    border: 2px solid #0b0e11;
}

.outline-btn:hover {
    background-color: #0b0e11;
    color: #fff;
}

/* 头部导航样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-area a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-area img {
    margin-right: 12px;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    font-weight: 500;
    position: relative;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f0b90b;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover {
    color: #f0b90b;
}

.main-nav ul li a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #0b0e11;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 横幅区域样式 */
.banner {
    padding: 70px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
}

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

.banner-info {
    width: 48%;
}

.banner-visual {
    width: 48%;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.banner-btns {
    display: flex;
    gap: 15px;
}

/* 平台特点区域 */
.platform {
    padding: 80px 0;
    background-color: #fff;
}

.platform-features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-box {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

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

/* 核心优势区域 */
.advantages {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.advantage-card {
    padding: 30px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.advantage-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(240, 185, 11, 0.1);
}

/* 下载区域样式 */
.download {
    padding: 80px 0;
    background-color: #fff;
}

.download-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.download-card {
    width: 300px;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.download-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.download-device {
    margin-bottom: 20px;
}

.download-button {
    margin-top: 20px;
    display: inline-block;
}

/* 安全保障区域 */
.security {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.security-item {
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.security-icon {
    margin-bottom: 20px;
}

/* 页脚样式 */
footer {
    padding: 60px 0 30px;
    background-color: #0b0e11;
    color: #f8f9fa;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-about {
    width: 30%;
}

.footer-logo {
    margin-bottom: 20px;
}

.copyright {
    margin-top: 30px;
    color: #999;
    font-size: 0.9rem;
}

.footer-links {
    width: 65%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    width: 23%;
    min-width: 150px;
}

.footer-col h4 {
    color: #f0b90b;
    margin-bottom: 20px;
}

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

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: #f0b90b;
}

/* 响应式设计 */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .banner-content {
        flex-direction: column;
    }
    
    .banner-info, 
    .banner-visual {
        width: 100%;
        text-align: center;
    }
    
    .banner-info {
        margin-bottom: 40px;
    }
    
    .banner-btns {
        justify-content: center;
    }
    
    .footer-about, 
    .footer-links {
        width: 100%;
    }
    
    .footer-about {
        margin-bottom: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-wrap {
        height: 60px;
    }
    
    .main-nav {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        display: none;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav ul li {
        margin: 0;
        margin-bottom: 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .feature-box {
        min-width: 100%;
    }
    
    .footer-col {
        width: 48%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .banner-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-col {
        width: 100%;
    }
}

/* 语言切换按钮 */
.lang-switch a {
    display: flex;
    align-items: center;
}

.lang-switch a:before {
    content: "🌐";
    margin-right: 5px;
}
