:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --accent-color: #ff006e;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --success-color: #38b000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #001a33 0%, #003366 50%, #001a33 100%);
    color: var(--light-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* 头部样式 */
header {

    color: white;
    text-align: center;
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    padding: 20px;
}

header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 步骤部分 */
.steps-section {
    padding: 80px 0;
    background: none;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--light-color);
}

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

.step {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00ff88, #00e078);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

/* 对比部分 - 三步骤流程样式 */
.comparison-section {
    padding: 80px 0;
    background: none;
    position: relative;
    overflow: hidden;
}

.steps-comparison-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.step-comparison-item {
    flex: 1;
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step-comparison-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 136, 0.3);
}

.voice-avatars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 140px;
    margin: 0 auto;
}

.mini-avatar {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.generate-button-wrapper {
    display: flex;
    justify-content: center;
}

.generate-preview-btn {
    background: linear-gradient(45deg, #00ff88, #00e078);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.generate-preview-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.generate-icon {
    font-size: 1.1rem;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.step-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .steps-comparison-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-comparison-item {
        padding: 30px 20px;
    }
    
    .voice-avatars-grid {
        width: 120px;
        grid-template-columns: repeat(4, 1fr);
    }
    
    .mini-avatar {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
    
    .generate-preview-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .comparison-section {
        padding: 60px 0;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .icon-wrapper {
        width: 70px;
        height: 70px;
        border-radius: 15px;
    }
}

/* 声音部分 */
.voices-section {
    padding: 80px 0;
    background: none;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.voice-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.voice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.voice-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 功能部分 */
.features-section {
    padding: 80px 0;
    background: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00ff88;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffffff;
}

/* 应用场景部分 */
.use-cases-section {
    padding: 80px 0;
    background: none;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    border-left: 4px solid #00ff88;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.use-case-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00ff88;
    text-align: center;
}

.use-case-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center;
}

.use-case-card p {
    color: rgba(255, 255, 255, 0.8);
}

.voice-card h3 {
    color: #ffffff;
}

.voice-card p {
    color: rgba(255, 255, 255, 0.8);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

.step p {
    color: rgba(255, 255, 255, 0.8);
}


.copyright {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 20px;
}

.ai-tts-hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
    position: relative;
}

.ai-tts-container {
    max-width: 1200px;
    margin-top: 80px ;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
   border: 1px solid rgba(226, 210, 210, 0.1);
   border-radius: 15px;

}

/* 左侧功能介绍区域 */
.ai-tts-left {
    flex: 1;
    min-width: 300px;
}

.ai-tts-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 255, 136, 0.3);
}

.ai-tts-description {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.ai-tts-start-btn {
    background: linear-gradient(45deg, #00ff88, #00e078);
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
}

.ai-tts-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.6);
}

/* 右侧语音角色选择区域 */
.ai-tts-right {
    flex: 1;
    min-width: 400px;
}

.voice-role-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.voice-role-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.voice-role-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.2);
}

.voice-role-card.active {
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.voice-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.voice-info {
    flex: 1;
}

.voice-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.voice-emotions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.emotion-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    opacity: 0.8;
}

/* 语言选择器 */
.language-selector {
    text-align: right;
}

.language-dropdown {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 0.9rem;
    width: 150px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-dropdown:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-dropdown:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .vs {
        margin: 30px 0;
    }

    .ai-tts-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }
    
    .ai-tts-title {
        font-size: 2rem;
    }
    
    .voice-role-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-tts-left,
    .ai-tts-right {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ai-tts-hero {
        padding: 40px 0;
    }
    
    .ai-tts-title {
        font-size: 1.5rem;
    }
    
    .voice-role-card {
        padding: 10px;
    }
    
    .voice-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* 常见问题 (FAQ) 样式 */
.faq-section {
    padding: 80px 0;
    background: none;
}

.faq-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--light-color);
}

.faq-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-question span {
    color: #00ff88;
    margin-right: 10px;
}

.faq-icon {
    font-size: 1.2rem;
    color: #00ff88;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* FAQ 响应式设计 */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-title {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}