/* 生成工具公用样式 - 基于summary-styles.css修改 */
:root {
    --text-secondary: #616161;
    --white: #ffffff;
}
body {
    margin: 0;
    padding: 0;
}
/* 主题颜色配置 - 不同的生成工具使用不同的主题颜色 */
.theme-subtitle {
    --primary-color: #FF6B6B;
    --dark-color: #E63946;
    --light-color: #FFE4E6;
    --bg-gradient: linear-gradient(135deg, #FFE8E8 0%, #FFD6D6 50%, #FFC2C2 100%);
}

.theme-text-to-speech {
    --primary-color: #4ECDC4;
    --dark-color: #1A535C;
    --light-color: #B2F2E6;
    --bg-gradient: linear-gradient(135deg, #E8F6F5 0%, #D0F2EF 50%, #B8EDE8 100%);
}

.theme-animation-video {
    --primary-color: #9C89B8;
    --dark-color: #7B6898;
    --light-color: #E6E6FA;
    --bg-gradient: linear-gradient(135deg, #F8F6FF 0%, #EEECF8 50%, #E4E2F2 100%);
}

.theme-marketing-video {
    --primary-color: #F9A826;
    --dark-color: #F37335;
    --light-color: #FFEAA7;
    --bg-gradient: linear-gradient(135deg, #FFF9E6 0%, #FFF2CC 50%, #FFEB99 100%);
}

.theme-training-video {
    --primary-color: #6A0572;
    --dark-color: #4A0360;
    --light-color: #E6CFE6;
    --bg-gradient: linear-gradient(135deg, #F5E6F8 0%, #ECD9F2 50%, #E3CCEC 100%);
}

/* 单列布局基础样式 */
.single-column-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--bg-gradient);
}

.content-wrapper {
    max-width: 70%;
    margin: 0 auto;
    width: 100%;
}

/* 主视觉区域样式 */
.hero-section.single-column-layout {
    background: var(--bg-gradient);
}

/* 圆形图标样式 */
.central-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.icon-ring {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-core {
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: 50%;
}

/* 标题文字样式 */
.main-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.accent-text {
    color: var(--primary-color);
}

/* 说明文字样式 */
.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.benefits-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* 主按钮样式 */
.cta-button {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    display: block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* 双列布局样式 */
.two-column-section {
    width: 100%;
    max-width: 70%;
    margin: 50px auto;
    padding: 50px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-column {
    text-align: left;
}

.text-column h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.feature-item {
    margin-bottom: 2rem;
}

.feature-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-item:last-child {
    margin-bottom: 2.5rem;
}

.cta-button-secondary {
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.cta-button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.image-column {
    text-align: center;
}

.image-column img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 右侧功能区域 */
.features-column {
    padding: 1rem;
}

.features-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.features-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feature-list {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
}

/* 文字转语音工具图标颜色 */
.theme-text-to-speech .feature-item:nth-child(1) i { background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%); }
.theme-text-to-speech .feature-item:nth-child(2) i { background: linear-gradient(135deg, #4ECDC4 0%, #1A535C 100%); }
.theme-text-to-speech .feature-item:nth-child(3) i { background: linear-gradient(135deg, #F9A826 0%, #F37335 100%); }

/* 营销视频工具图标颜色 */
.theme-marketing-video .feature-item:nth-child(1) i { background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%); }
.theme-marketing-video .feature-item:nth-child(2) i { background: linear-gradient(135deg, #4ECDC4 0%, #1A535C 100%); }
.theme-marketing-video .feature-item:nth-child(3) i { background: linear-gradient(135deg, #9C89B8 0%, #7B6898 100%); }

/* 培训视频工具图标颜色 */
.theme-training-video .feature-item:nth-child(1) i { background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%); }
.theme-training-video .feature-item:nth-child(2) i { background: linear-gradient(135deg, #4ECDC4 0%, #1A535C 100%); }
.theme-training-video .feature-item:nth-child(3) i { background: linear-gradient(135grad, #6A0572 0%, #4A0360 100%); }

/* 动画视频工具图标颜色 */
.theme-animation-video .feature-item:nth-child(1) i { background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%); }
.theme-animation-video .feature-item:nth-child(2) i { background: linear-gradient(135deg, #4ECDC4 0%, #1A535C 100%); }
.theme-animation-video .feature-item:nth-child(3) i { background: linear-gradient(135deg, #F9A826 0%, #F37335 100%); }

/* 字幕生成工具图标颜色 */
.theme-subtitle .feature-item:nth-child(1) i { background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%); }
.theme-subtitle .feature-item:nth-child(2) i { background: linear-gradient(135deg, #4ECDC4 0%, #1A535C 100%); }
.theme-subtitle .feature-item:nth-child(3) i { background: linear-gradient(135deg, #9C89B8 0%, #7B6898 100%); }

.feature-content {
    flex: 1;
}

.feature-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.benefit-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    padding: 15px;
    border-radius: 15px;
}

/* 利益卡片图标颜色设置 */
.benefit-card:nth-child(1) i { background: linear-gradient(135deg, #FF6B6B 0%, #E63946 100%); }
.benefit-card:nth-child(2) i { background: linear-gradient(135deg, #4ECDC4 0%, #1A535C 100%); }
.benefit-card:nth-child(3) i { background: linear-gradient(135deg, #F9A826 0%, #F37335 100%); }
.benefit-card:nth-child(4) i { background: linear-gradient(135deg, #9C89B8 0%, #7B6898 100%); }
.benefit-card:nth-child(5) i { background: linear-gradient(135deg, #6A0572 0%, #4A0360 100%); }

.benefit-title {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.benefit-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ Section */
.faq-container1 {
    margin: 0 auto;
    padding: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-color);
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #f0f9f0;
}

.faq-question span:last-child {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question span:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background: white;
    transition: all 0.3s ease;
    line-height: 1.6;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1rem 1.5rem;
}

/* 用户评价样式 */
.testimonials-section {
    width: 100%;
    max-width: 70%;
    margin: 50px auto;
    padding: 50px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-user-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-industry {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1rem;
}

.testimonial-content {
    color: var(--dark-color);
    line-height: 1.6;
    font-style: italic;
    position: relative;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content::before {
    top: -10px;
    left: 5px;
}

.testimonial-content::after {
    bottom: -20px;
    right: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-column-layout {
        padding: 1rem;
    }
    
    .content-wrapper {
        max-width: 95%;
    }
    
    .main-heading {
        font-size: 2rem;
    }
    
    .central-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .two-column-section {
        padding: 30px 15px;
        margin: 30px auto;
        max-width: 95%;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
