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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* 容器样式 */
.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

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

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

.logo h1 {
    font-size: 1.8rem;
    color: #3498db;
    font-weight: bold;
}

/* 导航样式 */
nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #3498db;
}

/* 导航栏按钮样式 */
nav ul li .btn {
    margin-right: 0;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

nav ul li .btn-primary {
    background-color: #3498db;
    color: #fff;
    border: 2px solid #3498db;
}

nav ul li .btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 1rem;
    border: none;
    cursor: pointer;
}

.btn:last-child {
    margin-right: 0;
}

.btn-primary {
    background-color: #3498db;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #fff;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background-color: #3498db;
    color: #fff;
}

/* 主内容区域 */
main {
    min-height: calc(100vh - 200px);
}

/* 重要通知区域 */
.important-notice {
    background-color: #dc3545;
    border: 3px solid #bd2130;
    color: #fff;
    padding: 2rem 0;
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.7);
    position: relative;
    z-index: 1001;
    animation: noticePulse 1.5s ease-in-out infinite alternate;
    margin-bottom: 0;
}

@keyframes noticePulse {
    0% {
        box-shadow: 0 0 30px rgba(220, 53, 69, 0.7);
        transform: translateY(0);
    }
    100% {
        box-shadow: 0 0 50px rgba(220, 53, 69, 1);
        transform: translateY(-3px);
    }
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    padding: 0 2rem;
}

.notice-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    animation: iconBounce 1.5s ease-in-out infinite;
    color: #ffd700;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.notice-text {
    flex: 1;
}

.notice-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.notice-text p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.notice-text strong {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.notice-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 1002;
}

.notice-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: #fff;
}

/* Hero 区域 */
.hero {
    background-color: #3498db;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 特性区域 */
.features {
    padding: 4rem 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.feature-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-item h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* 优势区域 */
.advantages {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.advantages h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.advantages-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
}

.advantage-item h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* 使用场景区域 */
.use-cases {
    padding: 4rem 0;
    background-color: #fff;
}

.use-cases h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.use-case-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.use-case-item h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* 帮助中心样式 */
.help {
    padding: 4rem 0;
    background-color: #fff;
}

.help h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.help-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.help-sidebar ul {
    list-style: none;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
}

.help-sidebar ul li {
    margin-bottom: 1rem;
}

.help-sidebar ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 0.8rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.help-sidebar ul li a:hover,
.help-sidebar ul li a.active {
    background-color: #3498db;
    color: #fff;
}

.help-section {
    margin-bottom: 3rem;
}

.help-section h3 {
    color: #3498db;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.faq-item,
.guide-item,
.troubleshooting-item {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.faq-item h4,
.guide-item h4,
.troubleshooting-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

/* 客户端下载样式 */
.download {
    padding: 4rem 0;
    background-color: #fff;
}

.download h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.download > p {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.download-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.os-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
}

.os-icon.windows {
    background-color: #0078d7;
}

.os-icon.mac {
    background-color: #000;
}

.os-icon.linux {
    background-color: #fcc624;
    color: #000;
}

.os-icon.android {
    background-color: #3ddc84;
}

.os-icon.ios {
    background-color: #000;
}

.download-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.download-info {
    margin: 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

.download-info span {
    display: block;
    margin-bottom: 0.2rem;
}

.download-notes {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

.download-notes h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

.download-notes ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.download-notes li {
    margin-bottom: 0.5rem;
}

/* 联系客服样式 */
.contact {
    padding: 4rem 0;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 微信联系样式 */
.wechat-contact {
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.wechat-icon {
    margin-bottom: 2rem;
}

.wechat-icon svg {
    background-color: #e8f5e8;
    border-radius: 50%;
    padding: 1rem;
}

.wechat-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.wechat-tip {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.wechat-qr {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.qr-placeholder p {
    color: #999;
    font-size: 0.9rem;
}

.wechat-id {
    margin-bottom: 2rem;
}

.wechat-id h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.wechat-id span {
    color: #07C160;
    font-weight: bold;
}

.wechat-id p {
    color: #666;
    font-size: 0.9rem;
}

.wechat-copy {
    margin-top: 1rem;
}

/* 复制按钮样式 */
.wechat-copy .btn {
    width: auto;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: #07C160;
    border-color: #07C160;
}

.wechat-copy .btn:hover {
    background-color: #06b556;
    border-color: #06b556;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wechat-contact {
        padding: 2rem;
    }
    
    .wechat-contact h3 {
        font-size: 1.5rem;
    }
    
    .qr-placeholder {
        width: 160px;
        height: 160px;
    }
    
    .wechat-id h4 {
        font-size: 1.1rem;
    }
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: #3498db;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #555;
    color: #aaa;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    nav ul li .btn {
        width: auto;
        margin-right: 0;
        display: inline-block;
    }
    
    /* 重要通知响应式 */
    .important-notice {
        padding: 1.5rem 0;
    }
    
    .notice-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .notice-icon {
        font-size: 3rem;
    }
    
    .notice-text h3 {
        font-size: 1.5rem;
    }
    
    .notice-text p {
        font-size: 1rem;
    }
    
    .notice-text strong {
        font-size: 1.1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        margin-right: 0;
    }
    
    .help-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .help-sidebar ul {
        display: flex;
        overflow-x: auto;
        gap: 0.5rem;
    }
    
    .help-sidebar ul li {
        white-space: nowrap;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .features-grid,
    .advantages-content,
    .use-cases-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .features h2,
    .advantages h2,
    .use-cases h2,
    .help h2,
    .download h2,
    .contact h2 {
        font-size: 1.5rem;
    }
}