/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #dc3545;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #dc3545;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #dc3545;
    color: white;
    border: 2px solid #dc3545;
}

.btn-primary:hover {
    background-color: #c82333;
    border-color: #c82333;
}

.btn-secondary {
    background-color: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-secondary:hover {
    background-color: #dc3545;
    color: white;
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px 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: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    color: #dc3545;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 产品卡片样式 */
.products {
    padding: 80px 0;
    background-color: white;
}

.product-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
    padding: 0 20px;
    color: #333;
}

.card p {
    padding: 0 20px;
    margin-bottom: 15px;
    color: #666;
}

.card ul {
    padding: 0 20px 20px;
    color: #666;
}

.card ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.card ul li:before {
    content: '✓';
    color: #dc3545;
    position: absolute;
    left: 0;
}

.card .btn {
    display: block;
    margin: 0 20px 20px;
}

/* 客户好评样式 */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.quote {
    margin-bottom: 20px;
}

.quote p {
    font-style: italic;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.quote p:before {
    content: '"';
    font-size: 40px;
    color: #dc3545;
    position: absolute;
    left: 0;
    top: -10px;
}

.author {
    display: flex;
    align-items: center;
}

.author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.author-info p {
    color: #777;
    font-size: 0.9rem;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after, .footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #dc3545;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #dc3545;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #ccc;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-block;
    color: white;
    background-color: #555;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #dc3545;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        margin-bottom: 10px;
    }
    
    .card, .testimonial {
        min-width: 100%;
    }
}

/* 下载页面样式 */
.download-section {
    padding: 80px 0;
    background-color: white;
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.download-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-10px);
}

.download-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.download-card p {
    margin-bottom: 20px;
    color: #666;
}

.version-info {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.qrcode-container {
    margin-top: 15px;
    text-align: center;
}

.qrcode {
    max-width: 150px;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 5px;
    background-color: white;
}

/* 会员服务页面样式 */
.pricing-section {
    padding: 80px 0;
    background-color: white;
}

.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-header {
    background-color: #dc3545;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
}

.pricing-features {
    padding: 30px 20px;
}

.pricing-features ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.pricing-features ul li:before {
    content: '✓';
    color: #dc3545;
    position: absolute;
    left: 0;
}

.pricing-footer {
    padding: 0 20px 30px;
    text-align: center;
}

/* 联系页面样式 */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    margin-bottom: 30px;
    color: #666;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 15px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #dc3545;
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* 帮助页面样式 */
.help-section {
    padding: 80px 0;
    background-color: white;
}

.help-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.help-sidebar {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.help-sidebar h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dc3545;
}

.help-sidebar ul li {
    margin-bottom: 10px;
}

.help-sidebar ul li a {
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.help-sidebar ul li a:hover, .help-sidebar ul li a.active {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.help-content {
    flex: 3;
    min-width: 300px;
}

.help-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.help-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #444;
}

.help-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.help-content ul, .help-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.help-content ul li, .help-content ol li {
    margin-bottom: 10px;
    color: #666;
}

.help-content img {
    max-width: 100%;
    border-radius: 5px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    display: none;
    padding: 10px 0;
    color: #666;
}

.faq-answer.show {
    display: block;
}