/* =====================================================
   AI 多模态视频创作平台 - 前台样式（科技感升级版）
   ===================================================== */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: #333; background: #0a0a1a; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: #4f46e5; }
a:hover { color: #6366f1; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   Header (导航栏保持原有风格但适配暗色)
   ============================================ */
.site-header { background: rgba(10,10,26,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 rgba(255,255,255,0.06); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #fff; }
.logo-icon { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.nav-link { padding: 8px 14px; border-radius: 6px; color: rgba(255,255,255,0.65); font-size: 13px; transition: all 0.25s; white-space: nowrap; position: relative; }
.nav-link:hover { color: #fff; background: rgba(79,70,229,0.15); }
.nav-link.active { background: rgba(79,70,229,0.2); color: #fff; }
.nav-anchor { font-size: 13px; }
.nav-anchor::after {
    content: '';
    position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 1px;
    transition: width 0.3s ease;
}
.nav-anchor:hover::after,
.nav-anchor.active::after { width: 60%; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.user-menu { position: relative; cursor: pointer; }
.user-info { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,0.08); text-decoration: none; transition: background 0.2s; }
.user-info:hover { background: rgba(255,255,255,0.13); }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.user-name { font-size: 14px; color: #fff; }
.user-balance { font-size: 12px; color: #f59e0b; font-weight: 500; }
/* 不可见填充区：消除 user-info 与 dropdown 之间的间隙 */
.user-menu::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; z-index: 199; }
.user-dropdown { display: none; position: absolute; top: calc(100% + 4px); right: 0; background: #1a1a2e; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.5); min-width: 200px; overflow: hidden; z-index: 200; border: 1px solid rgba(255,255,255,0.08); padding: 12px 0; }
.user-dropdown-section { padding: 4px 0; }
.user-dropdown-label { display: block; padding: 6px 16px; font-size: 11px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.5px; }
.user-dropdown a { display: block; padding: 8px 16px; font-size: 13px; color: rgba(255,255,255,0.7); transition: all 0.2s; position: relative; }
.user-dropdown a:hover { background: rgba(79,70,229,0.15); color: #fff; }
.user-dropdown a.active { color: #818cf8; background: rgba(79,70,229,0.1); }
.user-dropdown a.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 16px; background: linear-gradient(180deg, #6366f1, #a855f7); border-radius: 0 2px 2px 0; }
.user-dropdown-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 8px 12px; }
.user-menu:hover .user-dropdown { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 500; border: none; cursor: pointer; transition: all 0.3s; text-decoration: none; position: relative; }
.btn-primary { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(79,70,229,0.4); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn-success { background: #10b981; color: #fff; }
.btn-success:hover { background: #059669; color: #fff; }
.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-glow { box-shadow: 0 0 30px rgba(79,70,229,0.4), 0 0 60px rgba(124,58,237,0.2); animation: btnGlow 2s ease-in-out infinite; }
.btn-icon { font-size: 18px; }
@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(79,70,229,0.4), 0 0 60px rgba(124,58,237,0.2); }
    50% { box-shadow: 0 0 45px rgba(79,70,229,0.6), 0 0 80px rgba(124,58,237,0.35); }
}

/* ============================================
   Hero Section - 三面板轮播
   ============================================ */
/* ===== 全局固定背景动效 ===== */
.global-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.home-hero {
    background: transparent;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 64px;
}

/* 网格背景 */
.hero-grid-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(79,70,229,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79,70,229,0.12) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}
.hero-grid-bg::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse at 30% 40%, rgba(99,102,241,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 60%, rgba(139,92,246,0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* 光晕 */
.hero-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.55;
    animation: glowFloat 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
.hero-glow-1 { width: 550px; height: 550px; background: radial-gradient(circle, rgba(99,102,241,0.7), rgba(139,92,246,0.35), transparent 70%); top: 5vh; left: -5vw; animation-delay: 0s; }
.hero-glow-2 { width: 450px; height: 450px; background: radial-gradient(circle, rgba(6,182,212,0.55), rgba(59,130,246,0.25), transparent 70%); top: 50vh; right: -8vw; animation-delay: -3s; }
.hero-glow-3 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(139,92,246,0.5), rgba(99,102,241,0.2), transparent 70%); bottom: 5vh; left: 35vw; animation-delay: -5s; }
@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -35px) scale(1.15); }
    66% { transform: translate(-25px, 25px) scale(0.9); }
}

/* 粒子 */
.hero-particles {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
}
.hero-particles::before,
.hero-particles::after {
    content: '';
    position: fixed;
    background: rgba(129,140,248,0.8);
    border-radius: 50%;
    animation: particleDrift 6s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(129,140,248,0.6), 0 0 20px rgba(129,140,248,0.2);
}
.hero-particles::before { width: 5px; height: 5px; top: 20vh; left: 15vw; animation-delay: 0s; }
.hero-particles::after { width: 4px; height: 4px; top: 60vh; right: 20vw; animation-delay: -2s; }
/* 额外粒子容器 */
.hero-particles-extra {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
}
.hero-particles-extra::before,
.hero-particles-extra::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    animation: particleDrift 8s ease-in-out infinite;
}
.hero-particles-extra::before {
    width: 3px; height: 3px;
    background: rgba(6,182,212,0.7);
    box-shadow: 0 0 6px rgba(6,182,212,0.5);
    top: 35vh; left: 75vw;
    animation-delay: -1s;
}
.hero-particles-extra::after {
    width: 5px; height: 5px;
    background: rgba(139,92,246,0.7);
    box-shadow: 0 0 8px rgba(139,92,246,0.5);
    bottom: 25vh; left: 30vw;
    animation-delay: -4s;
}
@keyframes particleDrift {
    0%, 100% { transform: translate(0, 0); opacity: 0.4; }
    25% { transform: translate(60px, -40px); opacity: 1; }
    50% { transform: translate(120px, 15px); opacity: 0.6; }
    75% { transform: translate(40px, 50px); opacity: 0.9; }
}

/* ============================================
   轮播轨道
   ============================================ */
.hero-carousel-track {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 450px;
}

/* ============================================
   单个轮播面板
   ============================================ */
.hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.hero-slide.exit {
    opacity: 0;
    visibility: visible;
    z-index: 1;
}

/* 面板内抽象装饰形状 */
.hero-slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.slide-abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
}
/* 面板1：紫蓝色调 */
.shape-1 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(99,102,241,0.65), rgba(139,92,246,0.3), transparent 70%); top: 10%; right: 5%; animation: shapeFloat1 10s ease-in-out infinite; }
.shape-2 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(139,92,246,0.55), rgba(59,130,246,0.25), transparent 70%); bottom: 20%; left: 5%; animation: shapeFloat2 8s ease-in-out infinite; }
.shape-3 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(99,102,241,0.5), rgba(139,92,246,0.2), transparent 70%); top: 50%; left: 40%; animation: shapeFloat3 12s ease-in-out infinite; }
/* 面板2：青绿色调 */
.shape-4 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(6,182,212,0.65), rgba(34,211,238,0.3), transparent 70%); top: 15%; right: 10%; animation: shapeFloat1 9s ease-in-out infinite; }
.shape-5 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(34,211,238,0.55), rgba(45,212,191,0.25), transparent 70%); bottom: 15%; left: 8%; animation: shapeFloat2 11s ease-in-out infinite; }
.shape-6 { width: 220px; height: 220px; background: radial-gradient(circle, rgba(45,212,191,0.5), rgba(6,182,212,0.2), transparent 70%); top: 55%; left: 45%; animation: shapeFloat3 7s ease-in-out infinite; }
/* 面板3：橙粉色调 */
.shape-7 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(249,115,22,0.6), rgba(251,146,60,0.3), transparent 70%); top: 10%; left: 5%; animation: shapeFloat1 10s ease-in-out infinite; }
.shape-8 { width: 290px; height: 290px; background: radial-gradient(circle, rgba(236,72,153,0.55), rgba(249,115,22,0.25), transparent 70%); bottom: 20%; right: 5%; animation: shapeFloat2 8.5s ease-in-out infinite; }
.shape-9 { width: 210px; height: 210px; background: radial-gradient(circle, rgba(251,146,60,0.5), rgba(236,72,153,0.2), transparent 70%); top: 50%; right: 30%; animation: shapeFloat3 11s ease-in-out infinite; }

@keyframes shapeFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(40px, -30px) scale(1.15) rotate(5deg); }
    66% { transform: translate(-20px, 20px) scale(0.9) rotate(-3deg); }
}
@keyframes shapeFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-30px, -20px) scale(1.1) rotate(-5deg); }
    66% { transform: translate(25px, 15px) scale(0.95) rotate(3deg); }
}
@keyframes shapeFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(15px, -35px) scale(1.2) rotate(8deg); }
}

/* ============================================
   面板内容（文字 + 按钮）
   ============================================ */
.hero-slide .hero-content { max-width: 780px; position: relative; z-index: 1; }

/* 面板进入动画 */
.hero-slide.active .hero-badge {
    animation: slideContentIn 0.7s ease-out 0.1s both;
}
.hero-slide.active .hero-title {
    animation: slideContentIn 0.7s ease-out 0.25s both;
}
.hero-slide.active .hero-desc {
    animation: slideContentIn 0.7s ease-out 0.4s both;
}
.hero-slide.active .hero-actions {
    animation: slideContentIn 0.7s ease-out 0.55s both;
}

@keyframes slideContentIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 顶部徽章 */
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px;
    background: rgba(79,70,229,0.15);
    border: 1px solid rgba(79,70,229,0.3);
    border-radius: 50px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
}
.badge-dot {
    width: 8px; height: 8px;
    background: #4f46e5;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(79,70,229,0.8); }
    50% { box-shadow: 0 0 0 8px rgba(79,70,229,0); }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}
.hero-title .highlight {
    background: linear-gradient(135deg, #6366f1, #a855f7, #6366f1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-desc {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex; gap: 16px;
}
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

/* ============================================
   轮播指示器
   ============================================ */
.carousel-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 20px 0 0;
    position: relative;
    z-index: 10;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}
.carousel-dot:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.2);
}
.carousel-dot.active {
    background: #6366f1;
    border-color: rgba(99,102,241,0.5);
    box-shadow: 0 0 12px rgba(99,102,241,0.5);
    width: 28px;
    border-radius: 5px;
}

/* 轮播左右箭头 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}
.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }
.carousel-arrow:hover {
    background: rgba(99,102,241,0.25);
    border-color: rgba(99,102,241,0.5);
    color: #fff;
    box-shadow: 0 0 16px rgba(99,102,241,0.25);
    transform: translateY(-50%) scale(1.08);
}
.carousel-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

/* ============================================
   统计数据（轮播下方共享）
   ============================================ */
.hero-stats-bar {
    position: relative;
    z-index: 5;
    padding: 10px 0 30px;
}
.hero-stats {
    display: flex; align-items: center; gap: 32px;
    justify-content: center;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 32px; font-weight: 800; background: linear-gradient(135deg, #fff, #a5b4fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-unit { font-size: 20px; }
.stat-label { font-size: 13px; opacity: 0.6; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* ============================================
   滚动指示器
   ============================================ */
.hero-scroll-indicator {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 10; opacity: 0.6;
}
.hero-scroll-indicator span { font-size: 12px; color: rgba(255,255,255,0.5); }
.scroll-mouse {
    width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.3); border-radius: 12px;
    position: relative;
}
.scroll-dot {
    width: 4px; height: 8px; background: rgba(255,255,255,0.6); border-radius: 2px;
    position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 22px; }
}

/* ============================================
   Section 通用
   ============================================ */
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; padding: 6px 18px;
    background: rgba(79,70,229,0.1);
    border: 1px solid rgba(79,70,229,0.25);
    border-radius: 50px;
    font-size: 13px; color: #818cf8;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.section-title { text-align: center; font-size: 38px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.section-desc { text-align: center; color: rgba(255,255,255,0.55); font-size: 16px; max-width: 600px; margin: 0 auto; }
.title-highlight {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ============================================
   六大功能概览卡片
   ============================================ */
.features-overview-section {
    background: rgba(13, 13, 32, 0.88);
}
.features-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79,70,229,0.4);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(79,70,229,0.1);
}
.feature-card-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(79,70,229,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.feature-card:hover .feature-card-glow { opacity: 1; }
.feature-card-inner {
    padding: 36px 28px;
    position: relative;
    z-index: 1;
}
.feature-icon-wrap {
    position: relative;
    width: 64px; height: 64px;
    margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center;
}
.feature-icon-bg {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 16px;
    opacity: 0.15;
}
.feature-card-1 .feature-icon-bg { background: linear-gradient(135deg, #f59e0b, #f97316); }
.feature-card-2 .feature-icon-bg { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.feature-card-3 .feature-icon-bg { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.feature-card-4 .feature-icon-bg { background: linear-gradient(135deg, #10b981, #06b6d4); }
.feature-card-5 .feature-icon-bg { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.feature-card-6 .feature-icon-bg { background: linear-gradient(135deg, #3b82f6, #6366f1); }

.feature-icon { font-size: 32px; position: relative; z-index: 1; }
.feature-card-inner h3 { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.feature-card-inner p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 14px; }
.feature-tag {
    display: inline-block; padding: 4px 12px;
    background: rgba(79,70,229,0.1); border-radius: 20px;
    font-size: 11px; color: #818cf8; letter-spacing: 0.5px;
}

/* 功能卡片悬停时的装饰条 */
.feature-card::after {
    content: '';
    position: absolute; bottom: 0; left: 20px; right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(79,70,229,0.5), transparent);
    transform: scaleX(0);
    transition: transform 0.4s;
}
.feature-card:hover::after { transform: scaleX(1); }

/* ============================================
   功能详情区域
   ============================================ */
.feature-detail-section {
    padding: 120px 0;
    position: relative;
}
/* 奇偶交替背景，保持靛蓝主色调，仅微弱色差形成边界 */
.feature-detail-1,
.feature-detail-3,
.feature-detail-5 { background: #0c0d24; box-shadow: inset 5px 0 0 rgba(99,102,241,0.35); }
.feature-detail-2,
.feature-detail-4,
.feature-detail-6 { background: #0f0f28; box-shadow: inset 5px 0 0 rgba(99,102,241,0.18); }
.feature-detail-section::before {
    content: '';
    position: absolute; top: 0; left: 5%; right: 5%;
    height: 1px;
    /* 统一靛蓝主色调顶部装饰线 */
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), rgba(99,102,241,0.08), transparent);
}
.feature-detail-section::after {
    content: '';
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 200px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
}
.feature-detail-wrap {
    display: flex; align-items: center; gap: 80px;
}
.feature-detail-reverse .feature-detail-wrap { flex-direction: row-reverse; }
.feature-detail-media, .feature-detail-info { flex: 1; min-width: 0; }

/* 详情进入动画 */
.feature-detail-info {
    opacity: 0; transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-detail-reverse .feature-detail-info { transform: translateX(-30px); }
.feature-detail-section.visible .feature-detail-info {
    opacity: 1; transform: translateX(0);
}
.feature-detail-media {
    opacity: 0; transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}
.feature-detail-reverse .feature-detail-media { transform: translateX(30px); }
.feature-detail-section.visible .feature-detail-media {
    opacity: 1; transform: translateX(0);
}

/* 媒体框 */
.media-frame {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    display: flex; align-items: center; justify-content: center;
}
.media-frame::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(79,70,229,0.05), rgba(124,58,237,0.05));
    z-index: 1; pointer-events: none;
}
.media-screen {
    position: relative; z-index: 2;
    width: 88%; height: 82%;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.media-placeholder {
    text-align: center;
    padding: 20px;
}
.media-demo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}
.media-demo-video {
    border-radius: 12px;
    display: block;
}
.media-demo-video.portrait {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* 竖版视频：放大外框和屏幕比例 */
.media-frame.portrait-frame {
    aspect-ratio: 9 / 16;
    max-height: 580px;
    margin: 0 auto;
}
.media-frame.portrait-frame .media-screen {
    width: 95%;
    height: 92%;
}
.media-icon-animated {
    position: relative;
    width: 80px; height: 80px;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
}
.media-icon-core {
    font-size: 40px;
    position: relative; z-index: 2;
    animation: mediaIconFloat 3s ease-in-out infinite;
}
@keyframes mediaIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.media-pulse-ring {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(79,70,229,0.3);
    animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}
.media-hint {
    font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 4px;
}
.media-subhint {
    font-size: 12px; color: rgba(255,255,255,0.25);
}

/* 媒体框装饰元素 */
.media-deco {
    position: absolute; border-radius: 12px;
    background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(124,58,237,0.08));
    border: 1px solid rgba(79,70,229,0.1);
    z-index: 0;
}
.media-deco-1 { width: 80px; height: 80px; top: -15px; right: -15px; animation: decoFloat 6s ease-in-out infinite; }
.media-deco-2 { width: 60px; height: 60px; bottom: -10px; left: -10px; animation: decoFloat 6s ease-in-out infinite -2s; }
.media-deco-3 { width: 90px; height: 60px; top: -12px; left: -15px; border-radius: 20px; animation: decoFloat 5s ease-in-out infinite -1s; }
.media-deco-4 { width: 70px; height: 70px; bottom: -12px; right: -12px; border-radius: 16px; animation: decoFloat 7s ease-in-out infinite; }
.media-deco-5 { width: 80px; height: 40px; top: -10px; left: -10px; border-radius: 20px; animation: decoFloat 5s ease-in-out infinite -3s; }
.media-deco-6 { width: 60px; height: 80px; top: -12px; right: -10px; border-radius: 14px; animation: decoFloat 6s ease-in-out infinite -1s; }
.media-deco-7 { width: 100px; height: 60px; bottom: -15px; right: -15px; border-radius: 20px; animation: decoFloat 7s ease-in-out infinite -2s; }
@keyframes decoFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, -10px) rotate(5deg); }
    66% { transform: translate(-5px, 5px) rotate(-3deg); }
}

/* 详情信息区 */
.detail-badge {
    display: inline-block; padding: 5px 14px;
    background: rgba(79,70,229,0.15);
    border: 1px solid rgba(79,70,229,0.3);
    border-radius: 20px;
    font-size: 12px; color: #818cf8; letter-spacing: 1px;
    margin-bottom: 16px;
}
/* badge 统一使用靛蓝主色调 */
.feature-detail-section .detail-badge { background: rgba(99,102,241,0.15); border-color: rgba(99,102,241,0.3); color: #818cf8; }
.feature-detail-info h2 {
    font-size: 34px; font-weight: 700; color: #fff; margin-bottom: 16px;
}
.detail-desc {
    font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 28px;
}
.detail-list { list-style: none; margin-bottom: 32px; }
.detail-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.detail-list li:last-child { border-bottom: none; }
.detail-list .list-icon {
    width: 24px; height: 24px;
    background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: #10b981;
    flex-shrink: 0; margin-top: 2px;
}
/* list-icon 统一使用靛蓝主色调 */
.feature-detail-section .list-icon { background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(99,102,241,0.05)); color: #818cf8; }
.detail-list li strong {
    display: block; font-size: 15px; color: #fff; margin-bottom: 2px;
}
.detail-list li span {
    font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5;
}

/* 文生图片浮动卡片装饰 */
.media-floating-cards {
    position: absolute; right: -30px; top: 20%; z-index: 0;
    display: flex; flex-direction: column; gap: 12px;
}
.floating-card {
    width: 60px; height: 80px;
    background: rgba(79,70,229,0.08);
    border: 1px solid rgba(79,70,229,0.15);
    border-radius: 10px;
    animation: floatCard 4s ease-in-out infinite;
}
.fc-1 { animation-delay: 0s; }
.fc-2 { animation-delay: -1.5s; margin-left: 20px; }
.fc-3 { animation-delay: -3s; margin-left: -10px; }
@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

/* 音波可视化装饰 */
.audio-wave-deco {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 3px; align-items: flex-end;
    z-index: 0;
}
.wave-bar {
    width: 4px;
    background: linear-gradient(to top, rgba(79,70,229,0.4), rgba(124,58,237,0.2));
    border-radius: 2px;
    animation: waveJump 0.8s ease-in-out infinite;
}
.wave-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 36px; animation-delay: -0.1s; }
.wave-bar:nth-child(3) { height: 16px; animation-delay: -0.2s; }
.wave-bar:nth-child(4) { height: 44px; animation-delay: -0.3s; }
.wave-bar:nth-child(5) { height: 24px; animation-delay: -0.4s; }
.wave-bar:nth-child(6) { height: 32px; animation-delay: -0.5s; }
.wave-bar:nth-child(7) { height: 18px; animation-delay: -0.6s; }
@keyframes waveJump {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

/* 图片到视频变换装饰 */
.img-to-video-deco {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 12px;
    z-index: 0;
}
.transform-frame {
    width: 40px; height: 40px;
    border: 1px solid rgba(79,70,229,0.2);
    border-radius: 6px;
    animation: transformPulse 2s ease-in-out infinite;
}
.tf-1 { background: rgba(79,70,229,0.05); }
.tf-2 { background: rgba(124,58,237,0.08); animation-delay: -1s; border-radius: 50%; }
.transform-arrow {
    font-size: 20px; color: rgba(79,70,229,0.3);
    animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes transformPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}
@keyframes arrowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* 数字人面部网格装饰 */
.digital-face-mesh {
    position: absolute; top: 15%; left: 15%;
    width: 120px; height: 140px;
    z-index: 0; opacity: 0.3;
}
.mesh-dot {
    position: absolute; width: 6px; height: 6px;
    background: rgba(79,70,229,0.5); border-radius: 50%;
    animation: meshDotPulse 3s ease-in-out infinite;
}
.mesh-dot-1 { top: 20%; left: 20%; animation-delay: 0s; }
.mesh-dot-2 { top: 15%; left: 50%; animation-delay: -0.5s; }
.mesh-dot-3 { top: 20%; left: 75%; animation-delay: -1s; }
.mesh-dot-4 { top: 55%; left: 30%; animation-delay: -1.5s; }
.mesh-dot-5 { top: 55%; left: 65%; animation-delay: -2s; }
.mesh-line-h {
    position: absolute; top: 40%; left: 10%; right: 10%;
    height: 1px; background: rgba(79,70,229,0.2);
}
.mesh-line-v {
    position: absolute; left: 50%; top: 10%; bottom: 30%;
    width: 1px; background: rgba(79,70,229,0.2);
}
@keyframes meshDotPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.8); opacity: 0.8; }
}

/* ============================================
   案例展示区域
   ============================================ */
.cases-section { background: rgba(13, 13, 32, 0.88); padding: 100px 0; }
.cases-section .section-header { margin-bottom: 50px; }

/* 分类容器 */
.case-category { margin-bottom: 56px; }
.case-category:last-child { margin-bottom: 0; }

/* 分类标题行 */
.case-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.case-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    flex-shrink: 0;
}
.case-category-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.case-category-count {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    padding: 3px 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 20px;
}

/* 卡片网格 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* 单个案例卡片 */
.case-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.3);
    z-index: 2;
}

/* 图片容器 */
.case-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.case-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.case-card:hover .case-card-img-wrap img {
    transform: scale(1.08);
}

/* Hover 遮罩层 */
.case-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.case-card:hover .case-card-overlay {
    opacity: 1;
}
.case-card-play {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(99,102,241,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}
.case-card:hover .case-card-play {
    transform: scale(1);
}

/* 卡片信息 */
.case-card-info {
    padding: 14px 16px;
}
.case-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.case-card-author {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   案例视频弹窗
   ============================================ */
.video-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.video-modal.active {
    opacity: 1;
    visibility: visible;
}
.video-modal-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.video-modal-content {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 1000px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}
.video-modal-close:hover {
    background: rgba(239,68,68,0.6);
    border-color: rgba(239,68,68,0.8);
}
.video-modal-player {
    width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-modal-title {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

/* ============================================
   CTA 区域
   ============================================ */
.cta-section {
    background: rgba(10, 10, 26, 0.88);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.cta-bg-anim {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79,70,229,0.08), transparent 70%);
    animation: ctaGlow 4s ease-in-out infinite;
}
@keyframes ctaGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}
.cta-content {
    text-align: center;
    position: relative; z-index: 1;
    max-width: 600px; margin: 0 auto;
}
.cta-content h2 {
    font-size: 38px; font-weight: 700; color: #fff; margin-bottom: 16px;
}
.cta-content p {
    font-size: 16px; color: rgba(255,255,255,0.5); margin-bottom: 32px;
}
.cta-content .btn { font-size: 18px; padding: 16px 48px; }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: #06060f; color: rgba(255,255,255,0.5); padding: 48px 0 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-bottom: 32px; }
.footer-brand h3 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.3); }

/* ============================================
   原有页面保留样式（Auth / Forms / Cards / 等）
   ============================================ */
.auth-page { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 100%); padding: 40px 20px; }
.auth-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); border-radius: 16px; box-shadow: 0 4px 30px rgba(0,0,0,0.3); width: 100%; max-width: 440px; padding: 40px; border: 1px solid rgba(255,255,255,0.08); }
.auth-card h2 { text-align: center; font-size: 24px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.auth-card .auth-subtitle { text-align: center; color: rgba(255,255,255,0.45); font-size: 14px; margin-bottom: 32px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.form-input { width: 100%; height: 44px; padding: 0 14px; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 8px; font-size: 14px; color: #fff; transition: border-color 0.2s; outline: none; background: rgba(255,255,255,0.05); }
.form-input:focus { border-color: #4f46e5; background: rgba(79,70,229,0.08); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-textarea { width: 100%; padding: 12px 14px; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 8px; font-size: 14px; color: #fff; resize: vertical; min-height: 120px; outline: none; font-family: inherit; line-height: 1.6; background: rgba(255,255,255,0.05); }
.form-textarea:focus { border-color: #4f46e5; background: rgba(79,70,229,0.08); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-hint { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 4px; }
.form-error { color: #ef4444; font-size: 12px; margin-top: 4px; }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }

/* Cards */
.card { background: rgba(255,255,255,0.03); border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.card-header { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 16px; font-weight: 600; color: #fff; }
.card-body { padding: 24px; }

/* User Center */
.user-center { padding: 40px 0; background: #0a0a1a; min-height: calc(100vh - 64px); }
.page-title { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.page-subtitle { color: rgba(255,255,255,0.5); font-size: 14px; margin-bottom: 30px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.stat-card { background: rgba(255,255,255,0.03); border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); text-align: center; border: 1px solid rgba(255,255,255,0.06); }
.stat-card .stat-value { font-size: 28px; font-weight: 700; color: #818cf8; margin-bottom: 4px; }
.stat-card .stat-label { font-size: 13px; color: #e2e8f0 !important; opacity: 1 !important; }
.quick-action-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
.quick-action-grid a { display: block !important; font-size: 13px !important; padding: 10px 8px !important; text-align: center !important; border-radius: 8px !important; border: 1px solid rgba(99,102,241,0.25) !important; color: #c7d2fe !important; text-decoration: none !important; transition: all 0.2s !important; background: rgba(30,41,59,0.5) !important; box-sizing: border-box !important; }
.quick-action-grid a:hover { border-color: #818cf8 !important; color: #fff !important; background: rgba(99,102,241,0.2) !important; }
.balance-highlight { color: #f59e0b !important; }
.content-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }

/* Recharge Plan Cards */
.recharge-plan-card { flex: 1; min-width: 150px; max-width: 200px; background: rgba(30,41,59,0.5); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 20px 16px; text-align: center; transition: all 0.3s; cursor: pointer; }
.recharge-plan-card:hover { border-color: #f59e0b; box-shadow: 0 4px 20px rgba(245,158,11,0.15); transform: translateY(-2px); }
.plan-amount { font-size: 28px; font-weight: 700; color: #f59e0b; margin-bottom: 4px; }
.plan-amount .plan-unit { font-size: 14px; font-weight: 400; color: #d1d5db; margin-left: 4px; }
.plan-price { font-size: 20px; font-weight: 600; color: #f1f5f9; margin-bottom: 6px; }
.plan-desc { font-size: 12px; color: #94a3b8; }

/* Table-like list */
.data-item { display: flex; align-items: center; padding: 16px 20px; background: rgba(255,255,255,0.03); border-radius: 10px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.06); transition: box-shadow 0.2s; }
.data-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.1); }
.data-item .item-thumb { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; margin-right: 16px; flex-shrink: 0; }
.data-item .item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.data-item .item-info { flex: 1; min-width: 0; }
.data-item .item-info h4 { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.data-item .item-info .item-meta { font-size: 12px; color: rgba(255,255,255,0.35); }
.data-item .item-status { margin: 0 16px; flex-shrink: 0; }
.data-item .item-actions { flex-shrink: 0; display: flex; gap: 8px; }

/* Status badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.badge-success { background: rgba(16,185,129,0.2); color: #6ee7b7; }
.badge-warning { background: rgba(245,158,11,0.2); color: #fcd34d; }
.badge-info { background: rgba(59,130,246,0.2); color: #93c5fd; }
.badge-error { background: rgba(239,68,68,0.2); color: #fca5a5; }
.badge-processing { background: rgba(79,70,229,0.2); color: #a5b4fc; }

/* Progress bar */
.progress-wrap { width: 100%; height: 10px; background: rgba(255,255,255,0.08); border-radius: 5px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899); border-radius: 5px; transition: width 0.5s ease; box-shadow: 0 0 8px rgba(168,85,247,0.4); }

/* Upload */
.upload-area { border: 2px dashed rgba(255,255,255,0.15); border-radius: 12px; padding: 40px; text-align: center; cursor: pointer; transition: all 0.2s; background: rgba(255,255,255,0.02); }
.upload-area:hover { border-color: #4f46e5; background: rgba(79,70,229,0.05); }
.upload-area .upload-icon { font-size: 48px; margin-bottom: 12px; }
.upload-area p { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.upload-area .upload-tip { font-size: 12px; color: rgba(255,255,255,0.25); }
.upload-preview { margin-top: 16px; text-align: center; }
.upload-preview img, .upload-preview video { max-width: 300px; max-height: 200px; border-radius: 8px; }

/* ==================== 通用弹窗组件 (Custom Dialog) ==================== */
.custom-dialog-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: all 0.25s ease;
    pointer-events: none;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}
.custom-dialog-overlay.active {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.custom-dialog {
    background: linear-gradient(160deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 440px;
    box-shadow:
        0 25px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.06),
        0 0 80px rgba(99,102,241,0.08);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.custom-dialog-overlay.active .custom-dialog {
    transform: translateY(0) scale(1);
}
.custom-dialog-sm { max-width: 380px; }

/* Header */
.cd-header {
    display: flex; flex-direction: column; align-items: center;
    padding: 32px 28px 0;
    text-align: center;
}
.cd-header h3 {
    font-size: 18px; font-weight: 700; color: #fff;
    margin-top: 12px;
}

/* 图标 */
.cd-icon {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cd-icon svg { width: 28px; height: 28px; }
.cd-icon-warning { background: rgba(245,158,11,0.12); color: #f59e0b; }
.cd-icon-danger  { background: rgba(239,68,68,0.12);  color: #ef4444; }
.cd-icon-info    { background: rgba(99,102,241,0.12);  color: #6366f1; }
.cd-icon-success { background: rgba(16,185,129,0.12); color: #10b981; }

/* Body */
.cd-body {
    padding: 16px 28px 8px;
    text-align: center;
}
.cd-body p {
    font-size: 14px; color: rgba(255,255,255,0.55);
    line-height: 1.7; margin: 0;
}

/* Footer */
.cd-footer {
    display: flex; gap: 12px;
    padding: 20px 28px 28px;
}
.cd-footer-center { justify-content: center; }

/* 按钮 */
.cd-btn {
    flex: 1; height: 44px;
    border: none; border-radius: 12px;
    font-size: 15px; font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}
.cd-btn:active { transform: scale(0.97); }

.cd-btn-cancel {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.08);
}
.cd-btn-cancel:hover {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
}

.cd-btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}
.cd-btn-primary:hover {
    box-shadow: 0 6px 24px rgba(99,102,241,0.45);
    transform: translateY(-1px);
}
.cd-btn-primary:active { transform: translateY(0) scale(0.97); }

.cd-btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 4px 16px rgba(239,68,68,0.3);
}
.cd-btn-danger:hover {
    box-shadow: 0 6px 24px rgba(239,68,68,0.45);
    transform: translateY(-1px);
}
.cd-btn-danger:active { transform: translateY(0) scale(0.97); }

.cd-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

/* Loading spinner */
.cd-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cd-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-top: -2px;
}
@keyframes cd-spin {
    to { transform: rotate(360deg); }
}

/* 响应式 */
@media (max-width: 500px) {
    .custom-dialog { width: 92%; border-radius: 16px; }
    .cd-header { padding: 24px 20px 0; }
    .cd-body { padding: 12px 20px 4px; }
    .cd-footer { padding: 16px 20px 24px; flex-direction: column-reverse; }
    .cd-btn { flex: none; width: 100%; }
    .cd-footer-center { flex-direction: column; }
}

/* Video page */
.video-create-section { padding: 40px 0; background: #0a0a1a; }
.video-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; }
.video-preview-box { aspect-ratio: 16/9; background: #000; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); overflow: hidden; position: relative; }
.video-preview-box video { width: 100%; height: 100%; object-fit: contain; }
.video-preview-placeholder { text-align: center; color: rgba(255,255,255,0.4); }
.video-preview-placeholder .placeholder-icon { font-size: 64px; margin-bottom: 12px; }

/* Human selector */
.human-selector { display: flex; flex-wrap: wrap; gap: 12px; }
.human-option { border: 2px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px; cursor: pointer; transition: all 0.2s; text-align: center; width: 140px; }
.human-option:hover { border-color: rgba(79,70,229,0.5); }
.human-option.selected { border-color: #4f46e5; background: rgba(79,70,229,0.1); }
.human-option .human-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; background: rgba(255,255,255,0.05); }
.human-option .human-avatar img { width: 100%; height: 100%; object-fit: cover; }
.human-option .human-name { font-size: 14px; font-weight: 500; color: #fff; }

/* Cost display */
.cost-info { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); border-radius: 8px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cost-info .cost-label { font-size: 14px; color: #fcd34d; }
.cost-info .cost-value { font-size: 18px; font-weight: 700; color: #f59e0b; }
.cost-info .cost-balance { font-size: 12px; color: rgba(245,158,11,0.6); }

/* Task filter */
.task-filter { display: flex; gap: 12px; margin-bottom: 20px; }
.task-filter .filter-item { padding: 6px 16px; border-radius: 20px; font-size: 13px; cursor: pointer; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); transition: all 0.2s; border: none; }
.task-filter .filter-item:hover, .task-filter .filter-item.active { background: #4f46e5; color: #fff; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.pagination a, .pagination span { padding: 6px 14px; border-radius: 6px; font-size: 14px; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.pagination a:hover { background: rgba(79,70,229,0.15); border-color: rgba(79,70,229,0.4); color: #fff; }
.pagination .active { background: #4f46e5; color: #fff; border-color: #4f46e5; }

/* AI Optimize button */
.ai-optimize-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ai-optimize-row .ai-badge { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }

/* Alert / Empty */
.empty-state { text-align: center; padding: 60px 20px; color: rgba(255,255,255,0.35); }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.empty-state p { font-size: 14px; margin-bottom: 20px; }
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.alert-info { background: rgba(59,130,246,0.1); color: #93c5fd; border: 1px solid rgba(59,130,246,0.2); }
.alert-warning { background: rgba(245,158,11,0.1); color: #fcd34d; border: 1px solid rgba(245,158,11,0.2); }
.alert-error { background: rgba(239,68,68,0.1); color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); }
.alert-success { background: rgba(16,185,129,0.1); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.2); }

/* Loading */
.loading-spinner { display: inline-block; width: 24px; height: 24px; border: 2px solid rgba(255,255,255,0.1); border-top-color: #4f46e5; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.5); justify-content: center; padding: 20px; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .features-overview-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-detail-wrap { flex-direction: column !important; gap: 40px; }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 40px; }
    .hero-carousel-track { min-height: 380px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 30px; }
    .hero-desc { font-size: 15px; }
    .hero-stats { gap: 16px; flex-wrap: wrap; }
    .hero-actions { flex-direction: column; }
    .hero-carousel-track { min-height: 320px; }
    .carousel-dot { width: 8px; height: 8px; }
    .carousel-dot.active { width: 22px; }
    .features-overview-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .case-category-title { font-size: 17px; }
    .section-title { font-size: 28px; }
    .feature-detail-info h2 { font-size: 26px; }
    .cta-content h2 { font-size: 26px; }
    .content-grid { grid-template-columns: 1fr; }
    .video-layout { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .home-hero { min-height: auto; padding: 60px 0 40px; }
    .hero-scroll-indicator { display: none; }
    .hero-stats-bar { padding: 10px 0 20px; }
}

/* ============================================
   工作台页面
   ============================================ */
.workbench-page { min-height: calc(100vh - 200px); padding: 40px 0 80px; background: #0a0a1a; }
.workbench-header { text-align: center; margin-bottom: 48px; }
.workbench-title { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.workbench-subtitle { font-size: 15px; color: rgba(255,255,255,0.45); }

/* 六大功能卡片网格 */
.workbench-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }

.workbench-card {
    display: flex; align-items: center; gap: 16px;
    padding: 28px 24px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.workbench-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.workbench-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.wb-card-1:hover { background: rgba(79,70,229,0.12); }
.wb-card-2:hover { background: rgba(6,182,212,0.12); }
.wb-card-3:hover { background: rgba(236,72,153,0.12); }
.wb-card-4:hover { background: rgba(245,158,11,0.12); }
.wb-card-5:hover { background: rgba(139,92,246,0.12); }
.wb-card-6:hover { background: rgba(34,197,94,0.12); }

.wb-card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
    flex-shrink: 0;
    transition: transform 0.3s;
}
.workbench-card:hover .wb-card-icon { transform: scale(1.08); }
.wb-icon { font-size: 26px; }
.wb-card-body { flex: 1; min-width: 0; }
.wb-card-body h3 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.wb-card-body p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.4; }
.wb-card-arrow {
    font-size: 18px; color: rgba(255,255,255,0.2);
    transition: all 0.3s;
    flex-shrink: 0;
}
.workbench-card:hover .wb-card-arrow {
    color: rgba(255,255,255,0.6);
    transform: translateX(4px);
}

/* 管理中心 */
.workbench-manage-section { }
.wb-section-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.workbench-manage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wb-manage-card {
    display: flex; align-items: center; gap: 12px;
    padding: 20px 24px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    font-size: 15px; color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}
.wb-manage-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    color: #fff;
    transform: translateY(-2px);
}
.wb-manage-icon { font-size: 22px; }

@media (max-width: 900px) {
    .workbench-grid { grid-template-columns: repeat(2, 1fr); }
    .workbench-manage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .workbench-grid { grid-template-columns: 1fr; }
    .workbench-manage-grid { grid-template-columns: 1fr; }
}

/* ============================================
   六大功能操作页面 通用样式
   ============================================ */
.feature-page { min-height: calc(100vh - 200px); padding: 40px 0 80px; background: #0a0a1a; position: relative; z-index: 3; }

/* 功能标题区 */
.feature-hero { text-align: center; margin-bottom: 32px; }
.feature-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border-radius: 20px; background: rgba(79,70,229,0.12); color: #818cf8; font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.fh-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #818cf8; }
.feature-hero-title { font-size: 34px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.feature-hero-desc { font-size: 15px; color: rgba(255,255,255,0.45); max-width: 640px; margin: 0 auto; line-height: 1.8; }

/* 流程步骤指示器 */
.process-steps { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center; margin-bottom: 36px; padding: 20px 32px; background: rgba(255,255,255,0.03); border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); flex-wrap: nowrap; }
.process-step { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 0; flex-shrink: 0; }
.process-step .step-number { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; transition: all 0.3s; flex-shrink: 0; }
.process-step.active .step-number { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; box-shadow: 0 0 16px rgba(79,70,229,0.3); }
.process-step.completed .step-number { background: #10b981; color: #fff; }
.process-step .step-label { font-size: 12px; color: rgba(255,255,255,0.3); margin-left: 8px; white-space: nowrap; transition: color 0.3s; }
.process-step.active .step-label { color: rgba(255,255,255,0.7); }
.process-step .step-line { width: 40px; height: 1px; background: rgba(255,255,255,0.08); margin: 0 8px; flex-shrink: 0; }
.process-step:last-child .step-line { display: none; }

/* 操作面板双栏布局 */
.feature-panel { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }

/* 左侧表单 */
.fp-left .card { border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); border-radius: 16px; }
.fp-left .card-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.fp-left .card-header h3 { font-size: 18px; font-weight: 700; color: #fff; }
.card-header-badge { font-size: 12px; color: #818cf8; background: rgba(79,70,229,0.12); padding: 3px 10px; border-radius: 10px; }
.fp-left .card-body { padding: 20px 24px 24px; }

/* 右侧预览区 */
.fp-right .card { border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); border-radius: 16px; margin-bottom: 16px; }
.fp-right .card-header { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.fp-right .card-header h3 { font-size: 15px; font-weight: 600; color: #fff; }
.fp-right .card-body { padding: 20px; }

/* 表单元素 */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8); margin-bottom: 8px; }
.form-group .required { color: #ef4444; }
.form-input { width: 100%; padding: 10px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #fff; font-size: 14px; outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: #6366f1; }
.form-textarea { width: 100%; padding: 12px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #fff; font-size: 14px; outline: none; resize: vertical; line-height: 1.7; transition: border-color 0.2s; }
.form-textarea:focus { border-color: #6366f1; }
.form-select { width: 100%; padding: 10px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #fff; font-size: 14px; outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.form-select:focus { border-color: #6366f1; }
.form-select option { background: #1a1a2e; color: #fff; }
.form-hint { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.3); }
.form-hint em { color: #818cf8; font-style: normal; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-col { flex: 1; }
.form-col label { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 6px; }

/* 上传区域 */
.upload-area { padding: 32px; border: 2px dashed rgba(255,255,255,0.12); border-radius: 12px; text-align: center; cursor: pointer; transition: all 0.3s; background: rgba(255,255,255,0.02); }
.upload-area:hover { border-color: #6366f1; background: rgba(79,70,229,0.05); }
.upload-icon { font-size: 36px; margin-bottom: 8px; }
.upload-area p { font-size: 14px; color: rgba(255,255,255,0.5); margin: 4px 0; }
.upload-tip { font-size: 12px !important; color: rgba(255,255,255,0.25) !important; }

/* 风格选择器 */
.style-selector { display: flex; flex-wrap: wrap; gap: 10px; }
.style-selector-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.style-option { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); cursor: pointer; transition: all 0.2s; }
.style-option:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); }
.style-option.active { border-color: #6366f1; background: rgba(79,70,229,0.12); }
.style-option .style-icon { font-size: 22px; }
.style-option .style-name { font-size: 12px; color: rgba(255,255,255,0.5); }
.style-option.active .style-name { color: #818cf8; }

/* 模式切换选项卡 */
.mode-tabs { display: flex; gap: 6px; }
.mode-tab { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); font-size: 13px; cursor: pointer; transition: all 0.2s; outline: none; -webkit-appearance: none; appearance: none; font-family: inherit; }
.mode-tab:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.mode-tab.active { background: rgba(79,70,229,0.15); border-color: #6366f1; color: #fff; }
.mode-tab .mode-icon { font-size: 16px; }

/* 高级设置折叠 */
.advanced-toggle { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: rgba(255,255,255,0.03); border-radius: 8px; cursor: pointer; border: 1px solid rgba(255,255,255,0.05); transition: background 0.2s; }
.advanced-toggle:hover { background: rgba(255,255,255,0.06); }
.advanced-toggle span:first-child { font-size: 13px; color: rgba(255,255,255,0.5); }
.toggle-arrow { font-size: 11px; color: rgba(255,255,255,0.3); }
.advanced-panel { padding: 16px; margin-top: 12px; background: rgba(255,255,255,0.02); border-radius: 10px; border: 1px solid rgba(255,255,255,0.04); }

/* 费用栏 */
.cost-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 14px 18px; background: rgba(255,255,255,0.03); border-radius: 10px; margin: 20px 0 16px; border: 1px solid rgba(255,255,255,0.04); }
.cost-info-row { display: flex; align-items: center; gap: 8px; }
.cost-label { font-size: 13px; color: rgba(255,255,255,0.4); }
.cost-value { font-size: 16px; font-weight: 700; color: #f59e0b; }
.cost-value small { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.3); }
.balance-amount { color: #10b981; }
.cost-breakdown { width: 100%; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.04); font-size: 11px; color: rgba(255,255,255,0.25); display: flex; gap: 8px; flex-wrap: wrap; }

/* 结果预览区 */
.result-placeholder { text-align: center; padding: 30px 20px; }
.result-empty-icon { font-size: 48px; margin-bottom: 12px; }
.result-placeholder h4 { font-size: 16px; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.result-placeholder p { font-size: 13px; color: rgba(255,255,255,0.25); line-height: 1.6; }
.result-loading { text-align: center; padding: 24px; }
.result-status-text { font-size: 13px; color: rgba(255,255,255,0.3); margin-top: 8px; }

/* 图片结果网格 */
.image-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.image-result-item { aspect-ratio: 1; background: rgba(255,255,255,0.03); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255,255,255,0.05); }
.image-result-item span { font-size: 12px; color: rgba(255,255,255,0.3); }
.image-result-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* 音色选择器 */
.voice-selector { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; }
.voice-option { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: all 0.2s; }
.voice-option:hover { background: rgba(255,255,255,0.06); }
.voice-option.active { border-color: #6366f1; background: rgba(79,70,229,0.1); }
.voice-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.voice-info { flex: 1; min-width: 0; }
.voice-info strong { display: block; font-size: 14px; color: #fff; }
.voice-info span { font-size: 12px; color: rgba(255,255,255,0.35); }
.voice-play-btn { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 10px; color: rgba(255,255,255,0.4); flex-shrink: 0; transition: all 0.2s; }
.voice-option:hover .voice-play-btn { background: rgba(79,70,229,0.3); color: #fff; }

/* 参数滑块 */
.param-sliders { display: flex; flex-direction: column; gap: 16px; }
.param-item { }
.param-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.param-header span:first-child { font-size: 13px; color: rgba(255,255,255,0.5); }
.param-value { font-size: 13px; color: #818cf8; font-weight: 600; }
.param-slider { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; outline: none; cursor: pointer; }
.param-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #6366f1; cursor: pointer; box-shadow: 0 0 8px rgba(99,102,241,0.4); }
.param-range-labels { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: rgba(255,255,255,0.2); }

/* 音频可视化 */
.audio-visualizer { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 60px; margin-bottom: 16px; }
.viz-bar { width: 3px; background: linear-gradient(180deg, #4f46e5, #7c3aed); border-radius: 2px; animation: vizAnim 0.8s ease-in-out infinite alternate; }
.viz-bar:nth-child(odd) { animation-delay: 0.1s; }
.viz-bar:nth-child(even) { animation-delay: 0.3s; }
.viz-bar:nth-child(3n) { animation-delay: 0.2s; height: 30px; }
.viz-bar:nth-child(4n) { animation-delay: 0.5s; height: 40px; }
@keyframes vizAnim { 0% { height: 8px; } 100% { height: 48px; } }

/* 照片质量提示 */
.photo-quality-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.quality-tip { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 6px 10px; border-radius: 6px; }
.quality-tip.good { color: #10b981; background: rgba(16,185,129,0.08); }
.quality-tip.bad { color: #ef4444; background: rgba(239,68,68,0.08); }
.qt-icon { font-size: 13px; }

/* 声音克隆区域 */
.voice-clone-section { border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 12px; }
.voice-clone-option { display: flex; gap: 8px; margin-bottom: 8px; }
.voice-clone-radio { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 6px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.2s; outline: none; -webkit-appearance: none; appearance: none; font-family: inherit; }
.voice-clone-radio:hover { background: rgba(255,255,255,0.06); }
.voice-clone-radio.active { border-color: #6366f1; background: rgba(79,70,229,0.1); color: #fff; }

/* 数字人面部预览 */
.digital-face-preview { display: flex; justify-content: center; padding: 20px; }
.face-silhouette { width: 100px; height: 130px; position: relative; }
.face-outline { width: 100%; height: 100%; border-radius: 50% 50% 30% 30%; border: 2px dashed rgba(255,255,255,0.15); }
.face-mesh-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.mesh-point { width: 4px; height: 4px; border-radius: 50%; background: #818cf8; position: absolute; }
.mp1 { top: 20%; left: 50%; }
.mp2 { top: 40%; left: 30%; }
.mp3 { top: 40%; left: 70%; }
.mp4 { top: 55%; left: 35%; }
.mp5 { top: 55%; left: 65%; }
.mesh-line { position: absolute; background: rgba(129,140,248,0.15); }
.mh { top: 40%; left: 20%; right: 20%; height: 1px; }
.mv { left: 50%; top: 25%; bottom: 25%; width: 1px; }

/* 生成进度步骤 */
.generation-progress { display: flex; flex-direction: column; gap: 10px; }
.gp-step { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.3); }
.gp-step.done { color: #10b981; }
.gp-step.active { color: #818cf8; }
.gp-indicator { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.gp-step.done .gp-indicator { background: rgba(16,185,129,0.15); }
.gp-step.active .gp-indicator { background: rgba(79,70,229,0.2); }

/* 技术流程说明 */
.tech-flow { display: flex; flex-direction: column; gap: 4px; }
.tech-node { display: flex; align-items: flex-start; gap: 10px; padding: 8px; border-radius: 8px; }
.tech-node-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.tech-node-info strong { display: block; font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.tech-node-info span { font-size: 11px; color: rgba(255,255,255,0.3); line-height: 1.5; }
.tech-arrow { text-align: center; font-size: 14px; color: rgba(255,255,255,0.15); padding: 2px 0 2px 16px; }

/* Alert 提示 */
.alert { padding: 12px 16px; border-radius: 10px; margin-top: 12px; font-size: 13px; line-height: 1.6; }
.alert-info { background: rgba(79,70,229,0.08); border: 1px solid rgba(99,102,241,0.15); color: rgba(255,255,255,0.7); }
.alert-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.15); color: rgba(255,255,255,0.7); }
.alert strong { color: #fff; }
.alert p { margin-top: 4px; color: rgba(255,255,255,0.45); font-size: 12px; }

/* 加载动画 */
.loading-spinner { width: 40px; height: 40px; border: 3px solid rgba(255,255,255,0.1); border-top-color: #6366f1; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto; }
.loading-spinner-sm { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.2); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 进度条 */
.progress-wrap { width: 100%; height: 10px; background: rgba(255,255,255,0.06); border-radius: 5px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899); border-radius: 5px; transition: width 0.5s ease; box-shadow: 0 0 8px rgba(168,85,247,0.4); }

/* 响应式适配 */
@media (max-width: 900px) {
    .feature-panel { grid-template-columns: 1fr; }
    .process-steps { overflow-x: auto; justify-content: flex-start; padding: 16px; gap: 4px; flex-direction: row !important; }
    .process-step { flex-shrink: 0; }
    .process-step .step-label { font-size: 11px; }
    .process-step .step-line { width: 24px; }
    .style-selector-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-quality-tips { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .feature-hero-title { font-size: 26px; }
    .form-row { grid-template-columns: 1fr; }
    .cost-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ========== 已有数字人选择器 ========== */
.existing-human-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-height: 320px;
    overflow-y: auto;
    padding: 4px;
}
.existing-human-grid::-webkit-scrollbar { width: 4px; }
.existing-human-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.existing-human-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}
.existing-human-card:hover {
    border-color: rgba(129,140,248,0.3);
    background: rgba(79,70,229,0.06);
    transform: translateY(-2px);
}
.existing-human-card.selected {
    border-color: #6366f1;
    background: rgba(79,70,229,0.12);
    box-shadow: 0 0 20px rgba(99,102,241,0.15);
}

.ehc-thumb {
    width: 72px;
    height: 96px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ehc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ehc-placeholder {
    font-size: 32px;
    color: rgba(255,255,255,0.2);
}
.ehc-check {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    transition: all 0.25s;
}
.existing-human-card.selected .ehc-check {
    background: #6366f1;
    color: #fff;
}

.ehc-info {
    text-align: center;
}
.ehc-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2px;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ehc-type {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
}

/* 无可用数字人 */
.no-existing-humans {
    text-align: center;
    padding: 30px 20px;
    border: 2px dashed rgba(255,255,255,0.08);
    border-radius: 12px;
}
.neh-icon { font-size: 40px; margin-bottom: 8px; }
.no-existing-humans p { font-size: 14px; color: rgba(255,255,255,0.35); margin: 4px 0; }
.neh-tip { font-size: 12px !important; color: rgba(255,255,255,0.2) !important; }

/* 响应式：已有数字人卡片 */
@media (max-width: 900px) {
    .existing-human-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .existing-human-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   素材合成 - 素材上传组件
   ============================================ */
.material-upload-area {
    border-radius: 12px;
    overflow: hidden;
}

/* 素材列表项 */
.material-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
.material-item {
    position: relative;
    width: 130px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: all 0.2s;
}
.material-item:hover {
    border-color: rgba(99,102,241,0.4);
    box-shadow: 0 4px 16px rgba(99,102,241,0.1);
}
.material-thumb {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
}
.material-thumb img,
.material-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.material-type-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(4px);
}
.material-type-badge.image { background: rgba(99,102,241,0.7); }
.material-type-badge.video { background: rgba(239,68,68,0.7); }
.material-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
    line-height: 1;
}
.material-item:hover .material-remove {
    opacity: 1;
}
.material-remove:hover {
    background: rgba(239,68,68,0.8);
    color: #fff;
}
.material-drag-handle {
    display: none; /* 暂不启用拖拽排序 */
}
.material-desc {
    width: 100%;
    padding: 8px 10px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    outline: none;
    text-align: center;
    font-family: inherit;
}
.material-desc::placeholder {
    color: rgba(255,255,255,0.2);
}
.material-desc:focus {
    color: rgba(255,255,255,0.8);
}

/* 上传按钮区域 */
.material-upload-box {
    border: 2px dashed rgba(255,255,255,0.12);
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
}
.material-upload-box:hover {
    border-color: #6366f1;
    background: rgba(79,70,229,0.05);
}
.material-upload-box.has-materials {
    border-style: solid;
    border-color: rgba(255,255,255,0.06);
}
.upload-box-inner {
    padding: 28px 20px;
    text-align: center;
}
.material-upload-box.has-materials .upload-box-inner {
    padding: 14px 20px;
}
.upload-box-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(99,102,241,0.1);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s;
}
.material-upload-box:hover .upload-box-icon {
    background: rgba(99,102,241,0.2);
    transform: scale(1.05);
}
.material-upload-box.has-materials .upload-box-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
}
.upload-box-title {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
    transition: color 0.3s;
}
.material-upload-box:hover .upload-box-title {
    color: rgba(255,255,255,0.7);
}
.material-upload-box.has-materials .upload-box-title {
    font-size: 13px;
}
.upload-box-tip {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
}
.material-upload-box.has-materials .upload-box-tip {
    font-size: 11px;
}

/* 素材预览网格 */
.material-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.material-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}
.material-preview-item img,
.material-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preview-index {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.7);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.more-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.15);
}
.more-item span {
    font-size: 22px;
    font-weight: 700;
    color: #818cf8;
}

/* 素材合成响应式 */
@media (max-width: 600px) {
    .material-list { gap: 8px; }
    .material-item { width: 100px; }
    .material-thumb { height: 75px; }
    .material-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   表单增强组件：radio-group / range / config-section
   （用于素材合成等所有功能页面）
   ============================================ */

/* 表单标签提示（选填等） */
.form-label-tip {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    margin-left: 4px;
}

/* 配置分区卡片 */
.config-section {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}
.config-section-sm {
    padding: 12px;
    margin-bottom: 10px;
}
.config-section-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* 单选按钮组 */
.radio-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    transition: all .2s;
    margin: 0;
    background: rgba(255,255,255,0.04);
}
.radio-option:hover {
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
}
.radio-option.active {
    background: rgba(79,70,229,0.15);
    border-color: #6366f1;
    color: #818cf8;
    font-weight: 500;
}

/* 范围滑块 */
.range-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.range-min, .range-max {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    flex-shrink: 0;
}
.form-range {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    outline: none;
}
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #6366f1;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(99,102,241,0.4);
}
.form-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #6366f1;
    cursor: pointer;
    border: none;
}
.range-value {
    font-size: 13px;
    font-weight: 600;
    color: #818cf8;
    min-width: 40px;
    text-align: right;
}

/* 参数值显示（时长等） */
.param-value {
    font-size: 14px;
    font-weight: 700;
    color: #818cf8;
}

/* 参数范围标签 */
.param-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255,255,255,0.2);
}

/* ============================================
   画面比例 Tab 选择器
   ============================================ */
.aspect-ratio-tabs {
    display: flex;
    gap: 10px;
}
.aspect-ratio-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: all 0.25s;
}
.aspect-ratio-tab:hover {
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.06);
}
.aspect-ratio-tab.active {
    border-color: #6366f1;
    background: rgba(79,70,229,0.12);
    box-shadow: 0 0 16px rgba(99,102,241,0.12);
}

/* 比例示意图 */
.ratio-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.ratio-shape {
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    background: rgba(99,102,241,0.08);
    transition: all 0.25s;
}
.aspect-ratio-tab.active .ratio-shape {
    border-color: #818cf8;
    background: rgba(99,102,241,0.18);
}

/* 9:16 竖屏比例示意图 */
.shape-9-16 {
    width: 24px;
    height: 42px;
}

/* 16:9 横屏比例示意图 */
.shape-16-9 {
    width: 48px;
    height: 26px;
}

/* 1:1 方形比例示意图 */
.shape-1-1 {
    width: 32px;
    height: 32px;
}

/* 比例信息 */
.ratio-info {
    text-align: center;
}
.ratio-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    transition: color 0.25s;
}
.ratio-desc {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin-top: 2px;
    transition: color 0.25s;
}
.aspect-ratio-tab.active .ratio-label {
    color: #818cf8;
}
.aspect-ratio-tab.active .ratio-desc {
    color: rgba(129,140,248,0.5);
}

/* 画面比例响应式 */
@media (max-width: 500px) {
    .aspect-ratio-tabs { gap: 8px; }
    .aspect-ratio-tab { padding: 10px 8px; }
    .ratio-label { font-size: 13px; }
    .shape-9-16 { width: 18px; height: 32px; }
    .shape-16-9 { width: 36px; height: 20px; }
    .shape-1-1 { width: 26px; height: 26px; }
}
