/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

/* 按钮样式 */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    border: 2px solid #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-secondary {
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background-color: #3498db;
    color: white;
}

/* 导航栏 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: #3498db;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c3e50;
}

/* 主图区域 */
.hero {
    background-color: #f5f7fa;
    padding: 100px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 85%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 产品特性 */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-card p {
    color: #7f8c8d;
}

/* 使用方法 */
.how-it-works {
    background-color: #f5f7fa;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.step {
    display: flex;
    align-items: center;
    gap: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step-image {
    flex: 1;
    text-align: center;
}

.step-image img {
    max-width: 85%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 客户评价 */
.testimonials {
    background-color: white;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #2c3e50;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* 价格方案 */
.pricing {
    background-color: #f5f7fa;
}

.pricing-plans {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.pricing-plan {
    flex: 1;
    max-width: 350px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-plan.featured {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #3498db;
}

.plan-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #3498db;
    color: white;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom-left-radius: 10px;
}

.plan-header {
    padding: 30px;
    text-align: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.plan-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
}

.period {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.plan-features {
    padding: 30px;
}

.plan-features ul {
    list-style: none;
}

.plan-features ul li {
    margin-bottom: 15px;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.plan-features ul li i {
    margin-right: 10px;
}

.plan-features ul li .fa-check {
    color: #2ecc71;
}

.plan-features ul li .fa-times {
    color: #e74c3c;
}

.plan-footer {
    padding: 0 30px 30px;
    text-align: center;
}

/* 常见问题 */
.faq {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 500;
}

.faq-toggle {
    color: #3498db;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* 联系表单 */
.contact {
    background-color: #f5f7fa;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.info-item p {
    color: #7f8c8d;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

/* 表单错误提示样式 */
.field-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-right: 10px;
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.footer-logo p {
    color: #bdc3c7;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-links-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    text-decoration: none;
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* 用户指南视频区域 */
.user-guide {
    background-color: #f5f7fa;
    padding: 60px 0;
}

.user-guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.user-guide-header h2 {
    color: #2c3e50;
    margin: 0;
}

.toggle-video-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.toggle-video-btn:hover {
    background-color: #2980b9;
}

.toggle-video-btn i {
    font-size: 1.2rem;
}

.video-container {
    display: none;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.video-container.active {
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    width: 100%;
}

.video-wrapper video {
    width: 100%;
    display: block;
}

.video-description {
    padding: 25px;
}

.video-description h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.video-description p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-plans {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-plan {
        width: 100%;
        max-width: 400px;
    }
    
    .pricing-plan.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .user-guide-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .video-container.active {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
}

/* 添加一些动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header,
.feature-card,
.step,
.testimonial,
.pricing-plan,
.faq-item {
    animation: fadeIn 0.8s ease forwards;
}

/* 为移动菜单添加样式 */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 2000;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c3e50;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 60px;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: #3498db;
}

/* 添加占位符样式，用于图片未加载时 */
.placeholder {
    background-color: #f1f1f1;
    border-radius: 10px;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* 联系页面图片样式 */
.contact-image {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.3));
    border: 3.5px solid rgba(52, 152, 219, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-image img {
    width: 120%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 添加表单提交成功消息样式 */
.form-success-message {
    display: none;
    background-color: #2ecc71;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

/* 模态框内容样式 - 英文文本适配 */
.modal-content h3 { 
    font-size: 24px; 
    margin-bottom: 15px; 
} 

.modal-content p { 
    font-size: 16px; 
    color: #666; 
}

/* 添加表单错误消息样式 */
.form-error-message {
    display: none;
    background-color: #e74c3c;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

/* 添加返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2980b9;
}

/* 弹窗样式 */
.info-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.popup-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    max-width: 500px;
    position: relative;
}

.popup-content h3 {
    color: #0056b3;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
}

/* 模态框内容样式 */
.modal-content h3 { 
    font-size: 24px; 
    margin-bottom: 15px; 
} 

.modal-content p { 
    font-size: 16px; 
    color: #666; 
}

.popup-content .form-group {
    margin-bottom: 15px;
}

.popup-content input[type="text"],
.popup-content input[type="tel"],
.popup-content input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.close-popup {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close-popup:hover {
    color: #0056b3;
}