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

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

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

/* 导航栏样式 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a.active {
    color: #3498db;
    font-weight: bold;
}

.language-switch {
    background: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    transition: background 0.3s;
}

.language-switch:hover {
    background: #2980b9;
}

/* CTA横幅样式 */
.cta-banner {
    background: linear-gradient(135deg, #3498db 0%, #8e44ad 100%);
    color: white;
    padding: 15px 0;
    position: fixed;
    top: 60px;
    width: 100%;
    z-index: 999;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.cta-container p {
    margin: 0;
    font-size: 1rem;
}

.cta-btn {
    background: #2ecc71;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #27ae60;
}

/* 主页横幅样式 */
.hero {
    background: linear-gradient(135deg, #3498db 0%, #8e44ad 100%);
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

.hero-container h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: normal;
}

.hero-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 主要内容区域样式 */
.section {
    padding: 100px 0 50px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 50px;
}

.bg-light {
    background-color: #f8f9fa;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 关于内容样式 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* 功能特点样式 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 使用教程样式 */
.tutorial-content {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.step h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

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

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

.tip-box {
    background: #e8f4fc;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.tip-box h4 {
    color: #3498db;
    margin-bottom: 10px;
}

.best-practices {
    background: #e8f7f0;
    border-left: 4px solid #2ecc71;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.best-practices h4 {
    color: #2ecc71;
    margin-bottom: 10px;
}

.faq-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.faq-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* 注意事项样式 */
.disclaimer-content ul {
    max-width: 800px;
    margin: 0 auto;
    list-style-type: disc;
    padding-left: 40px;
}

.disclaimer-content li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* CTA区域样式 */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #3498db 0%, #8e44ad 100%);
    color: white;
    padding: 60px 20px;
    border-radius: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 平台图标样式 */
.platforms {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.platforms img {
    width: 100px;
    height: auto;
}

/* 定价计划样式 */
.pricing-plans {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 50px 0;
}

.plan {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.plan h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.plan p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #7f8c8d;
}

.plan span {
    font-weight: bold;
    color: #3498db;
    font-size: 1.5rem;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.plan li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.plan li:before {
    content: "✓";
    color: #2ecc71;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.plan .btn {
    margin-top: 20px;
    display: block;
    width: 100%;
}

.most-popular {
    border: 3px solid #f39c12;
    position: relative;
    transform: scale(1.05);
}

.most-popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.most-popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f39c12;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
}

/* FAQ样式 */
.faq-section {
    margin-top: 80px;
}

.faq-section .section-title {
    margin-bottom: 50px;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.faq-item p {
    color: #7f8c8d;
    line-height: 1.8;
}

/* Tab切换样式 */
.tab-container {
    margin: 40px 0;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-button {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.tab-button:first-child {
    border-radius: 5px 0 0 5px;
    border-right: none;
}

.tab-button:last-child {
    border-radius: 0 5px 5px 0;
}

.tab-button.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
    }
    
    .nav-menu {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu li {
        margin: 5px 10px;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero {
        padding: 200px 0 100px;
    }
    
    .hero-container h1 {
        font-size: 2rem;
    }
    
    .hero-container h2 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 80px 0 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .tutorial-steps {
        grid-template-columns: 1fr;
    }
    
    .disclaimer-content ul {
        padding-left: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .step {
        padding: 20px;
    }
    
    .pricing-plans {
        flex-direction: column;
        align-items: center;
    }
    
    .plan,
    .most-popular {
        width: 100%;
        max-width: 350px;
        transform: none !important;
    }
    
    .most-popular {
        transform: none !important;
    }
    
    .platforms {
        gap: 10px;
    }
    
    .platforms img {
        width: 80px;
    }
    
    .tabs {
        margin-bottom: 20px;
    }
    
    .tab-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}