/* ai-subtitle-translator.css - AI字幕翻译样式 */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: 
        /* 增强的主背景渐变 - 更高对比度 */
        linear-gradient(135deg, #050505 0%, #0f0f0f 25%, #2a2a2a 50%, #0f0f0f 75%, #050505 100%),
        /* 增强的科技蓝光晕效果 - 更高亮度 */
        radial-gradient(circle at 20% 80%, rgba(0, 168, 255, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 60% 60%, rgba(0, 168, 255, 0.15) 0%, transparent 35%);
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* 增强的波浪效果容器 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(0, 168, 255, 0.3) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 123, 255, 0.25) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 70%, rgba(0, 168, 255, 0.2) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 30%, rgba(0, 123, 255, 0.15) 0%, transparent 45%);
    animation: waveAnimation 15s ease-in-out infinite;
    z-index: -1;
}

/* 固定的光点光晕效果 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 90% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 3%),
        radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 3%),
        radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.07) 0%, transparent 3%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 3%),
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 3%),
        /* 新增固定光晕效果 */
        radial-gradient(circle at 15% 60%, rgba(0, 168, 255, 0.08) 0%, transparent 5%),
        radial-gradient(circle at 85% 40%, rgba(0, 123, 255, 0.06) 0%, transparent 5%);
    z-index: -1;
    pointer-events: none;
}

/* 增强的波浪动画 - 更大移动幅度 */
@keyframes waveAnimation {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-8%) translateY(4%);
        opacity: 0.8;
    }
    50% {
        transform: translateX(-15%) translateY(0);
        opacity: 1;
    }
    75% {
        transform: translateX(-8%) translateY(-4%);
        opacity: 0.8;
    }
}

/* 增强的光点闪烁动画 - 更高对比度 */
@keyframes twinkle {
    0%, 100% {
        opacity: 0.4;
    }
    25% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0.6;
    }
}

/* 添加科技感边框光效 */
.container {
    position: relative;
}





/* 容器样式 */
.container {
    width: 70%;
    text-align: center;
   
    margin: 40px auto;
}

/* 标题样式 */
.main-title {
    color: #00a8ff;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 168, 255, 0.3);
}
.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);
}
.subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* 上传区域样式 */
.upload-section {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 60px 40px;
    margin: 30px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.upload-section:hover {
    border-color: rgba(0, 168, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.upload-icon {
    font-size: 4rem;
    color: #00a8ff;
    margin-bottom: 20px;
    opacity: 0.8;
}

.upload-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* 上传按钮样式 */
.upload-btn {
    background: linear-gradient(135deg, #00a8ff 0%, #007bff 100%);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
    margin: 10px 0;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.5);
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.upload-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 168, 255, 0.3);
}

/* 文件信息样式 */
.file-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 15px;
    line-height: 1.4;
}

/* 功能特性区域 */
.features-section {
    margin-top: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22%, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    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;
    color: #00a8ff;
    margin-bottom: 15px;
}

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

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 步骤区域样式 */
.steps-section {
    margin-top: 60px;
    text-align: center;
}

.steps-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
}

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

.step-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00a8ff, #007bff);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-item h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

/* 功能特性标题样式 */
.features-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.title-section {
    text-align: center;
    margin-bottom: 40px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .upload-section {
        padding: 40px 20px;
    }
    
    .upload-icon {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .steps-title {
        font-size: 1.6rem;
    }
    
    .features-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .upload-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 20px;
    }
}

/* 图片功能展示区域样式 */
.image-showcase-section {
    margin-top: 80px;
    text-align: center;
}

.image-showcase-section .container {
    margin: 0 auto;
    padding: 0 20px;
}

.image-showcase-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.image-showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

.image-showcase-card {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    width: 100%; /* 确保卡片宽度与container一致 */
    box-sizing: border-box;
    padding: 40px;
    margin: 0 auto; /* 水平居中 */
    border-radius: 15px;
}

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

/* 图片区域 - 占50% */
.showcase-image-container {
    width: 50%;
    flex-shrink: 0;
}

.showcase-image {
    width: 100%;
    height: 100%; /* 增加高度以更好地展示图片 */
    object-fit: cover;
    border-radius: 10px;
}

/* 内容区域 - 占50% */
.image-showcase-content {
    width: 50%;
    padding-left: 40px;
    box-sizing: border-box;
}

.image-showcase-card h3 {
    color: #00a8ff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.image-showcase-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.feature-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    color: #00a8ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.try-button {
    background: linear-gradient(135deg, #00a8ff, #007bff);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.try-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

@media (max-width: 768px) {
    .image-showcase-grid {
        gap: 30px;
    }
    
    .image-showcase-card {
        padding: 30px;
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .showcase-image {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }
    
    .image-showcase-title {
        font-size: 1.8rem;
    }

    .image-showcase-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .image-showcase-card {
        padding: 20px;
    }
    
    .showcase-image {
        height: 180px;
    }
    
    .image-showcase-title {
        font-size: 1.6rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeInUp 0.6s ease-out;
}

.upload-section {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.features-section {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.image-showcase-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* 展示区域样式 */
.showcase-section {
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.showcase-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(0, 168, 255, 0.3);
}

/* 功能详情样式 */
.feature-detail {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

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

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.feature-detail-icon {
    font-size: 2rem;
    color: #00a8ff;
}

.feature-detail h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

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

/* 适用场景列表样式 - 一行一列左右布局 */
.scenarios-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* 确保50-50布局容器内的子元素垂直排列 */
.scenarios-list .scenario-card-50-50 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    padding: 25px;
}

.scenario-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
}

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

.scenario-image {
    width: 50%;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scenario-img {
    width: 50%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    filter: brightness(0.95) contrast(1.05);
}

/* 确保WebP格式图片正确显示 */
.scenario-img[src*=".webp"],
.scenario-img[src*="audio-processing"] {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}

/* 50%宽度布局样式 - 上下布局：文案在上，图片视频在下 */
.scenario-card-50-50 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%),
        radial-gradient(circle at 50% 50%, rgba(0, 168, 255, 0.05) 0%, transparent 50%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    transform: translateY(0);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 悬停效果 */
.scenario-card-50-50:hover {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
        radial-gradient(circle at 50% 50%, rgba(0, 168, 255, 0.08) 0%, transparent 50%);
    border-color: rgba(0, 168, 255, 0.3);
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 12px 30px rgba(0, 168, 255, 0.15),
        0 6px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* 点击效果 */
.scenario-card-50-50:active {
    transform: translateY(-2px) scale(1.005);
    transition: all 0.1s ease;
}

/* 光晕边框效果 */
.scenario-card-50-50::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00a8ff, #007bff, #00a8ff);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.scenario-card-50-50:hover::before {
    opacity: 0.3;
}

/* 卡片内部微光效果 */
.scenario-card-50-50::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.scenario-card-50-50:hover::after {
    left: 100%;
}

/* 图片视频容器 - 水平排列 */
.scenario-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

.scenario-image-50 {
    width: 50%;
    align-items: center;
    justify-content: center;
    position: relative;

}

.scenario-image-50 img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scenario-image-50 video {
    width: 100%;
    height: 550px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #000;
    position: relative;
    overflow: hidden;
    object-fit: cover;
}

/* 强制海报图平铺满整个播放器 */
.scenario-image-50 video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

/* 为每个视频设置对应的海报图作为背景 */
.scenario-image-50 video[poster*="t1.jpg"]::after {
    background-image: url('/aitools/video/t1.jpg');
}

.scenario-image-50 video[poster*="t2.jpg"]::after {
    background-image: url('/aitools/video/t2.jpg');
}

.scenario-image-50 video[poster*="t3.jpg"]::after {
    background-image: url('/aitools/video/t3.jpg');
}

/* 视频播放时隐藏海报图背景 */
.scenario-image-50 video.playing::after {
    display: none;
}

/* 输入输出标签样式 */
.input-label, .output-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #00a8ff, #007bff);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 168, 255, 0.3);
}

.output-label {
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .scenario-card-50-50 {
        flex-direction: column;
        min-height: auto;
    }
    
    .scenario-image-50 {
        width: 100%;
        height: 300px;
    }
    
    .scenario-image-50 img,
    .scenario-image-50 video {
        height: 280px;
    }
}

.scenario-card:hover .scenario-img {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    filter: brightness(1) contrast(1.1);
}

.scenario-content {
    width: 60%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scenario-content h4 {
    color: #00a8ff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    position: relative;
}

.scenario-content h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #00a8ff, transparent);
    border-radius: 2px;
}

.scenario-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
    text-align: left;
}

.scenario-content p:last-child {
    margin-bottom: 0;
}

/* 能力边界样式 */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.capability-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
}

.capability-item h4 {
    color: #00a8ff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.format-lists {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.format-list h5 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.format-list p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border-left: 3px solid #00a8ff;
}

/* 全新的简单左右布局 - 一行两列 */
.simple-row-layout {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}
/* 视频样式 - 确保海报图铺满屏幕 */
.simple-col video {
    width: 100%; /* 确保视频宽度填满容器 */
    height: 300px; /* 固定视频高度 */
    object-fit: cover; /* 关键：铺满整个视频容器，保持比例但完全覆盖 */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: #000;
    position: relative;
    overflow: hidden;
}

/* 为简单布局的视频也添加平铺效果 */
.simple-col video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

.simple-col video[poster*="t1.jpg"]::after {
    background-image: url('/aitools/video/t1.jpg');
}

.simple-col video[poster*="t2.jpg"]::after {
    background-image: url('/aitools/video/t2.jpg');
}

.simple-col video[poster*="t3.jpg"]::after {
    background-image: url('/aitools/video/t3.jpg');
}

.simple-col video.playing::after {
    display: none;
}

/* 标签样式 */
.col-label {
    background: linear-gradient(135deg, #00a8ff, #007bff);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.output-label {
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .simple-row-layout {
        flex-direction: column;
        gap: 15px;
    }
    
    .simple-col {
        width: 100%;
    }
    
    .simple-col video {
        height: 250px;
    }
}
@media (max-width: 480px) {
    .showcase-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .feature-detail {
        padding: 15px;
    }
    
    .feature-detail-icon {
        font-size: 1.5rem;
    }
    
    .feature-detail h3 {
        font-size: 1.1rem;
    }
    
    .scenario-item {
        padding: 15px;
    }
    
    .scenario-icon {
        font-size: 1.8rem;
    }
    
    .capability-item {
        padding: 15px;
    }
    
    .format-list h5 {
        font-size: 0.9rem;
    }
    
    .format-list p {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* 字幕翻译常见问题样式 */
.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);
}

.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;
}

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

.faq-icon {
    font-size: 1.2rem;
    color: #00a8ff;
    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);
}